python2 NSWindow drag regions should only be invalidated on the Main Thread_Lan.W的博客-CSDN博客

网站介绍:def gui_thread(): root = tk.Tk() app = gui_APP(root) root.mainloop() # 消息循环def main(): threading.Thread(target=gui_thread).start()if __name__ == '__main__': main() #gui_thread()_nswindow drag regions should only be invalidated on the main thread!