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