Questions tagged [tkinter-entry]

Tkinter Entry refers to a type of widget used in Tkinter (a Python standard GUI package), called the Entry widget, used to enter or display a single line of text. Not to be confused with the Text widget which is used to enter multiple lines of text. Use this tag for questions related to the Entry widget.

Tkinter Entry refers to a type of widget used in Tkinter (a Python standard GUI package), called the Entry widget, used to enter or display a single line of text. Not to be confused with the Text widget which is used to enter multiple lines of text. Use this tag for questions related to the Entry widget.

1335 questions
1
vote
0 answers

Python: how to play video using python and tkinter?

I have few video files that I would like to play when I click a button in the tkinter window. Preferably in VLC or in the Tkinter window itself if possible. I'm using mac. Tried pip installing VLC and os.startfile. Tried most of the solutions…
Advik
  • 43
  • 9
1
vote
1 answer

Trouble showing queried data from sqlite to tkinter entry widget

So I have this problem. The idea behind this little project is that I want to add up few columns from the SQLite database and depending on which checkboxes the user click on (those checkboxes are months and years) in the main GUI, display those…
1
vote
1 answer

How to fix the Entry box when adjusting height in tkinter?

So I have a issue for where I type it will be right at the middle which I want to start it at the beginning of the box. entry_notfor = Entry(root, textvariable=number_notoffer, width=30, bg="#1f1e1e", fg="#ffffff") entry_notfor.place(x=5, y=390,…
TeisqI
  • 115
  • 7
1
vote
1 answer

How to return an alert for a specific input using Tkinter?

I have created a mock search engine using Tkinter. I want the user to input the word "test" in the search engine and hit submit. This should return an alert. If the user inserts anything other than the word "test", then I want the search engine to…
1
vote
1 answer

Placement of multiple tkinter entries starting at a particular value

Given below is a sample code derived from my main project, I'm able to place several entries using a for loop but I want it to start the y placement from 150(currently it starts from 80). The formula I used to place my entries is given as dist…
rishi
  • 643
  • 5
  • 21
1
vote
1 answer

Mapping Tkinter entry box to variable in python 3.8

I am a complete beginner in python,I was hoping someone could help me figure out what I am trying to accomplish. I built a small tkinter front end that will generate a string multiple times. I want the amount of times that the string is generated to…
Komakino_1251
  • 220
  • 2
  • 13
1
vote
1 answer

Keybind causes function to run automatically on startup

I am trying to create a keybind for my Entry, which takes what the user has inputted into the Entry and then calls a function. My code: def nameValidation(name): if PresenceCheck(name) and LengthCheck(name,2) and DataTypeCheck(name,str): …
Lyra Orwell
  • 1,048
  • 4
  • 17
  • 46
1
vote
2 answers

Python, Tkinter - How to get text from Entry

I apologize if this question has been asked before but i have been trying to solve this problem by myself and with the help of my classmates. They seem to have no problem but i just cant get to the Value of an Entry. I always get strange strings…
1
vote
1 answer

I am trying to display my outputs in the entry box widgets but nothing is showing upon execution yet no error

I think I am having a challenge in importing the monthlyPayment and the totalPayment value from the ComputePayment function. So I want to input value in: loanAmount entry box annual interest rate entry box number of years interest box such dat when…
1
vote
1 answer

TypeError: search_country() takes 0 positional arguments but 1 was given

I use Tkinter and have an entry and a button "search". It works well if we enter a text in the entry and hit the search button. It called a function named search_country. However, I would like to call the search_country if we hit the search button…
1
vote
2 answers

PYTHON (tkinter) Creating an incremental value in an entry

I am trying to create a program that allows a user to either increment a value or enter it themselves into an entry in a system that looks something like this: The Basic Gui And this is my code from tkinter import * ACGui = Tk() class GUI: def…
Dan Howe
  • 9
  • 10
1
vote
2 answers

Tkinter: How to pass arguments from Entry widgets to function?

I have created two Entry widgets called name_entry and passwd_entry. After the user enters his name and password, the program should subsequently list it if the user clicks on the Submit button. Unfortunately this is not working. I'm trying to write…
DebianFox
  • 63
  • 2
  • 6
1
vote
1 answer

How do I return the input of a tkinter entry box generated by a loop to a list for later use

sorry for what I assume is a noob question. this seems like it should be so simple. I am trying to create a list from an entry box generated by a loop. I have two lists, one list "myLabelList" that has info such as "job Name, Project name" etc. and…
dhitsisco
  • 11
  • 2
1
vote
1 answer

Limit entry in Tkinter

I've created some simple functions to limit my entry, but I'm a little bit stuck: first of all def lowercase_letter_entry is not working and it do not edit my entry in lowercase. Second the functions that work they only do so once, after that they…
1
vote
1 answer

Tkinter fullscreen leaves border

I am trying to make an image slide show application using Tkinter and Pillow. I would like the image to go full screen, so currently my code looks like this (I think these are all the important bits, ask me if you need to see more): canvas =…