]>
Commit | Line | Data |
---|---|---|
c81fd4b9 | 1 | # This file was created automatically by SWIG. |
d14a1e28 RD |
2 | # Don't modify this file, modify the SWIG interface instead. |
3 | ||
4 | import _wizard | |
5 | ||
54f9ee45 RD |
6 | import _windows |
7 | import _core | |
8 | wx = _core | |
d14a1e28 RD |
9 | WIZARD_EX_HELPBUTTON = _wizard.WIZARD_EX_HELPBUTTON |
10 | wxEVT_WIZARD_PAGE_CHANGED = _wizard.wxEVT_WIZARD_PAGE_CHANGED | |
11 | wxEVT_WIZARD_PAGE_CHANGING = _wizard.wxEVT_WIZARD_PAGE_CHANGING | |
12 | wxEVT_WIZARD_CANCEL = _wizard.wxEVT_WIZARD_CANCEL | |
13 | wxEVT_WIZARD_HELP = _wizard.wxEVT_WIZARD_HELP | |
14 | wxEVT_WIZARD_FINISHED = _wizard.wxEVT_WIZARD_FINISHED | |
15 | EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1) | |
16 | EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1) | |
17 | EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1) | |
18 | EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1) | |
19 | EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1) | |
20 | ||
54f9ee45 | 21 | class WizardEvent(_core.NotifyEvent): |
e811c8ce RD |
22 | def __repr__(self): |
23 | return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 24 | def __init__(self, *args, **kwargs): |
0df68c9f | 25 | """ |
a95a7133 | 26 | __init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, |
0df68c9f RD |
27 | WizardPage page=None) -> WizardEvent |
28 | """ | |
d14a1e28 RD |
29 | newobj = _wizard.new_WizardEvent(*args, **kwargs) |
30 | self.this = newobj.this | |
c81fd4b9 | 31 | self.thisown = 1 |
d14a1e28 | 32 | del newobj.thisown |
e811c8ce | 33 | def GetDirection(*args, **kwargs): |
a95a7133 | 34 | """GetDirection(self) -> bool""" |
e811c8ce RD |
35 | return _wizard.WizardEvent_GetDirection(*args, **kwargs) |
36 | ||
37 | def GetPage(*args, **kwargs): | |
a95a7133 | 38 | """GetPage(self) -> WizardPage""" |
e811c8ce RD |
39 | return _wizard.WizardEvent_GetPage(*args, **kwargs) |
40 | ||
c81fd4b9 | 41 | |
d14a1e28 RD |
42 | class WizardEventPtr(WizardEvent): |
43 | def __init__(self, this): | |
c81fd4b9 | 44 | self.this = this |
d14a1e28 RD |
45 | if not hasattr(self,"thisown"): self.thisown = 0 |
46 | self.__class__ = WizardEvent | |
47 | _wizard.WizardEvent_swigregister(WizardEventPtr) | |
48 | ||
54f9ee45 | 49 | class WizardPage(_windows.Panel): |
d14a1e28 | 50 | def __init__(self): raise RuntimeError, "No constructor defined" |
c81fd4b9 | 51 | def __repr__(self): |
d14a1e28 | 52 | return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
e811c8ce | 53 | def Create(*args, **kwargs): |
a95a7133 | 54 | """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" |
e811c8ce RD |
55 | return _wizard.WizardPage_Create(*args, **kwargs) |
56 | ||
57 | def GetPrev(*args, **kwargs): | |
a95a7133 | 58 | """GetPrev(self) -> WizardPage""" |
e811c8ce RD |
59 | return _wizard.WizardPage_GetPrev(*args, **kwargs) |
60 | ||
61 | def GetNext(*args, **kwargs): | |
a95a7133 | 62 | """GetNext(self) -> WizardPage""" |
e811c8ce RD |
63 | return _wizard.WizardPage_GetNext(*args, **kwargs) |
64 | ||
65 | def GetBitmap(*args, **kwargs): | |
a95a7133 | 66 | """GetBitmap(self) -> Bitmap""" |
e811c8ce RD |
67 | return _wizard.WizardPage_GetBitmap(*args, **kwargs) |
68 | ||
c81fd4b9 | 69 | |
d14a1e28 RD |
70 | class WizardPagePtr(WizardPage): |
71 | def __init__(self, this): | |
c81fd4b9 | 72 | self.this = this |
d14a1e28 RD |
73 | if not hasattr(self,"thisown"): self.thisown = 0 |
74 | self.__class__ = WizardPage | |
75 | _wizard.WizardPage_swigregister(WizardPagePtr) | |
76 | ||
77 | class PyWizardPage(WizardPage): | |
e811c8ce RD |
78 | def __repr__(self): |
79 | return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 80 | def __init__(self, *args, **kwargs): |
a95a7133 | 81 | """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage""" |
d14a1e28 RD |
82 | newobj = _wizard.new_PyWizardPage(*args, **kwargs) |
83 | self.this = newobj.this | |
c81fd4b9 | 84 | self.thisown = 1 |
d14a1e28 RD |
85 | del newobj.thisown |
86 | self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self) | |
e811c8ce RD |
87 | |
88 | def Create(*args, **kwargs): | |
a95a7133 | 89 | """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" |
e811c8ce RD |
90 | return _wizard.PyWizardPage_Create(*args, **kwargs) |
91 | ||
92 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 93 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
94 | return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs) |
95 | ||
96 | def base_DoMoveWindow(*args, **kwargs): | |
a95a7133 | 97 | """base_DoMoveWindow(self, int x, int y, int width, int height)""" |
e811c8ce RD |
98 | return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs) |
99 | ||
100 | def base_DoSetSize(*args, **kwargs): | |
a95a7133 | 101 | """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" |
e811c8ce RD |
102 | return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs) |
103 | ||
104 | def base_DoSetClientSize(*args, **kwargs): | |
a95a7133 | 105 | """base_DoSetClientSize(self, int width, int height)""" |
e811c8ce RD |
106 | return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs) |
107 | ||
108 | def base_DoSetVirtualSize(*args, **kwargs): | |
a95a7133 | 109 | """base_DoSetVirtualSize(self, int x, int y)""" |
e811c8ce RD |
110 | return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs) |
111 | ||
112 | def base_DoGetSize(*args, **kwargs): | |
322913ce | 113 | """base_DoGetSize() -> (width, height)""" |
e811c8ce RD |
114 | return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs) |
115 | ||
116 | def base_DoGetClientSize(*args, **kwargs): | |
322913ce | 117 | """base_DoGetClientSize() -> (width, height)""" |
e811c8ce RD |
118 | return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs) |
119 | ||
120 | def base_DoGetPosition(*args, **kwargs): | |
322913ce | 121 | """base_DoGetPosition() -> (x,y)""" |
e811c8ce RD |
122 | return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs) |
123 | ||
124 | def base_DoGetVirtualSize(*args, **kwargs): | |
a95a7133 | 125 | """base_DoGetVirtualSize(self) -> Size""" |
e811c8ce RD |
126 | return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs) |
127 | ||
128 | def base_DoGetBestSize(*args, **kwargs): | |
a95a7133 | 129 | """base_DoGetBestSize(self) -> Size""" |
e811c8ce RD |
130 | return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs) |
131 | ||
132 | def base_InitDialog(*args, **kwargs): | |
a95a7133 | 133 | """base_InitDialog(self)""" |
e811c8ce RD |
134 | return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs) |
135 | ||
136 | def base_TransferDataToWindow(*args, **kwargs): | |
a95a7133 | 137 | """base_TransferDataToWindow(self) -> bool""" |
e811c8ce RD |
138 | return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs) |
139 | ||
140 | def base_TransferDataFromWindow(*args, **kwargs): | |
a95a7133 | 141 | """base_TransferDataFromWindow(self) -> bool""" |
e811c8ce RD |
142 | return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs) |
143 | ||
144 | def base_Validate(*args, **kwargs): | |
a95a7133 | 145 | """base_Validate(self) -> bool""" |
e811c8ce RD |
146 | return _wizard.PyWizardPage_base_Validate(*args, **kwargs) |
147 | ||
148 | def base_AcceptsFocus(*args, **kwargs): | |
a95a7133 | 149 | """base_AcceptsFocus(self) -> bool""" |
e811c8ce RD |
150 | return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs) |
151 | ||
152 | def base_AcceptsFocusFromKeyboard(*args, **kwargs): | |
a95a7133 | 153 | """base_AcceptsFocusFromKeyboard(self) -> bool""" |
e811c8ce RD |
154 | return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs) |
155 | ||
156 | def base_GetMaxSize(*args, **kwargs): | |
a95a7133 | 157 | """base_GetMaxSize(self) -> Size""" |
e811c8ce RD |
158 | return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs) |
159 | ||
160 | def base_AddChild(*args, **kwargs): | |
a95a7133 | 161 | """base_AddChild(self, Window child)""" |
e811c8ce RD |
162 | return _wizard.PyWizardPage_base_AddChild(*args, **kwargs) |
163 | ||
164 | def base_RemoveChild(*args, **kwargs): | |
a95a7133 | 165 | """base_RemoveChild(self, Window child)""" |
e811c8ce RD |
166 | return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs) |
167 | ||
c81fd4b9 | 168 | |
d14a1e28 RD |
169 | class PyWizardPagePtr(PyWizardPage): |
170 | def __init__(self, this): | |
171 | self.this = this | |
172 | if not hasattr(self,"thisown"): self.thisown = 0 | |
173 | self.__class__ = PyWizardPage | |
174 | _wizard.PyWizardPage_swigregister(PyWizardPagePtr) | |
c81fd4b9 | 175 | |
d14a1e28 | 176 | def PrePyWizardPage(*args, **kwargs): |
e811c8ce | 177 | """PrePyWizardPage() -> PyWizardPage""" |
d14a1e28 | 178 | val = _wizard.new_PrePyWizardPage(*args, **kwargs) |
c81fd4b9 | 179 | val.thisown = 1 |
c81fd4b9 RD |
180 | return val |
181 | ||
d14a1e28 | 182 | class WizardPageSimple(WizardPage): |
e811c8ce RD |
183 | def __repr__(self): |
184 | return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 185 | def __init__(self, *args, **kwargs): |
0df68c9f | 186 | """ |
a95a7133 | 187 | __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, |
196addbf | 188 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple |
0df68c9f | 189 | """ |
d14a1e28 RD |
190 | newobj = _wizard.new_WizardPageSimple(*args, **kwargs) |
191 | self.this = newobj.this | |
c81fd4b9 | 192 | self.thisown = 1 |
d14a1e28 | 193 | del newobj.thisown |
c81fd4b9 | 194 | self._setOORInfo(self) |
e811c8ce RD |
195 | |
196 | def Create(*args, **kwargs): | |
0df68c9f | 197 | """ |
a95a7133 | 198 | Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None, |
196addbf | 199 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool |
0df68c9f | 200 | """ |
e811c8ce RD |
201 | return _wizard.WizardPageSimple_Create(*args, **kwargs) |
202 | ||
203 | def SetPrev(*args, **kwargs): | |
a95a7133 | 204 | """SetPrev(self, WizardPage prev)""" |
e811c8ce RD |
205 | return _wizard.WizardPageSimple_SetPrev(*args, **kwargs) |
206 | ||
207 | def SetNext(*args, **kwargs): | |
a95a7133 | 208 | """SetNext(self, WizardPage next)""" |
e811c8ce RD |
209 | return _wizard.WizardPageSimple_SetNext(*args, **kwargs) |
210 | ||
211 | def Chain(*args, **kwargs): | |
a95a7133 | 212 | """WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)""" |
e811c8ce RD |
213 | return _wizard.WizardPageSimple_Chain(*args, **kwargs) |
214 | ||
215 | Chain = staticmethod(Chain) | |
c81fd4b9 | 216 | |
d14a1e28 RD |
217 | class WizardPageSimplePtr(WizardPageSimple): |
218 | def __init__(self, this): | |
219 | self.this = this | |
220 | if not hasattr(self,"thisown"): self.thisown = 0 | |
221 | self.__class__ = WizardPageSimple | |
222 | _wizard.WizardPageSimple_swigregister(WizardPageSimplePtr) | |
c81fd4b9 | 223 | |
d14a1e28 | 224 | def PreWizardPageSimple(*args, **kwargs): |
e811c8ce | 225 | """PreWizardPageSimple() -> WizardPageSimple""" |
d14a1e28 | 226 | val = _wizard.new_PreWizardPageSimple(*args, **kwargs) |
c81fd4b9 | 227 | val.thisown = 1 |
c81fd4b9 RD |
228 | return val |
229 | ||
e811c8ce RD |
230 | def WizardPageSimple_Chain(*args, **kwargs): |
231 | """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)""" | |
232 | return _wizard.WizardPageSimple_Chain(*args, **kwargs) | |
c81fd4b9 | 233 | |
54f9ee45 | 234 | class Wizard(_windows.Dialog): |
e811c8ce RD |
235 | def __repr__(self): |
236 | return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 237 | def __init__(self, *args, **kwargs): |
0df68c9f | 238 | """ |
a95a7133 | 239 | __init__(self, Window parent, int id=-1, String title=EmptyString, |
196addbf | 240 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, |
0df68c9f RD |
241 | long style=DEFAULT_DIALOG_STYLE) -> Wizard |
242 | """ | |
d14a1e28 RD |
243 | newobj = _wizard.new_Wizard(*args, **kwargs) |
244 | self.this = newobj.this | |
c81fd4b9 | 245 | self.thisown = 1 |
d14a1e28 | 246 | del newobj.thisown |
c81fd4b9 | 247 | self._setOORInfo(self) |
e811c8ce RD |
248 | |
249 | def Create(*args, **kwargs): | |
0df68c9f | 250 | """ |
a95a7133 | 251 | Create(self, Window parent, int id=-1, String title=EmptyString, |
196addbf | 252 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool |
0df68c9f | 253 | """ |
e811c8ce RD |
254 | return _wizard.Wizard_Create(*args, **kwargs) |
255 | ||
256 | def Init(*args, **kwargs): | |
a95a7133 | 257 | """Init(self)""" |
e811c8ce RD |
258 | return _wizard.Wizard_Init(*args, **kwargs) |
259 | ||
260 | def RunWizard(*args, **kwargs): | |
a95a7133 | 261 | """RunWizard(self, WizardPage firstPage) -> bool""" |
e811c8ce RD |
262 | return _wizard.Wizard_RunWizard(*args, **kwargs) |
263 | ||
264 | def GetCurrentPage(*args, **kwargs): | |
a95a7133 | 265 | """GetCurrentPage(self) -> WizardPage""" |
e811c8ce RD |
266 | return _wizard.Wizard_GetCurrentPage(*args, **kwargs) |
267 | ||
268 | def SetPageSize(*args, **kwargs): | |
a95a7133 | 269 | """SetPageSize(self, Size size)""" |
e811c8ce RD |
270 | return _wizard.Wizard_SetPageSize(*args, **kwargs) |
271 | ||
272 | def GetPageSize(*args, **kwargs): | |
a95a7133 | 273 | """GetPageSize(self) -> Size""" |
e811c8ce RD |
274 | return _wizard.Wizard_GetPageSize(*args, **kwargs) |
275 | ||
276 | def FitToPage(*args, **kwargs): | |
a95a7133 | 277 | """FitToPage(self, WizardPage firstPage)""" |
e811c8ce RD |
278 | return _wizard.Wizard_FitToPage(*args, **kwargs) |
279 | ||
280 | def GetPageAreaSizer(*args, **kwargs): | |
a95a7133 | 281 | """GetPageAreaSizer(self) -> Sizer""" |
e811c8ce RD |
282 | return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs) |
283 | ||
284 | def SetBorder(*args, **kwargs): | |
a95a7133 | 285 | """SetBorder(self, int border)""" |
e811c8ce RD |
286 | return _wizard.Wizard_SetBorder(*args, **kwargs) |
287 | ||
288 | def IsRunning(*args, **kwargs): | |
a95a7133 | 289 | """IsRunning(self) -> bool""" |
e811c8ce RD |
290 | return _wizard.Wizard_IsRunning(*args, **kwargs) |
291 | ||
292 | def ShowPage(*args, **kwargs): | |
a95a7133 | 293 | """ShowPage(self, WizardPage page, bool goingForward=True) -> bool""" |
e811c8ce RD |
294 | return _wizard.Wizard_ShowPage(*args, **kwargs) |
295 | ||
296 | def HasNextPage(*args, **kwargs): | |
a95a7133 | 297 | """HasNextPage(self, WizardPage page) -> bool""" |
e811c8ce RD |
298 | return _wizard.Wizard_HasNextPage(*args, **kwargs) |
299 | ||
300 | def HasPrevPage(*args, **kwargs): | |
a95a7133 | 301 | """HasPrevPage(self, WizardPage page) -> bool""" |
e811c8ce RD |
302 | return _wizard.Wizard_HasPrevPage(*args, **kwargs) |
303 | ||
c81fd4b9 | 304 | |
d14a1e28 RD |
305 | class WizardPtr(Wizard): |
306 | def __init__(self, this): | |
307 | self.this = this | |
308 | if not hasattr(self,"thisown"): self.thisown = 0 | |
309 | self.__class__ = Wizard | |
310 | _wizard.Wizard_swigregister(WizardPtr) | |
c81fd4b9 | 311 | |
d14a1e28 | 312 | def PreWizard(*args, **kwargs): |
e811c8ce | 313 | """PreWizard() -> Wizard""" |
d14a1e28 | 314 | val = _wizard.new_PreWizard(*args, **kwargs) |
c81fd4b9 | 315 | val.thisown = 1 |
c81fd4b9 RD |
316 | return val |
317 | ||
318 |