tkinter tkMessageBox not working in thread

前端 未结 3 678
遥遥无期
遥遥无期 2021-01-22 08:08

i have tkinter class and some functions in it, (assume all other functions are present to initiate the GUI). what i have done i have started one self.function as a thread from o

3条回答
  •  情话喂你
    2021-01-22 08:44

    tkinter is not thread safe -- you can't reliably call any tkinter functions from any thread other than the one in which you initialized tkinter.

提交回复
热议问题