problem description just learned python GUI, using tkinter when you use a button of Tk () to open a Toplevel , you can generally open it indefinitely. How to automatically close the toplevel before creating a new project? my gui looks like ...
I now have a lot of functions that deal with data, of which they are useful to multi-processes. In the interface made with tkinter, when command= calls functions that use multiple processes, many interfaces pop up, all of which are the same as the origin...
use the icon of the tkinter settings window to report an error -sharptkintericonbitmap from tkinter import * def main(): root = Tk() root.title( Change Logo ) root.geometry( 350x150 ) root.iconbitmap( python.ico ) root.mainlo...
A main interface, and then button calls each function and wants to print the running real-time data to the scrolltext of the interface in the function. I passed stext as an argument to the function, and then I did the stext.insert operation and found th...
the purpose is to get the text selected by the mouse through the Tkinter Text control the reference code is as follows: https: stackoverflow.com que. part of my code: the whole is encapsulated in a class self.Scrolledtext1 = ScrolledText(top) ...