]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/wizard.py
reSWIGged
[wxWidgets.git] / wxPython / src / msw / wizard.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 """
5 `Wizard` is a dialog class that guides the user through a sequence of steps,
6 or pages.
7 """
8
9 import _wizard
10
11 import _windows
12 import _core
13 wx = _core
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)
26
27 class WizardEvent(_core.NotifyEvent):
28 def __repr__(self):
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):
31 """
32 __init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
33 WizardPage page=None) -> WizardEvent
34 """
35 newobj = _wizard.new_WizardEvent(*args, **kwargs)
36 self.this = newobj.this
37 self.thisown = 1
38 del newobj.thisown
39 def GetDirection(*args, **kwargs):
40 """GetDirection(self) -> bool"""
41 return _wizard.WizardEvent_GetDirection(*args, **kwargs)
42
43 def GetPage(*args, **kwargs):
44 """GetPage(self) -> WizardPage"""
45 return _wizard.WizardEvent_GetPage(*args, **kwargs)
46
47
48 class WizardEventPtr(WizardEvent):
49 def __init__(self, this):
50 self.this = this
51 if not hasattr(self,"thisown"): self.thisown = 0
52 self.__class__ = WizardEvent
53 _wizard.WizardEvent_swigregister(WizardEventPtr)
54
55 class WizardPage(_windows.Panel):
56 def __init__(self): raise RuntimeError, "No constructor defined"
57 def __repr__(self):
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)
62
63 def GetPrev(*args, **kwargs):
64 """GetPrev(self) -> WizardPage"""
65 return _wizard.WizardPage_GetPrev(*args, **kwargs)
66
67 def GetNext(*args, **kwargs):
68 """GetNext(self) -> WizardPage"""
69 return _wizard.WizardPage_GetNext(*args, **kwargs)
70
71 def GetBitmap(*args, **kwargs):
72 """GetBitmap(self) -> Bitmap"""
73 return _wizard.WizardPage_GetBitmap(*args, **kwargs)
74
75
76 class WizardPagePtr(WizardPage):
77 def __init__(self, this):
78 self.this = this
79 if not hasattr(self,"thisown"): self.thisown = 0
80 self.__class__ = WizardPage
81 _wizard.WizardPage_swigregister(WizardPagePtr)
82
83 class PyWizardPage(WizardPage):
84 def __repr__(self):
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
90 self.thisown = 1
91 del newobj.thisown
92 self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)
93
94 def Create(*args, **kwargs):
95 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
96 return _wizard.PyWizardPage_Create(*args, **kwargs)
97
98 def _setCallbackInfo(*args, **kwargs):
99 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
100 return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
101
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)
105
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)
109
110 def base_DoSetClientSize(*args, **kwargs):
111 """base_DoSetClientSize(self, int width, int height)"""
112 return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
113
114 def base_DoSetVirtualSize(*args, **kwargs):
115 """base_DoSetVirtualSize(self, int x, int y)"""
116 return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs)
117
118 def base_DoGetSize(*args, **kwargs):
119 """base_DoGetSize() -> (width, height)"""
120 return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs)
121
122 def base_DoGetClientSize(*args, **kwargs):
123 """base_DoGetClientSize() -> (width, height)"""
124 return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs)
125
126 def base_DoGetPosition(*args, **kwargs):
127 """base_DoGetPosition() -> (x,y)"""
128 return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs)
129
130 def base_DoGetVirtualSize(*args, **kwargs):
131 """base_DoGetVirtualSize(self) -> Size"""
132 return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
133
134 def base_DoGetBestSize(*args, **kwargs):
135 """base_DoGetBestSize(self) -> Size"""
136 return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
137
138 def base_InitDialog(*args, **kwargs):
139 """base_InitDialog(self)"""
140 return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
141
142 def base_TransferDataToWindow(*args, **kwargs):
143 """base_TransferDataToWindow(self) -> bool"""
144 return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
145
146 def base_TransferDataFromWindow(*args, **kwargs):
147 """base_TransferDataFromWindow(self) -> bool"""
148 return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
149
150 def base_Validate(*args, **kwargs):
151 """base_Validate(self) -> bool"""
152 return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
153
154 def base_AcceptsFocus(*args, **kwargs):
155 """base_AcceptsFocus(self) -> bool"""
156 return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
157
158 def base_AcceptsFocusFromKeyboard(*args, **kwargs):
159 """base_AcceptsFocusFromKeyboard(self) -> bool"""
160 return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
161
162 def base_GetMaxSize(*args, **kwargs):
163 """base_GetMaxSize(self) -> Size"""
164 return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
165
166 def base_AddChild(*args, **kwargs):
167 """base_AddChild(self, Window child)"""
168 return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
169
170 def base_RemoveChild(*args, **kwargs):
171 """base_RemoveChild(self, Window child)"""
172 return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs)
173
174
175 class PyWizardPagePtr(PyWizardPage):
176 def __init__(self, this):
177 self.this = this
178 if not hasattr(self,"thisown"): self.thisown = 0
179 self.__class__ = PyWizardPage
180 _wizard.PyWizardPage_swigregister(PyWizardPagePtr)
181
182 def PrePyWizardPage(*args, **kwargs):
183 """PrePyWizardPage() -> PyWizardPage"""
184 val = _wizard.new_PrePyWizardPage(*args, **kwargs)
185 val.thisown = 1
186 return val
187
188 class WizardPageSimple(WizardPage):
189 def __repr__(self):
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):
192 """
193 __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
194 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
195 """
196 newobj = _wizard.new_WizardPageSimple(*args, **kwargs)
197 self.this = newobj.this
198 self.thisown = 1
199 del newobj.thisown
200 self._setOORInfo(self)
201
202 def Create(*args, **kwargs):
203 """
204 Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None,
205 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool
206 """
207 return _wizard.WizardPageSimple_Create(*args, **kwargs)
208
209 def SetPrev(*args, **kwargs):
210 """SetPrev(self, WizardPage prev)"""
211 return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
212
213 def SetNext(*args, **kwargs):
214 """SetNext(self, WizardPage next)"""
215 return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
216
217 def Chain(*args, **kwargs):
218 """Chain(WizardPageSimple first, WizardPageSimple second)"""
219 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
220
221 Chain = staticmethod(Chain)
222
223 class WizardPageSimplePtr(WizardPageSimple):
224 def __init__(self, this):
225 self.this = this
226 if not hasattr(self,"thisown"): self.thisown = 0
227 self.__class__ = WizardPageSimple
228 _wizard.WizardPageSimple_swigregister(WizardPageSimplePtr)
229
230 def PreWizardPageSimple(*args, **kwargs):
231 """PreWizardPageSimple() -> WizardPageSimple"""
232 val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
233 val.thisown = 1
234 return val
235
236 def WizardPageSimple_Chain(*args, **kwargs):
237 """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
238 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
239
240 class Wizard(_windows.Dialog):
241 def __repr__(self):
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):
244 """
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
248 """
249 newobj = _wizard.new_Wizard(*args, **kwargs)
250 self.this = newobj.this
251 self.thisown = 1
252 del newobj.thisown
253 self._setOORInfo(self)
254
255 def Create(*args, **kwargs):
256 """
257 Create(self, Window parent, int id=-1, String title=EmptyString,
258 Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool
259 """
260 return _wizard.Wizard_Create(*args, **kwargs)
261
262 def Init(*args, **kwargs):
263 """Init(self)"""
264 return _wizard.Wizard_Init(*args, **kwargs)
265
266 def RunWizard(*args, **kwargs):
267 """RunWizard(self, WizardPage firstPage) -> bool"""
268 return _wizard.Wizard_RunWizard(*args, **kwargs)
269
270 def GetCurrentPage(*args, **kwargs):
271 """GetCurrentPage(self) -> WizardPage"""
272 return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
273
274 def SetPageSize(*args, **kwargs):
275 """SetPageSize(self, Size size)"""
276 return _wizard.Wizard_SetPageSize(*args, **kwargs)
277
278 def GetPageSize(*args, **kwargs):
279 """GetPageSize(self) -> Size"""
280 return _wizard.Wizard_GetPageSize(*args, **kwargs)
281
282 def FitToPage(*args, **kwargs):
283 """FitToPage(self, WizardPage firstPage)"""
284 return _wizard.Wizard_FitToPage(*args, **kwargs)
285
286 def GetPageAreaSizer(*args, **kwargs):
287 """GetPageAreaSizer(self) -> Sizer"""
288 return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
289
290 def SetBorder(*args, **kwargs):
291 """SetBorder(self, int border)"""
292 return _wizard.Wizard_SetBorder(*args, **kwargs)
293
294 def IsRunning(*args, **kwargs):
295 """IsRunning(self) -> bool"""
296 return _wizard.Wizard_IsRunning(*args, **kwargs)
297
298 def ShowPage(*args, **kwargs):
299 """ShowPage(self, WizardPage page, bool goingForward=True) -> bool"""
300 return _wizard.Wizard_ShowPage(*args, **kwargs)
301
302 def HasNextPage(*args, **kwargs):
303 """HasNextPage(self, WizardPage page) -> bool"""
304 return _wizard.Wizard_HasNextPage(*args, **kwargs)
305
306 def HasPrevPage(*args, **kwargs):
307 """HasPrevPage(self, WizardPage page) -> bool"""
308 return _wizard.Wizard_HasPrevPage(*args, **kwargs)
309
310
311 class WizardPtr(Wizard):
312 def __init__(self, this):
313 self.this = this
314 if not hasattr(self,"thisown"): self.thisown = 0
315 self.__class__ = Wizard
316 _wizard.Wizard_swigregister(WizardPtr)
317
318 def PreWizard(*args, **kwargs):
319 """PreWizard() -> Wizard"""
320 val = _wizard.new_PreWizard(*args, **kwargs)
321 val.thisown = 1
322 return val
323
324