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