]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/wizard.py
Use virtual functions to help splittree work
[wxWidgets.git] / wxPython / src / mac / wizard.py
CommitLineData
3e1f6ec4
RD
1# This file was created automatically by SWIG.
2import wizardc
3
4from windows import *
5
6from misc import *
7
8from gdi import *
9
10from fonts import *
11
12from clip_dnd import *
13
14from frames import *
15
16from stattool import *
17
18from controls import *
19
20from events import *
21
22# wizard events
23def EVT_WIZARD_PAGE_CHANGED(win, id, func):
24 win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGED, func)
25
26def EVT_WIZARD_PAGE_CHANGING(win, id, func):
27 win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGING, func)
28
29def EVT_WIZARD_CANCEL(win, id, func):
30 win.Connect(id, -1, wxEVT_WIZARD_CANCEL, func)
31
32def EVT_WIZARD_HELP(win, id, func):
33 win.Connect(id, -1, wxEVT_WIZARD_HELP, func)
34
35
36class wxWizardEventPtr(wxNotifyEventPtr):
37 def __init__(self,this):
38 self.this = this
39 self.thisown = 0
40 def GetDirection(self, *_args, **_kwargs):
41 val = apply(wizardc.wxWizardEvent_GetDirection,(self,) + _args, _kwargs)
42 return val
43 def GetPage(self, *_args, **_kwargs):
44 val = apply(wizardc.wxWizardEvent_GetPage,(self,) + _args, _kwargs)
3e1f6ec4
RD
45 return val
46 def __repr__(self):
47 return "<C wxWizardEvent instance at %s>" % (self.this,)
48class wxWizardEvent(wxWizardEventPtr):
49 def __init__(self,*_args,**_kwargs):
50 self.this = apply(wizardc.new_wxWizardEvent,_args,_kwargs)
51 self.thisown = 1
52
53
54
55
56class wxWizardPagePtr(wxPanelPtr):
57 def __init__(self,this):
58 self.this = this
59 self.thisown = 0
60 def Create(self, *_args, **_kwargs):
61 val = apply(wizardc.wxWizardPage_Create,(self,) + _args, _kwargs)
62 return val
3e1f6ec4
RD
63 def GetPrev(self, *_args, **_kwargs):
64 val = apply(wizardc.wxWizardPage_GetPrev,(self,) + _args, _kwargs)
3e1f6ec4
RD
65 return val
66 def GetNext(self, *_args, **_kwargs):
67 val = apply(wizardc.wxWizardPage_GetNext,(self,) + _args, _kwargs)
3e1f6ec4
RD
68 return val
69 def GetBitmap(self, *_args, **_kwargs):
70 val = apply(wizardc.wxWizardPage_GetBitmap,(self,) + _args, _kwargs)
71 if val: val = wxBitmapPtr(val) ; val.thisown = 1
72 return val
73 def __repr__(self):
74 return "<C wxWizardPage instance at %s>" % (self.this,)
75class wxWizardPage(wxWizardPagePtr):
76 def __init__(self,this):
77 self.this = this
78
79
80
81
82class wxPyWizardPagePtr(wxWizardPagePtr):
83 def __init__(self,this):
84 self.this = this
85 self.thisown = 0
86 def Create(self, *_args, **_kwargs):
87 val = apply(wizardc.wxPyWizardPage_Create,(self,) + _args, _kwargs)
88 return val
89 def _setCallbackInfo(self, *_args, **_kwargs):
90 val = apply(wizardc.wxPyWizardPage__setCallbackInfo,(self,) + _args, _kwargs)
91 return val
92 def base_DoMoveWindow(self, *_args, **_kwargs):
93 val = apply(wizardc.wxPyWizardPage_base_DoMoveWindow,(self,) + _args, _kwargs)
94 return val
95 def base_DoSetSize(self, *_args, **_kwargs):
96 val = apply(wizardc.wxPyWizardPage_base_DoSetSize,(self,) + _args, _kwargs)
97 return val
98 def base_DoSetClientSize(self, *_args, **_kwargs):
99 val = apply(wizardc.wxPyWizardPage_base_DoSetClientSize,(self,) + _args, _kwargs)
100 return val
101 def base_DoSetVirtualSize(self, *_args, **_kwargs):
102 val = apply(wizardc.wxPyWizardPage_base_DoSetVirtualSize,(self,) + _args, _kwargs)
103 return val
104 def base_DoGetSize(self, *_args, **_kwargs):
105 val = apply(wizardc.wxPyWizardPage_base_DoGetSize,(self,) + _args, _kwargs)
106 return val
107 def base_DoGetClientSize(self, *_args, **_kwargs):
108 val = apply(wizardc.wxPyWizardPage_base_DoGetClientSize,(self,) + _args, _kwargs)
109 return val
110 def base_DoGetPosition(self, *_args, **_kwargs):
111 val = apply(wizardc.wxPyWizardPage_base_DoGetPosition,(self,) + _args, _kwargs)
112 return val
113 def base_DoGetVirtualSize(self, *_args, **_kwargs):
114 val = apply(wizardc.wxPyWizardPage_base_DoGetVirtualSize,(self,) + _args, _kwargs)
115 if val: val = wxSizePtr(val) ; val.thisown = 1
116 return val
117 def base_DoGetBestSize(self, *_args, **_kwargs):
118 val = apply(wizardc.wxPyWizardPage_base_DoGetBestSize,(self,) + _args, _kwargs)
119 if val: val = wxSizePtr(val) ; val.thisown = 1
120 return val
121 def base_InitDialog(self, *_args, **_kwargs):
122 val = apply(wizardc.wxPyWizardPage_base_InitDialog,(self,) + _args, _kwargs)
123 return val
124 def base_TransferDataToWindow(self, *_args, **_kwargs):
125 val = apply(wizardc.wxPyWizardPage_base_TransferDataToWindow,(self,) + _args, _kwargs)
126 return val
127 def base_TransferDataFromWindow(self, *_args, **_kwargs):
128 val = apply(wizardc.wxPyWizardPage_base_TransferDataFromWindow,(self,) + _args, _kwargs)
129 return val
130 def base_Validate(self, *_args, **_kwargs):
131 val = apply(wizardc.wxPyWizardPage_base_Validate,(self,) + _args, _kwargs)
132 return val
133 def base_AcceptsFocus(self, *_args, **_kwargs):
134 val = apply(wizardc.wxPyWizardPage_base_AcceptsFocus,(self,) + _args, _kwargs)
135 return val
136 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
137 val = apply(wizardc.wxPyWizardPage_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
138 return val
139 def base_GetMaxSize(self, *_args, **_kwargs):
140 val = apply(wizardc.wxPyWizardPage_base_GetMaxSize,(self,) + _args, _kwargs)
141 if val: val = wxSizePtr(val) ; val.thisown = 1
142 return val
143 def base_AddChild(self, *_args, **_kwargs):
144 val = apply(wizardc.wxPyWizardPage_base_AddChild,(self,) + _args, _kwargs)
145 return val
146 def base_RemoveChild(self, *_args, **_kwargs):
147 val = apply(wizardc.wxPyWizardPage_base_RemoveChild,(self,) + _args, _kwargs)
148 return val
149 def __repr__(self):
150 return "<C wxPyWizardPage instance at %s>" % (self.this,)
151class wxPyWizardPage(wxPyWizardPagePtr):
152 def __init__(self,*_args,**_kwargs):
153 self.this = apply(wizardc.new_wxPyWizardPage,_args,_kwargs)
154 self.thisown = 1
155 self._setCallbackInfo(self, wxPyWizardPage)
156 self._setOORInfo(self)
157
158
159
160def wxPrePyWizardPage(*_args,**_kwargs):
161 val = wxPyWizardPagePtr(apply(wizardc.new_wxPrePyWizardPage,_args,_kwargs))
162 val.thisown = 1
163 val._setOORInfo(val)
164 return val
165
166
167class wxWizardPageSimplePtr(wxWizardPagePtr):
168 def __init__(self,this):
169 self.this = this
170 self.thisown = 0
171 def Create(self, *_args, **_kwargs):
172 val = apply(wizardc.wxWizardPageSimple_Create,(self,) + _args, _kwargs)
173 return val
3e1f6ec4
RD
174 def SetPrev(self, *_args, **_kwargs):
175 val = apply(wizardc.wxWizardPageSimple_SetPrev,(self,) + _args, _kwargs)
176 return val
177 def SetNext(self, *_args, **_kwargs):
178 val = apply(wizardc.wxWizardPageSimple_SetNext,(self,) + _args, _kwargs)
179 return val
180 def __repr__(self):
181 return "<C wxWizardPageSimple instance at %s>" % (self.this,)
182class wxWizardPageSimple(wxWizardPageSimplePtr):
183 def __init__(self,*_args,**_kwargs):
184 self.this = apply(wizardc.new_wxWizardPageSimple,_args,_kwargs)
185 self.thisown = 1
186 self._setOORInfo(self)
187
188
189
190def wxPreWizardPageSimple(*_args,**_kwargs):
191 val = wxWizardPageSimplePtr(apply(wizardc.new_wxPreWizardPageSimple,_args,_kwargs))
192 val.thisown = 1
193 val._setOORInfo(val)
194 return val
195
196
197class wxWizardPtr(wxDialogPtr):
198 def __init__(self,this):
199 self.this = this
200 self.thisown = 0
201 def Create(self, *_args, **_kwargs):
202 val = apply(wizardc.wxWizard_Create,(self,) + _args, _kwargs)
203 return val
204 def Init(self, *_args, **_kwargs):
205 val = apply(wizardc.wxWizard_Init,(self,) + _args, _kwargs)
206 return val
207 def RunWizard(self, *_args, **_kwargs):
208 val = apply(wizardc.wxWizard_RunWizard,(self,) + _args, _kwargs)
209 return val
210 def GetCurrentPage(self, *_args, **_kwargs):
211 val = apply(wizardc.wxWizard_GetCurrentPage,(self,) + _args, _kwargs)
3e1f6ec4
RD
212 return val
213 def SetPageSize(self, *_args, **_kwargs):
214 val = apply(wizardc.wxWizard_SetPageSize,(self,) + _args, _kwargs)
215 return val
216 def GetPageSize(self, *_args, **_kwargs):
217 val = apply(wizardc.wxWizard_GetPageSize,(self,) + _args, _kwargs)
218 if val: val = wxSizePtr(val) ; val.thisown = 1
219 return val
220 def FitToPage(self, *_args, **_kwargs):
221 val = apply(wizardc.wxWizard_FitToPage,(self,) + _args, _kwargs)
222 return val
223 def IsRunning(self, *_args, **_kwargs):
224 val = apply(wizardc.wxWizard_IsRunning,(self,) + _args, _kwargs)
225 return val
226 def ShowPage(self, *_args, **_kwargs):
227 val = apply(wizardc.wxWizard_ShowPage,(self,) + _args, _kwargs)
228 return val
229 def __repr__(self):
230 return "<C wxWizard instance at %s>" % (self.this,)
231class wxWizard(wxWizardPtr):
232 def __init__(self,*_args,**_kwargs):
233 self.this = apply(wizardc.new_wxWizard,_args,_kwargs)
234 self.thisown = 1
235 self._setOORInfo(self)
236
237
238
239def wxPreWizard(*_args,**_kwargs):
240 val = wxWizardPtr(apply(wizardc.new_wxPreWizard,_args,_kwargs))
241 val.thisown = 1
242 val._setOORInfo(val)
243 return val
244
245
246
247
248#-------------- FUNCTION WRAPPERS ------------------
249
250wxWizardPageSimple_Chain = wizardc.wxWizardPageSimple_Chain
251
252
253
254#-------------- VARIABLE WRAPPERS ------------------
255
256wxWIZARD_EX_HELPBUTTON = wizardc.wxWIZARD_EX_HELPBUTTON
257wxEVT_WIZARD_PAGE_CHANGED = wizardc.wxEVT_WIZARD_PAGE_CHANGED
258wxEVT_WIZARD_PAGE_CHANGING = wizardc.wxEVT_WIZARD_PAGE_CHANGING
259wxEVT_WIZARD_CANCEL = wizardc.wxEVT_WIZARD_CANCEL
260wxEVT_WIZARD_HELP = wizardc.wxEVT_WIZARD_HELP
261
262
263#-------------- USER INCLUDE -----------------------
264
265# Stuff these names into the wx namespace so wxPyConstructObject can find them
266import wx
267wx.wxWizardEventPtr = wxWizardEventPtr