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