]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/cmndlgs.py
Removing some ifdef's for wxGTK
[wxWidgets.git] / utils / wxPython / src / gtk / 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 class wxColourDataPtr :
10 def __init__(self,this):
11 self.this = this
12 self.thisown = 0
13 def __del__(self):
14 if self.thisown == 1 :
15 cmndlgsc.delete_wxColourData(self.this)
16 def GetChooseFull(self):
17 val = cmndlgsc.wxColourData_GetChooseFull(self.this)
18 return val
19 def GetColour(self):
20 val = cmndlgsc.wxColourData_GetColour(self.this)
21 val = wxColourPtr(val)
22 return val
23 def GetCustomColour(self,arg0):
24 val = cmndlgsc.wxColourData_GetCustomColour(self.this,arg0)
25 val = wxColourPtr(val)
26 val.thisown = 1
27 return val
28 def SetChooseFull(self,arg0):
29 val = cmndlgsc.wxColourData_SetChooseFull(self.this,arg0)
30 return val
31 def SetColour(self,arg0):
32 val = cmndlgsc.wxColourData_SetColour(self.this,arg0.this)
33 return val
34 def SetCustomColour(self,arg0,arg1):
35 val = cmndlgsc.wxColourData_SetCustomColour(self.this,arg0,arg1.this)
36 return val
37 def __repr__(self):
38 return "<C wxColourData instance>"
39 class wxColourData(wxColourDataPtr):
40 def __init__(self) :
41 self.this = cmndlgsc.new_wxColourData()
42 self.thisown = 1
43
44
45
46
47 class wxColourDialogPtr(wxDialogPtr):
48 def __init__(self,this):
49 self.this = this
50 self.thisown = 0
51 def GetColourData(self):
52 val = cmndlgsc.wxColourDialog_GetColourData(self.this)
53 val = wxColourDataPtr(val)
54 val.thisown = 1
55 return val
56 def ShowModal(self):
57 val = cmndlgsc.wxColourDialog_ShowModal(self.this)
58 return val
59 def __repr__(self):
60 return "<C wxColourDialog instance>"
61 class wxColourDialog(wxColourDialogPtr):
62 def __init__(self,arg0,*args) :
63 argl = map(None,args)
64 try: argl[0] = argl[0].this
65 except: pass
66 args = tuple(argl)
67 self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args)
68 self.thisown = 1
69 wxp._StdDialogCallbacks(self)
70
71
72
73
74 class wxFileDialogPtr(wxDialogPtr):
75 def __init__(self,this):
76 self.this = this
77 self.thisown = 0
78 def GetDirectory(self):
79 val = cmndlgsc.wxFileDialog_GetDirectory(self.this)
80 return val
81 def GetFilename(self):
82 val = cmndlgsc.wxFileDialog_GetFilename(self.this)
83 return val
84 def GetFilterIndex(self):
85 val = cmndlgsc.wxFileDialog_GetFilterIndex(self.this)
86 return val
87 def GetMessage(self):
88 val = cmndlgsc.wxFileDialog_GetMessage(self.this)
89 return val
90 def GetPath(self):
91 val = cmndlgsc.wxFileDialog_GetPath(self.this)
92 return val
93 def GetStyle(self):
94 val = cmndlgsc.wxFileDialog_GetStyle(self.this)
95 return val
96 def GetWildcard(self):
97 val = cmndlgsc.wxFileDialog_GetWildcard(self.this)
98 return val
99 def SetDirectory(self,arg0):
100 val = cmndlgsc.wxFileDialog_SetDirectory(self.this,arg0)
101 return val
102 def SetFilename(self,arg0):
103 val = cmndlgsc.wxFileDialog_SetFilename(self.this,arg0)
104 return val
105 def SetFilterIndex(self,arg0):
106 val = cmndlgsc.wxFileDialog_SetFilterIndex(self.this,arg0)
107 return val
108 def SetMessage(self,arg0):
109 val = cmndlgsc.wxFileDialog_SetMessage(self.this,arg0)
110 return val
111 def SetPath(self,arg0):
112 val = cmndlgsc.wxFileDialog_SetPath(self.this,arg0)
113 return val
114 def SetStyle(self,arg0):
115 val = cmndlgsc.wxFileDialog_SetStyle(self.this,arg0)
116 return val
117 def SetWildcard(self,arg0):
118 val = cmndlgsc.wxFileDialog_SetWildcard(self.this,arg0)
119 return val
120 def ShowModal(self):
121 val = cmndlgsc.wxFileDialog_ShowModal(self.this)
122 return val
123 def __repr__(self):
124 return "<C wxFileDialog instance>"
125 class wxFileDialog(wxFileDialogPtr):
126 def __init__(self,arg0,*args) :
127 argl = map(None,args)
128 try: argl[5] = argl[5].this
129 except: pass
130 args = tuple(argl)
131 self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args)
132 self.thisown = 1
133 wxp._StdDialogCallbacks(self)
134
135
136
137
138 class wxSingleChoiceDialogPtr(wxDialogPtr):
139 def __init__(self,this):
140 self.this = this
141 self.thisown = 0
142 def GetSelection(self):
143 val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self.this)
144 return val
145 def GetStringSelection(self):
146 val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self.this)
147 return val
148 def SetSelection(self,arg0):
149 val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self.this,arg0)
150 return val
151 def ShowModal(self):
152 val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self.this)
153 return val
154 def __repr__(self):
155 return "<C wxSingleChoiceDialog instance>"
156 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr):
157 def __init__(self,arg0,arg1,arg2,arg3,*args) :
158 argl = map(None,args)
159 try: argl[1] = argl[1].this
160 except: pass
161 args = tuple(argl)
162 self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args)
163 self.thisown = 1
164 wxp._StdDialogCallbacks(self)
165
166
167
168
169 class wxTextEntryDialogPtr(wxDialogPtr):
170 def __init__(self,this):
171 self.this = this
172 self.thisown = 0
173 def GetValue(self):
174 val = cmndlgsc.wxTextEntryDialog_GetValue(self.this)
175 return val
176 def SetValue(self,arg0):
177 val = cmndlgsc.wxTextEntryDialog_SetValue(self.this,arg0)
178 return val
179 def ShowModal(self):
180 val = cmndlgsc.wxTextEntryDialog_ShowModal(self.this)
181 return val
182 def __repr__(self):
183 return "<C wxTextEntryDialog instance>"
184 class wxTextEntryDialog(wxTextEntryDialogPtr):
185 def __init__(self,arg0,arg1,*args) :
186 argl = map(None,args)
187 try: argl[3] = argl[3].this
188 except: pass
189 args = tuple(argl)
190 self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args)
191 self.thisown = 1
192 wxp._StdDialogCallbacks(self)
193
194
195
196
197 class wxFontDataPtr :
198 def __init__(self,this):
199 self.this = this
200 self.thisown = 0
201 def __del__(self):
202 if self.thisown == 1 :
203 cmndlgsc.delete_wxFontData(self.this)
204 def EnableEffects(self,arg0):
205 val = cmndlgsc.wxFontData_EnableEffects(self.this,arg0)
206 return val
207 def GetAllowSymbols(self):
208 val = cmndlgsc.wxFontData_GetAllowSymbols(self.this)
209 return val
210 def GetColour(self):
211 val = cmndlgsc.wxFontData_GetColour(self.this)
212 val = wxColourPtr(val)
213 return val
214 def GetChosenFont(self):
215 val = cmndlgsc.wxFontData_GetChosenFont(self.this)
216 val = wxFontPtr(val)
217 val.thisown = 1
218 return val
219 def GetEnableEffects(self):
220 val = cmndlgsc.wxFontData_GetEnableEffects(self.this)
221 return val
222 def GetInitialFont(self):
223 val = cmndlgsc.wxFontData_GetInitialFont(self.this)
224 val = wxFontPtr(val)
225 val.thisown = 1
226 return val
227 def GetShowHelp(self):
228 val = cmndlgsc.wxFontData_GetShowHelp(self.this)
229 return val
230 def SetAllowSymbols(self,arg0):
231 val = cmndlgsc.wxFontData_SetAllowSymbols(self.this,arg0)
232 return val
233 def SetChosenFont(self,arg0):
234 val = cmndlgsc.wxFontData_SetChosenFont(self.this,arg0.this)
235 return val
236 def SetColour(self,arg0):
237 val = cmndlgsc.wxFontData_SetColour(self.this,arg0.this)
238 return val
239 def SetInitialFont(self,arg0):
240 val = cmndlgsc.wxFontData_SetInitialFont(self.this,arg0.this)
241 return val
242 def SetRange(self,arg0,arg1):
243 val = cmndlgsc.wxFontData_SetRange(self.this,arg0,arg1)
244 return val
245 def SetShowHelp(self,arg0):
246 val = cmndlgsc.wxFontData_SetShowHelp(self.this,arg0)
247 return val
248 def __repr__(self):
249 return "<C wxFontData instance>"
250 class wxFontData(wxFontDataPtr):
251 def __init__(self) :
252 self.this = cmndlgsc.new_wxFontData()
253 self.thisown = 1
254
255
256
257
258 class wxFontDialogPtr(wxDialogPtr):
259 def __init__(self,this):
260 self.this = this
261 self.thisown = 0
262 def GetFontData(self):
263 val = cmndlgsc.wxFontDialog_GetFontData(self.this)
264 val = wxFontDataPtr(val)
265 return val
266 def ShowModal(self):
267 val = cmndlgsc.wxFontDialog_ShowModal(self.this)
268 return val
269 def __repr__(self):
270 return "<C wxFontDialog instance>"
271 class wxFontDialog(wxFontDialogPtr):
272 def __init__(self,arg0,*args) :
273 argl = map(None,args)
274 try: argl[0] = argl[0].this
275 except: pass
276 args = tuple(argl)
277 self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args)
278 self.thisown = 1
279 wxp._StdDialogCallbacks(self)
280
281
282
283
284 class wxPageSetupDataPtr :
285 def __init__(self,this):
286 self.this = this
287 self.thisown = 0
288 def __del__(self):
289 if self.thisown == 1 :
290 cmndlgsc.delete_wxPageSetupData(self.this)
291 def EnableHelp(self,arg0):
292 val = cmndlgsc.wxPageSetupData_EnableHelp(self.this,arg0)
293 return val
294 def EnableMargins(self,arg0):
295 val = cmndlgsc.wxPageSetupData_EnableMargins(self.this,arg0)
296 return val
297 def EnableOrientation(self,arg0):
298 val = cmndlgsc.wxPageSetupData_EnableOrientation(self.this,arg0)
299 return val
300 def EnablePaper(self,arg0):
301 val = cmndlgsc.wxPageSetupData_EnablePaper(self.this,arg0)
302 return val
303 def EnablePrinter(self,arg0):
304 val = cmndlgsc.wxPageSetupData_EnablePrinter(self.this,arg0)
305 return val
306 def GetPaperSize(self):
307 val = cmndlgsc.wxPageSetupData_GetPaperSize(self.this)
308 val = wxPointPtr(val)
309 val.thisown = 1
310 return val
311 def GetMarginTopLeft(self):
312 val = cmndlgsc.wxPageSetupData_GetMarginTopLeft(self.this)
313 val = wxPointPtr(val)
314 val.thisown = 1
315 return val
316 def GetMarginBottomRight(self):
317 val = cmndlgsc.wxPageSetupData_GetMarginBottomRight(self.this)
318 val = wxPointPtr(val)
319 val.thisown = 1
320 return val
321 def GetMinMarginTopLeft(self):
322 val = cmndlgsc.wxPageSetupData_GetMinMarginTopLeft(self.this)
323 val = wxPointPtr(val)
324 val.thisown = 1
325 return val
326 def GetMinMarginBottomRight(self):
327 val = cmndlgsc.wxPageSetupData_GetMinMarginBottomRight(self.this)
328 val = wxPointPtr(val)
329 val.thisown = 1
330 return val
331 def GetOrientation(self):
332 val = cmndlgsc.wxPageSetupData_GetOrientation(self.this)
333 return val
334 def GetDefaultMinMargins(self):
335 val = cmndlgsc.wxPageSetupData_GetDefaultMinMargins(self.this)
336 return val
337 def GetEnableMargins(self):
338 val = cmndlgsc.wxPageSetupData_GetEnableMargins(self.this)
339 return val
340 def GetEnableOrientation(self):
341 val = cmndlgsc.wxPageSetupData_GetEnableOrientation(self.this)
342 return val
343 def GetEnablePaper(self):
344 val = cmndlgsc.wxPageSetupData_GetEnablePaper(self.this)
345 return val
346 def GetEnablePrinter(self):
347 val = cmndlgsc.wxPageSetupData_GetEnablePrinter(self.this)
348 return val
349 def GetEnableHelp(self):
350 val = cmndlgsc.wxPageSetupData_GetEnableHelp(self.this)
351 return val
352 def GetDefaultInfo(self):
353 val = cmndlgsc.wxPageSetupData_GetDefaultInfo(self.this)
354 return val
355 def SetPaperSize(self,arg0):
356 val = cmndlgsc.wxPageSetupData_SetPaperSize(self.this,arg0.this)
357 return val
358 def SetMarginTopLeft(self,arg0):
359 val = cmndlgsc.wxPageSetupData_SetMarginTopLeft(self.this,arg0.this)
360 return val
361 def SetMarginBottomRight(self,arg0):
362 val = cmndlgsc.wxPageSetupData_SetMarginBottomRight(self.this,arg0.this)
363 return val
364 def SetMinMarginTopLeft(self,arg0):
365 val = cmndlgsc.wxPageSetupData_SetMinMarginTopLeft(self.this,arg0.this)
366 return val
367 def SetMinMarginBottomRight(self,arg0):
368 val = cmndlgsc.wxPageSetupData_SetMinMarginBottomRight(self.this,arg0.this)
369 return val
370 def SetOrientation(self,arg0):
371 val = cmndlgsc.wxPageSetupData_SetOrientation(self.this,arg0)
372 return val
373 def SetDefaultMinMargins(self,arg0):
374 val = cmndlgsc.wxPageSetupData_SetDefaultMinMargins(self.this,arg0)
375 return val
376 def SetDefaultInfo(self,arg0):
377 val = cmndlgsc.wxPageSetupData_SetDefaultInfo(self.this,arg0)
378 return val
379 def __repr__(self):
380 return "<C wxPageSetupData instance>"
381 class wxPageSetupData(wxPageSetupDataPtr):
382 def __init__(self) :
383 self.this = cmndlgsc.new_wxPageSetupData()
384 self.thisown = 1
385
386
387
388
389 class wxPageSetupDialogPtr(wxDialogPtr):
390 def __init__(self,this):
391 self.this = this
392 self.thisown = 0
393 def GetPageSetupData(self):
394 val = cmndlgsc.wxPageSetupDialog_GetPageSetupData(self.this)
395 val = wxPageSetupDataPtr(val)
396 return val
397 def ShowModal(self):
398 val = cmndlgsc.wxPageSetupDialog_ShowModal(self.this)
399 return val
400 def __repr__(self):
401 return "<C wxPageSetupDialog instance>"
402 class wxPageSetupDialog(wxPageSetupDialogPtr):
403 def __init__(self,arg0,*args) :
404 argl = map(None,args)
405 try: argl[0] = argl[0].this
406 except: pass
407 args = tuple(argl)
408 self.this = apply(cmndlgsc.new_wxPageSetupDialog,(arg0.this,)+args)
409 self.thisown = 1
410 wxp._StdDialogCallbacks(self)
411
412
413
414
415 class wxPrintDataPtr :
416 def __init__(self,this):
417 self.this = this
418 self.thisown = 0
419 def __del__(self):
420 if self.thisown == 1 :
421 cmndlgsc.delete_wxPrintData(self.this)
422 def EnableHelp(self,arg0):
423 val = cmndlgsc.wxPrintData_EnableHelp(self.this,arg0)
424 return val
425 def EnablePageNumbers(self,arg0):
426 val = cmndlgsc.wxPrintData_EnablePageNumbers(self.this,arg0)
427 return val
428 def EnablePrintToFile(self,arg0):
429 val = cmndlgsc.wxPrintData_EnablePrintToFile(self.this,arg0)
430 return val
431 def EnableSelection(self,arg0):
432 val = cmndlgsc.wxPrintData_EnableSelection(self.this,arg0)
433 return val
434 def GetAllPages(self):
435 val = cmndlgsc.wxPrintData_GetAllPages(self.this)
436 return val
437 def GetCollate(self):
438 val = cmndlgsc.wxPrintData_GetCollate(self.this)
439 return val
440 def GetFromPage(self):
441 val = cmndlgsc.wxPrintData_GetFromPage(self.this)
442 return val
443 def GetMaxPage(self):
444 val = cmndlgsc.wxPrintData_GetMaxPage(self.this)
445 return val
446 def GetMinPage(self):
447 val = cmndlgsc.wxPrintData_GetMinPage(self.this)
448 return val
449 def GetNoCopies(self):
450 val = cmndlgsc.wxPrintData_GetNoCopies(self.this)
451 return val
452 def GetOrientation(self):
453 val = cmndlgsc.wxPrintData_GetOrientation(self.this)
454 return val
455 def GetToPage(self):
456 val = cmndlgsc.wxPrintData_GetToPage(self.this)
457 return val
458 def SetCollate(self,arg0):
459 val = cmndlgsc.wxPrintData_SetCollate(self.this,arg0)
460 return val
461 def SetFromPage(self,arg0):
462 val = cmndlgsc.wxPrintData_SetFromPage(self.this,arg0)
463 return val
464 def SetMaxPage(self,arg0):
465 val = cmndlgsc.wxPrintData_SetMaxPage(self.this,arg0)
466 return val
467 def SetMinPage(self,arg0):
468 val = cmndlgsc.wxPrintData_SetMinPage(self.this,arg0)
469 return val
470 def SetOrientation(self,arg0):
471 val = cmndlgsc.wxPrintData_SetOrientation(self.this,arg0)
472 return val
473 def SetNoCopies(self,arg0):
474 val = cmndlgsc.wxPrintData_SetNoCopies(self.this,arg0)
475 return val
476 def SetPrintToFile(self,arg0):
477 val = cmndlgsc.wxPrintData_SetPrintToFile(self.this,arg0)
478 return val
479 def SetSetupDialog(self,arg0):
480 val = cmndlgsc.wxPrintData_SetSetupDialog(self.this,arg0)
481 return val
482 def SetToPage(self,arg0):
483 val = cmndlgsc.wxPrintData_SetToPage(self.this,arg0)
484 return val
485 def __repr__(self):
486 return "<C wxPrintData instance>"
487 class wxPrintData(wxPrintDataPtr):
488 def __init__(self) :
489 self.this = cmndlgsc.new_wxPrintData()
490 self.thisown = 1
491
492
493
494
495 class wxPrintDialogPtr(wxDialogPtr):
496 def __init__(self,this):
497 self.this = this
498 self.thisown = 0
499 def GetPrintData(self):
500 val = cmndlgsc.wxPrintDialog_GetPrintData(self.this)
501 val = wxPrintDataPtr(val)
502 return val
503 def GetPrintDC(self):
504 val = cmndlgsc.wxPrintDialog_GetPrintDC(self.this)
505 val = wxDCPtr(val)
506 return val
507 def ShowModal(self):
508 val = cmndlgsc.wxPrintDialog_ShowModal(self.this)
509 return val
510 def __repr__(self):
511 return "<C wxPrintDialog instance>"
512 class wxPrintDialog(wxPrintDialogPtr):
513 def __init__(self,arg0,*args) :
514 argl = map(None,args)
515 try: argl[0] = argl[0].this
516 except: pass
517 args = tuple(argl)
518 self.this = apply(cmndlgsc.new_wxPrintDialog,(arg0.this,)+args)
519 self.thisown = 1
520 wxp._StdDialogCallbacks(self)
521
522
523
524
525 class wxMessageDialogPtr(wxDialogPtr):
526 def __init__(self,this):
527 self.this = this
528 self.thisown = 0
529 def ShowModal(self):
530 val = cmndlgsc.wxMessageDialog_ShowModal(self.this)
531 return val
532 def __repr__(self):
533 return "<C wxMessageDialog instance>"
534 class wxMessageDialog(wxMessageDialogPtr):
535 def __init__(self,arg0,arg1,*args) :
536 argl = map(None,args)
537 try: argl[2] = argl[2].this
538 except: pass
539 args = tuple(argl)
540 self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args)
541 self.thisown = 1
542 wxp._StdDialogCallbacks(self)
543
544
545
546
547
548
549 #-------------- FUNCTION WRAPPERS ------------------
550
551
552
553 #-------------- VARIABLE WRAPPERS ------------------
554