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