Exemple #1
0
 def __init__(self, **kwds):
     AbstractApplication.__init__(self, **kwds)
     if not self._wndclass:
         self._register_class()
     WindowWrapper._wndclass = self._wndclass
     FrameWrapper._wndclass = self._wndclass
     global _app
     _app = self
Exemple #2
0
 def add(self, win):
     AbstractApplication.add(self, win)
     if self._beos_running:
         if win.wrapper is "Alert":
             win.alert.Go()
         if win.wrapper.widget is None:
             win.wrapper.create()
         win.wrapper.widget.Show()
Exemple #3
0
 def __init__(self,**kwds):
     global _app
     if not _app:
         #if _verbose: log('Application.__init__:start',str(self))
         AbstractApplication.__init__(self,**kwds)
         if not self._wndclass: self._register_class()
         WindowWrapper._wndclass = self._wndclass
         FrameWrapper._wndclass = self._wndclass
         _app = self
Exemple #4
0
 def __init__(self, **kwds):
     AbstractApplication.__init__(self, **kwds)
     self._isRunning = True
Exemple #5
0
 def __init__(self, **kwds):
     AbstractApplication.__init__(self, **kwds)
     QApplication.__init__(self, [])
Exemple #6
0
 def __init__(self, **kwds):
     BApplication.BApplication.__init__(self, self._beos_sig)
     AbstractApplication.__init__(self, **kwds)
     self._running = 1
Exemple #7
0
 def __init__(self, **kwds):
     AbstractApplication.__init__(self, **kwds)
     wxApp.__init__(self, 0)
Exemple #8
0
 def __init__(self):
     AbstractApplication.__init__(self)
     self.txtapp = tw.Application()
Exemple #9
0
 def __init__(self, **kwds):
     AbstractApplication.__init__(self, **kwds)
     self._root = Tkinter.Tk()
     self._root.withdraw()