Is it possible to integrate tkinter
with glib mainloop开发者_Go百科
?
Here is one way of doing it:
app=TkinterApp()
def refreshApp():
app.update()
return True
gobject.idle_add(refreshApp)
loop = gobject.MainLoop()
loop.run()
Is it possible to integrate tkinter
with glib mainloop开发者_Go百科
?
Here is one way of doing it:
app=TkinterApp()
def refreshApp():
app.update()
return True
gobject.idle_add(refreshApp)
loop = gobject.MainLoop()
loop.run()
精彩评论