]>
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 | ||
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): | |
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 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 | |
c81fd4b9 | 31 | self.thisown = 1 |
d14a1e28 | 32 | del newobj.thisown |
e811c8ce 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 | ||
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 | ||
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): |
196addbf | 54 | """Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" |
e811c8ce 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): | |
196addbf | 66 | """GetBitmap() -> 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): |
196addbf | 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 | |
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): | |
196addbf | 89 | """Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool""" |
e811c8ce 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): | |
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): | |
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 | ||
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 RD |
186 | """ |
187 | __init__(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 RD |
197 | """ |
198 | Create(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): | |
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) | |
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 | |
d14a1e28 | 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 | """ |
b2dc1044 | 239 | __init__(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 | """ |
b2dc1044 | 251 | Create(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): | |
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 | ||
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 |