Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以tkinter与 glib集成mainloop?
tkinter
mainloop
这是一种方法:
app=TkinterApp() def refreshApp(): app.update() return True gobject.idle_add(refreshApp) loop = gobject.MainLoop() loop.run()