]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/wizard.py
Fixed how the list of files is converted
[wxWidgets.git] / wxPython / src / gtk / 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 """"""
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 """__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
27 WizardPage page=None) -> WizardEvent"""
28 newobj = _wizard.new_WizardEvent(*args, **kwargs)
29 self.this = newobj.this
30 self.thisown = 1
31 del newobj.thisown
32 def GetDirection(*args, **kwargs):
33 """GetDirection() -> bool"""
34 return _wizard.WizardEvent_GetDirection(*args, **kwargs)
35
36 def GetPage(*args, **kwargs):
37 """GetPage() -> WizardPage"""
38 return _wizard.WizardEvent_GetPage(*args, **kwargs)
39
40
41 class WizardEventPtr(WizardEvent):
42 def __init__(self, this):
43 self.this = this
44 if not hasattr(self,"thisown"): self.thisown = 0
45 self.__class__ = WizardEvent
46 _wizard.WizardEvent_swigregister(WizardEventPtr)
47
48 class WizardPage(windows.Panel):
49 """"""
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(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool"""
55 return _wizard.WizardPage_Create(*args, **kwargs)
56
57 def GetPrev(*args, **kwargs):
58 """GetPrev() -> WizardPage"""
59 return _wizard.WizardPage_GetPrev(*args, **kwargs)
60
61 def GetNext(*args, **kwargs):
62 """GetNext() -> WizardPage"""
63 return _wizard.WizardPage_GetNext(*args, **kwargs)
64
65 def GetBitmap(*args, **kwargs):
66 """GetBitmap() -> wxBitmap"""
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 """"""
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__(Wizard parent, wxBitmap bitmap=&wxNullBitmap, wxString 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(Wizard parent, wxBitmap bitmap=wxNullBitmap, wxString resource=wxPyEmptyString) -> bool"""
91 return _wizard.PyWizardPage_Create(*args, **kwargs)
92
93 def _setCallbackInfo(*args, **kwargs):
94 """_setCallbackInfo(PyObject self, PyObject _class)"""
95 return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
96
97 def base_DoMoveWindow(*args, **kwargs):
98 """base_DoMoveWindow(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(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(int width, int height)"""
107 return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
108
109 def base_DoSetVirtualSize(*args, **kwargs):
110 """base_DoSetVirtualSize(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() -> Size"""
127 return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
128
129 def base_DoGetBestSize(*args, **kwargs):
130 """base_DoGetBestSize() -> Size"""
131 return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
132
133 def base_InitDialog(*args, **kwargs):
134 """base_InitDialog()"""
135 return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
136
137 def base_TransferDataToWindow(*args, **kwargs):
138 """base_TransferDataToWindow() -> bool"""
139 return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
140
141 def base_TransferDataFromWindow(*args, **kwargs):
142 """base_TransferDataFromWindow() -> bool"""
143 return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
144
145 def base_Validate(*args, **kwargs):
146 """base_Validate() -> bool"""
147 return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
148
149 def base_AcceptsFocus(*args, **kwargs):
150 """base_AcceptsFocus() -> bool"""
151 return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
152
153 def base_AcceptsFocusFromKeyboard(*args, **kwargs):
154 """base_AcceptsFocusFromKeyboard() -> bool"""
155 return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
156
157 def base_GetMaxSize(*args, **kwargs):
158 """base_GetMaxSize() -> Size"""
159 return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
160
161 def base_AddChild(*args, **kwargs):
162 """base_AddChild(Window child)"""
163 return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
164
165 def base_RemoveChild(*args, **kwargs):
166 """base_RemoveChild(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 """"""
185 def __repr__(self):
186 return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
187 def __init__(self, *args, **kwargs):
188 """__init__(Wizard parent, WizardPage prev=None, WizardPage next=None,
189 wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple"""
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 """Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None,
198 wxBitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool"""
199 return _wizard.WizardPageSimple_Create(*args, **kwargs)
200
201 def SetPrev(*args, **kwargs):
202 """SetPrev(WizardPage prev)"""
203 return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
204
205 def SetNext(*args, **kwargs):
206 """SetNext(WizardPage next)"""
207 return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
208
209 def Chain(*args, **kwargs):
210 """WizardPageSimple.Chain(WizardPageSimple first, WizardPageSimple second)"""
211 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
212
213 Chain = staticmethod(Chain)
214
215 class WizardPageSimplePtr(WizardPageSimple):
216 def __init__(self, this):
217 self.this = this
218 if not hasattr(self,"thisown"): self.thisown = 0
219 self.__class__ = WizardPageSimple
220 _wizard.WizardPageSimple_swigregister(WizardPageSimplePtr)
221
222 def PreWizardPageSimple(*args, **kwargs):
223 """PreWizardPageSimple() -> WizardPageSimple"""
224 val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
225 val.thisown = 1
226 return val
227
228 def WizardPageSimple_Chain(*args, **kwargs):
229 """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
230 return _wizard.WizardPageSimple_Chain(*args, **kwargs)
231
232 class Wizard(windows.Dialog):
233 """"""
234 def __repr__(self):
235 return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
236 def __init__(self, *args, **kwargs):
237 """__init__(Window parent, int id=-1, wxString title=wxEmptyString,
238 wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
239 long style=DEFAULT_DIALOG_STYLE) -> Wizard"""
240 newobj = _wizard.new_Wizard(*args, **kwargs)
241 self.this = newobj.this
242 self.thisown = 1
243 del newobj.thisown
244 self._setOORInfo(self)
245
246 def Create(*args, **kwargs):
247 """Create(Window parent, int id=-1, wxString title=wxEmptyString,
248 wxBitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool"""
249 return _wizard.Wizard_Create(*args, **kwargs)
250
251 def Init(*args, **kwargs):
252 """Init()"""
253 return _wizard.Wizard_Init(*args, **kwargs)
254
255 def RunWizard(*args, **kwargs):
256 """RunWizard(WizardPage firstPage) -> bool"""
257 return _wizard.Wizard_RunWizard(*args, **kwargs)
258
259 def GetCurrentPage(*args, **kwargs):
260 """GetCurrentPage() -> WizardPage"""
261 return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
262
263 def SetPageSize(*args, **kwargs):
264 """SetPageSize(Size size)"""
265 return _wizard.Wizard_SetPageSize(*args, **kwargs)
266
267 def GetPageSize(*args, **kwargs):
268 """GetPageSize() -> Size"""
269 return _wizard.Wizard_GetPageSize(*args, **kwargs)
270
271 def FitToPage(*args, **kwargs):
272 """FitToPage(WizardPage firstPage)"""
273 return _wizard.Wizard_FitToPage(*args, **kwargs)
274
275 def GetPageAreaSizer(*args, **kwargs):
276 """GetPageAreaSizer() -> Sizer"""
277 return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
278
279 def SetBorder(*args, **kwargs):
280 """SetBorder(int border)"""
281 return _wizard.Wizard_SetBorder(*args, **kwargs)
282
283 def IsRunning(*args, **kwargs):
284 """IsRunning() -> bool"""
285 return _wizard.Wizard_IsRunning(*args, **kwargs)
286
287 def ShowPage(*args, **kwargs):
288 """ShowPage(WizardPage page, bool goingForward=True) -> bool"""
289 return _wizard.Wizard_ShowPage(*args, **kwargs)
290
291 def HasNextPage(*args, **kwargs):
292 """HasNextPage(WizardPage page) -> bool"""
293 return _wizard.Wizard_HasNextPage(*args, **kwargs)
294
295 def HasPrevPage(*args, **kwargs):
296 """HasPrevPage(WizardPage page) -> bool"""
297 return _wizard.Wizard_HasPrevPage(*args, **kwargs)
298
299
300 class WizardPtr(Wizard):
301 def __init__(self, this):
302 self.this = this
303 if not hasattr(self,"thisown"): self.thisown = 0
304 self.__class__ = Wizard
305 _wizard.Wizard_swigregister(WizardPtr)
306
307 def PreWizard(*args, **kwargs):
308 """PreWizard() -> Wizard"""
309 val = _wizard.new_PreWizard(*args, **kwargs)
310 val.thisown = 1
311 return val
312
313