tkinter
How can I add a lot of Buttons to the tkinter Frame efficiently?
I want to add 10 buttons to Tkinter, named One to Ten. I basically just used the brute force method, adding each button as I went, in the init function of my application\'s class. It work开发者_如何学[详细]
2023-03-29 09:07 分类:问答I can't figure out this Tkinter error
I\'m using Python\'s Tkinter to create a GUI for a project i\'m working on. When I try to run part of the code though, I get this error:[详细]
2023-03-29 08:10 分类:问答python - A strange problem when I'm trying to display an image in the Toplevel widget
I\'m using Python(2.5) to make a \"web album viewer\". I use Tkinter to write GUI, urllib2 to fetch the image from web, PIL to handle the image[详细]
2023-03-29 01:28 分类:问答Why Tkinter function inserts text at text widget only after the function is finished?
I have a question to make.If i have a function inserting an item from a list in a text widget and then doing something with that item,it first finishes process开发者_如何转开发ing all the items and th[详细]
2023-03-28 14:47 分类:问答Integration issue with PyObjC and TKinter
The following simple code: from PyObjCTools import 开发者_如何学GoAppHelper import AppKit import Tkinter[详细]
2023-03-28 05:53 分类:问答Python Tk Multiple Buttons Creation Problem
I\'m creating ten buttons and the button texts are labelled 1 to 10. The following code creates 10 buttons and labels correctly. But it\'s printing 9as the output for all the buttons. What I expect it[详细]
2023-03-28 04:45 分类:问答building python tkinter+pmw with cx_freez failed
Hi. I have created a program in python which uses tkinter and pmw, I have build it with the cx_freez, every thing fine, it completes the building process, but when I try to run the exe file I got some[详细]
2023-03-27 20:58 分类:问答Let Tkinter continue to process next event without closing current pop-up window
I am using tkinter to write a simple GUI program to plot figure of some data, the plot function is realized using matplotlib module, here is my simplified code:[详细]
2023-03-27 12:11 分类:问答Closing threaded Tkinter window
I use a Tkinter window to visualize some output of my programm. The window is threaded (see basic structure below) and basically it works quite fine. So far, I only have trouble closing the window. Wh[详细]
2023-03-27 04:23 分类:问答Different color for different choices in tkinter option menu
I am using Python and Tkinter. I have an option menu with three choices with \"on\" being one of them. I want to make \"on\" be green when I select it. I don\'t mean the font. I want the background of[详细]
2023-03-27 01:10 分类:问答