]>
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
)
58 val
= cmndlgsc
.wxColourDialog_ShowModal(self
.this
)
61 return "<C wxColourDialog instance>"
62 class wxColourDialog(wxColourDialogPtr
):
63 def __init__(self
,arg0
,*args
) :
65 try: argl
[0] = argl
[0].this
68 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,(arg0
.this
,)+args
)
70 wx
._StdDialogCallbacks
(self
)
75 class wxFileDialogPtr(wxDialogPtr
):
76 def __init__(self
,this
):
79 def GetDirectory(self
):
80 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
82 def GetFilename(self
):
83 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
85 def GetFilterIndex(self
):
86 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
89 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
92 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
95 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
97 def GetWildcard(self
):
98 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
100 def SetDirectory(self
,arg0
):
101 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
103 def SetFilename(self
,arg0
):
104 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
106 def SetFilterIndex(self
,arg0
):
107 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
109 def SetMessage(self
,arg0
):
110 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
112 def SetPath(self
,arg0
):
113 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
115 def SetStyle(self
,arg0
):
116 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
118 def SetWildcard(self
,arg0
):
119 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
122 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
125 return "<C wxFileDialog instance>"
126 class wxFileDialog(wxFileDialogPtr
):
127 def __init__(self
,arg0
,*args
) :
128 argl
= map(None,args
)
129 try: argl
[5] = argl
[5].this
132 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
134 wx
._StdDialogCallbacks
(self
)
139 class wxSingleChoiceDialogPtr(wxDialogPtr
):
140 def __init__(self
,this
):
143 def GetSelection(self
):
144 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
146 def GetStringSelection(self
):
147 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
149 def SetSelection(self
,arg0
):
150 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
153 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
156 return "<C wxSingleChoiceDialog instance>"
157 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
158 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
159 argl
= map(None,args
)
160 try: argl
[1] = argl
[1].this
163 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
165 wx
._StdDialogCallbacks
(self
)
170 class wxTextEntryDialogPtr(wxDialogPtr
):
171 def __init__(self
,this
):
175 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
177 def SetValue(self
,arg0
):
178 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
181 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
184 return "<C wxTextEntryDialog instance>"
185 class wxTextEntryDialog(wxTextEntryDialogPtr
):
186 def __init__(self
,arg0
,arg1
,*args
) :
187 argl
= map(None,args
)
188 try: argl
[3] = argl
[3].this
191 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
193 wx
._StdDialogCallbacks
(self
)
198 class wxFontDataPtr
:
199 def __init__(self
,this
):
203 if self
.thisown
== 1 :
204 cmndlgsc
.delete_wxFontData(self
.this
)
205 def EnableEffects(self
,arg0
):
206 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
208 def GetAllowSymbols(self
):
209 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
212 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
213 val
= wxColourPtr(val
)
215 def GetChosenFont(self
):
216 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
220 def GetEnableEffects(self
):
221 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
223 def GetInitialFont(self
):
224 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
228 def GetShowHelp(self
):
229 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
231 def SetAllowSymbols(self
,arg0
):
232 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
234 def SetChosenFont(self
,arg0
):
235 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
237 def SetColour(self
,arg0
):
238 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
240 def SetInitialFont(self
,arg0
):
241 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
243 def SetRange(self
,arg0
,arg1
):
244 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
246 def SetShowHelp(self
,arg0
):
247 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
250 return "<C wxFontData instance>"
251 class wxFontData(wxFontDataPtr
):
253 self
.this
= cmndlgsc
.new_wxFontData()
259 class wxFontDialogPtr(wxDialogPtr
):
260 def __init__(self
,this
):
263 def GetFontData(self
):
264 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
265 val
= wxFontDataPtr(val
)
268 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
271 return "<C wxFontDialog instance>"
272 class wxFontDialog(wxFontDialogPtr
):
273 def __init__(self
,arg0
,*args
) :
274 argl
= map(None,args
)
275 try: argl
[0] = argl
[0].this
278 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
280 wx
._StdDialogCallbacks
(self
)
285 class wxPageSetupDataPtr
:
286 def __init__(self
,this
):
290 if self
.thisown
== 1 :
291 cmndlgsc
.delete_wxPageSetupData(self
.this
)
292 def EnableHelp(self
,arg0
):
293 val
= cmndlgsc
.wxPageSetupData_EnableHelp(self
.this
,arg0
)
295 def EnableMargins(self
,arg0
):
296 val
= cmndlgsc
.wxPageSetupData_EnableMargins(self
.this
,arg0
)
298 def EnableOrientation(self
,arg0
):
299 val
= cmndlgsc
.wxPageSetupData_EnableOrientation(self
.this
,arg0
)
301 def EnablePaper(self
,arg0
):
302 val
= cmndlgsc
.wxPageSetupData_EnablePaper(self
.this
,arg0
)
304 def EnablePrinter(self
,arg0
):
305 val
= cmndlgsc
.wxPageSetupData_EnablePrinter(self
.this
,arg0
)
307 def GetPaperSize(self
):
308 val
= cmndlgsc
.wxPageSetupData_GetPaperSize(self
.this
)
309 val
= wxPointPtr(val
)
312 def GetMarginTopLeft(self
):
313 val
= cmndlgsc
.wxPageSetupData_GetMarginTopLeft(self
.this
)
314 val
= wxPointPtr(val
)
317 def GetMarginBottomRight(self
):
318 val
= cmndlgsc
.wxPageSetupData_GetMarginBottomRight(self
.this
)
319 val
= wxPointPtr(val
)
322 def GetMinMarginTopLeft(self
):
323 val
= cmndlgsc
.wxPageSetupData_GetMinMarginTopLeft(self
.this
)
324 val
= wxPointPtr(val
)
327 def GetMinMarginBottomRight(self
):
328 val
= cmndlgsc
.wxPageSetupData_GetMinMarginBottomRight(self
.this
)
329 val
= wxPointPtr(val
)
332 def GetOrientation(self
):
333 val
= cmndlgsc
.wxPageSetupData_GetOrientation(self
.this
)
335 def GetDefaultMinMargins(self
):
336 val
= cmndlgsc
.wxPageSetupData_GetDefaultMinMargins(self
.this
)
338 def GetEnableMargins(self
):
339 val
= cmndlgsc
.wxPageSetupData_GetEnableMargins(self
.this
)
341 def GetEnableOrientation(self
):
342 val
= cmndlgsc
.wxPageSetupData_GetEnableOrientation(self
.this
)
344 def GetEnablePaper(self
):
345 val
= cmndlgsc
.wxPageSetupData_GetEnablePaper(self
.this
)
347 def GetEnablePrinter(self
):
348 val
= cmndlgsc
.wxPageSetupData_GetEnablePrinter(self
.this
)
350 def GetEnableHelp(self
):
351 val
= cmndlgsc
.wxPageSetupData_GetEnableHelp(self
.this
)
353 def GetDefaultInfo(self
):
354 val
= cmndlgsc
.wxPageSetupData_GetDefaultInfo(self
.this
)
356 def SetPaperSize(self
,arg0
):
357 val
= cmndlgsc
.wxPageSetupData_SetPaperSize(self
.this
,arg0
.this
)
359 def SetMarginTopLeft(self
,arg0
):
360 val
= cmndlgsc
.wxPageSetupData_SetMarginTopLeft(self
.this
,arg0
.this
)
362 def SetMarginBottomRight(self
,arg0
):
363 val
= cmndlgsc
.wxPageSetupData_SetMarginBottomRight(self
.this
,arg0
.this
)
365 def SetMinMarginTopLeft(self
,arg0
):
366 val
= cmndlgsc
.wxPageSetupData_SetMinMarginTopLeft(self
.this
,arg0
.this
)
368 def SetMinMarginBottomRight(self
,arg0
):
369 val
= cmndlgsc
.wxPageSetupData_SetMinMarginBottomRight(self
.this
,arg0
.this
)
371 def SetOrientation(self
,arg0
):
372 val
= cmndlgsc
.wxPageSetupData_SetOrientation(self
.this
,arg0
)
374 def SetDefaultMinMargins(self
,arg0
):
375 val
= cmndlgsc
.wxPageSetupData_SetDefaultMinMargins(self
.this
,arg0
)
377 def SetDefaultInfo(self
,arg0
):
378 val
= cmndlgsc
.wxPageSetupData_SetDefaultInfo(self
.this
,arg0
)
381 return "<C wxPageSetupData instance>"
382 class wxPageSetupData(wxPageSetupDataPtr
):
384 self
.this
= cmndlgsc
.new_wxPageSetupData()
390 class wxPageSetupDialogPtr(wxDialogPtr
):
391 def __init__(self
,this
):
394 def GetPageSetupData(self
):
395 val
= cmndlgsc
.wxPageSetupDialog_GetPageSetupData(self
.this
)
396 val
= wxPageSetupDataPtr(val
)
399 val
= cmndlgsc
.wxPageSetupDialog_ShowModal(self
.this
)
402 return "<C wxPageSetupDialog instance>"
403 class wxPageSetupDialog(wxPageSetupDialogPtr
):
404 def __init__(self
,arg0
,*args
) :
405 argl
= map(None,args
)
406 try: argl
[0] = argl
[0].this
409 self
.this
= apply(cmndlgsc
.new_wxPageSetupDialog
,(arg0
.this
,)+args
)
411 wx
._StdDialogCallbacks
(self
)
416 class wxPrintDataPtr
:
417 def __init__(self
,this
):
421 if self
.thisown
== 1 :
422 cmndlgsc
.delete_wxPrintData(self
.this
)
423 def EnableHelp(self
,arg0
):
424 val
= cmndlgsc
.wxPrintData_EnableHelp(self
.this
,arg0
)
426 def EnablePageNumbers(self
,arg0
):
427 val
= cmndlgsc
.wxPrintData_EnablePageNumbers(self
.this
,arg0
)
429 def EnablePrintToFile(self
,arg0
):
430 val
= cmndlgsc
.wxPrintData_EnablePrintToFile(self
.this
,arg0
)
432 def EnableSelection(self
,arg0
):
433 val
= cmndlgsc
.wxPrintData_EnableSelection(self
.this
,arg0
)
435 def GetAllPages(self
):
436 val
= cmndlgsc
.wxPrintData_GetAllPages(self
.this
)
438 def GetCollate(self
):
439 val
= cmndlgsc
.wxPrintData_GetCollate(self
.this
)
441 def GetFromPage(self
):
442 val
= cmndlgsc
.wxPrintData_GetFromPage(self
.this
)
444 def GetMaxPage(self
):
445 val
= cmndlgsc
.wxPrintData_GetMaxPage(self
.this
)
447 def GetMinPage(self
):
448 val
= cmndlgsc
.wxPrintData_GetMinPage(self
.this
)
450 def GetNoCopies(self
):
451 val
= cmndlgsc
.wxPrintData_GetNoCopies(self
.this
)
453 def GetOrientation(self
):
454 val
= cmndlgsc
.wxPrintData_GetOrientation(self
.this
)
457 val
= cmndlgsc
.wxPrintData_GetToPage(self
.this
)
459 def SetCollate(self
,arg0
):
460 val
= cmndlgsc
.wxPrintData_SetCollate(self
.this
,arg0
)
462 def SetFromPage(self
,arg0
):
463 val
= cmndlgsc
.wxPrintData_SetFromPage(self
.this
,arg0
)
465 def SetMaxPage(self
,arg0
):
466 val
= cmndlgsc
.wxPrintData_SetMaxPage(self
.this
,arg0
)
468 def SetMinPage(self
,arg0
):
469 val
= cmndlgsc
.wxPrintData_SetMinPage(self
.this
,arg0
)
471 def SetOrientation(self
,arg0
):
472 val
= cmndlgsc
.wxPrintData_SetOrientation(self
.this
,arg0
)
474 def SetNoCopies(self
,arg0
):
475 val
= cmndlgsc
.wxPrintData_SetNoCopies(self
.this
,arg0
)
477 def SetPrintToFile(self
,arg0
):
478 val
= cmndlgsc
.wxPrintData_SetPrintToFile(self
.this
,arg0
)
480 def SetSetupDialog(self
,arg0
):
481 val
= cmndlgsc
.wxPrintData_SetSetupDialog(self
.this
,arg0
)
483 def SetToPage(self
,arg0
):
484 val
= cmndlgsc
.wxPrintData_SetToPage(self
.this
,arg0
)
487 return "<C wxPrintData instance>"
488 class wxPrintData(wxPrintDataPtr
):
490 self
.this
= cmndlgsc
.new_wxPrintData()
496 class wxPrintDialogPtr(wxDialogPtr
):
497 def __init__(self
,this
):
500 def GetPrintData(self
):
501 val
= cmndlgsc
.wxPrintDialog_GetPrintData(self
.this
)
502 val
= wxPrintDataPtr(val
)
504 def GetPrintDC(self
):
505 val
= cmndlgsc
.wxPrintDialog_GetPrintDC(self
.this
)
510 val
= cmndlgsc
.wxPrintDialog_ShowModal(self
.this
)
513 return "<C wxPrintDialog instance>"
514 class wxPrintDialog(wxPrintDialogPtr
):
515 def __init__(self
,arg0
,*args
) :
516 argl
= map(None,args
)
517 try: argl
[0] = argl
[0].this
520 self
.this
= apply(cmndlgsc
.new_wxPrintDialog
,(arg0
.this
,)+args
)
522 wx
._StdDialogCallbacks
(self
)
527 class wxMessageDialogPtr(wxDialogPtr
):
528 def __init__(self
,this
):
532 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
535 return "<C wxMessageDialog instance>"
536 class wxMessageDialog(wxMessageDialogPtr
):
537 def __init__(self
,arg0
,arg1
,*args
) :
538 argl
= map(None,args
)
539 try: argl
[2] = argl
[2].this
542 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
544 wx
._StdDialogCallbacks
(self
)
551 #-------------- FUNCTION WRAPPERS ------------------
555 #-------------- VARIABLE WRAPPERS ------------------