]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/wizard.py
Respect the REUSEADDR flag to allow rebinding; bind to local port prior to connecting...
[wxWidgets.git] / wxPython / src / gtk / wizard.py
CommitLineData
32fe5131 1# This file was created automatically by SWIG 1.3.27.
d14a1e28
RD
2# Don't modify this file, modify the SWIG interface instead.
3
db3e571a
RD
4"""
5`Wizard` is a dialog class that guides the user through a sequence of steps,
6or pages.
7"""
8
d14a1e28
RD
9import _wizard
10
093d3ff1
RD
11def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
12 if (name == "this"):
13 if isinstance(value, class_type):
14 self.__dict__[name] = value.this
15 if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
16 del value.thisown
17 return
18 method = class_type.__swig_setmethods__.get(name,None)
19 if method: return method(self,value)
20 if (not static) or hasattr(self,name) or (name == "thisown"):
21 self.__dict__[name] = value
22 else:
23 raise AttributeError("You cannot add attributes to %s" % self)
24
25def _swig_setattr(self,class_type,name,value):
26 return _swig_setattr_nondynamic(self,class_type,name,value,0)
27
28def _swig_getattr(self,class_type,name):
29 method = class_type.__swig_getmethods__.get(name,None)
30 if method: return method(self)
31 raise AttributeError,name
32
33import types
34try:
35 _object = types.ObjectType
36 _newclass = 1
37except AttributeError:
38 class _object : pass
39 _newclass = 0
40del types
41
42
43def _swig_setattr_nondynamic_method(set):
44 def set_attr(self,name,value):
45 if hasattr(self,name) or (name in ("this", "thisown")):
46 set(self,name,value)
47 else:
48 raise AttributeError("You cannot add attributes to %s" % self)
49 return set_attr
50
51
54f9ee45
RD
52import _windows
53import _core
54wx = _core
66c033b4 55__docfilter__ = wx.__DocFilter(globals())
d14a1e28
RD
56WIZARD_EX_HELPBUTTON = _wizard.WIZARD_EX_HELPBUTTON
57wxEVT_WIZARD_PAGE_CHANGED = _wizard.wxEVT_WIZARD_PAGE_CHANGED
58wxEVT_WIZARD_PAGE_CHANGING = _wizard.wxEVT_WIZARD_PAGE_CHANGING
59wxEVT_WIZARD_CANCEL = _wizard.wxEVT_WIZARD_CANCEL
60wxEVT_WIZARD_HELP = _wizard.wxEVT_WIZARD_HELP
61wxEVT_WIZARD_FINISHED = _wizard.wxEVT_WIZARD_FINISHED
62EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
63EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
64EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1)
65EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
66EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
67
54f9ee45 68class WizardEvent(_core.NotifyEvent):
093d3ff1 69 """Proxy of C++ WizardEvent class"""
e811c8ce
RD
70 def __repr__(self):
71 return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 72 def __init__(self, *args, **kwargs):
0df68c9f 73 """
a95a7133 74 __init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
0df68c9f
RD
75 WizardPage page=None) -> WizardEvent
76 """
d14a1e28
RD
77 newobj = _wizard.new_WizardEvent(*args, **kwargs)
78 self.this = newobj.this
c81fd4b9 79 self.thisown = 1
d14a1e28 80 del newobj.thisown
e811c8ce 81 def GetDirection(*args, **kwargs):
a95a7133 82 """GetDirection(self) -> bool"""
e811c8ce
RD
83 return _wizard.WizardEvent_GetDirection(*args, **kwargs)
84
85 def GetPage(*args, **kwargs):
a95a7133 86 """GetPage(self) -> WizardPage"""
e811c8ce
RD
87 return _wizard.WizardEvent_GetPage(*args, **kwargs)
88
c81fd4b9 89
d14a1e28
RD
90class WizardEventPtr(WizardEvent):
91 def __init__(self, this):
c81fd4b9 92 self.this = this
d14a1e28
RD
93 if not hasattr(self,"thisown"): self.thisown = 0
94 self.__class__ = WizardEvent
95_wizard.WizardEvent_swigregister(WizardEventPtr)
96
54f9ee45 97class WizardPage(_windows.Panel):
093d3ff1 98 """Proxy of C++ WizardPage class"""
d14a1e28 99 def __init__(self): raise RuntimeError, "No constructor defined"
c81fd4b9 100 def __repr__(self):
d14a1e28 101 return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
e811c8ce 102 def Create(*args, **kwargs):
a95a7133 103 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
e811c8ce
RD
104 return _wizard.WizardPage_Create(*args, **kwargs)
105
106 def GetPrev(*args, **kwargs):
a95a7133 107 """GetPrev(self) -> WizardPage"""
e811c8ce
RD
108 return _wizard.WizardPage_GetPrev(*args, **kwargs)
109
110 def GetNext(*args, **kwargs):
a95a7133 111 """GetNext(self) -> WizardPage"""
e811c8ce
RD
112 return _wizard.WizardPage_GetNext(*args, **kwargs)
113
114 def GetBitmap(*args, **kwargs):
a95a7133 115 """GetBitmap(self) -> Bitmap"""
e811c8ce
RD
116 return _wizard.WizardPage_GetBitmap(*args, **kwargs)
117
c81fd4b9 118
d14a1e28
RD
119class WizardPagePtr(WizardPage):
120 def __init__(self, this):
c81fd4b9 121 self.this = this
d14a1e28
RD
122 if not hasattr(self,"thisown"): self.thisown = 0
123 self.__class__ = WizardPage
124_wizard.WizardPage_swigregister(WizardPagePtr)
125
126class PyWizardPage(WizardPage):
093d3ff1 127 """Proxy of C++ PyWizardPage class"""
e811c8ce
RD
128 def __repr__(self):
129 return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 130 def __init__(self, *args, **kwargs):
a95a7133 131 """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
d14a1e28
RD
132 newobj = _wizard.new_PyWizardPage(*args, **kwargs)
133 self.this = newobj.this
c81fd4b9 134 self.thisown = 1
d14a1e28
RD
135 del newobj.thisown
136 self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)
e811c8ce
RD
137
138 def Create(*args, **kwargs):
a95a7133 139 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
e811c8ce
RD
140 return _wizard.PyWizardPage_Create(*args, **kwargs)
141
142 def _setCallbackInfo(*args, **kwargs):
a95a7133 143 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
e811c8ce
RD
144 return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
145
c26d9ab4
RD
146 def DoMoveWindow(*args, **kwargs):
147 """DoMoveWindow(self, int x, int y, int width, int height)"""
148 return _wizard.PyWizardPage_DoMoveWindow(*args, **kwargs)
e811c8ce 149
c26d9ab4
RD
150 def DoSetSize(*args, **kwargs):
151 """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
152 return _wizard.PyWizardPage_DoSetSize(*args, **kwargs)
e811c8ce 153
c26d9ab4
RD
154 def DoSetClientSize(*args, **kwargs):
155 """DoSetClientSize(self, int width, int height)"""
156 return _wizard.PyWizardPage_DoSetClientSize(*args, **kwargs)
e811c8ce 157
c26d9ab4
RD
158 def DoSetVirtualSize(*args, **kwargs):
159 """DoSetVirtualSize(self, int x, int y)"""
160 return _wizard.PyWizardPage_DoSetVirtualSize(*args, **kwargs)
e811c8ce 161
c26d9ab4
RD
162 def DoGetSize(*args, **kwargs):
163 """DoGetSize() -> (width, height)"""
164 return _wizard.PyWizardPage_DoGetSize(*args, **kwargs)
e811c8ce 165
c26d9ab4
RD
166 def DoGetClientSize(*args, **kwargs):
167 """DoGetClientSize() -> (width, height)"""
168 return _wizard.PyWizardPage_DoGetClientSize(*args, **kwargs)
e811c8ce 169
c26d9ab4
RD
170 def DoGetPosition(*args, **kwargs):
171 """DoGetPosition() -> (x,y)"""
172 return _wizard.PyWizardPage_DoGetPosition(*args, **kwargs)
e811c8ce 173
c26d9ab4
RD
174 def DoGetVirtualSize(*args, **kwargs):
175 """DoGetVirtualSize(self) -> Size"""
176 return _wizard.PyWizardPage_DoGetVirtualSize(*args, **kwargs)
e811c8ce 177
c26d9ab4
RD
178 def DoGetBestSize(*args, **kwargs):
179 """DoGetBestSize(self) -> Size"""
180 return _wizard.PyWizardPage_DoGetBestSize(*args, **kwargs)
e811c8ce 181
c26d9ab4
RD
182 def InitDialog(*args, **kwargs):
183 """
184 InitDialog(self)
e811c8ce 185
c26d9ab4
RD
186 Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
187 to the dialog via validators.
188 """
189 return _wizard.PyWizardPage_InitDialog(*args, **kwargs)
e811c8ce 190
c26d9ab4
RD
191 def TransferDataToWindow(*args, **kwargs):
192 """
193 TransferDataToWindow(self) -> bool
e811c8ce 194
c26d9ab4
RD
195 Transfers values to child controls from data areas specified by their
196 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
197 style flag set, the method will also call TransferDataToWindow() of
198 all child windows.
199 """
200 return _wizard.PyWizardPage_TransferDataToWindow(*args, **kwargs)
e811c8ce 201
c26d9ab4
RD
202 def TransferDataFromWindow(*args, **kwargs):
203 """
204 TransferDataFromWindow(self) -> bool
e811c8ce 205
c26d9ab4
RD
206 Transfers values from child controls to data areas specified by their
207 validators. Returns false if a transfer failed. If the window has
208 wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
209 also call TransferDataFromWindow() of all child windows.
210 """
211 return _wizard.PyWizardPage_TransferDataFromWindow(*args, **kwargs)
e811c8ce 212
c26d9ab4
RD
213 def Validate(*args, **kwargs):
214 """
215 Validate(self) -> bool
e811c8ce 216
c26d9ab4
RD
217 Validates the current values of the child controls using their
218 validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
219 style flag set, the method will also call Validate() of all child
220 windows. Returns false if any of the validations failed.
221 """
222 return _wizard.PyWizardPage_Validate(*args, **kwargs)
e811c8ce 223
c26d9ab4
RD
224 def AcceptsFocus(*args, **kwargs):
225 """
226 AcceptsFocus(self) -> bool
227
228 Can this window have focus?
229 """
230 return _wizard.PyWizardPage_AcceptsFocus(*args, **kwargs)
231
232 def AcceptsFocusFromKeyboard(*args, **kwargs):
233 """
234 AcceptsFocusFromKeyboard(self) -> bool
235
236 Can this window be given focus by keyboard navigation? if not, the
237 only way to give it focus (provided it accepts it at all) is to click
238 it.
239 """
240 return _wizard.PyWizardPage_AcceptsFocusFromKeyboard(*args, **kwargs)
241
242 def GetMaxSize(*args, **kwargs):
243 """GetMaxSize(self) -> Size"""
244 return _wizard.PyWizardPage_GetMaxSize(*args, **kwargs)
245
246 def AddChild(*args, **kwargs):
247 """
248 AddChild(self, Window child)
249
250 Adds a child window. This is called automatically by window creation
251 functions so should not be required by the application programmer.
252 """
253 return _wizard.PyWizardPage_AddChild(*args, **kwargs)
254
255 def RemoveChild(*args, **kwargs):
256 """
257 RemoveChild(self, Window child)
258
259 Removes a child window. This is called automatically by window
260 deletion functions so should not be required by the application
261 programmer.
262 """
263 return _wizard.PyWizardPage_RemoveChild(*args, **kwargs)
264
265 def ShouldInheritColours(*args, **kwargs):
266 """
267 ShouldInheritColours(self) -> bool
268
269 Return true from here to allow the colours of this window to be
270 changed by InheritAttributes, returning false forbids inheriting them
271 from the parent window.
272
273 The base class version returns false, but this method is overridden in
274 wxControl where it returns true.
275 """
276 return _wizard.PyWizardPage_ShouldInheritColours(*args, **kwargs)
277
278 def GetDefaultAttributes(*args, **kwargs):
279 """GetDefaultAttributes(self) -> VisualAttributes"""
280 return _wizard.PyWizardPage_GetDefaultAttributes(*args, **kwargs)
281
282 def OnInternalIdle(*args, **kwargs):
283 """OnInternalIdle(self)"""
284 return _wizard.PyWizardPage_OnInternalIdle(*args, **kwargs)
285
286 def base_DoMoveWindow(*args, **kw):
287 return PyWizardPage.DoMoveWindow(*args, **kw)
288 base_DoMoveWindow = wx._deprecated(base_DoMoveWindow,
289 "Please use PyWizardPage.DoMoveWindow instead.")
290
291 def base_DoSetSize(*args, **kw):
292 return PyWizardPage.DoSetSize(*args, **kw)
293 base_DoSetSize = wx._deprecated(base_DoSetSize,
294 "Please use PyWizardPage.DoSetSize instead.")
295
296 def base_DoSetClientSize(*args, **kw):
297 return PyWizardPage.DoSetClientSize(*args, **kw)
298 base_DoSetClientSize = wx._deprecated(base_DoSetClientSize,
299 "Please use PyWizardPage.DoSetClientSize instead.")
300
301 def base_DoSetVirtualSize(*args, **kw):
302 return PyWizardPage.DoSetVirtualSize(*args, **kw)
303 base_DoSetVirtualSize = wx._deprecated(base_DoSetVirtualSize,
304 "Please use PyWizardPage.DoSetVirtualSize instead.")
305
306 def base_DoGetSize(*args, **kw):
307 return PyWizardPage.DoGetSize(*args, **kw)
308 base_DoGetSize = wx._deprecated(base_DoGetSize,
309 "Please use PyWizardPage.DoGetSize instead.")
310
311 def base_DoGetClientSize(*args, **kw):
312 return PyWizardPage.DoGetClientSize(*args, **kw)
313 base_DoGetClientSize = wx._deprecated(base_DoGetClientSize,
314 "Please use PyWizardPage.DoGetClientSize instead.")
315
316 def base_DoGetPosition(*args, **kw):
317 return PyWizardPage.DoGetPosition(*args, **kw)
318 base_DoGetPosition = wx._deprecated(base_DoGetPosition,
319 "Please use PyWizardPage.DoGetPosition instead.")
320
321 def base_DoGetVirtualSize(*args, **kw):
322 return PyWizardPage.DoGetVirtualSize(*args, **kw)
323 base_DoGetVirtualSize = wx._deprecated(base_DoGetVirtualSize,
324 "Please use PyWizardPage.DoGetVirtualSize instead.")
325
326 def base_DoGetBestSize(*args, **kw):
327 return PyWizardPage.DoGetBestSize(*args, **kw)
328 base_DoGetBestSize = wx._deprecated(base_DoGetBestSize,
329 "Please use PyWizardPage.DoGetBestSize instead.")
330
331 def base_InitDialog(*args, **kw):
332 return PyWizardPage.InitDialog(*args, **kw)
333 base_InitDialog = wx._deprecated(base_InitDialog,
334 "Please use PyWizardPage.InitDialog instead.")
335
336 def base_TransferDataToWindow(*args, **kw):
337 return PyWizardPage.TransferDataToWindow(*args, **kw)
338 base_TransferDataToWindow = wx._deprecated(base_TransferDataToWindow,
339 "Please use PyWizardPage.TransferDataToWindow instead.")
340
341 def base_TransferDataFromWindow(*args, **kw):
342 return PyWizardPage.TransferDataFromWindow(*args, **kw)
343 base_TransferDataFromWindow = wx._deprecated(base_TransferDataFromWindow,
344 "Please use PyWizardPage.TransferDataFromWindow instead.")
345
346 def base_Validate(*args, **kw):
347 return PyWizardPage.Validate(*args, **kw)
348 base_Validate = wx._deprecated(base_Validate,
349 "Please use PyWizardPage.Validate instead.")
350
351 def base_AcceptsFocus(*args, **kw):
352 return PyWizardPage.AcceptsFocus(*args, **kw)
353 base_AcceptsFocus = wx._deprecated(base_AcceptsFocus,
354 "Please use PyWizardPage.AcceptsFocus instead.")
355
356 def base_AcceptsFocusFromKeyboard(*args, **kw):
357 return PyWizardPage.AcceptsFocusFromKeyboard(*args, **kw)
358 base_AcceptsFocusFromKeyboard = wx._deprecated(base_AcceptsFocusFromKeyboard,
359 "Please use PyWizardPage.AcceptsFocusFromKeyboard instead.")
360
361 def base_GetMaxSize(*args, **kw):
362 return PyWizardPage.GetMaxSize(*args, **kw)
363 base_GetMaxSize = wx._deprecated(base_GetMaxSize,
364 "Please use PyWizardPage.GetMaxSize instead.")
365
366 def base_AddChild(*args, **kw):
367 return PyWizardPage.AddChild(*args, **kw)
368 base_AddChild = wx._deprecated(base_AddChild,
369 "Please use PyWizardPage.AddChild instead.")
370
371 def base_RemoveChild(*args, **kw):
372 return PyWizardPage.RemoveChild(*args, **kw)
373 base_RemoveChild = wx._deprecated(base_RemoveChild,
374 "Please use PyWizardPage.RemoveChild instead.")
375
376 def base_ShouldInheritColours(*args, **kw):
377 return PyWizardPage.ShouldInheritColours(*args, **kw)
378 base_ShouldInheritColours = wx._deprecated(base_ShouldInheritColours,
379 "Please use PyWizardPage.ShouldInheritColours instead.")
380
381 def base_GetDefaultAttributes(*args, **kw):
382 return PyWizardPage.GetDefaultAttributes(*args, **kw)
383 base_GetDefaultAttributes = wx._deprecated(base_GetDefaultAttributes,
384 "Please use PyWizardPage.GetDefaultAttributes instead.")
385
386 def base_OnInternalIdle(*args, **kw):
387 return PyWizardPage.OnInternalIdle(*args, **kw)
388 base_OnInternalIdle = wx._deprecated(base_OnInternalIdle,
389 "Please use PyWizardPage.OnInternalIdle instead.")
e811c8ce 390
c81fd4b9 391
d14a1e28
RD
392class PyWizardPagePtr(PyWizardPage):
393 def __init__(self, this):
394 self.this = this
395 if not hasattr(self,"thisown"): self.thisown = 0
396 self.__class__ = PyWizardPage
397_wizard.PyWizardPage_swigregister(PyWizardPagePtr)
c81fd4b9 398
d14a1e28 399def PrePyWizardPage(*args, **kwargs):
e811c8ce 400 """PrePyWizardPage() -> PyWizardPage"""
d14a1e28 401 val = _wizard.new_PrePyWizardPage(*args, **kwargs)
c81fd4b9 402 val.thisown = 1
c81fd4b9
RD
403 return val
404
d14a1e28 405class WizardPageSimple(WizardPage):
093d3ff1 406 """Proxy of C++ WizardPageSimple class"""
e811c8ce
RD
407 def __repr__(self):
408 return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 409 def __init__(self, *args, **kwargs):
0df68c9f 410 """
a95a7133 411 __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
196addbf 412 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
0df68c9f 413 """
d14a1e28
RD
414 newobj = _wizard.new_WizardPageSimple(*args, **kwargs)
415 self.this = newobj.this
c81fd4b9 416 self.thisown = 1
d14a1e28 417 del newobj.thisown
c81fd4b9 418 self._setOORInfo(self)
e811c8ce
RD
419
420 def Create(*args, **kwargs):
0df68c9f 421 """
a95a7133 422 Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None,
196addbf 423 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool
0df68c9f 424 """
e811c8ce
RD
425 return _wizard.WizardPageSimple_Create(*args, **kwargs)
426
427 def SetPrev(*args, **kwargs):
a95a7133 428 """SetPrev(self, WizardPage prev)"""
e811c8ce
RD
429 return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
430
431 def SetNext(*args, **kwargs):
a95a7133 432 """SetNext(self, WizardPage next)"""
e811c8ce
RD
433 return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
434
435 def Chain(*args, **kwargs):
66c033b4 436 """Chain(WizardPageSimple first, WizardPageSimple second)"""
e811c8ce
RD
437 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
438
439 Chain = staticmethod(Chain)
c81fd4b9 440
d14a1e28
RD
441class WizardPageSimplePtr(WizardPageSimple):
442 def __init__(self, this):
443 self.this = this
444 if not hasattr(self,"thisown"): self.thisown = 0
445 self.__class__ = WizardPageSimple
446_wizard.WizardPageSimple_swigregister(WizardPageSimplePtr)
c81fd4b9 447
d14a1e28 448def PreWizardPageSimple(*args, **kwargs):
e811c8ce 449 """PreWizardPageSimple() -> WizardPageSimple"""
d14a1e28 450 val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
c81fd4b9 451 val.thisown = 1
c81fd4b9
RD
452 return val
453
e811c8ce
RD
454def WizardPageSimple_Chain(*args, **kwargs):
455 """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
456 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
c81fd4b9 457
54f9ee45 458class Wizard(_windows.Dialog):
093d3ff1 459 """Proxy of C++ Wizard class"""
e811c8ce
RD
460 def __repr__(self):
461 return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
d14a1e28 462 def __init__(self, *args, **kwargs):
0df68c9f 463 """
a95a7133 464 __init__(self, Window parent, int id=-1, String title=EmptyString,
196addbf 465 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
0df68c9f
RD
466 long style=DEFAULT_DIALOG_STYLE) -> Wizard
467 """
d14a1e28
RD
468 newobj = _wizard.new_Wizard(*args, **kwargs)
469 self.this = newobj.this
c81fd4b9 470 self.thisown = 1
d14a1e28 471 del newobj.thisown
c81fd4b9 472 self._setOORInfo(self)
e811c8ce
RD
473
474 def Create(*args, **kwargs):
0df68c9f 475 """
a95a7133 476 Create(self, Window parent, int id=-1, String title=EmptyString,
196addbf 477 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool
0df68c9f 478 """
e811c8ce
RD
479 return _wizard.Wizard_Create(*args, **kwargs)
480
481 def Init(*args, **kwargs):
a95a7133 482 """Init(self)"""
e811c8ce
RD
483 return _wizard.Wizard_Init(*args, **kwargs)
484
485 def RunWizard(*args, **kwargs):
a95a7133 486 """RunWizard(self, WizardPage firstPage) -> bool"""
e811c8ce
RD
487 return _wizard.Wizard_RunWizard(*args, **kwargs)
488
489 def GetCurrentPage(*args, **kwargs):
a95a7133 490 """GetCurrentPage(self) -> WizardPage"""
e811c8ce
RD
491 return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
492
493 def SetPageSize(*args, **kwargs):
a95a7133 494 """SetPageSize(self, Size size)"""
e811c8ce
RD
495 return _wizard.Wizard_SetPageSize(*args, **kwargs)
496
497 def GetPageSize(*args, **kwargs):
a95a7133 498 """GetPageSize(self) -> Size"""
e811c8ce
RD
499 return _wizard.Wizard_GetPageSize(*args, **kwargs)
500
501 def FitToPage(*args, **kwargs):
a95a7133 502 """FitToPage(self, WizardPage firstPage)"""
e811c8ce
RD
503 return _wizard.Wizard_FitToPage(*args, **kwargs)
504
505 def GetPageAreaSizer(*args, **kwargs):
a95a7133 506 """GetPageAreaSizer(self) -> Sizer"""
e811c8ce
RD
507 return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
508
509 def SetBorder(*args, **kwargs):
a95a7133 510 """SetBorder(self, int border)"""
e811c8ce
RD
511 return _wizard.Wizard_SetBorder(*args, **kwargs)
512
513 def IsRunning(*args, **kwargs):
a95a7133 514 """IsRunning(self) -> bool"""
e811c8ce
RD
515 return _wizard.Wizard_IsRunning(*args, **kwargs)
516
517 def ShowPage(*args, **kwargs):
a95a7133 518 """ShowPage(self, WizardPage page, bool goingForward=True) -> bool"""
e811c8ce
RD
519 return _wizard.Wizard_ShowPage(*args, **kwargs)
520
521 def HasNextPage(*args, **kwargs):
a95a7133 522 """HasNextPage(self, WizardPage page) -> bool"""
e811c8ce
RD
523 return _wizard.Wizard_HasNextPage(*args, **kwargs)
524
525 def HasPrevPage(*args, **kwargs):
a95a7133 526 """HasPrevPage(self, WizardPage page) -> bool"""
e811c8ce
RD
527 return _wizard.Wizard_HasPrevPage(*args, **kwargs)
528
c81fd4b9 529
d14a1e28
RD
530class WizardPtr(Wizard):
531 def __init__(self, this):
532 self.this = this
533 if not hasattr(self,"thisown"): self.thisown = 0
534 self.__class__ = Wizard
535_wizard.Wizard_swigregister(WizardPtr)
c81fd4b9 536
d14a1e28 537def PreWizard(*args, **kwargs):
e811c8ce 538 """PreWizard() -> Wizard"""
d14a1e28 539 val = _wizard.new_PreWizard(*args, **kwargs)
c81fd4b9 540 val.thisown = 1
c81fd4b9
RD
541 return val
542
543
32fe5131 544