Пример #1
0
 def __init__(self, parent, **traits):
     """ Creates and initializes the window.
     """
     super(UIWindow, self).__init__(**traits)
     self.control = wx.Window(parent, -1,
                              size=self.size,
                              style=wx.FULL_REPAINT_ON_RESIZE)
     init_wx_handlers(self.control, self)
Пример #2
0
 def init_control ( self ):
     """ Initializes the underlying wx.Window object.
     """
     init_wx_handlers( self.control, self )
Пример #3
0
 def init_control(self):
     """ Initializes the underlying wx.Window object.
     """
     init_wx_handlers(self.control, self)