예제 #1
0
def do_idle(dis, fd):
    global _root
    global _refresh
    print "python do_idle; dis=", dis, "fd=", fd
    gist.pyg_idler()
    _refresh = 1

    if _root:
        print _root
        if dis == 0:
            print dis
            _root.after_idle(do_idle)
예제 #2
0
def do_idle(dis, fd):
   global _root
   global _refresh
   print "python do_idle; dis=", dis, "fd=", fd
   gist.pyg_idler()
   _refresh = 1

   if _root:
      print _root
      if dis == 0:
         print dis
         _root.after_idle(do_idle)
예제 #3
0
    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)