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