Lines Matching defs:wx
23 import wx
25 import wx.lib.newevent
50 self.ctrls[Text] = wx.Button(panel, Id, Lbl, wx.Point(Col, Row), size=Len)
52 self.ctrls[Text].Bind(wx.EVT_BUTTON, getattr(callbackClass, Fct), self.ctrls[Text], id=Id)
53 if Id == wx.ID_OK:
58 self.ctrls[Text] = wx.TextCtrl(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET +3), wx.Size(Len,-1))
60 self.ctrls[Text] = JetSpinOneBased(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), min=Min, max=Max)
62 self.ctrls[Text] = JetSpin(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), min=Min, max=Max)
64 self.ctrls[Text] = wx.ComboBox(panel, Id, "", wx.Point(Col, Row + LBL_OFFSET), wx.Size(Len,-1), Lst, wx.CB_DROPDOWN | wx.CB_READONLY )
67 self.ctrls[Text].Bind(wx.EVT_COMBOBOX, getattr(callbackClass, Fct), self.ctrls[Text])
71 self.ctrls[Text] = JetFileCombo(panel, pos=(Col, Row + LBL_OFFSET), size=wx.Size(Len,-1), title=Lbl, spec=Lst, id=Id)
73 self.ctrls[Text] = JetFileText(panel, pos=(Col, Row + LBL_OFFSET), size=wx.Size(Len,-1), title=Lbl, spec=Lst, id=Id)
75 self.ctrls[Text] = wx.StaticBox(parent=panel, id=wx.ID_ANY, label=Lbl, pos=(Row, Col), size=Len)
78 self.ctrls[Text] = JetCheckBox(panel, Id, label=Lbl, pos=(Col, Row), size=wx.Size(Len,-1))
81 self.ctrls[Text].Bind(wx.EVT_CHECKBOX , getattr(callbackClass, Fct), self.ctrls[Text])
83 self.ctrls[Text] = wx.RadioBox(panel, Id, label=Lbl, pos=(Col, Row), size=Len, choices=Lst, majorDimension=1, style=wx.RA_SPECIFY_COLS)
86 self.ctrls[Text].Bind(wx.EVT_RADIOBOX , getattr(callbackClass, Fct), self.ctrls[Text])
88 self.ctrls[Text] = JetRadioButton(panel, Id, label=Lbl, pos=(Col, Row), size=wx.Size(Len,-1))
92 self.ctrls[Text].Bind(wx.EVT_RADIOBUTTON , getattr(callbackClass, Fct), self.ctrls[Text])
94 self.ctrls[Text] = wx.ListBox(panel, Id, pos=(Col, Row), size=Len)
97 self.ctrls[Text] = JetTrackCtrl(panel, Id, pos=(Col, Row + LBL_OFFSET), size=Len, style=wx.LC_REPORT | wx.SUNKEN_BORDER)
106 self.ctrls[Text] = wx.ContextHelpButton(panel, Id, pos=(Col, Row))
109 self.ctrls[Text] = wx.StaticText(panel, Id, Lbl, wx.Point(Col, Row), size=wx.Size(Len[0],Len[1]))
112 self.ctrls[Text] = wx.StaticBox(panel, wx.ID_ANY, Lbl, pos=(Col, Row), size=Len)
116 self.ctrls[Lbl] = wx.StaticText(panel, Id, Lbl, wx.Point(Col, Row))
138 class JetOpen(wx.Dialog):
141 wx.Dialog.__init__(self, None, -1, JetDefs.DLG_JETOPEN)
148 self.Bind(wx.EVT_LISTBOX_DCLICK, self.OnOpen)
149 self.Bind(wx.EVT_LISTBOX, self.OnClick)
194 class JetPreferences(wx.Dialog):
197 wx.Dialog.__init__(self, None, -1, JetDefs.DLG_PREFERENCES)
198 self.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP)
204 self.EndModal(wx.ID_OK)
213 class JetAbout(wx.Dialog):
216 wx.Dialog.__init__(self, None, -1, JetDefs.DLG_ABOUT)
219 b = wx.StaticBitmap(self, -1, bmp)
226 self.EndModal(wx.ID_OK)
235 class JetPropertiesDialog(wx.Dialog):
238 wx.Dialog.__init__(self, None, -1, JetDefs.DLG_PROPERTIES)
239 self.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP)
245 self.EndModal(wx.ID_OK)
254 class JetErrors(wx.Dialog):
257 wx.Dialog.__init__(self, None, -1, title)
263 self.EndModal(wx.ID_OK)
271 class SegEdit(wx.Dialog):
274 wx.Dialog.__init__(self, None, -1, title)
275 self.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP)
278 self.je.ctrls[JetDefs.F_MIDIFILE].cmb.Bind(wx.EVT_KILL_FOCUS, self.OnMidiChanged)
279 self.je.ctrls[JetDefs.F_MIDIFILE].cmb.Bind(wx.EVT_COMBOBOX, self.OnMidiChanged)
296 wx.EVT_CLOSE(self, self.OnClose)
314 self.EndModal(wx.ID_CANCEL)
336 wx.PostEvent(self, JetStatusEvent(JetDefs.PST_MIDI_INFO, self.lastMidiInfo))
354 self.EndModal(wx.ID_OK)
556 if result == wx.ID_OK:
560 self.EndModal(wx.ID_OK)
564 class EventEdit(wx.Dialog):
567 wx.Dialog.__init__(self, None, -1, title)
568 self.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP)
588 wx.EVT_CLOSE(self, self.OnClose)
644 self.EndModal(wx.ID_CANCEL)
713 self.EndModal(wx.ID_OK)
770 self.je.ctrls[JetDefs.F_MUTEFLAGS].SetTextColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_GRAYTEXT))
840 if result == wx.ID_OK:
844 self.EndModal(wx.ID_OK)
848 class JetReplicate(wx.Dialog):
851 wx.Dialog.__init__(self, None, -1, title)
852 self.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP)
866 self.EndModal(wx.ID_OK)
915 class JetMove(wx.Dialog):
918 wx.Dialog.__init__(self, None, -1, title)
919 self.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP)
934 self.EndModal(wx.ID_OK)
973 app = wx.PySimpleApp()
987 if result == wx.ID_OK:
994 app = wx.PySimpleApp()
996 helpProvider = wx.SimpleHelpProvider()
997 wx.HelpProvider_Set(helpProvider)
1013 app = wx.PySimpleApp()