]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/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
)
27 def SetChooseFull(self
,arg0
):
28 val
= cmndlgsc
.wxColourData_SetChooseFull(self
.this
,arg0
)
30 def SetColour(self
,arg0
):
31 val
= cmndlgsc
.wxColourData_SetColour(self
.this
,arg0
.this
)
33 def SetCustomColour(self
,arg0
,arg1
):
34 val
= cmndlgsc
.wxColourData_SetCustomColour(self
.this
,arg0
,arg1
.this
)
37 return "<C wxColourData instance>"
38 class wxColourData(wxColourDataPtr
):
40 self
.this
= cmndlgsc
.new_wxColourData()
46 class wxColourDialogPtr(wxDialogPtr
):
47 def __init__(self
,this
):
50 def GetColourData(self
):
51 val
= cmndlgsc
.wxColourDialog_GetColourData(self
.this
)
52 val
= wxColourDataPtr(val
)
55 val
= cmndlgsc
.wxColourDialog_ShowModal(self
.this
)
58 return "<C wxColourDialog instance>"
59 class wxColourDialog(wxColourDialogPtr
):
60 def __init__(self
,arg0
,*args
) :
62 try: argl
[0] = argl
[0].this
65 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,(arg0
.this
,)+args
)
71 class wxDirDialogPtr(wxDialogPtr
):
72 def __init__(self
,this
):
76 val
= cmndlgsc
.wxDirDialog_GetPath(self
.this
)
79 val
= cmndlgsc
.wxDirDialog_GetMessage(self
.this
)
82 val
= cmndlgsc
.wxDirDialog_GetStyle(self
.this
)
84 def SetMessage(self
,arg0
):
85 val
= cmndlgsc
.wxDirDialog_SetMessage(self
.this
,arg0
)
87 def SetPath(self
,arg0
):
88 val
= cmndlgsc
.wxDirDialog_SetPath(self
.this
,arg0
)
91 val
= cmndlgsc
.wxDirDialog_ShowModal(self
.this
)
94 return "<C wxDirDialog instance>"
95 class wxDirDialog(wxDirDialogPtr
):
96 def __init__(self
,arg0
,*args
) :
98 try: argl
[3] = argl
[3].this
101 self
.this
= apply(cmndlgsc
.new_wxDirDialog
,(arg0
.this
,)+args
)
107 class wxFileDialogPtr(wxDialogPtr
):
108 def __init__(self
,this
):
111 def GetDirectory(self
):
112 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
114 def GetFilename(self
):
115 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
117 def GetFilterIndex(self
):
118 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
120 def GetMessage(self
):
121 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
124 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
127 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
129 def GetWildcard(self
):
130 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
132 def SetDirectory(self
,arg0
):
133 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
135 def SetFilename(self
,arg0
):
136 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
138 def SetFilterIndex(self
,arg0
):
139 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
141 def SetMessage(self
,arg0
):
142 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
144 def SetPath(self
,arg0
):
145 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
147 def SetStyle(self
,arg0
):
148 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
150 def SetWildcard(self
,arg0
):
151 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
154 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
157 return "<C wxFileDialog instance>"
158 class wxFileDialog(wxFileDialogPtr
):
159 def __init__(self
,arg0
,*args
) :
160 argl
= map(None,args
)
161 try: argl
[5] = argl
[5].this
164 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
170 class wxSingleChoiceDialogPtr(wxDialogPtr
):
171 def __init__(self
,this
):
174 def GetSelection(self
):
175 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
177 def GetStringSelection(self
):
178 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
180 def SetSelection(self
,arg0
):
181 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
184 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
187 return "<C wxSingleChoiceDialog instance>"
188 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
189 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
190 argl
= map(None,args
)
191 try: argl
[1] = argl
[1].this
194 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
200 class wxTextEntryDialogPtr(wxDialogPtr
):
201 def __init__(self
,this
):
205 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
207 def SetValue(self
,arg0
):
208 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
211 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
214 return "<C wxTextEntryDialog instance>"
215 class wxTextEntryDialog(wxTextEntryDialogPtr
):
216 def __init__(self
,arg0
,arg1
,*args
) :
217 argl
= map(None,args
)
218 try: argl
[3] = argl
[3].this
221 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
227 class wxFontDataPtr
:
228 def __init__(self
,this
):
232 if self
.thisown
== 1 :
233 cmndlgsc
.delete_wxFontData(self
.this
)
234 def EnableEffects(self
,arg0
):
235 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
237 def GetAllowSymbols(self
):
238 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
241 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
242 val
= wxColourPtr(val
)
244 def GetChosenFont(self
):
245 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
249 def GetEnableEffects(self
):
250 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
252 def GetInitialFont(self
):
253 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
257 def GetShowHelp(self
):
258 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
260 def SetAllowSymbols(self
,arg0
):
261 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
263 def SetChosenFont(self
,arg0
):
264 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
266 def SetColour(self
,arg0
):
267 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
269 def SetInitialFont(self
,arg0
):
270 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
272 def SetRange(self
,arg0
,arg1
):
273 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
275 def SetShowHelp(self
,arg0
):
276 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
279 return "<C wxFontData instance>"
280 class wxFontData(wxFontDataPtr
):
282 self
.this
= cmndlgsc
.new_wxFontData()
288 class wxFontDialogPtr(wxDialogPtr
):
289 def __init__(self
,this
):
292 def GetFontData(self
):
293 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
294 val
= wxFontDataPtr(val
)
297 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
300 return "<C wxFontDialog instance>"
301 class wxFontDialog(wxFontDialogPtr
):
302 def __init__(self
,arg0
,*args
) :
303 argl
= map(None,args
)
304 try: argl
[0] = argl
[0].this
307 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
313 class wxPageSetupDataPtr
:
314 def __init__(self
,this
):
318 if self
.thisown
== 1 :
319 cmndlgsc
.delete_wxPageSetupData(self
.this
)
320 def EnableHelp(self
,arg0
):
321 val
= cmndlgsc
.wxPageSetupData_EnableHelp(self
.this
,arg0
)
323 def EnableMargins(self
,arg0
):
324 val
= cmndlgsc
.wxPageSetupData_EnableMargins(self
.this
,arg0
)
326 def EnableOrientation(self
,arg0
):
327 val
= cmndlgsc
.wxPageSetupData_EnableOrientation(self
.this
,arg0
)
329 def EnablePaper(self
,arg0
):
330 val
= cmndlgsc
.wxPageSetupData_EnablePaper(self
.this
,arg0
)
332 def EnablePrinter(self
,arg0
):
333 val
= cmndlgsc
.wxPageSetupData_EnablePrinter(self
.this
,arg0
)
335 def GetPaperSize(self
):
336 val
= cmndlgsc
.wxPageSetupData_GetPaperSize(self
.this
)
337 val
= wxPointPtr(val
)
340 def GetMarginTopLeft(self
):
341 val
= cmndlgsc
.wxPageSetupData_GetMarginTopLeft(self
.this
)
342 val
= wxPointPtr(val
)
345 def GetMarginBottomRight(self
):
346 val
= cmndlgsc
.wxPageSetupData_GetMarginBottomRight(self
.this
)
347 val
= wxPointPtr(val
)
350 def GetMinMarginTopLeft(self
):
351 val
= cmndlgsc
.wxPageSetupData_GetMinMarginTopLeft(self
.this
)
352 val
= wxPointPtr(val
)
355 def GetMinMarginBottomRight(self
):
356 val
= cmndlgsc
.wxPageSetupData_GetMinMarginBottomRight(self
.this
)
357 val
= wxPointPtr(val
)
360 def GetOrientation(self
):
361 val
= cmndlgsc
.wxPageSetupData_GetOrientation(self
.this
)
363 def GetDefaultMinMargins(self
):
364 val
= cmndlgsc
.wxPageSetupData_GetDefaultMinMargins(self
.this
)
366 def GetEnableMargins(self
):
367 val
= cmndlgsc
.wxPageSetupData_GetEnableMargins(self
.this
)
369 def GetEnableOrientation(self
):
370 val
= cmndlgsc
.wxPageSetupData_GetEnableOrientation(self
.this
)
372 def GetEnablePaper(self
):
373 val
= cmndlgsc
.wxPageSetupData_GetEnablePaper(self
.this
)
375 def GetEnablePrinter(self
):
376 val
= cmndlgsc
.wxPageSetupData_GetEnablePrinter(self
.this
)
378 def GetEnableHelp(self
):
379 val
= cmndlgsc
.wxPageSetupData_GetEnableHelp(self
.this
)
381 def GetDefaultInfo(self
):
382 val
= cmndlgsc
.wxPageSetupData_GetDefaultInfo(self
.this
)
384 def SetPaperSize(self
,arg0
):
385 val
= cmndlgsc
.wxPageSetupData_SetPaperSize(self
.this
,arg0
.this
)
387 def SetMarginTopLeft(self
,arg0
):
388 val
= cmndlgsc
.wxPageSetupData_SetMarginTopLeft(self
.this
,arg0
.this
)
390 def SetMarginBottomRight(self
,arg0
):
391 val
= cmndlgsc
.wxPageSetupData_SetMarginBottomRight(self
.this
,arg0
.this
)
393 def SetMinMarginTopLeft(self
,arg0
):
394 val
= cmndlgsc
.wxPageSetupData_SetMinMarginTopLeft(self
.this
,arg0
.this
)
396 def SetMinMarginBottomRight(self
,arg0
):
397 val
= cmndlgsc
.wxPageSetupData_SetMinMarginBottomRight(self
.this
,arg0
.this
)
399 def SetOrientation(self
,arg0
):
400 val
= cmndlgsc
.wxPageSetupData_SetOrientation(self
.this
,arg0
)
402 def SetDefaultMinMargins(self
,arg0
):
403 val
= cmndlgsc
.wxPageSetupData_SetDefaultMinMargins(self
.this
,arg0
)
405 def SetDefaultInfo(self
,arg0
):
406 val
= cmndlgsc
.wxPageSetupData_SetDefaultInfo(self
.this
,arg0
)
409 return "<C wxPageSetupData instance>"
410 class wxPageSetupData(wxPageSetupDataPtr
):
412 self
.this
= cmndlgsc
.new_wxPageSetupData()
418 class wxPageSetupDialogPtr(wxDialogPtr
):
419 def __init__(self
,this
):
422 def GetPageSetupData(self
):
423 val
= cmndlgsc
.wxPageSetupDialog_GetPageSetupData(self
.this
)
424 val
= wxPageSetupDataPtr(val
)
427 val
= cmndlgsc
.wxPageSetupDialog_ShowModal(self
.this
)
430 return "<C wxPageSetupDialog instance>"
431 class wxPageSetupDialog(wxPageSetupDialogPtr
):
432 def __init__(self
,arg0
,*args
) :
433 argl
= map(None,args
)
434 try: argl
[0] = argl
[0].this
437 self
.this
= apply(cmndlgsc
.new_wxPageSetupDialog
,(arg0
.this
,)+args
)
443 class wxPrintDataPtr
:
444 def __init__(self
,this
):
448 if self
.thisown
== 1 :
449 cmndlgsc
.delete_wxPrintData(self
.this
)
450 def EnableHelp(self
,arg0
):
451 val
= cmndlgsc
.wxPrintData_EnableHelp(self
.this
,arg0
)
453 def EnablePageNumbers(self
,arg0
):
454 val
= cmndlgsc
.wxPrintData_EnablePageNumbers(self
.this
,arg0
)
456 def EnablePrintToFile(self
,arg0
):
457 val
= cmndlgsc
.wxPrintData_EnablePrintToFile(self
.this
,arg0
)
459 def EnableSelection(self
,arg0
):
460 val
= cmndlgsc
.wxPrintData_EnableSelection(self
.this
,arg0
)
462 def GetAllPages(self
):
463 val
= cmndlgsc
.wxPrintData_GetAllPages(self
.this
)
465 def GetCollate(self
):
466 val
= cmndlgsc
.wxPrintData_GetCollate(self
.this
)
468 def GetFromPage(self
):
469 val
= cmndlgsc
.wxPrintData_GetFromPage(self
.this
)
471 def GetMaxPage(self
):
472 val
= cmndlgsc
.wxPrintData_GetMaxPage(self
.this
)
474 def GetMinPage(self
):
475 val
= cmndlgsc
.wxPrintData_GetMinPage(self
.this
)
477 def GetNoCopies(self
):
478 val
= cmndlgsc
.wxPrintData_GetNoCopies(self
.this
)
480 def GetOrientation(self
):
481 val
= cmndlgsc
.wxPrintData_GetOrientation(self
.this
)
484 val
= cmndlgsc
.wxPrintData_GetToPage(self
.this
)
486 def SetCollate(self
,arg0
):
487 val
= cmndlgsc
.wxPrintData_SetCollate(self
.this
,arg0
)
489 def SetFromPage(self
,arg0
):
490 val
= cmndlgsc
.wxPrintData_SetFromPage(self
.this
,arg0
)
492 def SetMaxPage(self
,arg0
):
493 val
= cmndlgsc
.wxPrintData_SetMaxPage(self
.this
,arg0
)
495 def SetMinPage(self
,arg0
):
496 val
= cmndlgsc
.wxPrintData_SetMinPage(self
.this
,arg0
)
498 def SetOrientation(self
,arg0
):
499 val
= cmndlgsc
.wxPrintData_SetOrientation(self
.this
,arg0
)
501 def SetNoCopies(self
,arg0
):
502 val
= cmndlgsc
.wxPrintData_SetNoCopies(self
.this
,arg0
)
504 def SetPrintToFile(self
,arg0
):
505 val
= cmndlgsc
.wxPrintData_SetPrintToFile(self
.this
,arg0
)
507 def SetSetupDialog(self
,arg0
):
508 val
= cmndlgsc
.wxPrintData_SetSetupDialog(self
.this
,arg0
)
510 def SetToPage(self
,arg0
):
511 val
= cmndlgsc
.wxPrintData_SetToPage(self
.this
,arg0
)
514 return "<C wxPrintData instance>"
515 class wxPrintData(wxPrintDataPtr
):
517 self
.this
= cmndlgsc
.new_wxPrintData()
523 class wxPrintDialogPtr(wxDialogPtr
):
524 def __init__(self
,this
):
527 def GetPrintData(self
):
528 val
= cmndlgsc
.wxPrintDialog_GetPrintData(self
.this
)
529 val
= wxPrintDataPtr(val
)
531 def GetPrintDC(self
):
532 val
= cmndlgsc
.wxPrintDialog_GetPrintDC(self
.this
)
536 val
= cmndlgsc
.wxPrintDialog_ShowModal(self
.this
)
539 return "<C wxPrintDialog instance>"
540 class wxPrintDialog(wxPrintDialogPtr
):
541 def __init__(self
,arg0
,*args
) :
542 argl
= map(None,args
)
543 try: argl
[0] = argl
[0].this
546 self
.this
= apply(cmndlgsc
.new_wxPrintDialog
,(arg0
.this
,)+args
)
552 class wxMessageDialogPtr(wxDialogPtr
):
553 def __init__(self
,this
):
557 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
560 return "<C wxMessageDialog instance>"
561 class wxMessageDialog(wxMessageDialogPtr
):
562 def __init__(self
,arg0
,arg1
,*args
) :
563 argl
= map(None,args
)
564 try: argl
[2] = argl
[2].this
567 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
575 #-------------- FUNCTION WRAPPERS ------------------
579 #-------------- VARIABLE WRAPPERS ------------------