tkinter

Why won't the second pushed tile show?

Why won't the second pushed tile show? Question: I placed the rectangles over the images. I then bound a click to a call that flipped tiles over by lowering the rectangle below the image. It works for the first call to the function, but when I click another tile, that one won’t flip over. The …

Total answers: 2

uncheck checkbox tkinter after a certain time interval

uncheck checkbox tkinter after a certain time interval Question: my program is based on independent checkboxes, that is, they do not depend on a booleanVar, I am using a setInterval created from a thread , and after a certain time I want the checkbox to ‘turn off’ and be able to receive another setInterval self.timer …

Total answers: 1

Select all the values from a drag and drop Listbox in python

Select all the values from a drag and drop Listbox in python Question: I am trying to create a gui in tkinter where I will have a Listbox and be able to drag and drop files into it. How can I store all the items inside this listbox in a list with a command on …

Total answers: 1

How do i differentiate between two widgets on the same event

How do i differentiate between two widgets on the same event Question: I want to have some input boxes which contain an text for the user to know what is required to enter. This text should disappear when the user clicks on it. How do i know which box the user clicked? class window(): def …

Total answers: 3

tkinter callback event to retrieve value from Entry and write to text file

tkinter callback event to retrieve value from Entry and write to text file Question: *First of all, i am trying to create a register system saved into textfile(not real system, i know its not safe to write into textfiles) Created the GUI and then i defined multiple functions which is Menu, register and submit. Submit …

Total answers: 1

how do i make tkinter update

how do i make tkinter update Question: I have an entry field that stores my list to a text file when i press the button to store the info, it gets stored but i have to restart the app to see it on the options menu How do i make the app update without having …

Total answers: 2

using class inheritance on tkinter python

using class inheritance on tkinter python Question: please help, I am trying to create a button on a tkinter window with the use of python class inheritance but it does not show the button. I am new to inheritance in python and not sure how do this. please see my code. thanks in advance from …

Total answers: 1

How to add data from tk.Entry to f'string in Python 3?

How to add data from tk.Entry to f'string in Python 3? Question: I need to make a text generator in which user input is added to f’string. What I get in result is that data typed in entry can be printed in PyCharm console, but doesn’t show up in generated strings in tk.Text. Thank you …

Total answers: 1

Frame border disappears when focus is lost on window

Frame border disappears when focus is lost on window Question: I have a tkinter window from which I open another window. This window contains a Frame which is located inside a Canvas. I’m going to make a picture from the window contents but the problem is that the frame border deactivates itself when the focus …

Total answers: 1