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