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,
14 __docfilter__
= wx
.__DocFilter
(globals())
15 WIZARD_EX_HELPBUTTON
= _wizard
.WIZARD_EX_HELPBUTTON
16 wxEVT_WIZARD_PAGE_CHANGED
= _wizard
.wxEVT_WIZARD_PAGE_CHANGED
17 wxEVT_WIZARD_PAGE_CHANGING
= _wizard
.wxEVT_WIZARD_PAGE_CHANGING
18 wxEVT_WIZARD_CANCEL
= _wizard
.wxEVT_WIZARD_CANCEL
19 wxEVT_WIZARD_HELP
= _wizard
.wxEVT_WIZARD_HELP
20 wxEVT_WIZARD_FINISHED
= _wizard
.wxEVT_WIZARD_FINISHED
21 EVT_WIZARD_PAGE_CHANGED
= wx
.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED
, 1)
22 EVT_WIZARD_PAGE_CHANGING
= wx
.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING
, 1)
23 EVT_WIZARD_CANCEL
= wx
.PyEventBinder( wxEVT_WIZARD_CANCEL
, 1)
24 EVT_WIZARD_HELP
= wx
.PyEventBinder( wxEVT_WIZARD_HELP
, 1)
25 EVT_WIZARD_FINISHED
= wx
.PyEventBinder( wxEVT_WIZARD_FINISHED
, 1)
27 class WizardEvent(_core
.NotifyEvent
):
29 return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
30 def __init__(self
, *args
, **kwargs
):
32 __init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
33 WizardPage page=None) -> WizardEvent
35 newobj
= _wizard
.new_WizardEvent(*args
, **kwargs
)
36 self
.this
= newobj
.this
39 def GetDirection(*args
, **kwargs
):
40 """GetDirection(self) -> bool"""
41 return _wizard
.WizardEvent_GetDirection(*args
, **kwargs
)
43 def GetPage(*args
, **kwargs
):
44 """GetPage(self) -> WizardPage"""
45 return _wizard
.WizardEvent_GetPage(*args
, **kwargs
)
48 class WizardEventPtr(WizardEvent
):
49 def __init__(self
, this
):
51 if not hasattr(self
,"thisown"): self
.thisown
= 0
52 self
.__class
__ = WizardEvent
53 _wizard
.WizardEvent_swigregister(WizardEventPtr
)
55 class WizardPage(_windows
.Panel
):
56 def __init__(self
): raise RuntimeError, "No constructor defined"
58 return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
59 def Create(*args
, **kwargs
):
60 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
61 return _wizard
.WizardPage_Create(*args
, **kwargs
)
63 def GetPrev(*args
, **kwargs
):
64 """GetPrev(self) -> WizardPage"""
65 return _wizard
.WizardPage_GetPrev(*args
, **kwargs
)
67 def GetNext(*args
, **kwargs
):
68 """GetNext(self) -> WizardPage"""
69 return _wizard
.WizardPage_GetNext(*args
, **kwargs
)
71 def GetBitmap(*args
, **kwargs
):
72 """GetBitmap(self) -> Bitmap"""
73 return _wizard
.WizardPage_GetBitmap(*args
, **kwargs
)
76 class WizardPagePtr(WizardPage
):
77 def __init__(self
, this
):
79 if not hasattr(self
,"thisown"): self
.thisown
= 0
80 self
.__class
__ = WizardPage
81 _wizard
.WizardPage_swigregister(WizardPagePtr
)
83 class PyWizardPage(WizardPage
):
85 return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
86 def __init__(self
, *args
, **kwargs
):
87 """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
88 newobj
= _wizard
.new_PyWizardPage(*args
, **kwargs
)
89 self
.this
= newobj
.this
92 self
._setCallbackInfo
(self
, PyWizardPage
);self
._setOORInfo
(self
)
94 def Create(*args
, **kwargs
):
95 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
96 return _wizard
.PyWizardPage_Create(*args
, **kwargs
)
98 def _setCallbackInfo(*args
, **kwargs
):
99 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
100 return _wizard
.PyWizardPage__setCallbackInfo(*args
, **kwargs
)
102 def base_DoMoveWindow(*args
, **kwargs
):
103 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
104 return _wizard
.PyWizardPage_base_DoMoveWindow(*args
, **kwargs
)
106 def base_DoSetSize(*args
, **kwargs
):
107 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
108 return _wizard
.PyWizardPage_base_DoSetSize(*args
, **kwargs
)
110 def base_DoSetClientSize(*args
, **kwargs
):
111 """base_DoSetClientSize(self, int width, int height)"""
112 return _wizard
.PyWizardPage_base_DoSetClientSize(*args
, **kwargs
)
114 def base_DoSetVirtualSize(*args
, **kwargs
):
115 """base_DoSetVirtualSize(self, int x, int y)"""
116 return _wizard
.PyWizardPage_base_DoSetVirtualSize(*args
, **kwargs
)
118 def base_DoGetSize(*args
, **kwargs
):
119 """base_DoGetSize() -> (width, height)"""
120 return _wizard
.PyWizardPage_base_DoGetSize(*args
, **kwargs
)
122 def base_DoGetClientSize(*args
, **kwargs
):
123 """base_DoGetClientSize() -> (width, height)"""
124 return _wizard
.PyWizardPage_base_DoGetClientSize(*args
, **kwargs
)
126 def base_DoGetPosition(*args
, **kwargs
):
127 """base_DoGetPosition() -> (x,y)"""
128 return _wizard
.PyWizardPage_base_DoGetPosition(*args
, **kwargs
)
130 def base_DoGetVirtualSize(*args
, **kwargs
):
131 """base_DoGetVirtualSize(self) -> Size"""
132 return _wizard
.PyWizardPage_base_DoGetVirtualSize(*args
, **kwargs
)
134 def base_DoGetBestSize(*args
, **kwargs
):
135 """base_DoGetBestSize(self) -> Size"""
136 return _wizard
.PyWizardPage_base_DoGetBestSize(*args
, **kwargs
)
138 def base_InitDialog(*args
, **kwargs
):
139 """base_InitDialog(self)"""
140 return _wizard
.PyWizardPage_base_InitDialog(*args
, **kwargs
)
142 def base_TransferDataToWindow(*args
, **kwargs
):
143 """base_TransferDataToWindow(self) -> bool"""
144 return _wizard
.PyWizardPage_base_TransferDataToWindow(*args
, **kwargs
)
146 def base_TransferDataFromWindow(*args
, **kwargs
):
147 """base_TransferDataFromWindow(self) -> bool"""
148 return _wizard
.PyWizardPage_base_TransferDataFromWindow(*args
, **kwargs
)
150 def base_Validate(*args
, **kwargs
):
151 """base_Validate(self) -> bool"""
152 return _wizard
.PyWizardPage_base_Validate(*args
, **kwargs
)
154 def base_AcceptsFocus(*args
, **kwargs
):
155 """base_AcceptsFocus(self) -> bool"""
156 return _wizard
.PyWizardPage_base_AcceptsFocus(*args
, **kwargs
)
158 def base_AcceptsFocusFromKeyboard(*args
, **kwargs
):
159 """base_AcceptsFocusFromKeyboard(self) -> bool"""
160 return _wizard
.PyWizardPage_base_AcceptsFocusFromKeyboard(*args
, **kwargs
)
162 def base_GetMaxSize(*args
, **kwargs
):
163 """base_GetMaxSize(self) -> Size"""
164 return _wizard
.PyWizardPage_base_GetMaxSize(*args
, **kwargs
)
166 def base_AddChild(*args
, **kwargs
):
167 """base_AddChild(self, Window child)"""
168 return _wizard
.PyWizardPage_base_AddChild(*args
, **kwargs
)
170 def base_RemoveChild(*args
, **kwargs
):
171 """base_RemoveChild(self, Window child)"""
172 return _wizard
.PyWizardPage_base_RemoveChild(*args
, **kwargs
)
175 class PyWizardPagePtr(PyWizardPage
):
176 def __init__(self
, this
):
178 if not hasattr(self
,"thisown"): self
.thisown
= 0
179 self
.__class
__ = PyWizardPage
180 _wizard
.PyWizardPage_swigregister(PyWizardPagePtr
)
182 def PrePyWizardPage(*args
, **kwargs
):
183 """PrePyWizardPage() -> PyWizardPage"""
184 val
= _wizard
.new_PrePyWizardPage(*args
, **kwargs
)
188 class WizardPageSimple(WizardPage
):
190 return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
191 def __init__(self
, *args
, **kwargs
):
193 __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
194 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
196 newobj
= _wizard
.new_WizardPageSimple(*args
, **kwargs
)
197 self
.this
= newobj
.this
200 self
._setOORInfo
(self
)
202 def Create(*args
, **kwargs
):
204 Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None,
205 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool
207 return _wizard
.WizardPageSimple_Create(*args
, **kwargs
)
209 def SetPrev(*args
, **kwargs
):
210 """SetPrev(self, WizardPage prev)"""
211 return _wizard
.WizardPageSimple_SetPrev(*args
, **kwargs
)
213 def SetNext(*args
, **kwargs
):
214 """SetNext(self, WizardPage next)"""
215 return _wizard
.WizardPageSimple_SetNext(*args
, **kwargs
)
217 def Chain(*args
, **kwargs
):
218 """Chain(WizardPageSimple first, WizardPageSimple second)"""
219 return _wizard
.WizardPageSimple_Chain(*args
, **kwargs
)
221 Chain
= staticmethod(Chain
)
223 class WizardPageSimplePtr(WizardPageSimple
):
224 def __init__(self
, this
):
226 if not hasattr(self
,"thisown"): self
.thisown
= 0
227 self
.__class
__ = WizardPageSimple
228 _wizard
.WizardPageSimple_swigregister(WizardPageSimplePtr
)
230 def PreWizardPageSimple(*args
, **kwargs
):
231 """PreWizardPageSimple() -> WizardPageSimple"""
232 val
= _wizard
.new_PreWizardPageSimple(*args
, **kwargs
)
236 def WizardPageSimple_Chain(*args
, **kwargs
):
237 """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
238 return _wizard
.WizardPageSimple_Chain(*args
, **kwargs
)
240 class Wizard(_windows
.Dialog
):
242 return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
243 def __init__(self
, *args
, **kwargs
):
245 __init__(self, Window parent, int id=-1, String title=EmptyString,
246 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
247 long style=DEFAULT_DIALOG_STYLE) -> Wizard
249 newobj
= _wizard
.new_Wizard(*args
, **kwargs
)
250 self
.this
= newobj
.this
253 self
._setOORInfo
(self
)
255 def Create(*args
, **kwargs
):
257 Create(self, Window parent, int id=-1, String title=EmptyString,
258 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool
260 return _wizard
.Wizard_Create(*args
, **kwargs
)
262 def Init(*args
, **kwargs
):
264 return _wizard
.Wizard_Init(*args
, **kwargs
)
266 def RunWizard(*args
, **kwargs
):
267 """RunWizard(self, WizardPage firstPage) -> bool"""
268 return _wizard
.Wizard_RunWizard(*args
, **kwargs
)
270 def GetCurrentPage(*args
, **kwargs
):
271 """GetCurrentPage(self) -> WizardPage"""
272 return _wizard
.Wizard_GetCurrentPage(*args
, **kwargs
)
274 def SetPageSize(*args
, **kwargs
):
275 """SetPageSize(self, Size size)"""
276 return _wizard
.Wizard_SetPageSize(*args
, **kwargs
)
278 def GetPageSize(*args
, **kwargs
):
279 """GetPageSize(self) -> Size"""
280 return _wizard
.Wizard_GetPageSize(*args
, **kwargs
)
282 def FitToPage(*args
, **kwargs
):
283 """FitToPage(self, WizardPage firstPage)"""
284 return _wizard
.Wizard_FitToPage(*args
, **kwargs
)
286 def GetPageAreaSizer(*args
, **kwargs
):
287 """GetPageAreaSizer(self) -> Sizer"""
288 return _wizard
.Wizard_GetPageAreaSizer(*args
, **kwargs
)
290 def SetBorder(*args
, **kwargs
):
291 """SetBorder(self, int border)"""
292 return _wizard
.Wizard_SetBorder(*args
, **kwargs
)
294 def IsRunning(*args
, **kwargs
):
295 """IsRunning(self) -> bool"""
296 return _wizard
.Wizard_IsRunning(*args
, **kwargs
)
298 def ShowPage(*args
, **kwargs
):
299 """ShowPage(self, WizardPage page, bool goingForward=True) -> bool"""
300 return _wizard
.Wizard_ShowPage(*args
, **kwargs
)
302 def HasNextPage(*args
, **kwargs
):
303 """HasNextPage(self, WizardPage page) -> bool"""
304 return _wizard
.Wizard_HasNextPage(*args
, **kwargs
)
306 def HasPrevPage(*args
, **kwargs
):
307 """HasPrevPage(self, WizardPage page) -> bool"""
308 return _wizard
.Wizard_HasPrevPage(*args
, **kwargs
)
311 class WizardPtr(Wizard
):
312 def __init__(self
, this
):
314 if not hasattr(self
,"thisown"): self
.thisown
= 0
315 self
.__class
__ = Wizard
316 _wizard
.Wizard_swigregister(WizardPtr
)
318 def PreWizard(*args
, **kwargs
):
319 """PreWizard() -> Wizard"""
320 val
= _wizard
.new_PreWizard(*args
, **kwargs
)