1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
14 from stattool
import *
16 from controls
import *
20 class wxColourDataPtr
:
21 def __init__(self
,this
):
24 def __del__(self
,cmndlgsc
=cmndlgsc
):
25 if self
.thisown
== 1 :
26 cmndlgsc
.delete_wxColourData(self
)
27 def GetChooseFull(self
, *_args
, **_kwargs
):
28 val
= apply(cmndlgsc
.wxColourData_GetChooseFull
,(self
,) + _args
, _kwargs
)
30 def GetColour(self
, *_args
, **_kwargs
):
31 val
= apply(cmndlgsc
.wxColourData_GetColour
,(self
,) + _args
, _kwargs
)
32 if val
: val
= wxColourPtr(val
)
34 def GetCustomColour(self
, *_args
, **_kwargs
):
35 val
= apply(cmndlgsc
.wxColourData_GetCustomColour
,(self
,) + _args
, _kwargs
)
36 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
38 def SetChooseFull(self
, *_args
, **_kwargs
):
39 val
= apply(cmndlgsc
.wxColourData_SetChooseFull
,(self
,) + _args
, _kwargs
)
41 def SetColour(self
, *_args
, **_kwargs
):
42 val
= apply(cmndlgsc
.wxColourData_SetColour
,(self
,) + _args
, _kwargs
)
44 def SetCustomColour(self
, *_args
, **_kwargs
):
45 val
= apply(cmndlgsc
.wxColourData_SetCustomColour
,(self
,) + _args
, _kwargs
)
48 return "<C wxColourData instance at %s>" % (self
.this
,)
49 class wxColourData(wxColourDataPtr
):
50 def __init__(self
,*_args
,**_kwargs
):
51 self
.this
= apply(cmndlgsc
.new_wxColourData
,_args
,_kwargs
)
57 class wxColourDialogPtr(wxDialogPtr
):
58 def __init__(self
,this
):
61 def GetColourData(self
, *_args
, **_kwargs
):
62 val
= apply(cmndlgsc
.wxColourDialog_GetColourData
,(self
,) + _args
, _kwargs
)
63 if val
: val
= wxColourDataPtr(val
)
65 def ShowModal(self
, *_args
, **_kwargs
):
66 val
= apply(cmndlgsc
.wxColourDialog_ShowModal
,(self
,) + _args
, _kwargs
)
69 return "<C wxColourDialog instance at %s>" % (self
.this
,)
70 class wxColourDialog(wxColourDialogPtr
):
71 def __init__(self
,*_args
,**_kwargs
):
72 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,_args
,_kwargs
)
74 wx
._StdDialogCallbacks
(self
)
79 class wxDirDialogPtr(wxDialogPtr
):
80 def __init__(self
,this
):
83 def GetPath(self
, *_args
, **_kwargs
):
84 val
= apply(cmndlgsc
.wxDirDialog_GetPath
,(self
,) + _args
, _kwargs
)
86 def GetMessage(self
, *_args
, **_kwargs
):
87 val
= apply(cmndlgsc
.wxDirDialog_GetMessage
,(self
,) + _args
, _kwargs
)
89 def GetStyle(self
, *_args
, **_kwargs
):
90 val
= apply(cmndlgsc
.wxDirDialog_GetStyle
,(self
,) + _args
, _kwargs
)
92 def SetMessage(self
, *_args
, **_kwargs
):
93 val
= apply(cmndlgsc
.wxDirDialog_SetMessage
,(self
,) + _args
, _kwargs
)
95 def SetPath(self
, *_args
, **_kwargs
):
96 val
= apply(cmndlgsc
.wxDirDialog_SetPath
,(self
,) + _args
, _kwargs
)
98 def ShowModal(self
, *_args
, **_kwargs
):
99 val
= apply(cmndlgsc
.wxDirDialog_ShowModal
,(self
,) + _args
, _kwargs
)
102 return "<C wxDirDialog instance at %s>" % (self
.this
,)
103 class wxDirDialog(wxDirDialogPtr
):
104 def __init__(self
,*_args
,**_kwargs
):
105 self
.this
= apply(cmndlgsc
.new_wxDirDialog
,_args
,_kwargs
)
107 wx
._StdDialogCallbacks
(self
)
112 class wxFileDialogPtr(wxDialogPtr
):
113 def __init__(self
,this
):
116 def GetDirectory(self
, *_args
, **_kwargs
):
117 val
= apply(cmndlgsc
.wxFileDialog_GetDirectory
,(self
,) + _args
, _kwargs
)
119 def GetFilename(self
, *_args
, **_kwargs
):
120 val
= apply(cmndlgsc
.wxFileDialog_GetFilename
,(self
,) + _args
, _kwargs
)
122 def GetFilterIndex(self
, *_args
, **_kwargs
):
123 val
= apply(cmndlgsc
.wxFileDialog_GetFilterIndex
,(self
,) + _args
, _kwargs
)
125 def GetMessage(self
, *_args
, **_kwargs
):
126 val
= apply(cmndlgsc
.wxFileDialog_GetMessage
,(self
,) + _args
, _kwargs
)
128 def GetPath(self
, *_args
, **_kwargs
):
129 val
= apply(cmndlgsc
.wxFileDialog_GetPath
,(self
,) + _args
, _kwargs
)
131 def GetStyle(self
, *_args
, **_kwargs
):
132 val
= apply(cmndlgsc
.wxFileDialog_GetStyle
,(self
,) + _args
, _kwargs
)
134 def GetWildcard(self
, *_args
, **_kwargs
):
135 val
= apply(cmndlgsc
.wxFileDialog_GetWildcard
,(self
,) + _args
, _kwargs
)
137 def SetDirectory(self
, *_args
, **_kwargs
):
138 val
= apply(cmndlgsc
.wxFileDialog_SetDirectory
,(self
,) + _args
, _kwargs
)
140 def SetFilename(self
, *_args
, **_kwargs
):
141 val
= apply(cmndlgsc
.wxFileDialog_SetFilename
,(self
,) + _args
, _kwargs
)
143 def SetFilterIndex(self
, *_args
, **_kwargs
):
144 val
= apply(cmndlgsc
.wxFileDialog_SetFilterIndex
,(self
,) + _args
, _kwargs
)
146 def SetMessage(self
, *_args
, **_kwargs
):
147 val
= apply(cmndlgsc
.wxFileDialog_SetMessage
,(self
,) + _args
, _kwargs
)
149 def SetPath(self
, *_args
, **_kwargs
):
150 val
= apply(cmndlgsc
.wxFileDialog_SetPath
,(self
,) + _args
, _kwargs
)
152 def SetStyle(self
, *_args
, **_kwargs
):
153 val
= apply(cmndlgsc
.wxFileDialog_SetStyle
,(self
,) + _args
, _kwargs
)
155 def SetWildcard(self
, *_args
, **_kwargs
):
156 val
= apply(cmndlgsc
.wxFileDialog_SetWildcard
,(self
,) + _args
, _kwargs
)
158 def ShowModal(self
, *_args
, **_kwargs
):
159 val
= apply(cmndlgsc
.wxFileDialog_ShowModal
,(self
,) + _args
, _kwargs
)
162 return "<C wxFileDialog instance at %s>" % (self
.this
,)
163 class wxFileDialog(wxFileDialogPtr
):
164 def __init__(self
,*_args
,**_kwargs
):
165 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,_args
,_kwargs
)
167 wx
._StdDialogCallbacks
(self
)
172 class wxSingleChoiceDialogPtr(wxDialogPtr
):
173 def __init__(self
,this
):
176 def GetSelection(self
, *_args
, **_kwargs
):
177 val
= apply(cmndlgsc
.wxSingleChoiceDialog_GetSelection
,(self
,) + _args
, _kwargs
)
179 def GetStringSelection(self
, *_args
, **_kwargs
):
180 val
= apply(cmndlgsc
.wxSingleChoiceDialog_GetStringSelection
,(self
,) + _args
, _kwargs
)
182 def SetSelection(self
, *_args
, **_kwargs
):
183 val
= apply(cmndlgsc
.wxSingleChoiceDialog_SetSelection
,(self
,) + _args
, _kwargs
)
185 def ShowModal(self
, *_args
, **_kwargs
):
186 val
= apply(cmndlgsc
.wxSingleChoiceDialog_ShowModal
,(self
,) + _args
, _kwargs
)
189 return "<C wxSingleChoiceDialog instance at %s>" % (self
.this
,)
190 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
191 def __init__(self
,*_args
,**_kwargs
):
192 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,_args
,_kwargs
)
194 wx
._StdDialogCallbacks
(self
)
199 class wxTextEntryDialogPtr(wxDialogPtr
):
200 def __init__(self
,this
):
203 def GetValue(self
, *_args
, **_kwargs
):
204 val
= apply(cmndlgsc
.wxTextEntryDialog_GetValue
,(self
,) + _args
, _kwargs
)
206 def SetValue(self
, *_args
, **_kwargs
):
207 val
= apply(cmndlgsc
.wxTextEntryDialog_SetValue
,(self
,) + _args
, _kwargs
)
209 def ShowModal(self
, *_args
, **_kwargs
):
210 val
= apply(cmndlgsc
.wxTextEntryDialog_ShowModal
,(self
,) + _args
, _kwargs
)
213 return "<C wxTextEntryDialog instance at %s>" % (self
.this
,)
214 class wxTextEntryDialog(wxTextEntryDialogPtr
):
215 def __init__(self
,*_args
,**_kwargs
):
216 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,_args
,_kwargs
)
218 wx
._StdDialogCallbacks
(self
)
223 class wxFontDataPtr
:
224 def __init__(self
,this
):
227 def __del__(self
,cmndlgsc
=cmndlgsc
):
228 if self
.thisown
== 1 :
229 cmndlgsc
.delete_wxFontData(self
)
230 def EnableEffects(self
, *_args
, **_kwargs
):
231 val
= apply(cmndlgsc
.wxFontData_EnableEffects
,(self
,) + _args
, _kwargs
)
233 def GetAllowSymbols(self
, *_args
, **_kwargs
):
234 val
= apply(cmndlgsc
.wxFontData_GetAllowSymbols
,(self
,) + _args
, _kwargs
)
236 def GetColour(self
, *_args
, **_kwargs
):
237 val
= apply(cmndlgsc
.wxFontData_GetColour
,(self
,) + _args
, _kwargs
)
238 if val
: val
= wxColourPtr(val
)
240 def GetChosenFont(self
, *_args
, **_kwargs
):
241 val
= apply(cmndlgsc
.wxFontData_GetChosenFont
,(self
,) + _args
, _kwargs
)
242 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
244 def GetEnableEffects(self
, *_args
, **_kwargs
):
245 val
= apply(cmndlgsc
.wxFontData_GetEnableEffects
,(self
,) + _args
, _kwargs
)
247 def GetInitialFont(self
, *_args
, **_kwargs
):
248 val
= apply(cmndlgsc
.wxFontData_GetInitialFont
,(self
,) + _args
, _kwargs
)
249 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
251 def GetShowHelp(self
, *_args
, **_kwargs
):
252 val
= apply(cmndlgsc
.wxFontData_GetShowHelp
,(self
,) + _args
, _kwargs
)
254 def SetAllowSymbols(self
, *_args
, **_kwargs
):
255 val
= apply(cmndlgsc
.wxFontData_SetAllowSymbols
,(self
,) + _args
, _kwargs
)
257 def SetChosenFont(self
, *_args
, **_kwargs
):
258 val
= apply(cmndlgsc
.wxFontData_SetChosenFont
,(self
,) + _args
, _kwargs
)
260 def SetColour(self
, *_args
, **_kwargs
):
261 val
= apply(cmndlgsc
.wxFontData_SetColour
,(self
,) + _args
, _kwargs
)
263 def SetInitialFont(self
, *_args
, **_kwargs
):
264 val
= apply(cmndlgsc
.wxFontData_SetInitialFont
,(self
,) + _args
, _kwargs
)
266 def SetRange(self
, *_args
, **_kwargs
):
267 val
= apply(cmndlgsc
.wxFontData_SetRange
,(self
,) + _args
, _kwargs
)
269 def SetShowHelp(self
, *_args
, **_kwargs
):
270 val
= apply(cmndlgsc
.wxFontData_SetShowHelp
,(self
,) + _args
, _kwargs
)
273 return "<C wxFontData instance at %s>" % (self
.this
,)
274 class wxFontData(wxFontDataPtr
):
275 def __init__(self
,*_args
,**_kwargs
):
276 self
.this
= apply(cmndlgsc
.new_wxFontData
,_args
,_kwargs
)
282 class wxFontDialogPtr(wxDialogPtr
):
283 def __init__(self
,this
):
286 def GetFontData(self
, *_args
, **_kwargs
):
287 val
= apply(cmndlgsc
.wxFontDialog_GetFontData
,(self
,) + _args
, _kwargs
)
288 if val
: val
= wxFontDataPtr(val
)
290 def ShowModal(self
, *_args
, **_kwargs
):
291 val
= apply(cmndlgsc
.wxFontDialog_ShowModal
,(self
,) + _args
, _kwargs
)
294 return "<C wxFontDialog instance at %s>" % (self
.this
,)
295 class wxFontDialog(wxFontDialogPtr
):
296 def __init__(self
,*_args
,**_kwargs
):
297 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,_args
,_kwargs
)
299 wx
._StdDialogCallbacks
(self
)
304 class wxMessageDialogPtr(wxDialogPtr
):
305 def __init__(self
,this
):
308 def ShowModal(self
, *_args
, **_kwargs
):
309 val
= apply(cmndlgsc
.wxMessageDialog_ShowModal
,(self
,) + _args
, _kwargs
)
312 return "<C wxMessageDialog instance at %s>" % (self
.this
,)
313 class wxMessageDialog(wxMessageDialogPtr
):
314 def __init__(self
,*_args
,**_kwargs
):
315 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,_args
,_kwargs
)
317 wx
._StdDialogCallbacks
(self
)
322 class wxProgressDialogPtr(wxFramePtr
):
323 def __init__(self
,this
):
326 def Update(self
, *_args
, **_kwargs
):
327 val
= apply(cmndlgsc
.wxProgressDialog_Update
,(self
,) + _args
, _kwargs
)
329 def Resume(self
, *_args
, **_kwargs
):
330 val
= apply(cmndlgsc
.wxProgressDialog_Resume
,(self
,) + _args
, _kwargs
)
333 return "<C wxProgressDialog instance at %s>" % (self
.this
,)
334 class wxProgressDialog(wxProgressDialogPtr
):
335 def __init__(self
,*_args
,**_kwargs
):
336 self
.this
= apply(cmndlgsc
.new_wxProgressDialog
,_args
,_kwargs
)
344 #-------------- FUNCTION WRAPPERS ------------------
348 #-------------- VARIABLE WRAPPERS ------------------