I\'ve been 开发者_如何转开发using Tkinter and Tix to write a small program. I\'m at a point where I need a tree view with checkboxes (checkbuttons) so I can select items from the tree view.
The protocol attribute in Tkinter allows one to run functions when the exit button of a window has been clicked (the button with the x on it, it\'s top right in Windows).
I\'m trying to build a search engine that will check a list and then remove all list items that do not meet the search parameters. I know there is several problems with my program such as it will not
I\'m using Python Tkinter and I want to place a variable number of text box widgets in a frame or canvas. The text boxes are packed vertically down the frame, so the first one is on top, the second on
In the following method, I am trying to create a frame, put a label and text widget inside of it, and place them inside of another text widget. There are two problems with the results. How should it b
I am having a problem with tkinter.ttk on mac. I am using macports and python3.1. When I try to use tkinter.ttk I get very old looking gui elements.
This question already has an answer here: Tkinter locks Python when an icon is loaded and tk.mainloop is in a thread
My problem is that I have a class that creates a Tkinter topclass object and then puts a field into it and I want to add an event handler that runs a method (that is also in the class) every time a bu
When using Ubuntu, I am able to play with Tk in real-time, by writing commands in the IDLE开发者_Python百科.
I wanted to visualise some basic colours, so I could pick the appropriate ones for my colour scheme. I couldn\'t find a colour chart anywhere so modified a sample to display it.