]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/cmndlgs.py
Reverted wxString members to const wxChar * for struct BugsGridData
[wxWidgets.git] / utils / wxPython / src / msw / cmndlgs.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import cmndlgsc
3
4from misc import *
5
6from gdi import *
7
8from windows import *
bb0054cd 9
b1462dfa
RD
10from clip_dnd import *
11
bb0054cd
RD
12from frames import *
13
14from stattool import *
15
16from controls import *
17
18from events import *
b8b8dda7 19import wx
8ab979d7
RD
20class wxColourDataPtr :
21 def __init__(self,this):
22 self.this = this
23 self.thisown = 0
1d99702e 24 def __del__(self,cmndlgsc=cmndlgsc):
8ab979d7 25 if self.thisown == 1 :
1d99702e
RD
26 cmndlgsc.delete_wxColourData(self)
27 def GetChooseFull(self, *_args, **_kwargs):
28 val = apply(cmndlgsc.wxColourData_GetChooseFull,(self,) + _args, _kwargs)
8ab979d7 29 return val
1d99702e
RD
30 def GetColour(self, *_args, **_kwargs):
31 val = apply(cmndlgsc.wxColourData_GetColour,(self,) + _args, _kwargs)
32 if val: val = wxColourPtr(val)
8ab979d7 33 return val
1d99702e
RD
34 def GetCustomColour(self, *_args, **_kwargs):
35 val = apply(cmndlgsc.wxColourData_GetCustomColour,(self,) + _args, _kwargs)
36 if val: val = wxColourPtr(val) ; val.thisown = 1
8ab979d7 37 return val
1d99702e
RD
38 def SetChooseFull(self, *_args, **_kwargs):
39 val = apply(cmndlgsc.wxColourData_SetChooseFull,(self,) + _args, _kwargs)
8ab979d7 40 return val
1d99702e
RD
41 def SetColour(self, *_args, **_kwargs):
42 val = apply(cmndlgsc.wxColourData_SetColour,(self,) + _args, _kwargs)
8ab979d7 43 return val
1d99702e
RD
44 def SetCustomColour(self, *_args, **_kwargs):
45 val = apply(cmndlgsc.wxColourData_SetCustomColour,(self,) + _args, _kwargs)
8ab979d7
RD
46 return val
47 def __repr__(self):
1d99702e 48 return "<C wxColourData instance at %s>" % (self.this,)
8ab979d7 49class wxColourData(wxColourDataPtr):
1d99702e
RD
50 def __init__(self,*_args,**_kwargs):
51 self.this = apply(cmndlgsc.new_wxColourData,_args,_kwargs)
8ab979d7
RD
52 self.thisown = 1
53
54
55
56
57class wxColourDialogPtr(wxDialogPtr):
58 def __init__(self,this):
59 self.this = this
60 self.thisown = 0
1d99702e
RD
61 def GetColourData(self, *_args, **_kwargs):
62 val = apply(cmndlgsc.wxColourDialog_GetColourData,(self,) + _args, _kwargs)
63 if val: val = wxColourDataPtr(val)
8ab979d7 64 return val
1d99702e
RD
65 def ShowModal(self, *_args, **_kwargs):
66 val = apply(cmndlgsc.wxColourDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
67 return val
68 def __repr__(self):
1d99702e 69 return "<C wxColourDialog instance at %s>" % (self.this,)
8ab979d7 70class wxColourDialog(wxColourDialogPtr):
1d99702e
RD
71 def __init__(self,*_args,**_kwargs):
72 self.this = apply(cmndlgsc.new_wxColourDialog,_args,_kwargs)
8ab979d7 73 self.thisown = 1
b8b8dda7 74 wx._StdDialogCallbacks(self)
8ab979d7
RD
75
76
77
78
79class wxDirDialogPtr(wxDialogPtr):
80 def __init__(self,this):
81 self.this = this
82 self.thisown = 0
1d99702e
RD
83 def GetPath(self, *_args, **_kwargs):
84 val = apply(cmndlgsc.wxDirDialog_GetPath,(self,) + _args, _kwargs)
8ab979d7 85 return val
1d99702e
RD
86 def GetMessage(self, *_args, **_kwargs):
87 val = apply(cmndlgsc.wxDirDialog_GetMessage,(self,) + _args, _kwargs)
8ab979d7 88 return val
1d99702e
RD
89 def GetStyle(self, *_args, **_kwargs):
90 val = apply(cmndlgsc.wxDirDialog_GetStyle,(self,) + _args, _kwargs)
8ab979d7 91 return val
1d99702e
RD
92 def SetMessage(self, *_args, **_kwargs):
93 val = apply(cmndlgsc.wxDirDialog_SetMessage,(self,) + _args, _kwargs)
8ab979d7 94 return val
1d99702e
RD
95 def SetPath(self, *_args, **_kwargs):
96 val = apply(cmndlgsc.wxDirDialog_SetPath,(self,) + _args, _kwargs)
8ab979d7 97 return val
1d99702e
RD
98 def ShowModal(self, *_args, **_kwargs):
99 val = apply(cmndlgsc.wxDirDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
100 return val
101 def __repr__(self):
1d99702e 102 return "<C wxDirDialog instance at %s>" % (self.this,)
8ab979d7 103class wxDirDialog(wxDirDialogPtr):
1d99702e
RD
104 def __init__(self,*_args,**_kwargs):
105 self.this = apply(cmndlgsc.new_wxDirDialog,_args,_kwargs)
8ab979d7 106 self.thisown = 1
b8b8dda7 107 wx._StdDialogCallbacks(self)
8ab979d7
RD
108
109
110
111
112class wxFileDialogPtr(wxDialogPtr):
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
1d99702e
RD
116 def GetDirectory(self, *_args, **_kwargs):
117 val = apply(cmndlgsc.wxFileDialog_GetDirectory,(self,) + _args, _kwargs)
8ab979d7 118 return val
1d99702e
RD
119 def GetFilename(self, *_args, **_kwargs):
120 val = apply(cmndlgsc.wxFileDialog_GetFilename,(self,) + _args, _kwargs)
8ab979d7 121 return val
1d99702e
RD
122 def GetFilterIndex(self, *_args, **_kwargs):
123 val = apply(cmndlgsc.wxFileDialog_GetFilterIndex,(self,) + _args, _kwargs)
8ab979d7 124 return val
1d99702e
RD
125 def GetMessage(self, *_args, **_kwargs):
126 val = apply(cmndlgsc.wxFileDialog_GetMessage,(self,) + _args, _kwargs)
8ab979d7 127 return val
1d99702e
RD
128 def GetPath(self, *_args, **_kwargs):
129 val = apply(cmndlgsc.wxFileDialog_GetPath,(self,) + _args, _kwargs)
8ab979d7 130 return val
1d99702e
RD
131 def GetStyle(self, *_args, **_kwargs):
132 val = apply(cmndlgsc.wxFileDialog_GetStyle,(self,) + _args, _kwargs)
8ab979d7 133 return val
1d99702e
RD
134 def GetWildcard(self, *_args, **_kwargs):
135 val = apply(cmndlgsc.wxFileDialog_GetWildcard,(self,) + _args, _kwargs)
8ab979d7 136 return val
1d99702e
RD
137 def SetDirectory(self, *_args, **_kwargs):
138 val = apply(cmndlgsc.wxFileDialog_SetDirectory,(self,) + _args, _kwargs)
8ab979d7 139 return val
1d99702e
RD
140 def SetFilename(self, *_args, **_kwargs):
141 val = apply(cmndlgsc.wxFileDialog_SetFilename,(self,) + _args, _kwargs)
8ab979d7 142 return val
1d99702e
RD
143 def SetFilterIndex(self, *_args, **_kwargs):
144 val = apply(cmndlgsc.wxFileDialog_SetFilterIndex,(self,) + _args, _kwargs)
8ab979d7 145 return val
1d99702e
RD
146 def SetMessage(self, *_args, **_kwargs):
147 val = apply(cmndlgsc.wxFileDialog_SetMessage,(self,) + _args, _kwargs)
8ab979d7 148 return val
1d99702e
RD
149 def SetPath(self, *_args, **_kwargs):
150 val = apply(cmndlgsc.wxFileDialog_SetPath,(self,) + _args, _kwargs)
8ab979d7 151 return val
1d99702e
RD
152 def SetStyle(self, *_args, **_kwargs):
153 val = apply(cmndlgsc.wxFileDialog_SetStyle,(self,) + _args, _kwargs)
8ab979d7 154 return val
1d99702e
RD
155 def SetWildcard(self, *_args, **_kwargs):
156 val = apply(cmndlgsc.wxFileDialog_SetWildcard,(self,) + _args, _kwargs)
8ab979d7 157 return val
1d99702e
RD
158 def ShowModal(self, *_args, **_kwargs):
159 val = apply(cmndlgsc.wxFileDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
160 return val
161 def __repr__(self):
1d99702e 162 return "<C wxFileDialog instance at %s>" % (self.this,)
8ab979d7 163class wxFileDialog(wxFileDialogPtr):
1d99702e
RD
164 def __init__(self,*_args,**_kwargs):
165 self.this = apply(cmndlgsc.new_wxFileDialog,_args,_kwargs)
8ab979d7 166 self.thisown = 1
b8b8dda7 167 wx._StdDialogCallbacks(self)
8ab979d7
RD
168
169
170
171
172class wxSingleChoiceDialogPtr(wxDialogPtr):
173 def __init__(self,this):
174 self.this = this
175 self.thisown = 0
1d99702e
RD
176 def GetSelection(self, *_args, **_kwargs):
177 val = apply(cmndlgsc.wxSingleChoiceDialog_GetSelection,(self,) + _args, _kwargs)
8ab979d7 178 return val
1d99702e
RD
179 def GetStringSelection(self, *_args, **_kwargs):
180 val = apply(cmndlgsc.wxSingleChoiceDialog_GetStringSelection,(self,) + _args, _kwargs)
8ab979d7 181 return val
1d99702e
RD
182 def SetSelection(self, *_args, **_kwargs):
183 val = apply(cmndlgsc.wxSingleChoiceDialog_SetSelection,(self,) + _args, _kwargs)
8ab979d7 184 return val
1d99702e
RD
185 def ShowModal(self, *_args, **_kwargs):
186 val = apply(cmndlgsc.wxSingleChoiceDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
187 return val
188 def __repr__(self):
1d99702e 189 return "<C wxSingleChoiceDialog instance at %s>" % (self.this,)
8ab979d7 190class wxSingleChoiceDialog(wxSingleChoiceDialogPtr):
1d99702e
RD
191 def __init__(self,*_args,**_kwargs):
192 self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,_args,_kwargs)
8ab979d7 193 self.thisown = 1
b8b8dda7 194 wx._StdDialogCallbacks(self)
8ab979d7
RD
195
196
197
198
199class wxTextEntryDialogPtr(wxDialogPtr):
200 def __init__(self,this):
201 self.this = this
202 self.thisown = 0
1d99702e
RD
203 def GetValue(self, *_args, **_kwargs):
204 val = apply(cmndlgsc.wxTextEntryDialog_GetValue,(self,) + _args, _kwargs)
8ab979d7 205 return val
1d99702e
RD
206 def SetValue(self, *_args, **_kwargs):
207 val = apply(cmndlgsc.wxTextEntryDialog_SetValue,(self,) + _args, _kwargs)
8ab979d7 208 return val
1d99702e
RD
209 def ShowModal(self, *_args, **_kwargs):
210 val = apply(cmndlgsc.wxTextEntryDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
211 return val
212 def __repr__(self):
1d99702e 213 return "<C wxTextEntryDialog instance at %s>" % (self.this,)
8ab979d7 214class wxTextEntryDialog(wxTextEntryDialogPtr):
1d99702e
RD
215 def __init__(self,*_args,**_kwargs):
216 self.this = apply(cmndlgsc.new_wxTextEntryDialog,_args,_kwargs)
8ab979d7 217 self.thisown = 1
b8b8dda7 218 wx._StdDialogCallbacks(self)
8ab979d7
RD
219
220
221
222
223class wxFontDataPtr :
224 def __init__(self,this):
225 self.this = this
226 self.thisown = 0
1d99702e 227 def __del__(self,cmndlgsc=cmndlgsc):
8ab979d7 228 if self.thisown == 1 :
1d99702e
RD
229 cmndlgsc.delete_wxFontData(self)
230 def EnableEffects(self, *_args, **_kwargs):
231 val = apply(cmndlgsc.wxFontData_EnableEffects,(self,) + _args, _kwargs)
8ab979d7 232 return val
1d99702e
RD
233 def GetAllowSymbols(self, *_args, **_kwargs):
234 val = apply(cmndlgsc.wxFontData_GetAllowSymbols,(self,) + _args, _kwargs)
8ab979d7 235 return val
1d99702e
RD
236 def GetColour(self, *_args, **_kwargs):
237 val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs)
238 if val: val = wxColourPtr(val)
8ab979d7 239 return val
1d99702e
RD
240 def GetChosenFont(self, *_args, **_kwargs):
241 val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs)
242 if val: val = wxFontPtr(val) ; val.thisown = 1
8ab979d7 243 return val
1d99702e
RD
244 def GetEnableEffects(self, *_args, **_kwargs):
245 val = apply(cmndlgsc.wxFontData_GetEnableEffects,(self,) + _args, _kwargs)
8ab979d7 246 return val
1d99702e
RD
247 def GetInitialFont(self, *_args, **_kwargs):
248 val = apply(cmndlgsc.wxFontData_GetInitialFont,(self,) + _args, _kwargs)
249 if val: val = wxFontPtr(val) ; val.thisown = 1
8ab979d7 250 return val
1d99702e
RD
251 def GetShowHelp(self, *_args, **_kwargs):
252 val = apply(cmndlgsc.wxFontData_GetShowHelp,(self,) + _args, _kwargs)
8ab979d7 253 return val
1d99702e
RD
254 def SetAllowSymbols(self, *_args, **_kwargs):
255 val = apply(cmndlgsc.wxFontData_SetAllowSymbols,(self,) + _args, _kwargs)
8ab979d7 256 return val
1d99702e
RD
257 def SetChosenFont(self, *_args, **_kwargs):
258 val = apply(cmndlgsc.wxFontData_SetChosenFont,(self,) + _args, _kwargs)
8ab979d7 259 return val
1d99702e
RD
260 def SetColour(self, *_args, **_kwargs):
261 val = apply(cmndlgsc.wxFontData_SetColour,(self,) + _args, _kwargs)
8ab979d7 262 return val
1d99702e
RD
263 def SetInitialFont(self, *_args, **_kwargs):
264 val = apply(cmndlgsc.wxFontData_SetInitialFont,(self,) + _args, _kwargs)
8ab979d7 265 return val
1d99702e
RD
266 def SetRange(self, *_args, **_kwargs):
267 val = apply(cmndlgsc.wxFontData_SetRange,(self,) + _args, _kwargs)
8ab979d7 268 return val
1d99702e
RD
269 def SetShowHelp(self, *_args, **_kwargs):
270 val = apply(cmndlgsc.wxFontData_SetShowHelp,(self,) + _args, _kwargs)
8ab979d7
RD
271 return val
272 def __repr__(self):
1d99702e 273 return "<C wxFontData instance at %s>" % (self.this,)
8ab979d7 274class wxFontData(wxFontDataPtr):
1d99702e
RD
275 def __init__(self,*_args,**_kwargs):
276 self.this = apply(cmndlgsc.new_wxFontData,_args,_kwargs)
8ab979d7
RD
277 self.thisown = 1
278
279
280
281
282class wxFontDialogPtr(wxDialogPtr):
283 def __init__(self,this):
284 self.this = this
285 self.thisown = 0
1d99702e
RD
286 def GetFontData(self, *_args, **_kwargs):
287 val = apply(cmndlgsc.wxFontDialog_GetFontData,(self,) + _args, _kwargs)
288 if val: val = wxFontDataPtr(val)
8ab979d7 289 return val
1d99702e
RD
290 def ShowModal(self, *_args, **_kwargs):
291 val = apply(cmndlgsc.wxFontDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
292 return val
293 def __repr__(self):
1d99702e 294 return "<C wxFontDialog instance at %s>" % (self.this,)
8ab979d7 295class wxFontDialog(wxFontDialogPtr):
1d99702e
RD
296 def __init__(self,*_args,**_kwargs):
297 self.this = apply(cmndlgsc.new_wxFontDialog,_args,_kwargs)
8ab979d7 298 self.thisown = 1
b8b8dda7 299 wx._StdDialogCallbacks(self)
8ab979d7
RD
300
301
302
303
bb0054cd 304class wxMessageDialogPtr(wxDialogPtr):
8ab979d7
RD
305 def __init__(self,this):
306 self.this = this
307 self.thisown = 0
1d99702e
RD
308 def ShowModal(self, *_args, **_kwargs):
309 val = apply(cmndlgsc.wxMessageDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
310 return val
311 def __repr__(self):
1d99702e 312 return "<C wxMessageDialog instance at %s>" % (self.this,)
bb0054cd 313class wxMessageDialog(wxMessageDialogPtr):
1d99702e
RD
314 def __init__(self,*_args,**_kwargs):
315 self.this = apply(cmndlgsc.new_wxMessageDialog,_args,_kwargs)
8ab979d7 316 self.thisown = 1
b8b8dda7 317 wx._StdDialogCallbacks(self)
8ab979d7
RD
318
319
320
321
bb0054cd 322class wxProgressDialogPtr(wxFramePtr):
8ab979d7
RD
323 def __init__(self,this):
324 self.this = this
325 self.thisown = 0
1d99702e
RD
326 def Update(self, *_args, **_kwargs):
327 val = apply(cmndlgsc.wxProgressDialog_Update,(self,) + _args, _kwargs)
8ab979d7 328 return val
1d99702e
RD
329 def Resume(self, *_args, **_kwargs):
330 val = apply(cmndlgsc.wxProgressDialog_Resume,(self,) + _args, _kwargs)
8ab979d7
RD
331 return val
332 def __repr__(self):
1d99702e 333 return "<C wxProgressDialog instance at %s>" % (self.this,)
bb0054cd 334class wxProgressDialog(wxProgressDialogPtr):
1d99702e
RD
335 def __init__(self,*_args,**_kwargs):
336 self.this = apply(cmndlgsc.new_wxProgressDialog,_args,_kwargs)
8ab979d7
RD
337 self.thisown = 1
338
339
340
341
342
343
344#-------------- FUNCTION WRAPPERS ------------------
345
346
347
348#-------------- VARIABLE WRAPPERS ------------------
349