The GTK and Twisted mainloops need to be integrated
Before either gtk or the Twisted reactors are imported:
from twisted.internet import gtk2reactor gtk2reactor.install()
Instead of calling
gtk.main()
, callreactor.run()
The GTK and Twisted mainloops need to be integrated
Before either gtk or the Twisted reactors are imported:
from twisted.internet import gtk2reactor gtk2reactor.install()
Instead of calling gtk.main()
,
call reactor.run()