1 |
#Boa:Dialog:FraggleDialogModules |
2 |
|
3 |
from wxPython.wx import * |
4 |
|
5 |
def create(parent): |
6 |
return FraggleDialogModules(parent) |
7 |
|
8 |
[wxID_FRAGGLEDIALOGMODULES, wxID_FRAGGLEDIALOGMODULESBUTTON1, |
9 |
wxID_FRAGGLEDIALOGMODULESBUTTONSAVECLOSE, |
10 |
wxID_FRAGGLEDIALOGMODULESCHECKLISTBOXMODULES, |
11 |
] = map(lambda _init_ctrls: wxNewId(), range(4)) |
12 |
|
13 |
class FraggleDialogModules(wxDialog): |
14 |
|
15 |
def _init_utils(self): |
16 |
# generated method, don't edit |
17 |
pass |
18 |
|
19 |
def _init_ctrls(self, prnt): |
20 |
# generated method, don't edit |
21 |
wxDialog.__init__(self, id=wxID_FRAGGLEDIALOGMODULES, |
22 |
name='FraggleDialogModules', parent=prnt, pos=wxPoint(256, 167), |
23 |
size=wxSize(189, 288), style=wxDEFAULT_DIALOG_STYLE, |
24 |
title='Module Setup') |
25 |
self._init_utils() |
26 |
self.SetClientSize(wxSize(189, 288)) |
27 |
|
28 |
self.checkListBoxModules = wxCheckListBox(choices=[], |
29 |
id=wxID_FRAGGLEDIALOGMODULESCHECKLISTBOXMODULES, |
30 |
name='checkListBoxModules', parent=self, pos=wxPoint(8, 8), |
31 |
size=wxSize(168, 248), style=0, validator=wxDefaultValidator) |
32 |
|
33 |
self.buttonSaveClose = wxButton(id=wxID_FRAGGLEDIALOGMODULESBUTTONSAVECLOSE, |
34 |
label='Save and Close', name='buttonSaveClose', parent=self, |
35 |
pos=wxPoint(8, 264), size=wxSize(88, 16), style=0) |
36 |
|
37 |
self.button1 = wxButton(id=wxID_FRAGGLEDIALOGMODULESBUTTON1, |
38 |
label='Cancel', name='button1', parent=self, pos=wxPoint(104, |
39 |
264), size=wxSize(72, 16), style=0) |
40 |
|
41 |
def __init__(self, parent): |
42 |
self._init_ctrls(parent) |
43 |
|