25 |
def _init_ctrls(self, prnt): |
def _init_ctrls(self, prnt): |
26 |
# generated method, don't edit |
# generated method, don't edit |
27 |
wxDialog.__init__(self, id=wxID_FRAGGLEDIALOGPREFS, |
wxDialog.__init__(self, id=wxID_FRAGGLEDIALOGPREFS, |
28 |
name='fraggleDialogPrefs', parent=prnt, pos=wxPoint(283, 313), |
name='fraggleDialogPrefs', parent=prnt, pos=wxPoint(482, 310), |
29 |
size=wxSize(374, 260), style=wxDEFAULT_DIALOG_STYLE, |
size=wxSize(366, 233), style=wxDEFAULT_DIALOG_STYLE, |
30 |
title='Netfraggle Preferences') |
title='Netfraggle Preferences') |
31 |
|
self._init_utils() |
32 |
self.SetClientSize(wxSize(366, 233)) |
self.SetClientSize(wxSize(366, 233)) |
33 |
|
|
34 |
self.btsave = wxButton(id=wxID_FRAGGLEDIALOGPREFSBTSAVE, |
self.btsave = wxButton(id=wxID_FRAGGLEDIALOGPREFSBTSAVE, |
120 |
EVT_BUTTON(self.buttonTest, wxID_FRAGGLEDIALOGPREFSBUTTONTEST, |
EVT_BUTTON(self.buttonTest, wxID_FRAGGLEDIALOGPREFSBUTTONTEST, |
121 |
self.OnButtonTestButton) |
self.OnButtonTestButton) |
122 |
|
|
123 |
|
def _init_utils(self): |
124 |
|
# generated method, don't edit |
125 |
|
pass |
126 |
|
|
127 |
def __init_profiles(self): |
def __init_profiles(self): |
128 |
list = self.parent.preferencesCtl.getProfileList() |
list = self.parent.preferencesCtl.getProfileList() |
129 |
print list |
print list |