]>
Commit | Line | Data |
---|---|---|
3e1f6ec4 RD |
1 | # This file was created automatically by SWIG. |
2 | import wizardc | |
3 | ||
4 | from windows import * | |
5 | ||
6 | from misc import * | |
7 | ||
8 | from gdi import * | |
9 | ||
10 | from fonts import * | |
11 | ||
12 | from clip_dnd import * | |
13 | ||
14 | from frames import * | |
15 | ||
16 | from stattool import * | |
17 | ||
18 | from controls import * | |
19 | ||
20 | from events import * | |
21 | ||
22 | # wizard events | |
23 | def EVT_WIZARD_PAGE_CHANGED(win, id, func): | |
24 | win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGED, func) | |
25 | ||
26 | def EVT_WIZARD_PAGE_CHANGING(win, id, func): | |
27 | win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGING, func) | |
28 | ||
29 | def EVT_WIZARD_CANCEL(win, id, func): | |
30 | win.Connect(id, -1, wxEVT_WIZARD_CANCEL, func) | |
31 | ||
32 | def EVT_WIZARD_HELP(win, id, func): | |
33 | win.Connect(id, -1, wxEVT_WIZARD_HELP, func) | |
34 | ||
35 | ||
36 | class wxWizardEventPtr(wxNotifyEventPtr): | |
37 | def __init__(self,this): | |
38 | self.this = this | |
39 | self.thisown = 0 | |
40 | def GetDirection(self, *_args, **_kwargs): | |
41 | val = apply(wizardc.wxWizardEvent_GetDirection,(self,) + _args, _kwargs) | |
42 | return val | |
43 | def GetPage(self, *_args, **_kwargs): | |
44 | val = apply(wizardc.wxWizardEvent_GetPage,(self,) + _args, _kwargs) | |
45 | if val: val = wxWizardPagePtr(val) | |
46 | return val | |
47 | def __repr__(self): | |
48 | return "<C wxWizardEvent instance at %s>" % (self.this,) | |
49 | class wxWizardEvent(wxWizardEventPtr): | |
50 | def __init__(self,*_args,**_kwargs): | |
51 | self.this = apply(wizardc.new_wxWizardEvent,_args,_kwargs) | |
52 | self.thisown = 1 | |
53 | ||
54 | ||
55 | ||
56 | ||
57 | class wxWizardPagePtr(wxPanelPtr): | |
58 | def __init__(self,this): | |
59 | self.this = this | |
60 | self.thisown = 0 | |
61 | def Create(self, *_args, **_kwargs): | |
62 | val = apply(wizardc.wxWizardPage_Create,(self,) + _args, _kwargs) | |
63 | return val | |
64 | def Init(self, *_args, **_kwargs): | |
65 | val = apply(wizardc.wxWizardPage_Init,(self,) + _args, _kwargs) | |
66 | return val | |
67 | def GetPrev(self, *_args, **_kwargs): | |
68 | val = apply(wizardc.wxWizardPage_GetPrev,(self,) + _args, _kwargs) | |
69 | if val: val = wxWizardPagePtr(val) | |
70 | return val | |
71 | def GetNext(self, *_args, **_kwargs): | |
72 | val = apply(wizardc.wxWizardPage_GetNext,(self,) + _args, _kwargs) | |
73 | if val: val = wxWizardPagePtr(val) | |
74 | return val | |
75 | def GetBitmap(self, *_args, **_kwargs): | |
76 | val = apply(wizardc.wxWizardPage_GetBitmap,(self,) + _args, _kwargs) | |
77 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 | |
78 | return val | |
79 | def __repr__(self): | |
80 | return "<C wxWizardPage instance at %s>" % (self.this,) | |
81 | class wxWizardPage(wxWizardPagePtr): | |
82 | def __init__(self,this): | |
83 | self.this = this | |
84 | ||
85 | ||
86 | ||
87 | ||
88 | class wxPyWizardPagePtr(wxWizardPagePtr): | |
89 | def __init__(self,this): | |
90 | self.this = this | |
91 | self.thisown = 0 | |
92 | def Create(self, *_args, **_kwargs): | |
93 | val = apply(wizardc.wxPyWizardPage_Create,(self,) + _args, _kwargs) | |
94 | return val | |
95 | def _setCallbackInfo(self, *_args, **_kwargs): | |
96 | val = apply(wizardc.wxPyWizardPage__setCallbackInfo,(self,) + _args, _kwargs) | |
97 | return val | |
98 | def base_DoMoveWindow(self, *_args, **_kwargs): | |
99 | val = apply(wizardc.wxPyWizardPage_base_DoMoveWindow,(self,) + _args, _kwargs) | |
100 | return val | |
101 | def base_DoSetSize(self, *_args, **_kwargs): | |
102 | val = apply(wizardc.wxPyWizardPage_base_DoSetSize,(self,) + _args, _kwargs) | |
103 | return val | |
104 | def base_DoSetClientSize(self, *_args, **_kwargs): | |
105 | val = apply(wizardc.wxPyWizardPage_base_DoSetClientSize,(self,) + _args, _kwargs) | |
106 | return val | |
107 | def base_DoSetVirtualSize(self, *_args, **_kwargs): | |
108 | val = apply(wizardc.wxPyWizardPage_base_DoSetVirtualSize,(self,) + _args, _kwargs) | |
109 | return val | |
110 | def base_DoGetSize(self, *_args, **_kwargs): | |
111 | val = apply(wizardc.wxPyWizardPage_base_DoGetSize,(self,) + _args, _kwargs) | |
112 | return val | |
113 | def base_DoGetClientSize(self, *_args, **_kwargs): | |
114 | val = apply(wizardc.wxPyWizardPage_base_DoGetClientSize,(self,) + _args, _kwargs) | |
115 | return val | |
116 | def base_DoGetPosition(self, *_args, **_kwargs): | |
117 | val = apply(wizardc.wxPyWizardPage_base_DoGetPosition,(self,) + _args, _kwargs) | |
118 | return val | |
119 | def base_DoGetVirtualSize(self, *_args, **_kwargs): | |
120 | val = apply(wizardc.wxPyWizardPage_base_DoGetVirtualSize,(self,) + _args, _kwargs) | |
121 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
122 | return val | |
123 | def base_DoGetBestSize(self, *_args, **_kwargs): | |
124 | val = apply(wizardc.wxPyWizardPage_base_DoGetBestSize,(self,) + _args, _kwargs) | |
125 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
126 | return val | |
127 | def base_InitDialog(self, *_args, **_kwargs): | |
128 | val = apply(wizardc.wxPyWizardPage_base_InitDialog,(self,) + _args, _kwargs) | |
129 | return val | |
130 | def base_TransferDataToWindow(self, *_args, **_kwargs): | |
131 | val = apply(wizardc.wxPyWizardPage_base_TransferDataToWindow,(self,) + _args, _kwargs) | |
132 | return val | |
133 | def base_TransferDataFromWindow(self, *_args, **_kwargs): | |
134 | val = apply(wizardc.wxPyWizardPage_base_TransferDataFromWindow,(self,) + _args, _kwargs) | |
135 | return val | |
136 | def base_Validate(self, *_args, **_kwargs): | |
137 | val = apply(wizardc.wxPyWizardPage_base_Validate,(self,) + _args, _kwargs) | |
138 | return val | |
139 | def base_AcceptsFocus(self, *_args, **_kwargs): | |
140 | val = apply(wizardc.wxPyWizardPage_base_AcceptsFocus,(self,) + _args, _kwargs) | |
141 | return val | |
142 | def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs): | |
143 | val = apply(wizardc.wxPyWizardPage_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs) | |
144 | return val | |
145 | def base_GetMaxSize(self, *_args, **_kwargs): | |
146 | val = apply(wizardc.wxPyWizardPage_base_GetMaxSize,(self,) + _args, _kwargs) | |
147 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
148 | return val | |
149 | def base_AddChild(self, *_args, **_kwargs): | |
150 | val = apply(wizardc.wxPyWizardPage_base_AddChild,(self,) + _args, _kwargs) | |
151 | return val | |
152 | def base_RemoveChild(self, *_args, **_kwargs): | |
153 | val = apply(wizardc.wxPyWizardPage_base_RemoveChild,(self,) + _args, _kwargs) | |
154 | return val | |
155 | def __repr__(self): | |
156 | return "<C wxPyWizardPage instance at %s>" % (self.this,) | |
157 | class wxPyWizardPage(wxPyWizardPagePtr): | |
158 | def __init__(self,*_args,**_kwargs): | |
159 | self.this = apply(wizardc.new_wxPyWizardPage,_args,_kwargs) | |
160 | self.thisown = 1 | |
161 | self._setCallbackInfo(self, wxPyWizardPage) | |
162 | self._setOORInfo(self) | |
163 | ||
164 | ||
165 | ||
166 | def wxPrePyWizardPage(*_args,**_kwargs): | |
167 | val = wxPyWizardPagePtr(apply(wizardc.new_wxPrePyWizardPage,_args,_kwargs)) | |
168 | val.thisown = 1 | |
169 | val._setOORInfo(val) | |
170 | return val | |
171 | ||
172 | ||
173 | class wxWizardPageSimplePtr(wxWizardPagePtr): | |
174 | def __init__(self,this): | |
175 | self.this = this | |
176 | self.thisown = 0 | |
177 | def Create(self, *_args, **_kwargs): | |
178 | val = apply(wizardc.wxWizardPageSimple_Create,(self,) + _args, _kwargs) | |
179 | return val | |
180 | def Init(self, *_args, **_kwargs): | |
181 | val = apply(wizardc.wxWizardPageSimple_Init,(self,) + _args, _kwargs) | |
182 | return val | |
183 | def SetPrev(self, *_args, **_kwargs): | |
184 | val = apply(wizardc.wxWizardPageSimple_SetPrev,(self,) + _args, _kwargs) | |
185 | return val | |
186 | def SetNext(self, *_args, **_kwargs): | |
187 | val = apply(wizardc.wxWizardPageSimple_SetNext,(self,) + _args, _kwargs) | |
188 | return val | |
189 | def __repr__(self): | |
190 | return "<C wxWizardPageSimple instance at %s>" % (self.this,) | |
191 | class wxWizardPageSimple(wxWizardPageSimplePtr): | |
192 | def __init__(self,*_args,**_kwargs): | |
193 | self.this = apply(wizardc.new_wxWizardPageSimple,_args,_kwargs) | |
194 | self.thisown = 1 | |
195 | self._setOORInfo(self) | |
196 | ||
197 | ||
198 | ||
199 | def wxPreWizardPageSimple(*_args,**_kwargs): | |
200 | val = wxWizardPageSimplePtr(apply(wizardc.new_wxPreWizardPageSimple,_args,_kwargs)) | |
201 | val.thisown = 1 | |
202 | val._setOORInfo(val) | |
203 | return val | |
204 | ||
205 | ||
206 | class wxWizardPtr(wxDialogPtr): | |
207 | def __init__(self,this): | |
208 | self.this = this | |
209 | self.thisown = 0 | |
210 | def Create(self, *_args, **_kwargs): | |
211 | val = apply(wizardc.wxWizard_Create,(self,) + _args, _kwargs) | |
212 | return val | |
213 | def Init(self, *_args, **_kwargs): | |
214 | val = apply(wizardc.wxWizard_Init,(self,) + _args, _kwargs) | |
215 | return val | |
216 | def RunWizard(self, *_args, **_kwargs): | |
217 | val = apply(wizardc.wxWizard_RunWizard,(self,) + _args, _kwargs) | |
218 | return val | |
219 | def GetCurrentPage(self, *_args, **_kwargs): | |
220 | val = apply(wizardc.wxWizard_GetCurrentPage,(self,) + _args, _kwargs) | |
221 | if val: val = wxWizardPagePtr(val) | |
222 | return val | |
223 | def SetPageSize(self, *_args, **_kwargs): | |
224 | val = apply(wizardc.wxWizard_SetPageSize,(self,) + _args, _kwargs) | |
225 | return val | |
226 | def GetPageSize(self, *_args, **_kwargs): | |
227 | val = apply(wizardc.wxWizard_GetPageSize,(self,) + _args, _kwargs) | |
228 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
229 | return val | |
230 | def FitToPage(self, *_args, **_kwargs): | |
231 | val = apply(wizardc.wxWizard_FitToPage,(self,) + _args, _kwargs) | |
232 | return val | |
233 | def IsRunning(self, *_args, **_kwargs): | |
234 | val = apply(wizardc.wxWizard_IsRunning,(self,) + _args, _kwargs) | |
235 | return val | |
236 | def ShowPage(self, *_args, **_kwargs): | |
237 | val = apply(wizardc.wxWizard_ShowPage,(self,) + _args, _kwargs) | |
238 | return val | |
239 | def __repr__(self): | |
240 | return "<C wxWizard instance at %s>" % (self.this,) | |
241 | class wxWizard(wxWizardPtr): | |
242 | def __init__(self,*_args,**_kwargs): | |
243 | self.this = apply(wizardc.new_wxWizard,_args,_kwargs) | |
244 | self.thisown = 1 | |
245 | self._setOORInfo(self) | |
246 | ||
247 | ||
248 | ||
249 | def wxPreWizard(*_args,**_kwargs): | |
250 | val = wxWizardPtr(apply(wizardc.new_wxPreWizard,_args,_kwargs)) | |
251 | val.thisown = 1 | |
252 | val._setOORInfo(val) | |
253 | return val | |
254 | ||
255 | ||
256 | ||
257 | ||
258 | #-------------- FUNCTION WRAPPERS ------------------ | |
259 | ||
260 | wxWizardPageSimple_Chain = wizardc.wxWizardPageSimple_Chain | |
261 | ||
262 | ||
263 | ||
264 | #-------------- VARIABLE WRAPPERS ------------------ | |
265 | ||
266 | wxWIZARD_EX_HELPBUTTON = wizardc.wxWIZARD_EX_HELPBUTTON | |
267 | wxEVT_WIZARD_PAGE_CHANGED = wizardc.wxEVT_WIZARD_PAGE_CHANGED | |
268 | wxEVT_WIZARD_PAGE_CHANGING = wizardc.wxEVT_WIZARD_PAGE_CHANGING | |
269 | wxEVT_WIZARD_CANCEL = wizardc.wxEVT_WIZARD_CANCEL | |
270 | wxEVT_WIZARD_HELP = wizardc.wxEVT_WIZARD_HELP | |
271 | ||
272 | ||
273 | #-------------- USER INCLUDE ----------------------- | |
274 | ||
275 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
276 | import wx | |
277 | wx.wxWizardEventPtr = wxWizardEventPtr |