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