コード例 #1
0
ファイル: ui_window.py プロジェクト: zishendianxia/traitsui
 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
ファイル: themed_window.py プロジェクト: satishgoda/traitsui
 def init_control ( self ):
     """ Initializes the underlying wx.Window object.
     """
     init_wx_handlers( self.control, self )
コード例 #3
0
ファイル: themed_window.py プロジェクト: timdiller/traitsui
 def init_control(self):
     """ Initializes the underlying wx.Window object.
     """
     init_wx_handlers(self.control, self)