]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/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
)
56 val
= cmndlgsc
.wxColourDialog_ShowModal(self
.this
)
59 return "<C wxColourDialog instance>"
60 class wxColourDialog(wxColourDialogPtr
):
61 def __init__(self
,arg0
,*args
) :
63 try: argl
[0] = argl
[0].this
66 self
.this
= apply(cmndlgsc
.new_wxColourDialog
,(arg0
.this
,)+args
)
72 class wxDirDialogPtr(wxDialogPtr
):
73 def __init__(self
,this
):
77 val
= cmndlgsc
.wxDirDialog_GetPath(self
.this
)
80 val
= cmndlgsc
.wxDirDialog_GetMessage(self
.this
)
83 val
= cmndlgsc
.wxDirDialog_GetStyle(self
.this
)
85 def SetMessage(self
,arg0
):
86 val
= cmndlgsc
.wxDirDialog_SetMessage(self
.this
,arg0
)
88 def SetPath(self
,arg0
):
89 val
= cmndlgsc
.wxDirDialog_SetPath(self
.this
,arg0
)
92 val
= cmndlgsc
.wxDirDialog_ShowModal(self
.this
)
95 return "<C wxDirDialog instance>"
96 class wxDirDialog(wxDirDialogPtr
):
97 def __init__(self
,arg0
,*args
) :
99 try: argl
[3] = argl
[3].this
102 self
.this
= apply(cmndlgsc
.new_wxDirDialog
,(arg0
.this
,)+args
)
108 class wxFileDialogPtr(wxDialogPtr
):
109 def __init__(self
,this
):
112 def GetDirectory(self
):
113 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
115 def GetFilename(self
):
116 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
118 def GetFilterIndex(self
):
119 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
121 def GetMessage(self
):
122 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
125 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
128 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
130 def GetWildcard(self
):
131 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
133 def SetDirectory(self
,arg0
):
134 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
136 def SetFilename(self
,arg0
):
137 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
139 def SetFilterIndex(self
,arg0
):
140 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
142 def SetMessage(self
,arg0
):
143 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
145 def SetPath(self
,arg0
):
146 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
148 def SetStyle(self
,arg0
):
149 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
151 def SetWildcard(self
,arg0
):
152 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
155 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
158 return "<C wxFileDialog instance>"
159 class wxFileDialog(wxFileDialogPtr
):
160 def __init__(self
,arg0
,*args
) :
161 argl
= map(None,args
)
162 try: argl
[5] = argl
[5].this
165 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
171 class wxSingleChoiceDialogPtr(wxDialogPtr
):
172 def __init__(self
,this
):
175 def GetSelection(self
):
176 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
178 def GetStringSelection(self
):
179 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
181 def SetSelection(self
,arg0
):
182 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
185 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
188 return "<C wxSingleChoiceDialog instance>"
189 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
190 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
191 argl
= map(None,args
)
192 try: argl
[1] = argl
[1].this
195 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
201 class wxTextEntryDialogPtr(wxDialogPtr
):
202 def __init__(self
,this
):
206 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
208 def SetValue(self
,arg0
):
209 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
212 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
215 return "<C wxTextEntryDialog instance>"
216 class wxTextEntryDialog(wxTextEntryDialogPtr
):
217 def __init__(self
,arg0
,arg1
,*args
) :
218 argl
= map(None,args
)
219 try: argl
[3] = argl
[3].this
222 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
228 class wxFontDataPtr
:
229 def __init__(self
,this
):
233 if self
.thisown
== 1 :
234 cmndlgsc
.delete_wxFontData(self
.this
)
235 def EnableEffects(self
,arg0
):
236 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
238 def GetAllowSymbols(self
):
239 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
242 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
243 val
= wxColourPtr(val
)
245 def GetChosenFont(self
):
246 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
250 def GetEnableEffects(self
):
251 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
253 def GetInitialFont(self
):
254 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
258 def GetShowHelp(self
):
259 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
261 def SetAllowSymbols(self
,arg0
):
262 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
264 def SetChosenFont(self
,arg0
):
265 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
267 def SetColour(self
,arg0
):
268 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
270 def SetInitialFont(self
,arg0
):
271 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
273 def SetRange(self
,arg0
,arg1
):
274 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
276 def SetShowHelp(self
,arg0
):
277 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
280 return "<C wxFontData instance>"
281 class wxFontData(wxFontDataPtr
):
283 self
.this
= cmndlgsc
.new_wxFontData()
289 class wxFontDialogPtr(wxDialogPtr
):
290 def __init__(self
,this
):
293 def GetFontData(self
):
294 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
295 val
= wxFontDataPtr(val
)
298 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
301 return "<C wxFontDialog instance>"
302 class wxFontDialog(wxFontDialogPtr
):
303 def __init__(self
,arg0
,*args
) :
304 argl
= map(None,args
)
305 try: argl
[0] = argl
[0].this
308 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
314 class wxPageSetupDataPtr
:
315 def __init__(self
,this
):
319 if self
.thisown
== 1 :
320 cmndlgsc
.delete_wxPageSetupData(self
.this
)
321 def EnableHelp(self
,arg0
):
322 val
= cmndlgsc
.wxPageSetupData_EnableHelp(self
.this
,arg0
)
324 def EnableMargins(self
,arg0
):
325 val
= cmndlgsc
.wxPageSetupData_EnableMargins(self
.this
,arg0
)
327 def EnableOrientation(self
,arg0
):
328 val
= cmndlgsc
.wxPageSetupData_EnableOrientation(self
.this
,arg0
)
330 def EnablePaper(self
,arg0
):
331 val
= cmndlgsc
.wxPageSetupData_EnablePaper(self
.this
,arg0
)
333 def EnablePrinter(self
,arg0
):
334 val
= cmndlgsc
.wxPageSetupData_EnablePrinter(self
.this
,arg0
)
336 def GetPaperSize(self
):
337 val
= cmndlgsc
.wxPageSetupData_GetPaperSize(self
.this
)
338 val
= wxPointPtr(val
)
341 def GetMarginTopLeft(self
):
342 val
= cmndlgsc
.wxPageSetupData_GetMarginTopLeft(self
.this
)
343 val
= wxPointPtr(val
)
346 def GetMarginBottomRight(self
):
347 val
= cmndlgsc
.wxPageSetupData_GetMarginBottomRight(self
.this
)
348 val
= wxPointPtr(val
)
351 def GetMinMarginTopLeft(self
):
352 val
= cmndlgsc
.wxPageSetupData_GetMinMarginTopLeft(self
.this
)
353 val
= wxPointPtr(val
)
356 def GetMinMarginBottomRight(self
):
357 val
= cmndlgsc
.wxPageSetupData_GetMinMarginBottomRight(self
.this
)
358 val
= wxPointPtr(val
)
361 def GetOrientation(self
):
362 val
= cmndlgsc
.wxPageSetupData_GetOrientation(self
.this
)
364 def GetDefaultMinMargins(self
):
365 val
= cmndlgsc
.wxPageSetupData_GetDefaultMinMargins(self
.this
)
367 def GetEnableMargins(self
):
368 val
= cmndlgsc
.wxPageSetupData_GetEnableMargins(self
.this
)
370 def GetEnableOrientation(self
):
371 val
= cmndlgsc
.wxPageSetupData_GetEnableOrientation(self
.this
)
373 def GetEnablePaper(self
):
374 val
= cmndlgsc
.wxPageSetupData_GetEnablePaper(self
.this
)
376 def GetEnablePrinter(self
):
377 val
= cmndlgsc
.wxPageSetupData_GetEnablePrinter(self
.this
)
379 def GetEnableHelp(self
):
380 val
= cmndlgsc
.wxPageSetupData_GetEnableHelp(self
.this
)
382 def GetDefaultInfo(self
):
383 val
= cmndlgsc
.wxPageSetupData_GetDefaultInfo(self
.this
)
385 def SetPaperSize(self
,arg0
):
386 val
= cmndlgsc
.wxPageSetupData_SetPaperSize(self
.this
,arg0
.this
)
388 def SetMarginTopLeft(self
,arg0
):
389 val
= cmndlgsc
.wxPageSetupData_SetMarginTopLeft(self
.this
,arg0
.this
)
391 def SetMarginBottomRight(self
,arg0
):
392 val
= cmndlgsc
.wxPageSetupData_SetMarginBottomRight(self
.this
,arg0
.this
)
394 def SetMinMarginTopLeft(self
,arg0
):
395 val
= cmndlgsc
.wxPageSetupData_SetMinMarginTopLeft(self
.this
,arg0
.this
)
397 def SetMinMarginBottomRight(self
,arg0
):
398 val
= cmndlgsc
.wxPageSetupData_SetMinMarginBottomRight(self
.this
,arg0
.this
)
400 def SetOrientation(self
,arg0
):
401 val
= cmndlgsc
.wxPageSetupData_SetOrientation(self
.this
,arg0
)
403 def SetDefaultMinMargins(self
,arg0
):
404 val
= cmndlgsc
.wxPageSetupData_SetDefaultMinMargins(self
.this
,arg0
)
406 def SetDefaultInfo(self
,arg0
):
407 val
= cmndlgsc
.wxPageSetupData_SetDefaultInfo(self
.this
,arg0
)
410 return "<C wxPageSetupData instance>"
411 class wxPageSetupData(wxPageSetupDataPtr
):
413 self
.this
= cmndlgsc
.new_wxPageSetupData()
419 class wxPageSetupDialogPtr(wxDialogPtr
):
420 def __init__(self
,this
):
423 def GetPageSetupData(self
):
424 val
= cmndlgsc
.wxPageSetupDialog_GetPageSetupData(self
.this
)
425 val
= wxPageSetupDataPtr(val
)
428 val
= cmndlgsc
.wxPageSetupDialog_ShowModal(self
.this
)
431 return "<C wxPageSetupDialog instance>"
432 class wxPageSetupDialog(wxPageSetupDialogPtr
):
433 def __init__(self
,arg0
,*args
) :
434 argl
= map(None,args
)
435 try: argl
[0] = argl
[0].this
438 self
.this
= apply(cmndlgsc
.new_wxPageSetupDialog
,(arg0
.this
,)+args
)
444 class wxPrintDataPtr
:
445 def __init__(self
,this
):
449 if self
.thisown
== 1 :
450 cmndlgsc
.delete_wxPrintData(self
.this
)
451 def EnableHelp(self
,arg0
):
452 val
= cmndlgsc
.wxPrintData_EnableHelp(self
.this
,arg0
)
454 def EnablePageNumbers(self
,arg0
):
455 val
= cmndlgsc
.wxPrintData_EnablePageNumbers(self
.this
,arg0
)
457 def EnablePrintToFile(self
,arg0
):
458 val
= cmndlgsc
.wxPrintData_EnablePrintToFile(self
.this
,arg0
)
460 def EnableSelection(self
,arg0
):
461 val
= cmndlgsc
.wxPrintData_EnableSelection(self
.this
,arg0
)
463 def GetAllPages(self
):
464 val
= cmndlgsc
.wxPrintData_GetAllPages(self
.this
)
466 def GetCollate(self
):
467 val
= cmndlgsc
.wxPrintData_GetCollate(self
.this
)
469 def GetFromPage(self
):
470 val
= cmndlgsc
.wxPrintData_GetFromPage(self
.this
)
472 def GetMaxPage(self
):
473 val
= cmndlgsc
.wxPrintData_GetMaxPage(self
.this
)
475 def GetMinPage(self
):
476 val
= cmndlgsc
.wxPrintData_GetMinPage(self
.this
)
478 def GetNoCopies(self
):
479 val
= cmndlgsc
.wxPrintData_GetNoCopies(self
.this
)
481 def GetOrientation(self
):
482 val
= cmndlgsc
.wxPrintData_GetOrientation(self
.this
)
485 val
= cmndlgsc
.wxPrintData_GetToPage(self
.this
)
487 def SetCollate(self
,arg0
):
488 val
= cmndlgsc
.wxPrintData_SetCollate(self
.this
,arg0
)
490 def SetFromPage(self
,arg0
):
491 val
= cmndlgsc
.wxPrintData_SetFromPage(self
.this
,arg0
)
493 def SetMaxPage(self
,arg0
):
494 val
= cmndlgsc
.wxPrintData_SetMaxPage(self
.this
,arg0
)
496 def SetMinPage(self
,arg0
):
497 val
= cmndlgsc
.wxPrintData_SetMinPage(self
.this
,arg0
)
499 def SetOrientation(self
,arg0
):
500 val
= cmndlgsc
.wxPrintData_SetOrientation(self
.this
,arg0
)
502 def SetNoCopies(self
,arg0
):
503 val
= cmndlgsc
.wxPrintData_SetNoCopies(self
.this
,arg0
)
505 def SetPrintToFile(self
,arg0
):
506 val
= cmndlgsc
.wxPrintData_SetPrintToFile(self
.this
,arg0
)
508 def SetSetupDialog(self
,arg0
):
509 val
= cmndlgsc
.wxPrintData_SetSetupDialog(self
.this
,arg0
)
511 def SetToPage(self
,arg0
):
512 val
= cmndlgsc
.wxPrintData_SetToPage(self
.this
,arg0
)
515 return "<C wxPrintData instance>"
516 class wxPrintData(wxPrintDataPtr
):
518 self
.this
= cmndlgsc
.new_wxPrintData()
524 class wxPrintDialogPtr(wxDialogPtr
):
525 def __init__(self
,this
):
528 def GetPrintData(self
):
529 val
= cmndlgsc
.wxPrintDialog_GetPrintData(self
.this
)
530 val
= wxPrintDataPtr(val
)
532 def GetPrintDC(self
):
533 val
= cmndlgsc
.wxPrintDialog_GetPrintDC(self
.this
)
537 val
= cmndlgsc
.wxPrintDialog_ShowModal(self
.this
)
540 return "<C wxPrintDialog instance>"
541 class wxPrintDialog(wxPrintDialogPtr
):
542 def __init__(self
,arg0
,*args
) :
543 argl
= map(None,args
)
544 try: argl
[0] = argl
[0].this
547 self
.this
= apply(cmndlgsc
.new_wxPrintDialog
,(arg0
.this
,)+args
)
553 class wxMessageDialogPtr(wxDialogPtr
):
554 def __init__(self
,this
):
558 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
561 return "<C wxMessageDialog instance>"
562 class wxMessageDialog(wxMessageDialogPtr
):
563 def __init__(self
,arg0
,arg1
,*args
) :
564 argl
= map(None,args
)
565 try: argl
[2] = argl
[2].this
568 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
576 #-------------- FUNCTION WRAPPERS ------------------
580 #-------------- VARIABLE WRAPPERS ------------------