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