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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Wed Aug 25 13:53:48 2004 UTC (20 years, 2 months ago) by xabbu
Branch: MAIN
Branch point for: netfrag
File MIME type: text/x-python
Initial revision

1 xabbu 1.1 #Boa:Dialog:wxDialog1
2    
3     from wxPython.wx import *
4    
5     def create(parent):
6     return wxDialog1(parent)
7    
8     [wxID_WXDIALOG1, wxID_WXDIALOG1BTSAVE, wxID_WXDIALOG1BUTTON1,
9     wxID_WXDIALOG1STATICLINE1, wxID_WXDIALOG1STATICLINE2,
10     wxID_WXDIALOG1STATICTEXT1, wxID_WXDIALOG1STATICTEXT2,
11     wxID_WXDIALOG1STATICTEXT3, wxID_WXDIALOG1STATICTEXT4,
12     wxID_WXDIALOG1STATICTEXT5, wxID_WXDIALOG1TEXTCTRLPASSWORD,
13     wxID_WXDIALOG1TEXTCTRLRETRIEVAL, wxID_WXDIALOG1TEXTCTRLSERVER,
14     wxID_WXDIALOG1TEXTCTRLUSERNAME,
15     ] = map(lambda _init_ctrls: wxNewId(), range(14))
16    
17     class wxDialog1(wxDialog):
18     def _init_utils(self):
19     # generated method, don't edit
20     pass
21    
22     def _init_ctrls(self, prnt):
23     # generated method, don't edit
24     wxDialog.__init__(self, id=wxID_WXDIALOG1, name='', parent=prnt,
25     pos=wxPoint(344, 319), size=wxSize(366, 188),
26     style=wxDEFAULT_DIALOG_STYLE, title='Netfraggle Preferences')
27     self._init_utils()
28     self.SetClientSize(wxSize(366, 188))
29    
30     self.btsave = wxButton(id=wxID_WXDIALOG1BTSAVE, label='Save',
31     name='btsave', parent=self, pos=wxPoint(8, 168), size=wxSize(64,
32     16), style=0)
33    
34     self.button1 = wxButton(id=wxID_WXDIALOG1BUTTON1, label='Cancel',
35     name='button1', parent=self, pos=wxPoint(80, 168), size=wxSize(56,
36     16), style=0)
37    
38     self.staticText1 = wxStaticText(id=wxID_WXDIALOG1STATICTEXT1,
39     label='Username', name='staticText1', parent=self, pos=wxPoint(16,
40     16), size=wxSize(47, 13), style=0)
41    
42     self.staticText2 = wxStaticText(id=wxID_WXDIALOG1STATICTEXT2,
43     label='Password', name='staticText2', parent=self, pos=wxPoint(16,
44     40), size=wxSize(53, 16), style=0)
45    
46     self.textCtrlUsername = wxTextCtrl(id=wxID_WXDIALOG1TEXTCTRLUSERNAME,
47     name='textCtrlUsername', parent=self, pos=wxPoint(80, 16),
48     size=wxSize(80, 16), style=0, value='')
49    
50     self.textCtrlPassword = wxTextCtrl(id=wxID_WXDIALOG1TEXTCTRLPASSWORD,
51     name='textCtrlPassword', parent=self, pos=wxPoint(80, 40),
52     size=wxSize(80, 16), style=0, value='')
53    
54     self.staticText3 = wxStaticText(id=wxID_WXDIALOG1STATICTEXT3,
55     label='Server URL', name='staticText3', parent=self,
56     pos=wxPoint(16, 64), size=wxSize(58, 16), style=0)
57    
58     self.textCtrlServer = wxTextCtrl(id=wxID_WXDIALOG1TEXTCTRLSERVER,
59     name='textCtrlServer', parent=self, pos=wxPoint(80, 64),
60     size=wxSize(272, 16), style=0,
61     value='http://your.server.com/netfraggle.php')
62    
63     self.staticText4 = wxStaticText(id=wxID_WXDIALOG1STATICTEXT4,
64     label='Topic Retrieval Interval', name='staticText4', parent=self,
65     pos=wxPoint(16, 144), size=wxSize(120, 16), style=0)
66    
67     self.textCtrlRetrieval = wxTextCtrl(id=wxID_WXDIALOG1TEXTCTRLRETRIEVAL,
68     name='textCtrlRetrieval', parent=self, pos=wxPoint(128, 144),
69     size=wxSize(40, 16), style=0, value='')
70    
71     self.staticText5 = wxStaticText(id=wxID_WXDIALOG1STATICTEXT5,
72     label='Seconds', name='staticText5', parent=self, pos=wxPoint(176,
73     144), size=wxSize(56, 16), style=0)
74    
75     self.staticLine1 = wxStaticLine(id=wxID_WXDIALOG1STATICLINE1,
76     name='staticLine1', parent=self, pos=wxPoint(0, 144),
77     size=wxSize(368, 0), style=0)
78    
79     self.staticLine2 = wxStaticLine(id=wxID_WXDIALOG1STATICLINE2,
80     name='staticLine2', parent=self, pos=wxPoint(0, 56),
81     size=wxSize(368, 8), style=0)
82    
83     def __init__(self, parent):
84     self._init_ctrls(parent)

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