]>
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
)
68 wxp
._StdDialogCallbacks
(self
)
73 class wxDirDialogPtr(wxDialogPtr
):
74 def __init__(self
,this
):
78 val
= cmndlgsc
.wxDirDialog_GetPath(self
.this
)
81 val
= cmndlgsc
.wxDirDialog_GetMessage(self
.this
)
84 val
= cmndlgsc
.wxDirDialog_GetStyle(self
.this
)
86 def SetMessage(self
,arg0
):
87 val
= cmndlgsc
.wxDirDialog_SetMessage(self
.this
,arg0
)
89 def SetPath(self
,arg0
):
90 val
= cmndlgsc
.wxDirDialog_SetPath(self
.this
,arg0
)
93 val
= cmndlgsc
.wxDirDialog_ShowModal(self
.this
)
96 return "<C wxDirDialog instance>"
97 class wxDirDialog(wxDirDialogPtr
):
98 def __init__(self
,arg0
,*args
) :
100 try: argl
[3] = argl
[3].this
103 self
.this
= apply(cmndlgsc
.new_wxDirDialog
,(arg0
.this
,)+args
)
105 wxp
._StdDialogCallbacks
(self
)
110 class wxFileDialogPtr(wxDialogPtr
):
111 def __init__(self
,this
):
114 def GetDirectory(self
):
115 val
= cmndlgsc
.wxFileDialog_GetDirectory(self
.this
)
117 def GetFilename(self
):
118 val
= cmndlgsc
.wxFileDialog_GetFilename(self
.this
)
120 def GetFilterIndex(self
):
121 val
= cmndlgsc
.wxFileDialog_GetFilterIndex(self
.this
)
123 def GetMessage(self
):
124 val
= cmndlgsc
.wxFileDialog_GetMessage(self
.this
)
127 val
= cmndlgsc
.wxFileDialog_GetPath(self
.this
)
130 val
= cmndlgsc
.wxFileDialog_GetStyle(self
.this
)
132 def GetWildcard(self
):
133 val
= cmndlgsc
.wxFileDialog_GetWildcard(self
.this
)
135 def SetDirectory(self
,arg0
):
136 val
= cmndlgsc
.wxFileDialog_SetDirectory(self
.this
,arg0
)
138 def SetFilename(self
,arg0
):
139 val
= cmndlgsc
.wxFileDialog_SetFilename(self
.this
,arg0
)
141 def SetFilterIndex(self
,arg0
):
142 val
= cmndlgsc
.wxFileDialog_SetFilterIndex(self
.this
,arg0
)
144 def SetMessage(self
,arg0
):
145 val
= cmndlgsc
.wxFileDialog_SetMessage(self
.this
,arg0
)
147 def SetPath(self
,arg0
):
148 val
= cmndlgsc
.wxFileDialog_SetPath(self
.this
,arg0
)
150 def SetStyle(self
,arg0
):
151 val
= cmndlgsc
.wxFileDialog_SetStyle(self
.this
,arg0
)
153 def SetWildcard(self
,arg0
):
154 val
= cmndlgsc
.wxFileDialog_SetWildcard(self
.this
,arg0
)
157 val
= cmndlgsc
.wxFileDialog_ShowModal(self
.this
)
160 return "<C wxFileDialog instance>"
161 class wxFileDialog(wxFileDialogPtr
):
162 def __init__(self
,arg0
,*args
) :
163 argl
= map(None,args
)
164 try: argl
[5] = argl
[5].this
167 self
.this
= apply(cmndlgsc
.new_wxFileDialog
,(arg0
.this
,)+args
)
169 wxp
._StdDialogCallbacks
(self
)
174 class wxSingleChoiceDialogPtr(wxDialogPtr
):
175 def __init__(self
,this
):
178 def GetSelection(self
):
179 val
= cmndlgsc
.wxSingleChoiceDialog_GetSelection(self
.this
)
181 def GetStringSelection(self
):
182 val
= cmndlgsc
.wxSingleChoiceDialog_GetStringSelection(self
.this
)
184 def SetSelection(self
,arg0
):
185 val
= cmndlgsc
.wxSingleChoiceDialog_SetSelection(self
.this
,arg0
)
188 val
= cmndlgsc
.wxSingleChoiceDialog_ShowModal(self
.this
)
191 return "<C wxSingleChoiceDialog instance>"
192 class wxSingleChoiceDialog(wxSingleChoiceDialogPtr
):
193 def __init__(self
,arg0
,arg1
,arg2
,arg3
,*args
) :
194 argl
= map(None,args
)
195 try: argl
[1] = argl
[1].this
198 self
.this
= apply(cmndlgsc
.new_wxSingleChoiceDialog
,(arg0
.this
,arg1
,arg2
,arg3
,)+args
)
200 wxp
._StdDialogCallbacks
(self
)
205 class wxTextEntryDialogPtr(wxDialogPtr
):
206 def __init__(self
,this
):
210 val
= cmndlgsc
.wxTextEntryDialog_GetValue(self
.this
)
212 def SetValue(self
,arg0
):
213 val
= cmndlgsc
.wxTextEntryDialog_SetValue(self
.this
,arg0
)
216 val
= cmndlgsc
.wxTextEntryDialog_ShowModal(self
.this
)
219 return "<C wxTextEntryDialog instance>"
220 class wxTextEntryDialog(wxTextEntryDialogPtr
):
221 def __init__(self
,arg0
,arg1
,*args
) :
222 argl
= map(None,args
)
223 try: argl
[3] = argl
[3].this
226 self
.this
= apply(cmndlgsc
.new_wxTextEntryDialog
,(arg0
.this
,arg1
,)+args
)
228 wxp
._StdDialogCallbacks
(self
)
233 class wxFontDataPtr
:
234 def __init__(self
,this
):
238 if self
.thisown
== 1 :
239 cmndlgsc
.delete_wxFontData(self
.this
)
240 def EnableEffects(self
,arg0
):
241 val
= cmndlgsc
.wxFontData_EnableEffects(self
.this
,arg0
)
243 def GetAllowSymbols(self
):
244 val
= cmndlgsc
.wxFontData_GetAllowSymbols(self
.this
)
247 val
= cmndlgsc
.wxFontData_GetColour(self
.this
)
248 val
= wxColourPtr(val
)
250 def GetChosenFont(self
):
251 val
= cmndlgsc
.wxFontData_GetChosenFont(self
.this
)
255 def GetEnableEffects(self
):
256 val
= cmndlgsc
.wxFontData_GetEnableEffects(self
.this
)
258 def GetInitialFont(self
):
259 val
= cmndlgsc
.wxFontData_GetInitialFont(self
.this
)
263 def GetShowHelp(self
):
264 val
= cmndlgsc
.wxFontData_GetShowHelp(self
.this
)
266 def SetAllowSymbols(self
,arg0
):
267 val
= cmndlgsc
.wxFontData_SetAllowSymbols(self
.this
,arg0
)
269 def SetChosenFont(self
,arg0
):
270 val
= cmndlgsc
.wxFontData_SetChosenFont(self
.this
,arg0
.this
)
272 def SetColour(self
,arg0
):
273 val
= cmndlgsc
.wxFontData_SetColour(self
.this
,arg0
.this
)
275 def SetInitialFont(self
,arg0
):
276 val
= cmndlgsc
.wxFontData_SetInitialFont(self
.this
,arg0
.this
)
278 def SetRange(self
,arg0
,arg1
):
279 val
= cmndlgsc
.wxFontData_SetRange(self
.this
,arg0
,arg1
)
281 def SetShowHelp(self
,arg0
):
282 val
= cmndlgsc
.wxFontData_SetShowHelp(self
.this
,arg0
)
285 return "<C wxFontData instance>"
286 class wxFontData(wxFontDataPtr
):
288 self
.this
= cmndlgsc
.new_wxFontData()
294 class wxFontDialogPtr(wxDialogPtr
):
295 def __init__(self
,this
):
298 def GetFontData(self
):
299 val
= cmndlgsc
.wxFontDialog_GetFontData(self
.this
)
300 val
= wxFontDataPtr(val
)
303 val
= cmndlgsc
.wxFontDialog_ShowModal(self
.this
)
306 return "<C wxFontDialog instance>"
307 class wxFontDialog(wxFontDialogPtr
):
308 def __init__(self
,arg0
,*args
) :
309 argl
= map(None,args
)
310 try: argl
[0] = argl
[0].this
313 self
.this
= apply(cmndlgsc
.new_wxFontDialog
,(arg0
.this
,)+args
)
315 wxp
._StdDialogCallbacks
(self
)
320 class wxPageSetupDataPtr
:
321 def __init__(self
,this
):
325 if self
.thisown
== 1 :
326 cmndlgsc
.delete_wxPageSetupData(self
.this
)
327 def EnableHelp(self
,arg0
):
328 val
= cmndlgsc
.wxPageSetupData_EnableHelp(self
.this
,arg0
)
330 def EnableMargins(self
,arg0
):
331 val
= cmndlgsc
.wxPageSetupData_EnableMargins(self
.this
,arg0
)
333 def EnableOrientation(self
,arg0
):
334 val
= cmndlgsc
.wxPageSetupData_EnableOrientation(self
.this
,arg0
)
336 def EnablePaper(self
,arg0
):
337 val
= cmndlgsc
.wxPageSetupData_EnablePaper(self
.this
,arg0
)
339 def EnablePrinter(self
,arg0
):
340 val
= cmndlgsc
.wxPageSetupData_EnablePrinter(self
.this
,arg0
)
342 def GetPaperSize(self
):
343 val
= cmndlgsc
.wxPageSetupData_GetPaperSize(self
.this
)
344 val
= wxPointPtr(val
)
347 def GetMarginTopLeft(self
):
348 val
= cmndlgsc
.wxPageSetupData_GetMarginTopLeft(self
.this
)
349 val
= wxPointPtr(val
)
352 def GetMarginBottomRight(self
):
353 val
= cmndlgsc
.wxPageSetupData_GetMarginBottomRight(self
.this
)
354 val
= wxPointPtr(val
)
357 def GetMinMarginTopLeft(self
):
358 val
= cmndlgsc
.wxPageSetupData_GetMinMarginTopLeft(self
.this
)
359 val
= wxPointPtr(val
)
362 def GetMinMarginBottomRight(self
):
363 val
= cmndlgsc
.wxPageSetupData_GetMinMarginBottomRight(self
.this
)
364 val
= wxPointPtr(val
)
367 def GetOrientation(self
):
368 val
= cmndlgsc
.wxPageSetupData_GetOrientation(self
.this
)
370 def GetDefaultMinMargins(self
):
371 val
= cmndlgsc
.wxPageSetupData_GetDefaultMinMargins(self
.this
)
373 def GetEnableMargins(self
):
374 val
= cmndlgsc
.wxPageSetupData_GetEnableMargins(self
.this
)
376 def GetEnableOrientation(self
):
377 val
= cmndlgsc
.wxPageSetupData_GetEnableOrientation(self
.this
)
379 def GetEnablePaper(self
):
380 val
= cmndlgsc
.wxPageSetupData_GetEnablePaper(self
.this
)
382 def GetEnablePrinter(self
):
383 val
= cmndlgsc
.wxPageSetupData_GetEnablePrinter(self
.this
)
385 def GetEnableHelp(self
):
386 val
= cmndlgsc
.wxPageSetupData_GetEnableHelp(self
.this
)
388 def GetDefaultInfo(self
):
389 val
= cmndlgsc
.wxPageSetupData_GetDefaultInfo(self
.this
)
391 def SetPaperSize(self
,arg0
):
392 val
= cmndlgsc
.wxPageSetupData_SetPaperSize(self
.this
,arg0
.this
)
394 def SetMarginTopLeft(self
,arg0
):
395 val
= cmndlgsc
.wxPageSetupData_SetMarginTopLeft(self
.this
,arg0
.this
)
397 def SetMarginBottomRight(self
,arg0
):
398 val
= cmndlgsc
.wxPageSetupData_SetMarginBottomRight(self
.this
,arg0
.this
)
400 def SetMinMarginTopLeft(self
,arg0
):
401 val
= cmndlgsc
.wxPageSetupData_SetMinMarginTopLeft(self
.this
,arg0
.this
)
403 def SetMinMarginBottomRight(self
,arg0
):
404 val
= cmndlgsc
.wxPageSetupData_SetMinMarginBottomRight(self
.this
,arg0
.this
)
406 def SetOrientation(self
,arg0
):
407 val
= cmndlgsc
.wxPageSetupData_SetOrientation(self
.this
,arg0
)
409 def SetDefaultMinMargins(self
,arg0
):
410 val
= cmndlgsc
.wxPageSetupData_SetDefaultMinMargins(self
.this
,arg0
)
412 def SetDefaultInfo(self
,arg0
):
413 val
= cmndlgsc
.wxPageSetupData_SetDefaultInfo(self
.this
,arg0
)
416 return "<C wxPageSetupData instance>"
417 class wxPageSetupData(wxPageSetupDataPtr
):
419 self
.this
= cmndlgsc
.new_wxPageSetupData()
425 class wxPageSetupDialogPtr(wxDialogPtr
):
426 def __init__(self
,this
):
429 def GetPageSetupData(self
):
430 val
= cmndlgsc
.wxPageSetupDialog_GetPageSetupData(self
.this
)
431 val
= wxPageSetupDataPtr(val
)
434 val
= cmndlgsc
.wxPageSetupDialog_ShowModal(self
.this
)
437 return "<C wxPageSetupDialog instance>"
438 class wxPageSetupDialog(wxPageSetupDialogPtr
):
439 def __init__(self
,arg0
,*args
) :
440 argl
= map(None,args
)
441 try: argl
[0] = argl
[0].this
444 self
.this
= apply(cmndlgsc
.new_wxPageSetupDialog
,(arg0
.this
,)+args
)
446 wxp
._StdDialogCallbacks
(self
)
451 class wxPrintDataPtr
:
452 def __init__(self
,this
):
456 if self
.thisown
== 1 :
457 cmndlgsc
.delete_wxPrintData(self
.this
)
458 def EnableHelp(self
,arg0
):
459 val
= cmndlgsc
.wxPrintData_EnableHelp(self
.this
,arg0
)
461 def EnablePageNumbers(self
,arg0
):
462 val
= cmndlgsc
.wxPrintData_EnablePageNumbers(self
.this
,arg0
)
464 def EnablePrintToFile(self
,arg0
):
465 val
= cmndlgsc
.wxPrintData_EnablePrintToFile(self
.this
,arg0
)
467 def EnableSelection(self
,arg0
):
468 val
= cmndlgsc
.wxPrintData_EnableSelection(self
.this
,arg0
)
470 def GetAllPages(self
):
471 val
= cmndlgsc
.wxPrintData_GetAllPages(self
.this
)
473 def GetCollate(self
):
474 val
= cmndlgsc
.wxPrintData_GetCollate(self
.this
)
476 def GetFromPage(self
):
477 val
= cmndlgsc
.wxPrintData_GetFromPage(self
.this
)
479 def GetMaxPage(self
):
480 val
= cmndlgsc
.wxPrintData_GetMaxPage(self
.this
)
482 def GetMinPage(self
):
483 val
= cmndlgsc
.wxPrintData_GetMinPage(self
.this
)
485 def GetNoCopies(self
):
486 val
= cmndlgsc
.wxPrintData_GetNoCopies(self
.this
)
488 def GetOrientation(self
):
489 val
= cmndlgsc
.wxPrintData_GetOrientation(self
.this
)
492 val
= cmndlgsc
.wxPrintData_GetToPage(self
.this
)
494 def SetCollate(self
,arg0
):
495 val
= cmndlgsc
.wxPrintData_SetCollate(self
.this
,arg0
)
497 def SetFromPage(self
,arg0
):
498 val
= cmndlgsc
.wxPrintData_SetFromPage(self
.this
,arg0
)
500 def SetMaxPage(self
,arg0
):
501 val
= cmndlgsc
.wxPrintData_SetMaxPage(self
.this
,arg0
)
503 def SetMinPage(self
,arg0
):
504 val
= cmndlgsc
.wxPrintData_SetMinPage(self
.this
,arg0
)
506 def SetOrientation(self
,arg0
):
507 val
= cmndlgsc
.wxPrintData_SetOrientation(self
.this
,arg0
)
509 def SetNoCopies(self
,arg0
):
510 val
= cmndlgsc
.wxPrintData_SetNoCopies(self
.this
,arg0
)
512 def SetPrintToFile(self
,arg0
):
513 val
= cmndlgsc
.wxPrintData_SetPrintToFile(self
.this
,arg0
)
515 def SetSetupDialog(self
,arg0
):
516 val
= cmndlgsc
.wxPrintData_SetSetupDialog(self
.this
,arg0
)
518 def SetToPage(self
,arg0
):
519 val
= cmndlgsc
.wxPrintData_SetToPage(self
.this
,arg0
)
522 return "<C wxPrintData instance>"
523 class wxPrintData(wxPrintDataPtr
):
525 self
.this
= cmndlgsc
.new_wxPrintData()
531 class wxPrintDialogPtr(wxDialogPtr
):
532 def __init__(self
,this
):
535 def GetPrintData(self
):
536 val
= cmndlgsc
.wxPrintDialog_GetPrintData(self
.this
)
537 val
= wxPrintDataPtr(val
)
539 def GetPrintDC(self
):
540 val
= cmndlgsc
.wxPrintDialog_GetPrintDC(self
.this
)
545 val
= cmndlgsc
.wxPrintDialog_ShowModal(self
.this
)
548 return "<C wxPrintDialog instance>"
549 class wxPrintDialog(wxPrintDialogPtr
):
550 def __init__(self
,arg0
,*args
) :
551 argl
= map(None,args
)
552 try: argl
[0] = argl
[0].this
555 self
.this
= apply(cmndlgsc
.new_wxPrintDialog
,(arg0
.this
,)+args
)
557 wxp
._StdDialogCallbacks
(self
)
562 class wxMessageDialogPtr(wxDialogPtr
):
563 def __init__(self
,this
):
567 val
= cmndlgsc
.wxMessageDialog_ShowModal(self
.this
)
570 return "<C wxMessageDialog instance>"
571 class wxMessageDialog(wxMessageDialogPtr
):
572 def __init__(self
,arg0
,arg1
,*args
) :
573 argl
= map(None,args
)
574 try: argl
[2] = argl
[2].this
577 self
.this
= apply(cmndlgsc
.new_wxMessageDialog
,(arg0
.this
,arg1
,)+args
)
579 wxp
._StdDialogCallbacks
(self
)
586 #-------------- FUNCTION WRAPPERS ------------------
590 #-------------- VARIABLE WRAPPERS ------------------