]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/cmndlgs.py
1 # This file was created automatically by SWIG.
12 from stattool
import *
14 from controls
import *
18 class wxColourDataPtr
:
19 def __init__(self
,this
):
22 def __del__(self
, cmndlgsc
=cmndlgsc
):
23 if self
.thisown
== 1 :
24 cmndlgsc
.delete_wxColourData(self
.this
)
25 def GetChooseFull(self
):
26 val
= cmndlgsc
.wxColourData_GetChooseFull(self
.this
)
29 val
= cmndlgsc
.wxColourData_GetColour(self
.this
)
30 val
= wxColourPtr(val
)
32 def GetCustomColour(self
,arg0
):
33 val
= cmndlgsc
.wxColourData_GetCustomColour(self
.this
,arg0
)
34 val
= wxColourPtr(val
)
37 def SetChooseFull(self
,arg0
):
38 val
= cmndlgsc
.wxColourData_SetChooseFull(self
.this
,arg0
)
40 def SetColour(self
,arg0
):
41 val
= cmndlgsc
.wxColourData_SetColour(self
.this
,arg0
.this
)
43 def SetCustomColour(self
,arg0
,arg1
):
44 val
= cmndlgsc
.wxColourData_SetCustomColour(self
.this
,arg0
,arg1
.this
)
47 return "<C wxColourData instance>"
48 class wxColourData(wxColourDataPtr
):
50 self
.this
= cmndlgsc
.new_wxColourData()
56 class wxColourDialogPtr(wxDialogPtr
):
57 def __init__(self
,this
):
60 def GetColourData(self
):
61 val
= cmndlgsc
.wxColourDialog_GetColourData(self
.this
)
62 val
= wxColourDataPtr(val
)
65 val
= cmndlgsc
.wxColourDialog_ShowModal(self
.this
)
68 return "<C wxColourDialog instance>"
69 class wxColourDialog(wxColourDialogPtr
):
70 def __init__(self
,arg0
,*args
) :
72 try: argl
[0] = argl
[0].this
75 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,(arg0
.this
,)+args
)
77 wx
._StdDialogCallbacks
(self
)
82 class wxDirDialogPtr(wxDialogPtr
):
83 def __init__(self
,this
):
87 val
= cmndlgsc
.wxDirDialog_GetPath(self
.this
)
90 val
= cmndlgsc
.wxDirDialog_GetMessage(self
.this
)
93 val
= cmndlgsc
.wxDirDialog_GetStyle(self
.this
)
95 def SetMessage(self
,arg0
):
96 val
= cmndlgsc
.wxDirDialog_SetMessage(self
.this
,arg0
)
98 def SetPath(self
,arg0
):
99 val
= cmndlgsc
.wxDirDialog_SetPath(self
.this
,arg0
)
102 val
= cmndlgsc
.wxDirDialog_ShowModal(self
.this
)
105 return "<C wxDirDialog instance>"
106 class wxDirDialog(wxDirDialogPtr
):
107 def __init__(self
,arg0
,*args
) :
108 argl
= map(None,args
)
109 try: argl
[3] = argl
[3].this
112 self
.this
= apply(cmndlgsc
.new_wxDirDialog
,(arg0
.this
,)+args
)
114 wx
._StdDialogCallbacks
(self
)
119 class wxFileDialogPtr(wxDialogPtr
):
120 def __init__(self
,this
):
123 def GetDirectory(self
):
124 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
126 def GetFilename(self
):
127 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
129 def GetFilterIndex(self
):
130 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
132 def GetMessage(self
):
133 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
136 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
139 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
141 def GetWildcard(self
):
142 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
144 def SetDirectory(self
,arg0
):
145 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
147 def SetFilename(self
,arg0
):
148 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
150 def SetFilterIndex(self
,arg0
):
151 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
153 def SetMessage(self
,arg0
):
154 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
156 def SetPath(self
,arg0
):
157 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
159 def SetStyle(self
,arg0
):
160 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
162 def SetWildcard(self
,arg0
):
163 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
166 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
169 return "<C wxFileDialog instance>"
170 class wxFileDialog(wxFileDialogPtr
):
171 def __init__(self
,arg0
,*args
) :
172 argl
= map(None,args
)
173 try: argl
[5] = argl
[5].this
176 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
178 wx
._StdDialogCallbacks
(self
)
183 class wxSingleChoiceDialogPtr(wxDialogPtr
):
184 def __init__(self
,this
):
187 def GetSelection(self
):
188 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
190 def GetStringSelection(self
):
191 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
193 def SetSelection(self
,arg0
):
194 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
197 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
200 return "<C wxSingleChoiceDialog instance>"
201 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
202 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
203 argl
= map(None,args
)
204 try: argl
[1] = argl
[1].this
207 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
209 wx
._StdDialogCallbacks
(self
)
214 class wxTextEntryDialogPtr(wxDialogPtr
):
215 def __init__(self
,this
):
219 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
221 def SetValue(self
,arg0
):
222 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
225 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
228 return "<C wxTextEntryDialog instance>"
229 class wxTextEntryDialog(wxTextEntryDialogPtr
):
230 def __init__(self
,arg0
,arg1
,*args
) :
231 argl
= map(None,args
)
232 try: argl
[3] = argl
[3].this
235 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
237 wx
._StdDialogCallbacks
(self
)
242 class wxFontDataPtr
:
243 def __init__(self
,this
):
246 def __del__(self
, cmndlgsc
=cmndlgsc
):
247 if self
.thisown
== 1 :
248 cmndlgsc
.delete_wxFontData(self
.this
)
249 def EnableEffects(self
,arg0
):
250 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
252 def GetAllowSymbols(self
):
253 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
256 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
257 val
= wxColourPtr(val
)
259 def GetChosenFont(self
):
260 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
264 def GetEnableEffects(self
):
265 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
267 def GetInitialFont(self
):
268 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
272 def GetShowHelp(self
):
273 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
275 def SetAllowSymbols(self
,arg0
):
276 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
278 def SetChosenFont(self
,arg0
):
279 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
281 def SetColour(self
,arg0
):
282 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
284 def SetInitialFont(self
,arg0
):
285 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
287 def SetRange(self
,arg0
,arg1
):
288 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
290 def SetShowHelp(self
,arg0
):
291 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
294 return "<C wxFontData instance>"
295 class wxFontData(wxFontDataPtr
):
297 self
.this
= cmndlgsc
.new_wxFontData()
303 class wxFontDialogPtr(wxDialogPtr
):
304 def __init__(self
,this
):
307 def GetFontData(self
):
308 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
309 val
= wxFontDataPtr(val
)
312 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
315 return "<C wxFontDialog instance>"
316 class wxFontDialog(wxFontDialogPtr
):
317 def __init__(self
,arg0
,*args
) :
318 argl
= map(None,args
)
319 try: argl
[0] = argl
[0].this
322 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
324 wx
._StdDialogCallbacks
(self
)
329 class wxMessageDialogPtr(wxDialogPtr
):
330 def __init__(self
,this
):
334 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
337 return "<C wxMessageDialog instance>"
338 class wxMessageDialog(wxMessageDialogPtr
):
339 def __init__(self
,arg0
,arg1
,*args
) :
340 argl
= map(None,args
)
341 try: argl
[2] = argl
[2].this
344 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
346 wx
._StdDialogCallbacks
(self
)
351 class wxProgressDialogPtr(wxFramePtr
):
352 def __init__(self
,this
):
355 def Update(self
,*args
):
356 val
= apply(cmndlgsc
.wxProgressDialog_Update
,(self
.this
,)+args
)
359 val
= cmndlgsc
.wxProgressDialog_Resume(self
.this
)
362 return "<C wxProgressDialog instance>"
363 class wxProgressDialog(wxProgressDialogPtr
):
364 def __init__(self
,arg0
,arg1
,*args
) :
365 argl
= map(None,args
)
366 try: argl
[1] = argl
[1].this
369 self
.this
= apply(cmndlgsc
.new_wxProgressDialog
,(arg0
,arg1
,)+args
)
377 #-------------- FUNCTION WRAPPERS ------------------
381 #-------------- VARIABLE WRAPPERS ------------------