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