def __init__(self, parent, **kwargs): cOptionsPanel.__init__(self, parent, **kwargs) self.m_PlotButton2D = wx.Button(self, label="2D Make", size=wx.DefaultSize, pos=(10, 150)) self.m_PlotButton2D.Bind(wx.EVT_BUTTON, self.onMake2D) self.m_SleepThreadButton = wx.Button(self, label="Sleep Thread", size=wx.DefaultSize, pos=(10, 290)) self.m_SleepThreadButton.Bind(wx.EVT_BUTTON, self.onSleepThread) self.m_ContinueThreadButton = wx.Button(self, label="Continue Thread", size=wx.DefaultSize, pos=(10, 360)) self.m_ContinueThreadButton.Bind(wx.EVT_BUTTON, self.onContinueThread) self.m_PlotSim2DButton = wx.Button(self, label="BayesactSim2D", size=wx.DefaultSize, pos=(10, 500)) self.m_PlotSim2DButton.Bind(wx.EVT_BUTTON, self.onPlotBayesactSim2D)
def __init__(self, iParent, **kwargs): cOptionsPanel.__init__(self, iParent, **kwargs) self.m_PlotButton3D = wx.Button(self, label="3D Make", size=wx.DefaultSize, pos=(10,10)) self.m_PlotButton3D.Bind(wx.EVT_BUTTON, self.onMake3D) self.m_ScatterButton3D = wx.Button(self, label="Scatter 3D", size=wx.DefaultSize, pos=(10,80)) self.m_ScatterButton3D.Bind(wx.EVT_BUTTON, self.onScatter3D) self.m_SleepThreadButton = wx.Button(self, label="Sleep Thread", size=wx.DefaultSize, pos=(10,290)) self.m_SleepThreadButton.Bind(wx.EVT_BUTTON, self.onSleepThread) self.m_ContinueThreadButton = wx.Button(self, label="Continue Thread", size=wx.DefaultSize, pos=(10,360)) self.m_ContinueThreadButton.Bind(wx.EVT_BUTTON, self.onContinueThread) self.m_PlotSim3DButton = wx.Button(self, label="BayesactSim3D", size=wx.DefaultSize, pos=(10,430)) self.m_PlotSim3DButton.Bind(wx.EVT_BUTTON, self.onPlotBayesactSim3D) self.m_Clear3DButton = wx.Button(self, label="Clear3D", size=wx.DefaultSize, pos=(10,570)) self.m_Clear3DButton.Bind(wx.EVT_BUTTON, self.onClear3D)
def __init__(self, iParent, **kwargs): cOptionsPanel.__init__(self, iParent, **kwargs) self.m_PlotButton3D = wx.Button(self, label="3D Make", size=wx.DefaultSize, pos=(10, 10)) self.m_PlotButton3D.Bind(wx.EVT_BUTTON, self.onMake3D) self.m_ScatterButton3D = wx.Button(self, label="Scatter 3D", size=wx.DefaultSize, pos=(10, 80)) self.m_ScatterButton3D.Bind(wx.EVT_BUTTON, self.onScatter3D) self.m_SleepThreadButton = wx.Button(self, label="Sleep Thread", size=wx.DefaultSize, pos=(10, 290)) self.m_SleepThreadButton.Bind(wx.EVT_BUTTON, self.onSleepThread) self.m_ContinueThreadButton = wx.Button(self, label="Continue Thread", size=wx.DefaultSize, pos=(10, 360)) self.m_ContinueThreadButton.Bind(wx.EVT_BUTTON, self.onContinueThread) self.m_PlotSim3DButton = wx.Button(self, label="BayesactSim3D", size=wx.DefaultSize, pos=(10, 430)) self.m_PlotSim3DButton.Bind(wx.EVT_BUTTON, self.onPlotBayesactSim3D) self.m_Clear3DButton = wx.Button(self, label="Clear3D", size=wx.DefaultSize, pos=(10, 570)) self.m_Clear3DButton.Bind(wx.EVT_BUTTON, self.onClear3D)