Пример #1
0
 def __init__(self, model, flag=0):
     self._build()
     self.set_numeric("C")
     if flag:
         self.set_datetime("E")
     self.set_numeric("G")
     self.set_format("G", "%.3f")
     Proxy.__init__(self, model, delete_handler=gtk.mainquit)
     gtk.idle_add(self.focus_topmost)
Пример #2
0
 def __init__(self, model):
     self._build()
     Proxy.__init__(self, model, delete_handler=gtk.mainquit)
     gtk.idle_add(self.focus_topmost)
Пример #3
0
 def __init__(self, model=None, flag=0):
     self._build()
     self.set_numeric("A")
     Proxy.__init__(self, model, delete_handler=gtk.mainquit)
     self.A.grab_focus()
Пример #4
0
 def __init__(self, model, flag=0):
     self._build()
     Proxy.__init__(self, model, delete_handler=gtk.mainquit)