]>
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 wxPageSetupDataPtr
:
322 def __init__(self
,this
):
326 if self
.thisown
== 1 :
327 cmndlgsc
.delete_wxPageSetupData(self
.this
)
328 def EnableHelp(self
,arg0
):
329 val
= cmndlgsc
.wxPageSetupData_EnableHelp(self
.this
,arg0
)
331 def EnableMargins(self
,arg0
):
332 val
= cmndlgsc
.wxPageSetupData_EnableMargins(self
.this
,arg0
)
334 def EnableOrientation(self
,arg0
):
335 val
= cmndlgsc
.wxPageSetupData_EnableOrientation(self
.this
,arg0
)
337 def EnablePaper(self
,arg0
):
338 val
= cmndlgsc
.wxPageSetupData_EnablePaper(self
.this
,arg0
)
340 def EnablePrinter(self
,arg0
):
341 val
= cmndlgsc
.wxPageSetupData_EnablePrinter(self
.this
,arg0
)
343 def GetPaperSize(self
):
344 val
= cmndlgsc
.wxPageSetupData_GetPaperSize(self
.this
)
345 val
= wxPointPtr(val
)
348 def GetMarginTopLeft(self
):
349 val
= cmndlgsc
.wxPageSetupData_GetMarginTopLeft(self
.this
)
350 val
= wxPointPtr(val
)
353 def GetMarginBottomRight(self
):
354 val
= cmndlgsc
.wxPageSetupData_GetMarginBottomRight(self
.this
)
355 val
= wxPointPtr(val
)
358 def GetMinMarginTopLeft(self
):
359 val
= cmndlgsc
.wxPageSetupData_GetMinMarginTopLeft(self
.this
)
360 val
= wxPointPtr(val
)
363 def GetMinMarginBottomRight(self
):
364 val
= cmndlgsc
.wxPageSetupData_GetMinMarginBottomRight(self
.this
)
365 val
= wxPointPtr(val
)
368 def GetOrientation(self
):
369 val
= cmndlgsc
.wxPageSetupData_GetOrientation(self
.this
)
371 def GetDefaultMinMargins(self
):
372 val
= cmndlgsc
.wxPageSetupData_GetDefaultMinMargins(self
.this
)
374 def GetEnableMargins(self
):
375 val
= cmndlgsc
.wxPageSetupData_GetEnableMargins(self
.this
)
377 def GetEnableOrientation(self
):
378 val
= cmndlgsc
.wxPageSetupData_GetEnableOrientation(self
.this
)
380 def GetEnablePaper(self
):
381 val
= cmndlgsc
.wxPageSetupData_GetEnablePaper(self
.this
)
383 def GetEnablePrinter(self
):
384 val
= cmndlgsc
.wxPageSetupData_GetEnablePrinter(self
.this
)
386 def GetEnableHelp(self
):
387 val
= cmndlgsc
.wxPageSetupData_GetEnableHelp(self
.this
)
389 def GetDefaultInfo(self
):
390 val
= cmndlgsc
.wxPageSetupData_GetDefaultInfo(self
.this
)
392 def SetPaperSize(self
,arg0
):
393 val
= cmndlgsc
.wxPageSetupData_SetPaperSize(self
.this
,arg0
.this
)
395 def SetMarginTopLeft(self
,arg0
):
396 val
= cmndlgsc
.wxPageSetupData_SetMarginTopLeft(self
.this
,arg0
.this
)
398 def SetMarginBottomRight(self
,arg0
):
399 val
= cmndlgsc
.wxPageSetupData_SetMarginBottomRight(self
.this
,arg0
.this
)
401 def SetMinMarginTopLeft(self
,arg0
):
402 val
= cmndlgsc
.wxPageSetupData_SetMinMarginTopLeft(self
.this
,arg0
.this
)
404 def SetMinMarginBottomRight(self
,arg0
):
405 val
= cmndlgsc
.wxPageSetupData_SetMinMarginBottomRight(self
.this
,arg0
.this
)
407 def SetOrientation(self
,arg0
):
408 val
= cmndlgsc
.wxPageSetupData_SetOrientation(self
.this
,arg0
)
410 def SetDefaultMinMargins(self
,arg0
):
411 val
= cmndlgsc
.wxPageSetupData_SetDefaultMinMargins(self
.this
,arg0
)
413 def SetDefaultInfo(self
,arg0
):
414 val
= cmndlgsc
.wxPageSetupData_SetDefaultInfo(self
.this
,arg0
)
417 return "<C wxPageSetupData instance>"
418 class wxPageSetupData(wxPageSetupDataPtr
):
420 self
.this
= cmndlgsc
.new_wxPageSetupData()
426 class wxPageSetupDialogPtr(wxDialogPtr
):
427 def __init__(self
,this
):
430 def GetPageSetupData(self
):
431 val
= cmndlgsc
.wxPageSetupDialog_GetPageSetupData(self
.this
)
432 val
= wxPageSetupDataPtr(val
)
435 val
= cmndlgsc
.wxPageSetupDialog_ShowModal(self
.this
)
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
445 self
.this
= apply(cmndlgsc
.new_wxPageSetupDialog
,(arg0
.this
,)+args
)
447 wx
._StdDialogCallbacks
(self
)
452 class wxPrintDataPtr
:
453 def __init__(self
,this
):
457 if self
.thisown
== 1 :
458 cmndlgsc
.delete_wxPrintData(self
.this
)
459 def EnableHelp(self
,arg0
):
460 val
= cmndlgsc
.wxPrintData_EnableHelp(self
.this
,arg0
)
462 def EnablePageNumbers(self
,arg0
):
463 val
= cmndlgsc
.wxPrintData_EnablePageNumbers(self
.this
,arg0
)
465 def EnablePrintToFile(self
,arg0
):
466 val
= cmndlgsc
.wxPrintData_EnablePrintToFile(self
.this
,arg0
)
468 def EnableSelection(self
,arg0
):
469 val
= cmndlgsc
.wxPrintData_EnableSelection(self
.this
,arg0
)
471 def GetAllPages(self
):
472 val
= cmndlgsc
.wxPrintData_GetAllPages(self
.this
)
474 def GetCollate(self
):
475 val
= cmndlgsc
.wxPrintData_GetCollate(self
.this
)
477 def GetFromPage(self
):
478 val
= cmndlgsc
.wxPrintData_GetFromPage(self
.this
)
480 def GetMaxPage(self
):
481 val
= cmndlgsc
.wxPrintData_GetMaxPage(self
.this
)
483 def GetMinPage(self
):
484 val
= cmndlgsc
.wxPrintData_GetMinPage(self
.this
)
486 def GetNoCopies(self
):
487 val
= cmndlgsc
.wxPrintData_GetNoCopies(self
.this
)
489 def GetOrientation(self
):
490 val
= cmndlgsc
.wxPrintData_GetOrientation(self
.this
)
493 val
= cmndlgsc
.wxPrintData_GetToPage(self
.this
)
495 def SetCollate(self
,arg0
):
496 val
= cmndlgsc
.wxPrintData_SetCollate(self
.this
,arg0
)
498 def SetFromPage(self
,arg0
):
499 val
= cmndlgsc
.wxPrintData_SetFromPage(self
.this
,arg0
)
501 def SetMaxPage(self
,arg0
):
502 val
= cmndlgsc
.wxPrintData_SetMaxPage(self
.this
,arg0
)
504 def SetMinPage(self
,arg0
):
505 val
= cmndlgsc
.wxPrintData_SetMinPage(self
.this
,arg0
)
507 def SetOrientation(self
,arg0
):
508 val
= cmndlgsc
.wxPrintData_SetOrientation(self
.this
,arg0
)
510 def SetNoCopies(self
,arg0
):
511 val
= cmndlgsc
.wxPrintData_SetNoCopies(self
.this
,arg0
)
513 def SetPrintToFile(self
,arg0
):
514 val
= cmndlgsc
.wxPrintData_SetPrintToFile(self
.this
,arg0
)
516 def SetSetupDialog(self
,arg0
):
517 val
= cmndlgsc
.wxPrintData_SetSetupDialog(self
.this
,arg0
)
519 def SetToPage(self
,arg0
):
520 val
= cmndlgsc
.wxPrintData_SetToPage(self
.this
,arg0
)
523 return "<C wxPrintData instance>"
524 class wxPrintData(wxPrintDataPtr
):
526 self
.this
= cmndlgsc
.new_wxPrintData()
532 class wxPrintDialogPtr(wxDialogPtr
):
533 def __init__(self
,this
):
536 def GetPrintData(self
):
537 val
= cmndlgsc
.wxPrintDialog_GetPrintData(self
.this
)
538 val
= wxPrintDataPtr(val
)
540 def GetPrintDC(self
):
541 val
= cmndlgsc
.wxPrintDialog_GetPrintDC(self
.this
)
546 val
= cmndlgsc
.wxPrintDialog_ShowModal(self
.this
)
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
556 self
.this
= apply(cmndlgsc
.new_wxPrintDialog
,(arg0
.this
,)+args
)
558 wx
._StdDialogCallbacks
(self
)
563 class wxMessageDialogPtr(wxDialogPtr
):
564 def __init__(self
,this
):
568 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
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
578 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
580 wx
._StdDialogCallbacks
(self
)
587 #-------------- FUNCTION WRAPPERS ------------------
591 #-------------- VARIABLE WRAPPERS ------------------