]>
Commit | Line | Data |
---|---|---|
3e1f6ec4 | 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 | ||
6 | import windows | |
7 | import core | |
8 | wx = core | |
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 | ||
21 | class WizardEvent(core.NotifyEvent): | |
423f194a 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): |
41f1cec7 RD |
25 | """ |
26 | __init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, | |
27 | WizardPage page=None) -> WizardEvent | |
28 | """ | |
d14a1e28 RD |
29 | newobj = _wizard.new_WizardEvent(*args, **kwargs) |
30 | self.this = newobj.this | |
3e1f6ec4 | 31 | self.thisown = 1 |
d14a1e28 | 32 | del newobj.thisown |
423f194a RD |
33 | def GetDirection(*args, **kwargs): |
34 | """GetDirection() -> bool""" | |
35 | return _wizard.WizardEvent_GetDirection(*args, **kwargs) | |
36 | ||
37 | def GetPage(*args, **kwargs): | |
38 | """GetPage() -> WizardPage""" | |
39 | return _wizard.WizardEvent_GetPage(*args, **kwargs) | |
40 | ||
3e1f6ec4 | 41 | |
d14a1e28 RD |
42 | class WizardEventPtr(WizardEvent): |
43 | def __init__(self, this): | |
3e1f6ec4 | 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 | ||
49 | class WizardPage(windows.Panel): | |
d14a1e28 | 50 | def __init__(self): raise RuntimeError, "No constructor defined" |
3e1f6ec4 | 51 | def __repr__(self): |
d14a1e28 | 52 | return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
423f194a | 53 | def Create(*args, **kwargs): |
cbd72d4f | 54 | """Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" |
423f194a RD |
55 | return _wizard.WizardPage_Create(*args, **kwargs) |
56 | ||
57 | def GetPrev(*args, **kwargs): | |
58 | """GetPrev() -> WizardPage""" | |
59 | return _wizard.WizardPage_GetPrev(*args, **kwargs) | |
60 | ||
61 | def GetNext(*args, **kwargs): | |
62 | """GetNext() -> WizardPage""" | |
63 | return _wizard.WizardPage_GetNext(*args, **kwargs) | |
64 | ||
65 | def GetBitmap(*args, **kwargs): | |
cbd72d4f | 66 | """GetBitmap() -> Bitmap""" |
423f194a RD |
67 | return _wizard.WizardPage_GetBitmap(*args, **kwargs) |
68 | ||
3e1f6ec4 | 69 | |
d14a1e28 RD |
70 | class WizardPagePtr(WizardPage): |
71 | def __init__(self, this): | |
3e1f6ec4 | 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): | |
423f194a 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): |
cbd72d4f | 81 | """__init__(Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage""" |
d14a1e28 RD |
82 | newobj = _wizard.new_PyWizardPage(*args, **kwargs) |
83 | self.this = newobj.this | |
3e1f6ec4 | 84 | self.thisown = 1 |
d14a1e28 RD |
85 | del newobj.thisown |
86 | self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self) | |
423f194a RD |
87 | |
88 | def Create(*args, **kwargs): | |
cbd72d4f | 89 | """Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" |
423f194a RD |
90 | return _wizard.PyWizardPage_Create(*args, **kwargs) |
91 | ||
92 | def _setCallbackInfo(*args, **kwargs): | |
93 | """_setCallbackInfo(PyObject self, PyObject _class)""" | |
94 | return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs) | |
95 | ||
96 | def base_DoMoveWindow(*args, **kwargs): | |
97 | """base_DoMoveWindow(int x, int y, int width, int height)""" | |
98 | return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs) | |
99 | ||
100 | def base_DoSetSize(*args, **kwargs): | |
101 | """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" | |
102 | return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs) | |
103 | ||
104 | def base_DoSetClientSize(*args, **kwargs): | |
105 | """base_DoSetClientSize(int width, int height)""" | |
106 | return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs) | |
107 | ||
108 | def base_DoSetVirtualSize(*args, **kwargs): | |
109 | """base_DoSetVirtualSize(int x, int y)""" | |
110 | return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs) | |
111 | ||
112 | def base_DoGetSize(*args, **kwargs): | |
44127b65 | 113 | """base_DoGetSize() -> (width, height)""" |
423f194a RD |
114 | return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs) |
115 | ||
116 | def base_DoGetClientSize(*args, **kwargs): | |
44127b65 | 117 | """base_DoGetClientSize() -> (width, height)""" |
423f194a RD |
118 | return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs) |
119 | ||
120 | def base_DoGetPosition(*args, **kwargs): | |
44127b65 | 121 | """base_DoGetPosition() -> (x,y)""" |
423f194a RD |
122 | return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs) |
123 | ||
124 | def base_DoGetVirtualSize(*args, **kwargs): | |
125 | """base_DoGetVirtualSize() -> Size""" | |
126 | return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs) | |
127 | ||
128 | def base_DoGetBestSize(*args, **kwargs): | |
129 | """base_DoGetBestSize() -> Size""" | |
130 | return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs) | |
131 | ||
132 | def base_InitDialog(*args, **kwargs): | |
133 | """base_InitDialog()""" | |
134 | return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs) | |
135 | ||
136 | def base_TransferDataToWindow(*args, **kwargs): | |
137 | """base_TransferDataToWindow() -> bool""" | |
138 | return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs) | |
139 | ||
140 | def base_TransferDataFromWindow(*args, **kwargs): | |
141 | """base_TransferDataFromWindow() -> bool""" | |
142 | return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs) | |
143 | ||
144 | def base_Validate(*args, **kwargs): | |
145 | """base_Validate() -> bool""" | |
146 | return _wizard.PyWizardPage_base_Validate(*args, **kwargs) | |
147 | ||
148 | def base_AcceptsFocus(*args, **kwargs): | |
149 | """base_AcceptsFocus() -> bool""" | |
150 | return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs) | |
151 | ||
152 | def base_AcceptsFocusFromKeyboard(*args, **kwargs): | |
153 | """base_AcceptsFocusFromKeyboard() -> bool""" | |
154 | return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs) | |
155 | ||
156 | def base_GetMaxSize(*args, **kwargs): | |
157 | """base_GetMaxSize() -> Size""" | |
158 | return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs) | |
159 | ||
160 | def base_AddChild(*args, **kwargs): | |
161 | """base_AddChild(Window child)""" | |
162 | return _wizard.PyWizardPage_base_AddChild(*args, **kwargs) | |
163 | ||
164 | def base_RemoveChild(*args, **kwargs): | |
165 | """base_RemoveChild(Window child)""" | |
166 | return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs) | |
167 | ||
3e1f6ec4 | 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) | |
3e1f6ec4 | 175 | |
d14a1e28 | 176 | def PrePyWizardPage(*args, **kwargs): |
423f194a | 177 | """PrePyWizardPage() -> PyWizardPage""" |
d14a1e28 | 178 | val = _wizard.new_PrePyWizardPage(*args, **kwargs) |
3e1f6ec4 | 179 | val.thisown = 1 |
3e1f6ec4 RD |
180 | return val |
181 | ||
d14a1e28 | 182 | class WizardPageSimple(WizardPage): |
423f194a 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): |
41f1cec7 RD |
186 | """ |
187 | __init__(Wizard parent, WizardPage prev=None, WizardPage next=None, | |
cbd72d4f | 188 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple |
41f1cec7 | 189 | """ |
d14a1e28 RD |
190 | newobj = _wizard.new_WizardPageSimple(*args, **kwargs) |
191 | self.this = newobj.this | |
3e1f6ec4 | 192 | self.thisown = 1 |
d14a1e28 | 193 | del newobj.thisown |
3e1f6ec4 | 194 | self._setOORInfo(self) |
423f194a RD |
195 | |
196 | def Create(*args, **kwargs): | |
41f1cec7 RD |
197 | """ |
198 | Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, | |
cbd72d4f | 199 | Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool |
41f1cec7 | 200 | """ |
423f194a RD |
201 | return _wizard.WizardPageSimple_Create(*args, **kwargs) |
202 | ||
203 | def SetPrev(*args, **kwargs): | |
204 | """SetPrev(WizardPage prev)""" | |
205 | return _wizard.WizardPageSimple_SetPrev(*args, **kwargs) | |
206 | ||
207 | def SetNext(*args, **kwargs): | |
208 | """SetNext(WizardPage next)""" | |
209 | return _wizard.WizardPageSimple_SetNext(*args, **kwargs) | |
210 | ||
211 | def Chain(*args, **kwargs): | |
212 | """WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)""" | |
213 | return _wizard.WizardPageSimple_Chain(*args, **kwargs) | |
214 | ||
215 | Chain = staticmethod(Chain) | |
3e1f6ec4 | 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) | |
3e1f6ec4 | 223 | |
d14a1e28 | 224 | def PreWizardPageSimple(*args, **kwargs): |
423f194a | 225 | """PreWizardPageSimple() -> WizardPageSimple""" |
d14a1e28 | 226 | val = _wizard.new_PreWizardPageSimple(*args, **kwargs) |
3e1f6ec4 | 227 | val.thisown = 1 |
3e1f6ec4 RD |
228 | return val |
229 | ||
423f194a RD |
230 | def WizardPageSimple_Chain(*args, **kwargs): |
231 | """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)""" | |
232 | return _wizard.WizardPageSimple_Chain(*args, **kwargs) | |
3e1f6ec4 | 233 | |
d14a1e28 | 234 | class Wizard(windows.Dialog): |
423f194a 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): |
41f1cec7 | 238 | """ |
cbd72d4f RD |
239 | __init__(Window parent, int id=-1, String title=EmptyString, |
240 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, | |
41f1cec7 RD |
241 | long style=DEFAULT_DIALOG_STYLE) -> Wizard |
242 | """ | |
d14a1e28 RD |
243 | newobj = _wizard.new_Wizard(*args, **kwargs) |
244 | self.this = newobj.this | |
3e1f6ec4 | 245 | self.thisown = 1 |
d14a1e28 | 246 | del newobj.thisown |
3e1f6ec4 | 247 | self._setOORInfo(self) |
423f194a RD |
248 | |
249 | def Create(*args, **kwargs): | |
41f1cec7 | 250 | """ |
cbd72d4f RD |
251 | Create(Window parent, int id=-1, String title=EmptyString, |
252 | Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool | |
41f1cec7 | 253 | """ |
423f194a RD |
254 | return _wizard.Wizard_Create(*args, **kwargs) |
255 | ||
256 | def Init(*args, **kwargs): | |
257 | """Init()""" | |
258 | return _wizard.Wizard_Init(*args, **kwargs) | |
259 | ||
260 | def RunWizard(*args, **kwargs): | |
261 | """RunWizard(WizardPage firstPage) -> bool""" | |
262 | return _wizard.Wizard_RunWizard(*args, **kwargs) | |
263 | ||
264 | def GetCurrentPage(*args, **kwargs): | |
265 | """GetCurrentPage() -> WizardPage""" | |
266 | return _wizard.Wizard_GetCurrentPage(*args, **kwargs) | |
267 | ||
268 | def SetPageSize(*args, **kwargs): | |
269 | """SetPageSize(Size size)""" | |
270 | return _wizard.Wizard_SetPageSize(*args, **kwargs) | |
271 | ||
272 | def GetPageSize(*args, **kwargs): | |
273 | """GetPageSize() -> Size""" | |
274 | return _wizard.Wizard_GetPageSize(*args, **kwargs) | |
275 | ||
276 | def FitToPage(*args, **kwargs): | |
277 | """FitToPage(WizardPage firstPage)""" | |
278 | return _wizard.Wizard_FitToPage(*args, **kwargs) | |
279 | ||
280 | def GetPageAreaSizer(*args, **kwargs): | |
281 | """GetPageAreaSizer() -> Sizer""" | |
282 | return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs) | |
283 | ||
284 | def SetBorder(*args, **kwargs): | |
285 | """SetBorder(int border)""" | |
286 | return _wizard.Wizard_SetBorder(*args, **kwargs) | |
287 | ||
288 | def IsRunning(*args, **kwargs): | |
289 | """IsRunning() -> bool""" | |
290 | return _wizard.Wizard_IsRunning(*args, **kwargs) | |
291 | ||
292 | def ShowPage(*args, **kwargs): | |
293 | """ShowPage(WizardPage page, bool goingForward=True) -> bool""" | |
294 | return _wizard.Wizard_ShowPage(*args, **kwargs) | |
295 | ||
296 | def HasNextPage(*args, **kwargs): | |
297 | """HasNextPage(WizardPage page) -> bool""" | |
298 | return _wizard.Wizard_HasNextPage(*args, **kwargs) | |
299 | ||
300 | def HasPrevPage(*args, **kwargs): | |
301 | """HasPrevPage(WizardPage page) -> bool""" | |
302 | return _wizard.Wizard_HasPrevPage(*args, **kwargs) | |
303 | ||
3e1f6ec4 | 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) | |
3e1f6ec4 | 311 | |
d14a1e28 | 312 | def PreWizard(*args, **kwargs): |
423f194a | 313 | """PreWizard() -> Wizard""" |
d14a1e28 | 314 | val = _wizard.new_PreWizard(*args, **kwargs) |
3e1f6ec4 | 315 | val.thisown = 1 |
3e1f6ec4 RD |
316 | return val |
317 | ||
318 |