- def __set_properties(self):
- # begin wxGlade: FrameSimpleDelayed.__set_properties
- self.SetTitle("Simple Examle of Delayed Result")
- self.checkboxUseDelayed.SetValue(1)
- self.checkboxUseDelayed.Enable(False)
- self.buttonAbort.Enable(False)
- # end wxGlade
-
- def __do_layout(self):
- # begin wxGlade: FrameSimpleDelayed.__do_layout
- sizerFrame = wx.BoxSizer(wx.VERTICAL)
- sizerGetResult = wx.BoxSizer(wx.HORIZONTAL)
- sizerUseDelayed = wx.BoxSizer(wx.HORIZONTAL)
- sizerUseDelayed.Add(self.checkboxUseDelayed, 0, wx.LEFT|wx.ALIGN_CENTER_VERTICAL|wx.ADJUST_MINSIZE, 5)
- sizerFrame.Add(sizerUseDelayed, 1, wx.EXPAND, 0)
- sizerGetResult.Add(self.buttonGet, 0, wx.ADJUST_MINSIZE, 0)
- sizerGetResult.Add(self.buttonAbort, 0, wx.ADJUST_MINSIZE, 0)
- sizerGetResult.Add(self.slider, 0, wx.ADJUST_MINSIZE, 0)
- sizerGetResult.Add(self.textCtrlResult, 0, wx.ADJUST_MINSIZE, 0)
- sizerFrame.Add(sizerGetResult, 1, wx.ALL|wx.EXPAND, 5)
- self.SetAutoLayout(True)
- self.SetSizer(sizerFrame)
- sizerFrame.Fit(self)
- sizerFrame.SetSizeHints(self)
- self.Layout()
- # end wxGlade