]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/cmndlgs.py
1 # This file was created automatically by SWIG.
9 class wxColourDataPtr
:
10 def __init__(self
,this
):
14 if self
.thisown
== 1 :
15 cmndlgsc
.delete_wxColourData(self
.this
)
16 def GetChooseFull(self
):
17 val
= cmndlgsc
.wxColourData_GetChooseFull(self
.this
)
20 val
= cmndlgsc
.wxColourData_GetColour(self
.this
)
21 val
= wxColourPtr(val
)
23 def GetCustomColour(self
,arg0
):
24 val
= cmndlgsc
.wxColourData_GetCustomColour(self
.this
,arg0
)
25 val
= wxColourPtr(val
)
28 def SetChooseFull(self
,arg0
):
29 val
= cmndlgsc
.wxColourData_SetChooseFull(self
.this
,arg0
)
31 def SetColour(self
,arg0
):
32 val
= cmndlgsc
.wxColourData_SetColour(self
.this
,arg0
.this
)
34 def SetCustomColour(self
,arg0
,arg1
):
35 val
= cmndlgsc
.wxColourData_SetCustomColour(self
.this
,arg0
,arg1
.this
)
38 return "<C wxColourData instance>"
39 class wxColourData(wxColourDataPtr
):
41 self
.this
= cmndlgsc
.new_wxColourData()
47 class wxColourDialogPtr(wxDialogPtr
):
48 def __init__(self
,this
):
51 def GetColourData(self
):
52 val
= cmndlgsc
.wxColourDialog_GetColourData(self
.this
)
53 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 wxp
._StdDialogCallbacks
(self
)
74 class wxFileDialogPtr(wxDialogPtr
):
75 def __init__(self
,this
):
78 def GetDirectory(self
):
79 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
81 def GetFilename(self
):
82 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
84 def GetFilterIndex(self
):
85 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
88 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
91 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
94 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
96 def GetWildcard(self
):
97 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
99 def SetDirectory(self
,arg0
):
100 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
102 def SetFilename(self
,arg0
):
103 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
105 def SetFilterIndex(self
,arg0
):
106 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
108 def SetMessage(self
,arg0
):
109 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
111 def SetPath(self
,arg0
):
112 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
114 def SetStyle(self
,arg0
):
115 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
117 def SetWildcard(self
,arg0
):
118 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
121 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
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
131 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
133 wxp
._StdDialogCallbacks
(self
)
138 class wxSingleChoiceDialogPtr(wxDialogPtr
):
139 def __init__(self
,this
):
142 def GetSelection(self
):
143 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
145 def GetStringSelection(self
):
146 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
148 def SetSelection(self
,arg0
):
149 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
152 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
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
162 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
164 wxp
._StdDialogCallbacks
(self
)
169 class wxTextEntryDialogPtr(wxDialogPtr
):
170 def __init__(self
,this
):
174 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
176 def SetValue(self
,arg0
):
177 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
180 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
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
190 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
192 wxp
._StdDialogCallbacks
(self
)
197 class wxFontDataPtr
:
198 def __init__(self
,this
):
202 if self
.thisown
== 1 :
203 cmndlgsc
.delete_wxFontData(self
.this
)
204 def EnableEffects(self
,arg0
):
205 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
207 def GetAllowSymbols(self
):
208 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
211 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
212 val
= wxColourPtr(val
)
214 def GetChosenFont(self
):
215 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
219 def GetEnableEffects(self
):
220 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
222 def GetInitialFont(self
):
223 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
227 def GetShowHelp(self
):
228 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
230 def SetAllowSymbols(self
,arg0
):
231 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
233 def SetChosenFont(self
,arg0
):
234 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
236 def SetColour(self
,arg0
):
237 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
239 def SetInitialFont(self
,arg0
):
240 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
242 def SetRange(self
,arg0
,arg1
):
243 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
245 def SetShowHelp(self
,arg0
):
246 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
249 return "<C wxFontData instance>"
250 class wxFontData(wxFontDataPtr
):
252 self
.this
= cmndlgsc
.new_wxFontData()
258 class wxFontDialogPtr(wxDialogPtr
):
259 def __init__(self
,this
):
262 def GetFontData(self
):
263 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
264 val
= wxFontDataPtr(val
)
267 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
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
277 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
279 wxp
._StdDialogCallbacks
(self
)
284 class wxPageSetupDataPtr
:
285 def __init__(self
,this
):
289 if self
.thisown
== 1 :
290 cmndlgsc
.delete_wxPageSetupData(self
.this
)
291 def EnableHelp(self
,arg0
):
292 val
= cmndlgsc
.wxPageSetupData_EnableHelp(self
.this
,arg0
)
294 def EnableMargins(self
,arg0
):
295 val
= cmndlgsc
.wxPageSetupData_EnableMargins(self
.this
,arg0
)
297 def EnableOrientation(self
,arg0
):
298 val
= cmndlgsc
.wxPageSetupData_EnableOrientation(self
.this
,arg0
)
300 def EnablePaper(self
,arg0
):
301 val
= cmndlgsc
.wxPageSetupData_EnablePaper(self
.this
,arg0
)
303 def EnablePrinter(self
,arg0
):
304 val
= cmndlgsc
.wxPageSetupData_EnablePrinter(self
.this
,arg0
)
306 def GetPaperSize(self
):
307 val
= cmndlgsc
.wxPageSetupData_GetPaperSize(self
.this
)
308 val
= wxPointPtr(val
)
311 def GetMarginTopLeft(self
):
312 val
= cmndlgsc
.wxPageSetupData_GetMarginTopLeft(self
.this
)
313 val
= wxPointPtr(val
)
316 def GetMarginBottomRight(self
):
317 val
= cmndlgsc
.wxPageSetupData_GetMarginBottomRight(self
.this
)
318 val
= wxPointPtr(val
)
321 def GetMinMarginTopLeft(self
):
322 val
= cmndlgsc
.wxPageSetupData_GetMinMarginTopLeft(self
.this
)
323 val
= wxPointPtr(val
)
326 def GetMinMarginBottomRight(self
):
327 val
= cmndlgsc
.wxPageSetupData_GetMinMarginBottomRight(self
.this
)
328 val
= wxPointPtr(val
)
331 def GetOrientation(self
):
332 val
= cmndlgsc
.wxPageSetupData_GetOrientation(self
.this
)
334 def GetDefaultMinMargins(self
):
335 val
= cmndlgsc
.wxPageSetupData_GetDefaultMinMargins(self
.this
)
337 def GetEnableMargins(self
):
338 val
= cmndlgsc
.wxPageSetupData_GetEnableMargins(self
.this
)
340 def GetEnableOrientation(self
):
341 val
= cmndlgsc
.wxPageSetupData_GetEnableOrientation(self
.this
)
343 def GetEnablePaper(self
):
344 val
= cmndlgsc
.wxPageSetupData_GetEnablePaper(self
.this
)
346 def GetEnablePrinter(self
):
347 val
= cmndlgsc
.wxPageSetupData_GetEnablePrinter(self
.this
)
349 def GetEnableHelp(self
):
350 val
= cmndlgsc
.wxPageSetupData_GetEnableHelp(self
.this
)
352 def GetDefaultInfo(self
):
353 val
= cmndlgsc
.wxPageSetupData_GetDefaultInfo(self
.this
)
355 def SetPaperSize(self
,arg0
):
356 val
= cmndlgsc
.wxPageSetupData_SetPaperSize(self
.this
,arg0
.this
)
358 def SetMarginTopLeft(self
,arg0
):
359 val
= cmndlgsc
.wxPageSetupData_SetMarginTopLeft(self
.this
,arg0
.this
)
361 def SetMarginBottomRight(self
,arg0
):
362 val
= cmndlgsc
.wxPageSetupData_SetMarginBottomRight(self
.this
,arg0
.this
)
364 def SetMinMarginTopLeft(self
,arg0
):
365 val
= cmndlgsc
.wxPageSetupData_SetMinMarginTopLeft(self
.this
,arg0
.this
)
367 def SetMinMarginBottomRight(self
,arg0
):
368 val
= cmndlgsc
.wxPageSetupData_SetMinMarginBottomRight(self
.this
,arg0
.this
)
370 def SetOrientation(self
,arg0
):
371 val
= cmndlgsc
.wxPageSetupData_SetOrientation(self
.this
,arg0
)
373 def SetDefaultMinMargins(self
,arg0
):
374 val
= cmndlgsc
.wxPageSetupData_SetDefaultMinMargins(self
.this
,arg0
)
376 def SetDefaultInfo(self
,arg0
):
377 val
= cmndlgsc
.wxPageSetupData_SetDefaultInfo(self
.this
,arg0
)
380 return "<C wxPageSetupData instance>"
381 class wxPageSetupData(wxPageSetupDataPtr
):
383 self
.this
= cmndlgsc
.new_wxPageSetupData()
389 class wxPageSetupDialogPtr(wxDialogPtr
):
390 def __init__(self
,this
):
393 def GetPageSetupData(self
):
394 val
= cmndlgsc
.wxPageSetupDialog_GetPageSetupData(self
.this
)
395 val
= wxPageSetupDataPtr(val
)
398 val
= cmndlgsc
.wxPageSetupDialog_ShowModal(self
.this
)
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
408 self
.this
= apply(cmndlgsc
.new_wxPageSetupDialog
,(arg0
.this
,)+args
)
410 wxp
._StdDialogCallbacks
(self
)
415 class wxPrintDataPtr
:
416 def __init__(self
,this
):
420 if self
.thisown
== 1 :
421 cmndlgsc
.delete_wxPrintData(self
.this
)
422 def EnableHelp(self
,arg0
):
423 val
= cmndlgsc
.wxPrintData_EnableHelp(self
.this
,arg0
)
425 def EnablePageNumbers(self
,arg0
):
426 val
= cmndlgsc
.wxPrintData_EnablePageNumbers(self
.this
,arg0
)
428 def EnablePrintToFile(self
,arg0
):
429 val
= cmndlgsc
.wxPrintData_EnablePrintToFile(self
.this
,arg0
)
431 def EnableSelection(self
,arg0
):
432 val
= cmndlgsc
.wxPrintData_EnableSelection(self
.this
,arg0
)
434 def GetAllPages(self
):
435 val
= cmndlgsc
.wxPrintData_GetAllPages(self
.this
)
437 def GetCollate(self
):
438 val
= cmndlgsc
.wxPrintData_GetCollate(self
.this
)
440 def GetFromPage(self
):
441 val
= cmndlgsc
.wxPrintData_GetFromPage(self
.this
)
443 def GetMaxPage(self
):
444 val
= cmndlgsc
.wxPrintData_GetMaxPage(self
.this
)
446 def GetMinPage(self
):
447 val
= cmndlgsc
.wxPrintData_GetMinPage(self
.this
)
449 def GetNoCopies(self
):
450 val
= cmndlgsc
.wxPrintData_GetNoCopies(self
.this
)
452 def GetOrientation(self
):
453 val
= cmndlgsc
.wxPrintData_GetOrientation(self
.this
)
456 val
= cmndlgsc
.wxPrintData_GetToPage(self
.this
)
458 def SetCollate(self
,arg0
):
459 val
= cmndlgsc
.wxPrintData_SetCollate(self
.this
,arg0
)
461 def SetFromPage(self
,arg0
):
462 val
= cmndlgsc
.wxPrintData_SetFromPage(self
.this
,arg0
)
464 def SetMaxPage(self
,arg0
):
465 val
= cmndlgsc
.wxPrintData_SetMaxPage(self
.this
,arg0
)
467 def SetMinPage(self
,arg0
):
468 val
= cmndlgsc
.wxPrintData_SetMinPage(self
.this
,arg0
)
470 def SetOrientation(self
,arg0
):
471 val
= cmndlgsc
.wxPrintData_SetOrientation(self
.this
,arg0
)
473 def SetNoCopies(self
,arg0
):
474 val
= cmndlgsc
.wxPrintData_SetNoCopies(self
.this
,arg0
)
476 def SetPrintToFile(self
,arg0
):
477 val
= cmndlgsc
.wxPrintData_SetPrintToFile(self
.this
,arg0
)
479 def SetSetupDialog(self
,arg0
):
480 val
= cmndlgsc
.wxPrintData_SetSetupDialog(self
.this
,arg0
)
482 def SetToPage(self
,arg0
):
483 val
= cmndlgsc
.wxPrintData_SetToPage(self
.this
,arg0
)
486 return "<C wxPrintData instance>"
487 class wxPrintData(wxPrintDataPtr
):
489 self
.this
= cmndlgsc
.new_wxPrintData()
495 class wxPrintDialogPtr(wxDialogPtr
):
496 def __init__(self
,this
):
499 def GetPrintData(self
):
500 val
= cmndlgsc
.wxPrintDialog_GetPrintData(self
.this
)
501 val
= wxPrintDataPtr(val
)
503 def GetPrintDC(self
):
504 val
= cmndlgsc
.wxPrintDialog_GetPrintDC(self
.this
)
508 val
= cmndlgsc
.wxPrintDialog_ShowModal(self
.this
)
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
518 self
.this
= apply(cmndlgsc
.new_wxPrintDialog
,(arg0
.this
,)+args
)
520 wxp
._StdDialogCallbacks
(self
)
525 class wxMessageDialogPtr(wxDialogPtr
):
526 def __init__(self
,this
):
530 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
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
540 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
542 wxp
._StdDialogCallbacks
(self
)
549 #-------------- FUNCTION WRAPPERS ------------------
553 #-------------- VARIABLE WRAPPERS ------------------