1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 `Wizard` is a dialog class that guides the user through a sequence of steps,
11 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
13 if isinstance(value
, class_type
):
14 self
.__dict
__[name
] = value
.this
15 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
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
23 raise AttributeError("You cannot add attributes to %s" % self
)
25 def _swig_setattr(self
,class_type
,name
,value
):
26 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
28 def _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
35 _object
= types
.ObjectType
37 except AttributeError:
43 def _swig_setattr_nondynamic_method(set):
44 def set_attr(self
,name
,value
):
45 if hasattr(self
,name
) or (name
in ("this", "thisown")):
48 raise AttributeError("You cannot add attributes to %s" % self
)
55 __docfilter__
= wx
.__DocFilter
(globals())
56 WIZARD_EX_HELPBUTTON
= _wizard
.WIZARD_EX_HELPBUTTON
57 wxEVT_WIZARD_PAGE_CHANGED
= _wizard
.wxEVT_WIZARD_PAGE_CHANGED
58 wxEVT_WIZARD_PAGE_CHANGING
= _wizard
.wxEVT_WIZARD_PAGE_CHANGING
59 wxEVT_WIZARD_CANCEL
= _wizard
.wxEVT_WIZARD_CANCEL
60 wxEVT_WIZARD_HELP
= _wizard
.wxEVT_WIZARD_HELP
61 wxEVT_WIZARD_FINISHED
= _wizard
.wxEVT_WIZARD_FINISHED
62 EVT_WIZARD_PAGE_CHANGED
= wx
.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED
, 1)
63 EVT_WIZARD_PAGE_CHANGING
= wx
.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING
, 1)
64 EVT_WIZARD_CANCEL
= wx
.PyEventBinder( wxEVT_WIZARD_CANCEL
, 1)
65 EVT_WIZARD_HELP
= wx
.PyEventBinder( wxEVT_WIZARD_HELP
, 1)
66 EVT_WIZARD_FINISHED
= wx
.PyEventBinder( wxEVT_WIZARD_FINISHED
, 1)
68 class WizardEvent(_core
.NotifyEvent
):
69 """Proxy of C++ WizardEvent class"""
71 return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
72 def __init__(self
, *args
, **kwargs
):
74 __init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
75 WizardPage page=None) -> WizardEvent
77 newobj
= _wizard
.new_WizardEvent(*args
, **kwargs
)
78 self
.this
= newobj
.this
81 def GetDirection(*args
, **kwargs
):
82 """GetDirection(self) -> bool"""
83 return _wizard
.WizardEvent_GetDirection(*args
, **kwargs
)
85 def GetPage(*args
, **kwargs
):
86 """GetPage(self) -> WizardPage"""
87 return _wizard
.WizardEvent_GetPage(*args
, **kwargs
)
90 class WizardEventPtr(WizardEvent
):
91 def __init__(self
, this
):
93 if not hasattr(self
,"thisown"): self
.thisown
= 0
94 self
.__class
__ = WizardEvent
95 _wizard
.WizardEvent_swigregister(WizardEventPtr
)
97 class WizardPage(_windows
.Panel
):
98 """Proxy of C++ WizardPage class"""
99 def __init__(self
): raise RuntimeError, "No constructor defined"
101 return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
102 def Create(*args
, **kwargs
):
103 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
104 return _wizard
.WizardPage_Create(*args
, **kwargs
)
106 def GetPrev(*args
, **kwargs
):
107 """GetPrev(self) -> WizardPage"""
108 return _wizard
.WizardPage_GetPrev(*args
, **kwargs
)
110 def GetNext(*args
, **kwargs
):
111 """GetNext(self) -> WizardPage"""
112 return _wizard
.WizardPage_GetNext(*args
, **kwargs
)
114 def GetBitmap(*args
, **kwargs
):
115 """GetBitmap(self) -> Bitmap"""
116 return _wizard
.WizardPage_GetBitmap(*args
, **kwargs
)
119 class WizardPagePtr(WizardPage
):
120 def __init__(self
, this
):
122 if not hasattr(self
,"thisown"): self
.thisown
= 0
123 self
.__class
__ = WizardPage
124 _wizard
.WizardPage_swigregister(WizardPagePtr
)
126 class PyWizardPage(WizardPage
):
127 """Proxy of C++ PyWizardPage class"""
129 return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
130 def __init__(self
, *args
, **kwargs
):
131 """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
132 newobj
= _wizard
.new_PyWizardPage(*args
, **kwargs
)
133 self
.this
= newobj
.this
136 self
._setCallbackInfo
(self
, PyWizardPage
);self
._setOORInfo
(self
)
138 def Create(*args
, **kwargs
):
139 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
140 return _wizard
.PyWizardPage_Create(*args
, **kwargs
)
142 def _setCallbackInfo(*args
, **kwargs
):
143 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
144 return _wizard
.PyWizardPage__setCallbackInfo(*args
, **kwargs
)
146 def base_DoMoveWindow(*args
, **kwargs
):
147 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
148 return _wizard
.PyWizardPage_base_DoMoveWindow(*args
, **kwargs
)
150 def base_DoSetSize(*args
, **kwargs
):
151 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
152 return _wizard
.PyWizardPage_base_DoSetSize(*args
, **kwargs
)
154 def base_DoSetClientSize(*args
, **kwargs
):
155 """base_DoSetClientSize(self, int width, int height)"""
156 return _wizard
.PyWizardPage_base_DoSetClientSize(*args
, **kwargs
)
158 def base_DoSetVirtualSize(*args
, **kwargs
):
159 """base_DoSetVirtualSize(self, int x, int y)"""
160 return _wizard
.PyWizardPage_base_DoSetVirtualSize(*args
, **kwargs
)
162 def base_DoGetSize(*args
, **kwargs
):
163 """base_DoGetSize() -> (width, height)"""
164 return _wizard
.PyWizardPage_base_DoGetSize(*args
, **kwargs
)
166 def base_DoGetClientSize(*args
, **kwargs
):
167 """base_DoGetClientSize() -> (width, height)"""
168 return _wizard
.PyWizardPage_base_DoGetClientSize(*args
, **kwargs
)
170 def base_DoGetPosition(*args
, **kwargs
):
171 """base_DoGetPosition() -> (x,y)"""
172 return _wizard
.PyWizardPage_base_DoGetPosition(*args
, **kwargs
)
174 def base_DoGetVirtualSize(*args
, **kwargs
):
175 """base_DoGetVirtualSize(self) -> Size"""
176 return _wizard
.PyWizardPage_base_DoGetVirtualSize(*args
, **kwargs
)
178 def base_DoGetBestSize(*args
, **kwargs
):
179 """base_DoGetBestSize(self) -> Size"""
180 return _wizard
.PyWizardPage_base_DoGetBestSize(*args
, **kwargs
)
182 def base_InitDialog(*args
, **kwargs
):
183 """base_InitDialog(self)"""
184 return _wizard
.PyWizardPage_base_InitDialog(*args
, **kwargs
)
186 def base_TransferDataToWindow(*args
, **kwargs
):
187 """base_TransferDataToWindow(self) -> bool"""
188 return _wizard
.PyWizardPage_base_TransferDataToWindow(*args
, **kwargs
)
190 def base_TransferDataFromWindow(*args
, **kwargs
):
191 """base_TransferDataFromWindow(self) -> bool"""
192 return _wizard
.PyWizardPage_base_TransferDataFromWindow(*args
, **kwargs
)
194 def base_Validate(*args
, **kwargs
):
195 """base_Validate(self) -> bool"""
196 return _wizard
.PyWizardPage_base_Validate(*args
, **kwargs
)
198 def base_AcceptsFocus(*args
, **kwargs
):
199 """base_AcceptsFocus(self) -> bool"""
200 return _wizard
.PyWizardPage_base_AcceptsFocus(*args
, **kwargs
)
202 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
203 """base_AcceptsFocusFromKeyboard(self) -> bool"""
204 return _wizard
.PyWizardPage_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
206 def base_GetMaxSize(*args
, **kwargs
):
207 """base_GetMaxSize(self) -> Size"""
208 return _wizard
.PyWizardPage_base_GetMaxSize(*args
, **kwargs
)
210 def base_AddChild(*args
, **kwargs
):
211 """base_AddChild(self, Window child)"""
212 return _wizard
.PyWizardPage_base_AddChild(*args
, **kwargs
)
214 def base_RemoveChild(*args
, **kwargs
):
215 """base_RemoveChild(self, Window child)"""
216 return _wizard
.PyWizardPage_base_RemoveChild(*args
, **kwargs
)
219 class PyWizardPagePtr(PyWizardPage
):
220 def __init__(self
, this
):
222 if not hasattr(self
,"thisown"): self
.thisown
= 0
223 self
.__class
__ = PyWizardPage
224 _wizard
.PyWizardPage_swigregister(PyWizardPagePtr
)
226 def PrePyWizardPage(*args
, **kwargs
):
227 """PrePyWizardPage() -> PyWizardPage"""
228 val
= _wizard
.new_PrePyWizardPage(*args
, **kwargs
)
232 class WizardPageSimple(WizardPage
):
233 """Proxy of C++ WizardPageSimple class"""
235 return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
236 def __init__(self
, *args
, **kwargs
):
238 __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
239 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
241 newobj
= _wizard
.new_WizardPageSimple(*args
, **kwargs
)
242 self
.this
= newobj
.this
245 self
._setOORInfo
(self
)
247 def Create(*args
, **kwargs
):
249 Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None,
250 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool
252 return _wizard
.WizardPageSimple_Create(*args
, **kwargs
)
254 def SetPrev(*args
, **kwargs
):
255 """SetPrev(self, WizardPage prev)"""
256 return _wizard
.WizardPageSimple_SetPrev(*args
, **kwargs
)
258 def SetNext(*args
, **kwargs
):
259 """SetNext(self, WizardPage next)"""
260 return _wizard
.WizardPageSimple_SetNext(*args
, **kwargs
)
262 def Chain(*args
, **kwargs
):
263 """Chain(WizardPageSimple first, WizardPageSimple second)"""
264 return _wizard
.WizardPageSimple_Chain(*args
, **kwargs
)
266 Chain
= staticmethod(Chain
)
268 class WizardPageSimplePtr(WizardPageSimple
):
269 def __init__(self
, this
):
271 if not hasattr(self
,"thisown"): self
.thisown
= 0
272 self
.__class
__ = WizardPageSimple
273 _wizard
.WizardPageSimple_swigregister(WizardPageSimplePtr
)
275 def PreWizardPageSimple(*args
, **kwargs
):
276 """PreWizardPageSimple() -> WizardPageSimple"""
277 val
= _wizard
.new_PreWizardPageSimple(*args
, **kwargs
)
281 def WizardPageSimple_Chain(*args
, **kwargs
):
282 """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
283 return _wizard
.WizardPageSimple_Chain(*args
, **kwargs
)
285 class Wizard(_windows
.Dialog
):
286 """Proxy of C++ Wizard class"""
288 return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
289 def __init__(self
, *args
, **kwargs
):
291 __init__(self, Window parent, int id=-1, String title=EmptyString,
292 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
293 long style=DEFAULT_DIALOG_STYLE) -> Wizard
295 newobj
= _wizard
.new_Wizard(*args
, **kwargs
)
296 self
.this
= newobj
.this
299 self
._setOORInfo
(self
)
301 def Create(*args
, **kwargs
):
303 Create(self, Window parent, int id=-1, String title=EmptyString,
304 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool
306 return _wizard
.Wizard_Create(*args
, **kwargs
)
308 def Init(*args
, **kwargs
):
310 return _wizard
.Wizard_Init(*args
, **kwargs
)
312 def RunWizard(*args
, **kwargs
):
313 """RunWizard(self, WizardPage firstPage) -> bool"""
314 return _wizard
.Wizard_RunWizard(*args
, **kwargs
)
316 def GetCurrentPage(*args
, **kwargs
):
317 """GetCurrentPage(self) -> WizardPage"""
318 return _wizard
.Wizard_GetCurrentPage(*args
, **kwargs
)
320 def SetPageSize(*args
, **kwargs
):
321 """SetPageSize(self, Size size)"""
322 return _wizard
.Wizard_SetPageSize(*args
, **kwargs
)
324 def GetPageSize(*args
, **kwargs
):
325 """GetPageSize(self) -> Size"""
326 return _wizard
.Wizard_GetPageSize(*args
, **kwargs
)
328 def FitToPage(*args
, **kwargs
):
329 """FitToPage(self, WizardPage firstPage)"""
330 return _wizard
.Wizard_FitToPage(*args
, **kwargs
)
332 def GetPageAreaSizer(*args
, **kwargs
):
333 """GetPageAreaSizer(self) -> Sizer"""
334 return _wizard
.Wizard_GetPageAreaSizer(*args
, **kwargs
)
336 def SetBorder(*args
, **kwargs
):
337 """SetBorder(self, int border)"""
338 return _wizard
.Wizard_SetBorder(*args
, **kwargs
)
340 def IsRunning(*args
, **kwargs
):
341 """IsRunning(self) -> bool"""
342 return _wizard
.Wizard_IsRunning(*args
, **kwargs
)
344 def ShowPage(*args
, **kwargs
):
345 """ShowPage(self, WizardPage page, bool goingForward=True) -> bool"""
346 return _wizard
.Wizard_ShowPage(*args
, **kwargs
)
348 def HasNextPage(*args
, **kwargs
):
349 """HasNextPage(self, WizardPage page) -> bool"""
350 return _wizard
.Wizard_HasNextPage(*args
, **kwargs
)
352 def HasPrevPage(*args
, **kwargs
):
353 """HasPrevPage(self, WizardPage page) -> bool"""
354 return _wizard
.Wizard_HasPrevPage(*args
, **kwargs
)
357 class WizardPtr(Wizard
):
358 def __init__(self
, this
):
360 if not hasattr(self
,"thisown"): self
.thisown
= 0
361 self
.__class
__ = Wizard
362 _wizard
.Wizard_swigregister(WizardPtr
)
364 def PreWizard(*args
, **kwargs
):
365 """PreWizard() -> Wizard"""
366 val
= _wizard
.new_PreWizard(*args
, **kwargs
)