]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/wizard.py
Reverted to old method names/signatures for wx.DC, updated lib and
[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
d14a1e28
RD
9WIZARD_EX_HELPBUTTON = _wizard.WIZARD_EX_HELPBUTTON
10wxEVT_WIZARD_PAGE_CHANGED = _wizard.wxEVT_WIZARD_PAGE_CHANGED
11wxEVT_WIZARD_PAGE_CHANGING = _wizard.wxEVT_WIZARD_PAGE_CHANGING
12wxEVT_WIZARD_CANCEL = _wizard.wxEVT_WIZARD_CANCEL
13wxEVT_WIZARD_HELP = _wizard.wxEVT_WIZARD_HELP
14wxEVT_WIZARD_FINISHED = _wizard.wxEVT_WIZARD_FINISHED
15EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
16EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
17EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1)
18EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
19EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
20
d55e5bfc 21class 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 25 """
a95a7133 26 __init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
41f1cec7
RD
27 WizardPage page=None) -> WizardEvent
28 """
d14a1e28
RD
29 newobj = _wizard.new_WizardEvent(*args, **kwargs)
30 self.this = newobj.this
af83019e 31 self.thisown = 1
d14a1e28 32 del newobj.thisown
423f194a 33 def GetDirection(*args, **kwargs):
a95a7133 34 """GetDirection(self) -> bool"""
423f194a
RD
35 return _wizard.WizardEvent_GetDirection(*args, **kwargs)
36
37 def GetPage(*args, **kwargs):
a95a7133 38 """GetPage(self) -> WizardPage"""
423f194a
RD
39 return _wizard.WizardEvent_GetPage(*args, **kwargs)
40
af83019e 41
d14a1e28
RD
42class WizardEventPtr(WizardEvent):
43 def __init__(self, this):
af83019e 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
d55e5bfc 49class WizardPage(_windows.Panel):
d14a1e28 50 def __init__(self): raise RuntimeError, "No constructor defined"
af83019e 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):
a95a7133 54 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
423f194a
RD
55 return _wizard.WizardPage_Create(*args, **kwargs)
56
57 def GetPrev(*args, **kwargs):
a95a7133 58 """GetPrev(self) -> WizardPage"""
423f194a
RD
59 return _wizard.WizardPage_GetPrev(*args, **kwargs)
60
61 def GetNext(*args, **kwargs):
a95a7133 62 """GetNext(self) -> WizardPage"""
423f194a
RD
63 return _wizard.WizardPage_GetNext(*args, **kwargs)
64
65 def GetBitmap(*args, **kwargs):
a95a7133 66 """GetBitmap(self) -> Bitmap"""
423f194a
RD
67 return _wizard.WizardPage_GetBitmap(*args, **kwargs)
68
af83019e 69
d14a1e28
RD
70class WizardPagePtr(WizardPage):
71 def __init__(self, this):
af83019e 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
77class 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):
a95a7133 81 """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
d14a1e28
RD
82 newobj = _wizard.new_PyWizardPage(*args, **kwargs)
83 self.this = newobj.this
af83019e 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):
a95a7133 89 """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
423f194a
RD
90 return _wizard.PyWizardPage_Create(*args, **kwargs)
91
92 def _setCallbackInfo(*args, **kwargs):
a95a7133 93 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
423f194a
RD
94 return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
95
96 def base_DoMoveWindow(*args, **kwargs):
a95a7133 97 """base_DoMoveWindow(self, int x, int y, int width, int height)"""
423f194a
RD
98 return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs)
99
100 def base_DoSetSize(*args, **kwargs):
a95a7133 101 """base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
423f194a
RD
102 return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs)
103
104 def base_DoSetClientSize(*args, **kwargs):
a95a7133 105 """base_DoSetClientSize(self, int width, int height)"""
423f194a
RD
106 return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
107
108 def base_DoSetVirtualSize(*args, **kwargs):
a95a7133 109 """base_DoSetVirtualSize(self, int x, int y)"""
423f194a
RD
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):
a95a7133 125 """base_DoGetVirtualSize(self) -> Size"""
423f194a
RD
126 return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
127
128 def base_DoGetBestSize(*args, **kwargs):
a95a7133 129 """base_DoGetBestSize(self) -> Size"""
423f194a
RD
130 return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
131
132 def base_InitDialog(*args, **kwargs):
a95a7133 133 """base_InitDialog(self)"""
423f194a
RD
134 return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
135
136 def base_TransferDataToWindow(*args, **kwargs):
a95a7133 137 """base_TransferDataToWindow(self) -> bool"""
423f194a
RD
138 return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
139
140 def base_TransferDataFromWindow(*args, **kwargs):
a95a7133 141 """base_TransferDataFromWindow(self) -> bool"""
423f194a
RD
142 return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
143
144 def base_Validate(*args, **kwargs):
a95a7133 145 """base_Validate(self) -> bool"""
423f194a
RD
146 return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
147
148 def base_AcceptsFocus(*args, **kwargs):
a95a7133 149 """base_AcceptsFocus(self) -> bool"""
423f194a
RD
150 return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
151
152 def base_AcceptsFocusFromKeyboard(*args, **kwargs):
a95a7133 153 """base_AcceptsFocusFromKeyboard(self) -> bool"""
423f194a
RD
154 return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
155
156 def base_GetMaxSize(*args, **kwargs):
a95a7133 157 """base_GetMaxSize(self) -> Size"""
423f194a
RD
158 return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
159
160 def base_AddChild(*args, **kwargs):
a95a7133 161 """base_AddChild(self, Window child)"""
423f194a
RD
162 return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
163
164 def base_RemoveChild(*args, **kwargs):
a95a7133 165 """base_RemoveChild(self, Window child)"""
423f194a
RD
166 return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs)
167
af83019e 168
d14a1e28
RD
169class 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)
af83019e 175
d14a1e28 176def PrePyWizardPage(*args, **kwargs):
423f194a 177 """PrePyWizardPage() -> PyWizardPage"""
d14a1e28 178 val = _wizard.new_PrePyWizardPage(*args, **kwargs)
af83019e 179 val.thisown = 1
af83019e
RD
180 return val
181
d14a1e28 182class 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 186 """
a95a7133 187 __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None,
d03fd34d 188 Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
41f1cec7 189 """
d14a1e28
RD
190 newobj = _wizard.new_WizardPageSimple(*args, **kwargs)
191 self.this = newobj.this
af83019e 192 self.thisown = 1
d14a1e28 193 del newobj.thisown
af83019e 194 self._setOORInfo(self)
423f194a
RD
195
196 def Create(*args, **kwargs):
41f1cec7 197 """
a95a7133 198 Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None,
d03fd34d 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):
a95a7133 204 """SetPrev(self, WizardPage prev)"""
423f194a
RD
205 return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
206
207 def SetNext(*args, **kwargs):
a95a7133 208 """SetNext(self, WizardPage next)"""
423f194a
RD
209 return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
210
211 def Chain(*args, **kwargs):
a95a7133 212 """WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)"""
423f194a
RD
213 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
214
215 Chain = staticmethod(Chain)
af83019e 216
d14a1e28
RD
217class 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)
af83019e 223
d14a1e28 224def PreWizardPageSimple(*args, **kwargs):
423f194a 225 """PreWizardPageSimple() -> WizardPageSimple"""
d14a1e28 226 val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
af83019e 227 val.thisown = 1
af83019e
RD
228 return val
229
423f194a
RD
230def WizardPageSimple_Chain(*args, **kwargs):
231 """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
232 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
af83019e 233
d55e5bfc 234class 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 """
a95a7133 239 __init__(self, Window parent, int id=-1, String title=EmptyString,
d03fd34d 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
af83019e 245 self.thisown = 1
d14a1e28 246 del newobj.thisown
af83019e 247 self._setOORInfo(self)
423f194a
RD
248
249 def Create(*args, **kwargs):
41f1cec7 250 """
a95a7133 251 Create(self, Window parent, int id=-1, String title=EmptyString,
d03fd34d 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):
a95a7133 257 """Init(self)"""
423f194a
RD
258 return _wizard.Wizard_Init(*args, **kwargs)
259
260 def RunWizard(*args, **kwargs):
a95a7133 261 """RunWizard(self, WizardPage firstPage) -> bool"""
423f194a
RD
262 return _wizard.Wizard_RunWizard(*args, **kwargs)
263
264 def GetCurrentPage(*args, **kwargs):
a95a7133 265 """GetCurrentPage(self) -> WizardPage"""
423f194a
RD
266 return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
267
268 def SetPageSize(*args, **kwargs):
a95a7133 269 """SetPageSize(self, Size size)"""
423f194a
RD
270 return _wizard.Wizard_SetPageSize(*args, **kwargs)
271
272 def GetPageSize(*args, **kwargs):
a95a7133 273 """GetPageSize(self) -> Size"""
423f194a
RD
274 return _wizard.Wizard_GetPageSize(*args, **kwargs)
275
276 def FitToPage(*args, **kwargs):
a95a7133 277 """FitToPage(self, WizardPage firstPage)"""
423f194a
RD
278 return _wizard.Wizard_FitToPage(*args, **kwargs)
279
280 def GetPageAreaSizer(*args, **kwargs):
a95a7133 281 """GetPageAreaSizer(self) -> Sizer"""
423f194a
RD
282 return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
283
284 def SetBorder(*args, **kwargs):
a95a7133 285 """SetBorder(self, int border)"""
423f194a
RD
286 return _wizard.Wizard_SetBorder(*args, **kwargs)
287
288 def IsRunning(*args, **kwargs):
a95a7133 289 """IsRunning(self) -> bool"""
423f194a
RD
290 return _wizard.Wizard_IsRunning(*args, **kwargs)
291
292 def ShowPage(*args, **kwargs):
a95a7133 293 """ShowPage(self, WizardPage page, bool goingForward=True) -> bool"""
423f194a
RD
294 return _wizard.Wizard_ShowPage(*args, **kwargs)
295
296 def HasNextPage(*args, **kwargs):
a95a7133 297 """HasNextPage(self, WizardPage page) -> bool"""
423f194a
RD
298 return _wizard.Wizard_HasNextPage(*args, **kwargs)
299
300 def HasPrevPage(*args, **kwargs):
a95a7133 301 """HasPrevPage(self, WizardPage page) -> bool"""
423f194a
RD
302 return _wizard.Wizard_HasPrevPage(*args, **kwargs)
303
af83019e 304
d14a1e28
RD
305class 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)
af83019e 311
d14a1e28 312def PreWizard(*args, **kwargs):
423f194a 313 """PreWizard() -> Wizard"""
d14a1e28 314 val = _wizard.new_PreWizard(*args, **kwargs)
af83019e 315 val.thisown = 1
af83019e
RD
316 return val
317
318