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