]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/cmndlgs.py
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / 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
9416aa89 20class wxColourDataPtr(wxObjectPtr):
8ab979d7
RD
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)
25832b3f 32 if val: val = wxColourPtr(val) ; val.thisown = 1
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
RD
73 self.thisown = 1
74
75
76
77
78class wxDirDialogPtr(wxDialogPtr):
79 def __init__(self,this):
80 self.this = this
81 self.thisown = 0
1d99702e
RD
82 def GetPath(self, *_args, **_kwargs):
83 val = apply(cmndlgsc.wxDirDialog_GetPath,(self,) + _args, _kwargs)
8ab979d7 84 return val
1d99702e
RD
85 def GetMessage(self, *_args, **_kwargs):
86 val = apply(cmndlgsc.wxDirDialog_GetMessage,(self,) + _args, _kwargs)
8ab979d7 87 return val
1d99702e
RD
88 def GetStyle(self, *_args, **_kwargs):
89 val = apply(cmndlgsc.wxDirDialog_GetStyle,(self,) + _args, _kwargs)
8ab979d7 90 return val
1d99702e
RD
91 def SetMessage(self, *_args, **_kwargs):
92 val = apply(cmndlgsc.wxDirDialog_SetMessage,(self,) + _args, _kwargs)
8ab979d7 93 return val
1d99702e
RD
94 def SetPath(self, *_args, **_kwargs):
95 val = apply(cmndlgsc.wxDirDialog_SetPath,(self,) + _args, _kwargs)
8ab979d7 96 return val
1d99702e
RD
97 def ShowModal(self, *_args, **_kwargs):
98 val = apply(cmndlgsc.wxDirDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
99 return val
100 def __repr__(self):
1d99702e 101 return "<C wxDirDialog instance at %s>" % (self.this,)
8ab979d7 102class wxDirDialog(wxDirDialogPtr):
1d99702e
RD
103 def __init__(self,*_args,**_kwargs):
104 self.this = apply(cmndlgsc.new_wxDirDialog,_args,_kwargs)
8ab979d7
RD
105 self.thisown = 1
106
107
108
109
110class wxFileDialogPtr(wxDialogPtr):
111 def __init__(self,this):
112 self.this = this
113 self.thisown = 0
1d99702e
RD
114 def GetDirectory(self, *_args, **_kwargs):
115 val = apply(cmndlgsc.wxFileDialog_GetDirectory,(self,) + _args, _kwargs)
8ab979d7 116 return val
1d99702e
RD
117 def GetFilename(self, *_args, **_kwargs):
118 val = apply(cmndlgsc.wxFileDialog_GetFilename,(self,) + _args, _kwargs)
8ab979d7 119 return val
1d99702e
RD
120 def GetFilterIndex(self, *_args, **_kwargs):
121 val = apply(cmndlgsc.wxFileDialog_GetFilterIndex,(self,) + _args, _kwargs)
8ab979d7 122 return val
1d99702e
RD
123 def GetMessage(self, *_args, **_kwargs):
124 val = apply(cmndlgsc.wxFileDialog_GetMessage,(self,) + _args, _kwargs)
8ab979d7 125 return val
1d99702e
RD
126 def GetPath(self, *_args, **_kwargs):
127 val = apply(cmndlgsc.wxFileDialog_GetPath,(self,) + _args, _kwargs)
8ab979d7 128 return val
1d99702e
RD
129 def GetStyle(self, *_args, **_kwargs):
130 val = apply(cmndlgsc.wxFileDialog_GetStyle,(self,) + _args, _kwargs)
8ab979d7 131 return val
1d99702e
RD
132 def GetWildcard(self, *_args, **_kwargs):
133 val = apply(cmndlgsc.wxFileDialog_GetWildcard,(self,) + _args, _kwargs)
8ab979d7 134 return val
1d99702e
RD
135 def SetDirectory(self, *_args, **_kwargs):
136 val = apply(cmndlgsc.wxFileDialog_SetDirectory,(self,) + _args, _kwargs)
8ab979d7 137 return val
1d99702e
RD
138 def SetFilename(self, *_args, **_kwargs):
139 val = apply(cmndlgsc.wxFileDialog_SetFilename,(self,) + _args, _kwargs)
8ab979d7 140 return val
1d99702e
RD
141 def SetFilterIndex(self, *_args, **_kwargs):
142 val = apply(cmndlgsc.wxFileDialog_SetFilterIndex,(self,) + _args, _kwargs)
8ab979d7 143 return val
1d99702e
RD
144 def SetMessage(self, *_args, **_kwargs):
145 val = apply(cmndlgsc.wxFileDialog_SetMessage,(self,) + _args, _kwargs)
8ab979d7 146 return val
1d99702e
RD
147 def SetPath(self, *_args, **_kwargs):
148 val = apply(cmndlgsc.wxFileDialog_SetPath,(self,) + _args, _kwargs)
8ab979d7 149 return val
1d99702e
RD
150 def SetStyle(self, *_args, **_kwargs):
151 val = apply(cmndlgsc.wxFileDialog_SetStyle,(self,) + _args, _kwargs)
8ab979d7 152 return val
1d99702e
RD
153 def SetWildcard(self, *_args, **_kwargs):
154 val = apply(cmndlgsc.wxFileDialog_SetWildcard,(self,) + _args, _kwargs)
8ab979d7 155 return val
1d99702e
RD
156 def ShowModal(self, *_args, **_kwargs):
157 val = apply(cmndlgsc.wxFileDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7 158 return val
f6bcfd97
BP
159 def GetFilenames(self, *_args, **_kwargs):
160 val = apply(cmndlgsc.wxFileDialog_GetFilenames,(self,) + _args, _kwargs)
161 return val
162 def GetPaths(self, *_args, **_kwargs):
163 val = apply(cmndlgsc.wxFileDialog_GetPaths,(self,) + _args, _kwargs)
164 return val
8ab979d7 165 def __repr__(self):
1d99702e 166 return "<C wxFileDialog instance at %s>" % (self.this,)
8ab979d7 167class wxFileDialog(wxFileDialogPtr):
1d99702e
RD
168 def __init__(self,*_args,**_kwargs):
169 self.this = apply(cmndlgsc.new_wxFileDialog,_args,_kwargs)
8ab979d7
RD
170 self.thisown = 1
171
172
173
174
175class wxSingleChoiceDialogPtr(wxDialogPtr):
176 def __init__(self,this):
177 self.this = this
178 self.thisown = 0
1d99702e
RD
179 def GetSelection(self, *_args, **_kwargs):
180 val = apply(cmndlgsc.wxSingleChoiceDialog_GetSelection,(self,) + _args, _kwargs)
8ab979d7 181 return val
1d99702e
RD
182 def GetStringSelection(self, *_args, **_kwargs):
183 val = apply(cmndlgsc.wxSingleChoiceDialog_GetStringSelection,(self,) + _args, _kwargs)
8ab979d7 184 return val
1d99702e
RD
185 def SetSelection(self, *_args, **_kwargs):
186 val = apply(cmndlgsc.wxSingleChoiceDialog_SetSelection,(self,) + _args, _kwargs)
8ab979d7 187 return val
1d99702e
RD
188 def ShowModal(self, *_args, **_kwargs):
189 val = apply(cmndlgsc.wxSingleChoiceDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
190 return val
191 def __repr__(self):
1d99702e 192 return "<C wxSingleChoiceDialog instance at %s>" % (self.this,)
8ab979d7 193class wxSingleChoiceDialog(wxSingleChoiceDialogPtr):
1d99702e
RD
194 def __init__(self,*_args,**_kwargs):
195 self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,_args,_kwargs)
8ab979d7
RD
196 self.thisown = 1
197
198
199
200
201class wxTextEntryDialogPtr(wxDialogPtr):
202 def __init__(self,this):
203 self.this = this
204 self.thisown = 0
1d99702e
RD
205 def GetValue(self, *_args, **_kwargs):
206 val = apply(cmndlgsc.wxTextEntryDialog_GetValue,(self,) + _args, _kwargs)
8ab979d7 207 return val
1d99702e
RD
208 def SetValue(self, *_args, **_kwargs):
209 val = apply(cmndlgsc.wxTextEntryDialog_SetValue,(self,) + _args, _kwargs)
8ab979d7 210 return val
1d99702e
RD
211 def ShowModal(self, *_args, **_kwargs):
212 val = apply(cmndlgsc.wxTextEntryDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
213 return val
214 def __repr__(self):
1d99702e 215 return "<C wxTextEntryDialog instance at %s>" % (self.this,)
8ab979d7 216class wxTextEntryDialog(wxTextEntryDialogPtr):
1d99702e
RD
217 def __init__(self,*_args,**_kwargs):
218 self.this = apply(cmndlgsc.new_wxTextEntryDialog,_args,_kwargs)
8ab979d7
RD
219 self.thisown = 1
220
221
222
223
9416aa89 224class wxFontDataPtr(wxObjectPtr):
8ab979d7
RD
225 def __init__(self,this):
226 self.this = this
227 self.thisown = 0
1d99702e 228 def __del__(self,cmndlgsc=cmndlgsc):
8ab979d7 229 if self.thisown == 1 :
1d99702e
RD
230 cmndlgsc.delete_wxFontData(self)
231 def EnableEffects(self, *_args, **_kwargs):
232 val = apply(cmndlgsc.wxFontData_EnableEffects,(self,) + _args, _kwargs)
8ab979d7 233 return val
1d99702e
RD
234 def GetAllowSymbols(self, *_args, **_kwargs):
235 val = apply(cmndlgsc.wxFontData_GetAllowSymbols,(self,) + _args, _kwargs)
8ab979d7 236 return val
1d99702e
RD
237 def GetColour(self, *_args, **_kwargs):
238 val = apply(cmndlgsc.wxFontData_GetColour,(self,) + _args, _kwargs)
25832b3f 239 if val: val = wxColourPtr(val) ; val.thisown = 1
8ab979d7 240 return val
1d99702e
RD
241 def GetChosenFont(self, *_args, **_kwargs):
242 val = apply(cmndlgsc.wxFontData_GetChosenFont,(self,) + _args, _kwargs)
243 if val: val = wxFontPtr(val) ; val.thisown = 1
8ab979d7 244 return val
1d99702e
RD
245 def GetEnableEffects(self, *_args, **_kwargs):
246 val = apply(cmndlgsc.wxFontData_GetEnableEffects,(self,) + _args, _kwargs)
8ab979d7 247 return val
1d99702e
RD
248 def GetInitialFont(self, *_args, **_kwargs):
249 val = apply(cmndlgsc.wxFontData_GetInitialFont,(self,) + _args, _kwargs)
250 if val: val = wxFontPtr(val) ; val.thisown = 1
8ab979d7 251 return val
1d99702e
RD
252 def GetShowHelp(self, *_args, **_kwargs):
253 val = apply(cmndlgsc.wxFontData_GetShowHelp,(self,) + _args, _kwargs)
8ab979d7 254 return val
1d99702e
RD
255 def SetAllowSymbols(self, *_args, **_kwargs):
256 val = apply(cmndlgsc.wxFontData_SetAllowSymbols,(self,) + _args, _kwargs)
8ab979d7 257 return val
1d99702e
RD
258 def SetChosenFont(self, *_args, **_kwargs):
259 val = apply(cmndlgsc.wxFontData_SetChosenFont,(self,) + _args, _kwargs)
8ab979d7 260 return val
1d99702e
RD
261 def SetColour(self, *_args, **_kwargs):
262 val = apply(cmndlgsc.wxFontData_SetColour,(self,) + _args, _kwargs)
8ab979d7 263 return val
1d99702e
RD
264 def SetInitialFont(self, *_args, **_kwargs):
265 val = apply(cmndlgsc.wxFontData_SetInitialFont,(self,) + _args, _kwargs)
8ab979d7 266 return val
1d99702e
RD
267 def SetRange(self, *_args, **_kwargs):
268 val = apply(cmndlgsc.wxFontData_SetRange,(self,) + _args, _kwargs)
8ab979d7 269 return val
1d99702e
RD
270 def SetShowHelp(self, *_args, **_kwargs):
271 val = apply(cmndlgsc.wxFontData_SetShowHelp,(self,) + _args, _kwargs)
8ab979d7
RD
272 return val
273 def __repr__(self):
1d99702e 274 return "<C wxFontData instance at %s>" % (self.this,)
8ab979d7 275class wxFontData(wxFontDataPtr):
1d99702e
RD
276 def __init__(self,*_args,**_kwargs):
277 self.this = apply(cmndlgsc.new_wxFontData,_args,_kwargs)
8ab979d7
RD
278 self.thisown = 1
279
280
281
282
283class wxFontDialogPtr(wxDialogPtr):
284 def __init__(self,this):
285 self.this = this
286 self.thisown = 0
1d99702e
RD
287 def GetFontData(self, *_args, **_kwargs):
288 val = apply(cmndlgsc.wxFontDialog_GetFontData,(self,) + _args, _kwargs)
289 if val: val = wxFontDataPtr(val)
8ab979d7 290 return val
1d99702e
RD
291 def ShowModal(self, *_args, **_kwargs):
292 val = apply(cmndlgsc.wxFontDialog_ShowModal,(self,) + _args, _kwargs)
8ab979d7
RD
293 return val
294 def __repr__(self):
1d99702e 295 return "<C wxFontDialog instance at %s>" % (self.this,)
8ab979d7 296class wxFontDialog(wxFontDialogPtr):
1d99702e
RD
297 def __init__(self,*_args,**_kwargs):
298 self.this = apply(cmndlgsc.new_wxFontDialog,_args,_kwargs)
8ab979d7
RD
299 self.thisown = 1
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
RD
316 self.thisown = 1
317
318
319
320
bb0054cd 321class wxProgressDialogPtr(wxFramePtr):
8ab979d7
RD
322 def __init__(self,this):
323 self.this = this
324 self.thisown = 0
1d99702e
RD
325 def Update(self, *_args, **_kwargs):
326 val = apply(cmndlgsc.wxProgressDialog_Update,(self,) + _args, _kwargs)
8ab979d7 327 return val
1d99702e
RD
328 def Resume(self, *_args, **_kwargs):
329 val = apply(cmndlgsc.wxProgressDialog_Resume,(self,) + _args, _kwargs)
8ab979d7
RD
330 return val
331 def __repr__(self):
1d99702e 332 return "<C wxProgressDialog instance at %s>" % (self.this,)
bb0054cd 333class wxProgressDialog(wxProgressDialogPtr):
1d99702e
RD
334 def __init__(self,*_args,**_kwargs):
335 self.this = apply(cmndlgsc.new_wxProgressDialog,_args,_kwargs)
8ab979d7
RD
336 self.thisown = 1
337
338
339
340
341
342
343#-------------- FUNCTION WRAPPERS ------------------
344
345
346
347#-------------- VARIABLE WRAPPERS ------------------
348