tkinter
Get selected item in listbox and call another function storing the selected for it
I have a canvas that calls createCategoryMeny(x) when it is clicked. This function just creates a Toplevel() window,[详细]
2023-04-09 12:00 分类:问答Updating a tk ProgressBar from a multiprocess.proccess in python3
I have successfully created a threading example of a thread which can update a Progressbar as it goes.However doing the same thing with multiprocessing has so far eluded me.[详细]
2023-04-09 09:36 分类:问答How to create a self resizing grid of buttons in tkinter?
I am trying to create a grid of buttons(in order to achieve the clickable cell effect) with Tkinter.[详细]
2023-04-08 22:45 分类:问答Get label value from dynamically created menu items [tkinter]
I have a cascade menu in a parent menu. The cascade items are created dynamically with add_checkbutton method.[详细]
2023-04-08 13:47 分类:问答Unknown syntax error on creating a simple widget in Tkinter
I was following this tutorial (http://sebsauvage.net/python/gui/#add_button) on making widgets with Tkinter. I have been making sure to follow it very carefully but, when I run it now in step 10, I ge[详细]
2023-04-08 12:01 分类:问答Switch between two frames in tkinter?
I have built my first few scripts with a nice little GUI on them, as the tutorials have shown me, but none of them address what to do for a more complex program.[详细]
2023-04-08 01:40 分类:问答When I use update() with tkinter my Label writes another line instead of rewriting the same text
When I call the update() method using tkinter instead of rewriting the label it just writes the label under the previous call. I would like for this to rewrite over the previous line.[详细]
2023-04-07 19:58 分类:问答Tkinter menu for chosing a date
I am building a dropdown menu that would be used to choose a starting date. It has 3 cascades named year, month, day. The contents of the day cascade is generated so that the available days are true t[详细]
2023-04-07 15:41 分类:问答Tkinter: one or more mainloops?
I have an already large Tkinter program, so that I have an init file, where the root = Tk() window is defined (containing basically a Text widget and a few other things), some more code, and last the[详细]
2023-04-06 22:35 分类:问答Entry selection list with tkinter
How can I generate a normal selection list (like the \"State\" field in any HTML form for postal addresses) using Python tkinter?As illustrated below, the Listbox widget displays all the selections in[详细]
2023-04-06 12:40 分类:问答