]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/cmndlgs.py
1 # This file was created automatically by SWIG.
10 class wxColourDataPtr
:
11 def __init__(self
,this
):
15 if self
.thisown
== 1 :
16 cmndlgsc
.delete_wxColourData(self
.this
)
17 def GetChooseFull(self
):
18 val
= cmndlgsc
.wxColourData_GetChooseFull(self
.this
)
21 val
= cmndlgsc
.wxColourData_GetColour(self
.this
)
22 val
= wxColourPtr(val
)
24 def GetCustomColour(self
,arg0
):
25 val
= cmndlgsc
.wxColourData_GetCustomColour(self
.this
,arg0
)
26 val
= wxColourPtr(val
)
29 def SetChooseFull(self
,arg0
):
30 val
= cmndlgsc
.wxColourData_SetChooseFull(self
.this
,arg0
)
32 def SetColour(self
,arg0
):
33 val
= cmndlgsc
.wxColourData_SetColour(self
.this
,arg0
.this
)
35 def SetCustomColour(self
,arg0
,arg1
):
36 val
= cmndlgsc
.wxColourData_SetCustomColour(self
.this
,arg0
,arg1
.this
)
39 return "<C wxColourData instance>"
40 class wxColourData(wxColourDataPtr
):
42 self
.this
= cmndlgsc
.new_wxColourData()
48 class wxColourDialogPtr(wxDialogPtr
):
49 def __init__(self
,this
):
52 def GetColourData(self
):
53 val
= cmndlgsc
.wxColourDialog_GetColourData(self
.this
)
54 val
= wxColourDataPtr(val
)
57 val
= cmndlgsc
.wxColourDialog_ShowModal(self
.this
)
60 return "<C wxColourDialog instance>"
61 class wxColourDialog(wxColourDialogPtr
):
62 def __init__(self
,arg0
,*args
) :
64 try: argl
[0] = argl
[0].this
67 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,(arg0
.this
,)+args
)
69 wx
._StdDialogCallbacks
(self
)
74 class wxDirDialogPtr(wxDialogPtr
):
75 def __init__(self
,this
):
79 val
= cmndlgsc
.wxDirDialog_GetPath(self
.this
)
82 val
= cmndlgsc
.wxDirDialog_GetMessage(self
.this
)
85 val
= cmndlgsc
.wxDirDialog_GetStyle(self
.this
)
87 def SetMessage(self
,arg0
):
88 val
= cmndlgsc
.wxDirDialog_SetMessage(self
.this
,arg0
)
90 def SetPath(self
,arg0
):
91 val
= cmndlgsc
.wxDirDialog_SetPath(self
.this
,arg0
)
94 val
= cmndlgsc
.wxDirDialog_ShowModal(self
.this
)
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
104 self
.this
= apply(cmndlgsc
.new_wxDirDialog
,(arg0
.this
,)+args
)
106 wx
._StdDialogCallbacks
(self
)
111 class wxFileDialogPtr(wxDialogPtr
):
112 def __init__(self
,this
):
115 def GetDirectory(self
):
116 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
118 def GetFilename(self
):
119 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
121 def GetFilterIndex(self
):
122 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
124 def GetMessage(self
):
125 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
128 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
131 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
133 def GetWildcard(self
):
134 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
136 def SetDirectory(self
,arg0
):
137 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
139 def SetFilename(self
,arg0
):
140 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
142 def SetFilterIndex(self
,arg0
):
143 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
145 def SetMessage(self
,arg0
):
146 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
148 def SetPath(self
,arg0
):
149 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
151 def SetStyle(self
,arg0
):
152 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
154 def SetWildcard(self
,arg0
):
155 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
158 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
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
168 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
170 wx
._StdDialogCallbacks
(self
)
175 class wxSingleChoiceDialogPtr(wxDialogPtr
):
176 def __init__(self
,this
):
179 def GetSelection(self
):
180 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
182 def GetStringSelection(self
):
183 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
185 def SetSelection(self
,arg0
):
186 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
189 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
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
199 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
201 wx
._StdDialogCallbacks
(self
)
206 class wxTextEntryDialogPtr(wxDialogPtr
):
207 def __init__(self
,this
):
211 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
213 def SetValue(self
,arg0
):
214 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
217 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
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
227 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
229 wx
._StdDialogCallbacks
(self
)
234 class wxFontDataPtr
:
235 def __init__(self
,this
):
239 if self
.thisown
== 1 :
240 cmndlgsc
.delete_wxFontData(self
.this
)
241 def EnableEffects(self
,arg0
):
242 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
244 def GetAllowSymbols(self
):
245 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
248 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
249 val
= wxColourPtr(val
)
251 def GetChosenFont(self
):
252 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
256 def GetEnableEffects(self
):
257 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
259 def GetInitialFont(self
):
260 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
264 def GetShowHelp(self
):
265 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
267 def SetAllowSymbols(self
,arg0
):
268 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
270 def SetChosenFont(self
,arg0
):
271 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
273 def SetColour(self
,arg0
):
274 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
276 def SetInitialFont(self
,arg0
):
277 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
279 def SetRange(self
,arg0
,arg1
):
280 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
282 def SetShowHelp(self
,arg0
):
283 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
286 return "<C wxFontData instance>"
287 class wxFontData(wxFontDataPtr
):
289 self
.this
= cmndlgsc
.new_wxFontData()
295 class wxFontDialogPtr(wxDialogPtr
):
296 def __init__(self
,this
):
299 def GetFontData(self
):
300 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
301 val
= wxFontDataPtr(val
)
304 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
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
314 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
316 wx
._StdDialogCallbacks
(self
)
321 class wxPageSetupDialogDataPtr
:
322 def __init__(self
,this
):
326 if self
.thisown
== 1 :
327 cmndlgsc
.delete_wxPageSetupDialogData(self
.this
)
328 def EnableHelp(self
,arg0
):
329 val
= cmndlgsc
.wxPageSetupDialogData_EnableHelp(self
.this
,arg0
)
331 def EnableMargins(self
,arg0
):
332 val
= cmndlgsc
.wxPageSetupDialogData_EnableMargins(self
.this
,arg0
)
334 def EnableOrientation(self
,arg0
):
335 val
= cmndlgsc
.wxPageSetupDialogData_EnableOrientation(self
.this
,arg0
)
337 def EnablePaper(self
,arg0
):
338 val
= cmndlgsc
.wxPageSetupDialogData_EnablePaper(self
.this
,arg0
)
340 def EnablePrinter(self
,arg0
):
341 val
= cmndlgsc
.wxPageSetupDialogData_EnablePrinter(self
.this
,arg0
)
343 def GetDefaultMinMargins(self
):
344 val
= cmndlgsc
.wxPageSetupDialogData_GetDefaultMinMargins(self
.this
)
346 def GetEnableMargins(self
):
347 val
= cmndlgsc
.wxPageSetupDialogData_GetEnableMargins(self
.this
)
349 def GetEnableOrientation(self
):
350 val
= cmndlgsc
.wxPageSetupDialogData_GetEnableOrientation(self
.this
)
352 def GetEnablePaper(self
):
353 val
= cmndlgsc
.wxPageSetupDialogData_GetEnablePaper(self
.this
)
355 def GetEnablePrinter(self
):
356 val
= cmndlgsc
.wxPageSetupDialogData_GetEnablePrinter(self
.this
)
358 def GetEnableHelp(self
):
359 val
= cmndlgsc
.wxPageSetupDialogData_GetEnableHelp(self
.this
)
361 def GetDefaultInfo(self
):
362 val
= cmndlgsc
.wxPageSetupDialogData_GetDefaultInfo(self
.this
)
364 def GetMarginTopLeft(self
):
365 val
= cmndlgsc
.wxPageSetupDialogData_GetMarginTopLeft(self
.this
)
366 val
= wxPointPtr(val
)
369 def GetMarginBottomRight(self
):
370 val
= cmndlgsc
.wxPageSetupDialogData_GetMarginBottomRight(self
.this
)
371 val
= wxPointPtr(val
)
374 def GetMinMarginTopLeft(self
):
375 val
= cmndlgsc
.wxPageSetupDialogData_GetMinMarginTopLeft(self
.this
)
376 val
= wxPointPtr(val
)
379 def GetMinMarginBottomRight(self
):
380 val
= cmndlgsc
.wxPageSetupDialogData_GetMinMarginBottomRight(self
.this
)
381 val
= wxPointPtr(val
)
384 def GetPaperId(self
):
385 val
= cmndlgsc
.wxPageSetupDialogData_GetPaperId(self
.this
)
387 def GetPaperSize(self
):
388 val
= cmndlgsc
.wxPageSetupDialogData_GetPaperSize(self
.this
)
392 def GetPrintData(self
):
393 val
= cmndlgsc
.wxPageSetupDialogData_GetPrintData(self
.this
)
394 val
= wxPrintDataPtr(val
)
396 def SetDefaultInfo(self
,arg0
):
397 val
= cmndlgsc
.wxPageSetupDialogData_SetDefaultInfo(self
.this
,arg0
)
399 def SetDefaultMinMargins(self
,arg0
):
400 val
= cmndlgsc
.wxPageSetupDialogData_SetDefaultMinMargins(self
.this
,arg0
)
402 def SetMarginTopLeft(self
,arg0
):
403 val
= cmndlgsc
.wxPageSetupDialogData_SetMarginTopLeft(self
.this
,arg0
.this
)
405 def SetMarginBottomRight(self
,arg0
):
406 val
= cmndlgsc
.wxPageSetupDialogData_SetMarginBottomRight(self
.this
,arg0
.this
)
408 def SetMinMarginTopLeft(self
,arg0
):
409 val
= cmndlgsc
.wxPageSetupDialogData_SetMinMarginTopLeft(self
.this
,arg0
.this
)
411 def SetMinMarginBottomRight(self
,arg0
):
412 val
= cmndlgsc
.wxPageSetupDialogData_SetMinMarginBottomRight(self
.this
,arg0
.this
)
414 def SetPaperId(self
,arg0
):
415 val
= cmndlgsc
.wxPageSetupDialogData_SetPaperId(self
.this
,arg0
)
417 def SetPaperSize(self
,arg0
):
418 val
= cmndlgsc
.wxPageSetupDialogData_SetPaperSize(self
.this
,arg0
.this
)
420 def SetPrintData(self
,arg0
):
421 val
= cmndlgsc
.wxPageSetupDialogData_SetPrintData(self
.this
,arg0
.this
)
424 return "<C wxPageSetupDialogData instance>"
425 class wxPageSetupDialogData(wxPageSetupDialogDataPtr
):
427 self
.this
= cmndlgsc
.new_wxPageSetupDialogData()
433 class wxPageSetupDialogPtr(wxDialogPtr
):
434 def __init__(self
,this
):
437 def GetPageSetupData(self
):
438 val
= cmndlgsc
.wxPageSetupDialog_GetPageSetupData(self
.this
)
439 val
= wxPageSetupDialogDataPtr(val
)
442 val
= cmndlgsc
.wxPageSetupDialog_ShowModal(self
.this
)
445 return "<C wxPageSetupDialog instance>"
446 class wxPageSetupDialog(wxPageSetupDialogPtr
):
447 def __init__(self
,arg0
,*args
) :
448 argl
= map(None,args
)
449 try: argl
[0] = argl
[0].this
452 self
.this
= apply(cmndlgsc
.new_wxPageSetupDialog
,(arg0
.this
,)+args
)
454 wx
._StdDialogCallbacks
(self
)
459 class wxPrintDialogDataPtr
:
460 def __init__(self
,this
):
464 if self
.thisown
== 1 :
465 cmndlgsc
.delete_wxPrintDialogData(self
.this
)
466 def EnableHelp(self
,arg0
):
467 val
= cmndlgsc
.wxPrintDialogData_EnableHelp(self
.this
,arg0
)
469 def EnablePageNumbers(self
,arg0
):
470 val
= cmndlgsc
.wxPrintDialogData_EnablePageNumbers(self
.this
,arg0
)
472 def EnablePrintToFile(self
,arg0
):
473 val
= cmndlgsc
.wxPrintDialogData_EnablePrintToFile(self
.this
,arg0
)
475 def EnableSelection(self
,arg0
):
476 val
= cmndlgsc
.wxPrintDialogData_EnableSelection(self
.this
,arg0
)
478 def GetAllPages(self
):
479 val
= cmndlgsc
.wxPrintDialogData_GetAllPages(self
.this
)
481 def GetCollate(self
):
482 val
= cmndlgsc
.wxPrintDialogData_GetCollate(self
.this
)
484 def GetFromPage(self
):
485 val
= cmndlgsc
.wxPrintDialogData_GetFromPage(self
.this
)
487 def GetMaxPage(self
):
488 val
= cmndlgsc
.wxPrintDialogData_GetMaxPage(self
.this
)
490 def GetMinPage(self
):
491 val
= cmndlgsc
.wxPrintDialogData_GetMinPage(self
.this
)
493 def GetNoCopies(self
):
494 val
= cmndlgsc
.wxPrintDialogData_GetNoCopies(self
.this
)
496 def GetPrintData(self
):
497 val
= cmndlgsc
.wxPrintDialogData_GetPrintData(self
.this
)
498 val
= wxPrintDataPtr(val
)
500 def GetPrintToFile(self
):
501 val
= cmndlgsc
.wxPrintDialogData_GetPrintToFile(self
.this
)
504 val
= cmndlgsc
.wxPrintDialogData_GetToPage(self
.this
)
506 def SetCollate(self
,arg0
):
507 val
= cmndlgsc
.wxPrintDialogData_SetCollate(self
.this
,arg0
)
509 def SetFromPage(self
,arg0
):
510 val
= cmndlgsc
.wxPrintDialogData_SetFromPage(self
.this
,arg0
)
512 def SetMaxPage(self
,arg0
):
513 val
= cmndlgsc
.wxPrintDialogData_SetMaxPage(self
.this
,arg0
)
515 def SetMinPage(self
,arg0
):
516 val
= cmndlgsc
.wxPrintDialogData_SetMinPage(self
.this
,arg0
)
518 def SetNoCopies(self
,arg0
):
519 val
= cmndlgsc
.wxPrintDialogData_SetNoCopies(self
.this
,arg0
)
521 def SetPrintData(self
,arg0
):
522 val
= cmndlgsc
.wxPrintDialogData_SetPrintData(self
.this
,arg0
.this
)
524 def SetPrintToFile(self
,arg0
):
525 val
= cmndlgsc
.wxPrintDialogData_SetPrintToFile(self
.this
,arg0
)
527 def SetSetupDialog(self
,arg0
):
528 val
= cmndlgsc
.wxPrintDialogData_SetSetupDialog(self
.this
,arg0
)
530 def SetToPage(self
,arg0
):
531 val
= cmndlgsc
.wxPrintDialogData_SetToPage(self
.this
,arg0
)
534 return "<C wxPrintDialogData instance>"
535 class wxPrintDialogData(wxPrintDialogDataPtr
):
537 self
.this
= cmndlgsc
.new_wxPrintDialogData()
543 class wxPrintDialogPtr(wxDialogPtr
):
544 def __init__(self
,this
):
547 def GetPrintDialogData(self
):
548 val
= cmndlgsc
.wxPrintDialog_GetPrintDialogData(self
.this
)
549 val
= wxPrintDialogDataPtr(val
)
551 def GetPrintDC(self
):
552 val
= cmndlgsc
.wxPrintDialog_GetPrintDC(self
.this
)
557 val
= cmndlgsc
.wxPrintDialog_ShowModal(self
.this
)
560 return "<C wxPrintDialog instance>"
561 class wxPrintDialog(wxPrintDialogPtr
):
562 def __init__(self
,arg0
,*args
) :
563 argl
= map(None,args
)
564 try: argl
[0] = argl
[0].this
567 self
.this
= apply(cmndlgsc
.new_wxPrintDialog
,(arg0
.this
,)+args
)
569 wx
._StdDialogCallbacks
(self
)
574 class wxMessageDialogPtr(wxDialogPtr
):
575 def __init__(self
,this
):
579 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
582 return "<C wxMessageDialog instance>"
583 class wxMessageDialog(wxMessageDialogPtr
):
584 def __init__(self
,arg0
,arg1
,*args
) :
585 argl
= map(None,args
)
586 try: argl
[2] = argl
[2].this
589 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
591 wx
._StdDialogCallbacks
(self
)
598 #-------------- FUNCTION WRAPPERS ------------------
602 #-------------- VARIABLE WRAPPERS ------------------