def do_pending(file, mask): global _root global _refresh print "python do_pending" if _root and _refresh: _refresh = 0 gist.pyg_pending()
def onIdle ( self, event ): # print "... Idle event" if self.isGistWindowOn: gist.pyg_pending() # Handle any new events gist.pyg_idler() # Redraw window after changes from events event.RequestMore (1)