/[cvs]/nfo/projects/netfraggle/bin/FraggleDialogModules.py
ViewVC logotype

Annotation of /nfo/projects/netfraggle/bin/FraggleDialogModules.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Wed Sep 1 21:43:30 2004 UTC (20 years, 2 months ago) by xabbu
Branch: MAIN
Changes since 1.1: +17 -13 lines
File MIME type: text/x-python
+Moved funtion getDefaultDir from FraggleCtlPreferences to FraggleEngine for more convenience
+FraggleCtlModules class creation for handling content modules

1 xabbu 1.2 #Boa:Dialog:FraggleDialogModules
2 xabbu 1.1
3     from wxPython.wx import *
4    
5     def create(parent):
6 xabbu 1.2 return FraggleDialogModules(parent)
7 xabbu 1.1
8 xabbu 1.2 [wxID_FRAGGLEDIALOGMODULES, wxID_FRAGGLEDIALOGMODULESBUTTON1,
9     wxID_FRAGGLEDIALOGMODULESBUTTONSAVECLOSE,
10     wxID_FRAGGLEDIALOGMODULESCHECKLISTBOXMODULES,
11 xabbu 1.1 ] = map(lambda _init_ctrls: wxNewId(), range(4))
12    
13 xabbu 1.2 class FraggleDialogModules(wxDialog):
14    
15 xabbu 1.1 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 xabbu 1.2 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 xabbu 1.1 self._init_utils()
26     self.SetClientSize(wxSize(189, 288))
27    
28     self.checkListBoxModules = wxCheckListBox(choices=[],
29 xabbu 1.2 id=wxID_FRAGGLEDIALOGMODULESCHECKLISTBOXMODULES,
30 xabbu 1.1 name='checkListBoxModules', parent=self, pos=wxPoint(8, 8),
31     size=wxSize(168, 248), style=0, validator=wxDefaultValidator)
32    
33 xabbu 1.2 self.buttonSaveClose = wxButton(id=wxID_FRAGGLEDIALOGMODULESBUTTONSAVECLOSE,
34 xabbu 1.1 label='Save and Close', name='buttonSaveClose', parent=self,
35     pos=wxPoint(8, 264), size=wxSize(88, 16), style=0)
36    
37 xabbu 1.2 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 xabbu 1.1
41     def __init__(self, parent):
42     self._init_ctrls(parent)
43 xabbu 1.2

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed