]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/cmndlgs.py
MSW version of the SWIG-generated files
[wxWidgets.git] / utils / wxPython / src / msw / cmndlgs.py
1 # This file was created automatically by SWIG.
2 import cmndlgsc
3
4 from misc import *
5
6 from gdi import *
7
8 from windows import *
9 class wxColourDataPtr :
10 def __init__(self,this):
11 self.this = this
12 self.thisown = 0
13 def __del__(self):
14 if self.thisown == 1 :
15 cmndlgsc.delete_wxColourData(self.this)
16 def GetChooseFull(self):
17 val = cmndlgsc.wxColourData_GetChooseFull(self.this)
18 return val
19 def GetColour(self):
20 val = cmndlgsc.wxColourData_GetColour(self.this)
21 val = wxColourPtr(val)
22 return val
23 def GetCustomColour(self,arg0):
24 val = cmndlgsc.wxColourData_GetCustomColour(self.this,arg0)
25 val = wxColourPtr(val)
26 val.thisown = 1
27 return val
28 def SetChooseFull(self,arg0):
29 val = cmndlgsc.wxColourData_SetChooseFull(self.this,arg0)
30 return val
31 def SetColour(self,arg0):
32 val = cmndlgsc.wxColourData_SetColour(self.this,arg0.this)
33 return val
34 def SetCustomColour(self,arg0,arg1):
35 val = cmndlgsc.wxColourData_SetCustomColour(self.this,arg0,arg1.this)
36 return val
37 def __repr__(self):
38 return "<C wxColourData instance>"
39 class wxColourData(wxColourDataPtr):
40 def __init__(self) :
41 self.this = cmndlgsc.new_wxColourData()
42 self.thisown = 1
43
44
45
46
47 class wxColourDialogPtr(wxDialogPtr):
48 def __init__(self,this):
49 self.this = this
50 self.thisown = 0
51 def GetColourData(self):
52 val = cmndlgsc.wxColourDialog_GetColourData(self.this)
53 val = wxColourDataPtr(val)
54 return val
55 def ShowModal(self):
56 val = cmndlgsc.wxColourDialog_ShowModal(self.this)
57 return val
58 def __repr__(self):
59 return "<C wxColourDialog instance>"
60 class wxColourDialog(wxColourDialogPtr):
61 def __init__(self,arg0,*args) :
62 argl = map(None,args)
63 try: argl[0] = argl[0].this
64 except: pass
65 args = tuple(argl)
66 self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args)
67 self.thisown = 1
68
69
70
71
72 class wxDirDialogPtr(wxDialogPtr):
73 def __init__(self,this):
74 self.this = this
75 self.thisown = 0
76 def GetPath(self):
77 val = cmndlgsc.wxDirDialog_GetPath(self.this)
78 return val
79 def GetMessage(self):
80 val = cmndlgsc.wxDirDialog_GetMessage(self.this)
81 return val
82 def GetStyle(self):
83 val = cmndlgsc.wxDirDialog_GetStyle(self.this)
84 return val
85 def SetMessage(self,arg0):
86 val = cmndlgsc.wxDirDialog_SetMessage(self.this,arg0)
87 return val
88 def SetPath(self,arg0):
89 val = cmndlgsc.wxDirDialog_SetPath(self.this,arg0)
90 return val
91 def ShowModal(self):
92 val = cmndlgsc.wxDirDialog_ShowModal(self.this)
93 return val
94 def __repr__(self):
95 return "<C wxDirDialog instance>"
96 class wxDirDialog(wxDirDialogPtr):
97 def __init__(self,arg0,*args) :
98 argl = map(None,args)
99 try: argl[3] = argl[3].this
100 except: pass
101 args = tuple(argl)
102 self.this = apply(cmndlgsc.new_wxDirDialog,(arg0.this,)+args)
103 self.thisown = 1
104
105
106
107
108 class wxFileDialogPtr(wxDialogPtr):
109 def __init__(self,this):
110 self.this = this
111 self.thisown = 0
112 def GetDirectory(self):
113 val = cmndlgsc.wxFileDialog_GetDirectory(self.this)
114 return val
115 def GetFilename(self):
116 val = cmndlgsc.wxFileDialog_GetFilename(self.this)
117 return val
118 def GetFilterIndex(self):
119 val = cmndlgsc.wxFileDialog_GetFilterIndex(self.this)
120 return val
121 def GetMessage(self):
122 val = cmndlgsc.wxFileDialog_GetMessage(self.this)
123 return val
124 def GetPath(self):
125 val = cmndlgsc.wxFileDialog_GetPath(self.this)
126 return val
127 def GetStyle(self):
128 val = cmndlgsc.wxFileDialog_GetStyle(self.this)
129 return val
130 def GetWildcard(self):
131 val = cmndlgsc.wxFileDialog_GetWildcard(self.this)
132 return val
133 def SetDirectory(self,arg0):
134 val = cmndlgsc.wxFileDialog_SetDirectory(self.this,arg0)
135 return val
136 def SetFilename(self,arg0):
137 val = cmndlgsc.wxFileDialog_SetFilename(self.this,arg0)
138 return val
139 def SetFilterIndex(self,arg0):
140 val = cmndlgsc.wxFileDialog_SetFilterIndex(self.this,arg0)
141 return val
142 def SetMessage(self,arg0):
143 val = cmndlgsc.wxFileDialog_SetMessage(self.this,arg0)
144 return val
145 def SetPath(self,arg0):
146 val = cmndlgsc.wxFileDialog_SetPath(self.this,arg0)
147 return val
148 def SetStyle(self,arg0):
149 val = cmndlgsc.wxFileDialog_SetStyle(self.this,arg0)
150 return val
151 def SetWildcard(self,arg0):
152 val = cmndlgsc.wxFileDialog_SetWildcard(self.this,arg0)
153 return val
154 def ShowModal(self):
155 val = cmndlgsc.wxFileDialog_ShowModal(self.this)
156 return val
157 def __repr__(self):
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
163 except: pass
164 args = tuple(argl)
165 self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args)
166 self.thisown = 1
167
168
169
170
171 class wxSingleChoiceDialogPtr(wxDialogPtr):
172 def __init__(self,this):
173 self.this = this
174 self.thisown = 0
175 def GetSelection(self):
176 val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self.this)
177 return val
178 def GetStringSelection(self):
179 val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self.this)
180 return val
181 def SetSelection(self,arg0):
182 val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self.this,arg0)
183 return val
184 def ShowModal(self):
185 val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self.this)
186 return val
187 def __repr__(self):
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
193 except: pass
194 args = tuple(argl)
195 self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args)
196 self.thisown = 1
197
198
199
200
201 class wxTextEntryDialogPtr(wxDialogPtr):
202 def __init__(self,this):
203 self.this = this
204 self.thisown = 0
205 def GetValue(self):
206 val = cmndlgsc.wxTextEntryDialog_GetValue(self.this)
207 return val
208 def SetValue(self,arg0):
209 val = cmndlgsc.wxTextEntryDialog_SetValue(self.this,arg0)
210 return val
211 def ShowModal(self):
212 val = cmndlgsc.wxTextEntryDialog_ShowModal(self.this)
213 return val
214 def __repr__(self):
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
220 except: pass
221 args = tuple(argl)
222 self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args)
223 self.thisown = 1
224
225
226
227
228 class wxFontDataPtr :
229 def __init__(self,this):
230 self.this = this
231 self.thisown = 0
232 def __del__(self):
233 if self.thisown == 1 :
234 cmndlgsc.delete_wxFontData(self.this)
235 def EnableEffects(self,arg0):
236 val = cmndlgsc.wxFontData_EnableEffects(self.this,arg0)
237 return val
238 def GetAllowSymbols(self):
239 val = cmndlgsc.wxFontData_GetAllowSymbols(self.this)
240 return val
241 def GetColour(self):
242 val = cmndlgsc.wxFontData_GetColour(self.this)
243 val = wxColourPtr(val)
244 return val
245 def GetChosenFont(self):
246 val = cmndlgsc.wxFontData_GetChosenFont(self.this)
247 val = wxFontPtr(val)
248 val.thisown = 1
249 return val
250 def GetEnableEffects(self):
251 val = cmndlgsc.wxFontData_GetEnableEffects(self.this)
252 return val
253 def GetInitialFont(self):
254 val = cmndlgsc.wxFontData_GetInitialFont(self.this)
255 val = wxFontPtr(val)
256 val.thisown = 1
257 return val
258 def GetShowHelp(self):
259 val = cmndlgsc.wxFontData_GetShowHelp(self.this)
260 return val
261 def SetAllowSymbols(self,arg0):
262 val = cmndlgsc.wxFontData_SetAllowSymbols(self.this,arg0)
263 return val
264 def SetChosenFont(self,arg0):
265 val = cmndlgsc.wxFontData_SetChosenFont(self.this,arg0.this)
266 return val
267 def SetColour(self,arg0):
268 val = cmndlgsc.wxFontData_SetColour(self.this,arg0.this)
269 return val
270 def SetInitialFont(self,arg0):
271 val = cmndlgsc.wxFontData_SetInitialFont(self.this,arg0.this)
272 return val
273 def SetRange(self,arg0,arg1):
274 val = cmndlgsc.wxFontData_SetRange(self.this,arg0,arg1)
275 return val
276 def SetShowHelp(self,arg0):
277 val = cmndlgsc.wxFontData_SetShowHelp(self.this,arg0)
278 return val
279 def __repr__(self):
280 return "<C wxFontData instance>"
281 class wxFontData(wxFontDataPtr):
282 def __init__(self) :
283 self.this = cmndlgsc.new_wxFontData()
284 self.thisown = 1
285
286
287
288
289 class wxFontDialogPtr(wxDialogPtr):
290 def __init__(self,this):
291 self.this = this
292 self.thisown = 0
293 def GetFontData(self):
294 val = cmndlgsc.wxFontDialog_GetFontData(self.this)
295 val = wxFontDataPtr(val)
296 return val
297 def ShowModal(self):
298 val = cmndlgsc.wxFontDialog_ShowModal(self.this)
299 return val
300 def __repr__(self):
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
306 except: pass
307 args = tuple(argl)
308 self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args)
309 self.thisown = 1
310
311
312
313
314 class wxPageSetupDataPtr :
315 def __init__(self,this):
316 self.this = this
317 self.thisown = 0
318 def __del__(self):
319 if self.thisown == 1 :
320 cmndlgsc.delete_wxPageSetupData(self.this)
321 def EnableHelp(self,arg0):
322 val = cmndlgsc.wxPageSetupData_EnableHelp(self.this,arg0)
323 return val
324 def EnableMargins(self,arg0):
325 val = cmndlgsc.wxPageSetupData_EnableMargins(self.this,arg0)
326 return val
327 def EnableOrientation(self,arg0):
328 val = cmndlgsc.wxPageSetupData_EnableOrientation(self.this,arg0)
329 return val
330 def EnablePaper(self,arg0):
331 val = cmndlgsc.wxPageSetupData_EnablePaper(self.this,arg0)
332 return val
333 def EnablePrinter(self,arg0):
334 val = cmndlgsc.wxPageSetupData_EnablePrinter(self.this,arg0)
335 return val
336 def GetPaperSize(self):
337 val = cmndlgsc.wxPageSetupData_GetPaperSize(self.this)
338 val = wxPointPtr(val)
339 val.thisown = 1
340 return val
341 def GetMarginTopLeft(self):
342 val = cmndlgsc.wxPageSetupData_GetMarginTopLeft(self.this)
343 val = wxPointPtr(val)
344 val.thisown = 1
345 return val
346 def GetMarginBottomRight(self):
347 val = cmndlgsc.wxPageSetupData_GetMarginBottomRight(self.this)
348 val = wxPointPtr(val)
349 val.thisown = 1
350 return val
351 def GetMinMarginTopLeft(self):
352 val = cmndlgsc.wxPageSetupData_GetMinMarginTopLeft(self.this)
353 val = wxPointPtr(val)
354 val.thisown = 1
355 return val
356 def GetMinMarginBottomRight(self):
357 val = cmndlgsc.wxPageSetupData_GetMinMarginBottomRight(self.this)
358 val = wxPointPtr(val)
359 val.thisown = 1
360 return val
361 def GetOrientation(self):
362 val = cmndlgsc.wxPageSetupData_GetOrientation(self.this)
363 return val
364 def GetDefaultMinMargins(self):
365 val = cmndlgsc.wxPageSetupData_GetDefaultMinMargins(self.this)
366 return val
367 def GetEnableMargins(self):
368 val = cmndlgsc.wxPageSetupData_GetEnableMargins(self.this)
369 return val
370 def GetEnableOrientation(self):
371 val = cmndlgsc.wxPageSetupData_GetEnableOrientation(self.this)
372 return val
373 def GetEnablePaper(self):
374 val = cmndlgsc.wxPageSetupData_GetEnablePaper(self.this)
375 return val
376 def GetEnablePrinter(self):
377 val = cmndlgsc.wxPageSetupData_GetEnablePrinter(self.this)
378 return val
379 def GetEnableHelp(self):
380 val = cmndlgsc.wxPageSetupData_GetEnableHelp(self.this)
381 return val
382 def GetDefaultInfo(self):
383 val = cmndlgsc.wxPageSetupData_GetDefaultInfo(self.this)
384 return val
385 def SetPaperSize(self,arg0):
386 val = cmndlgsc.wxPageSetupData_SetPaperSize(self.this,arg0.this)
387 return val
388 def SetMarginTopLeft(self,arg0):
389 val = cmndlgsc.wxPageSetupData_SetMarginTopLeft(self.this,arg0.this)
390 return val
391 def SetMarginBottomRight(self,arg0):
392 val = cmndlgsc.wxPageSetupData_SetMarginBottomRight(self.this,arg0.this)
393 return val
394 def SetMinMarginTopLeft(self,arg0):
395 val = cmndlgsc.wxPageSetupData_SetMinMarginTopLeft(self.this,arg0.this)
396 return val
397 def SetMinMarginBottomRight(self,arg0):
398 val = cmndlgsc.wxPageSetupData_SetMinMarginBottomRight(self.this,arg0.this)
399 return val
400 def SetOrientation(self,arg0):
401 val = cmndlgsc.wxPageSetupData_SetOrientation(self.this,arg0)
402 return val
403 def SetDefaultMinMargins(self,arg0):
404 val = cmndlgsc.wxPageSetupData_SetDefaultMinMargins(self.this,arg0)
405 return val
406 def SetDefaultInfo(self,arg0):
407 val = cmndlgsc.wxPageSetupData_SetDefaultInfo(self.this,arg0)
408 return val
409 def __repr__(self):
410 return "<C wxPageSetupData instance>"
411 class wxPageSetupData(wxPageSetupDataPtr):
412 def __init__(self) :
413 self.this = cmndlgsc.new_wxPageSetupData()
414 self.thisown = 1
415
416
417
418
419 class wxPageSetupDialogPtr(wxDialogPtr):
420 def __init__(self,this):
421 self.this = this
422 self.thisown = 0
423 def GetPageSetupData(self):
424 val = cmndlgsc.wxPageSetupDialog_GetPageSetupData(self.this)
425 val = wxPageSetupDataPtr(val)
426 return val
427 def ShowModal(self):
428 val = cmndlgsc.wxPageSetupDialog_ShowModal(self.this)
429 return val
430 def __repr__(self):
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
436 except: pass
437 args = tuple(argl)
438 self.this = apply(cmndlgsc.new_wxPageSetupDialog,(arg0.this,)+args)
439 self.thisown = 1
440
441
442
443
444 class wxPrintDataPtr :
445 def __init__(self,this):
446 self.this = this
447 self.thisown = 0
448 def __del__(self):
449 if self.thisown == 1 :
450 cmndlgsc.delete_wxPrintData(self.this)
451 def EnableHelp(self,arg0):
452 val = cmndlgsc.wxPrintData_EnableHelp(self.this,arg0)
453 return val
454 def EnablePageNumbers(self,arg0):
455 val = cmndlgsc.wxPrintData_EnablePageNumbers(self.this,arg0)
456 return val
457 def EnablePrintToFile(self,arg0):
458 val = cmndlgsc.wxPrintData_EnablePrintToFile(self.this,arg0)
459 return val
460 def EnableSelection(self,arg0):
461 val = cmndlgsc.wxPrintData_EnableSelection(self.this,arg0)
462 return val
463 def GetAllPages(self):
464 val = cmndlgsc.wxPrintData_GetAllPages(self.this)
465 return val
466 def GetCollate(self):
467 val = cmndlgsc.wxPrintData_GetCollate(self.this)
468 return val
469 def GetFromPage(self):
470 val = cmndlgsc.wxPrintData_GetFromPage(self.this)
471 return val
472 def GetMaxPage(self):
473 val = cmndlgsc.wxPrintData_GetMaxPage(self.this)
474 return val
475 def GetMinPage(self):
476 val = cmndlgsc.wxPrintData_GetMinPage(self.this)
477 return val
478 def GetNoCopies(self):
479 val = cmndlgsc.wxPrintData_GetNoCopies(self.this)
480 return val
481 def GetOrientation(self):
482 val = cmndlgsc.wxPrintData_GetOrientation(self.this)
483 return val
484 def GetToPage(self):
485 val = cmndlgsc.wxPrintData_GetToPage(self.this)
486 return val
487 def SetCollate(self,arg0):
488 val = cmndlgsc.wxPrintData_SetCollate(self.this,arg0)
489 return val
490 def SetFromPage(self,arg0):
491 val = cmndlgsc.wxPrintData_SetFromPage(self.this,arg0)
492 return val
493 def SetMaxPage(self,arg0):
494 val = cmndlgsc.wxPrintData_SetMaxPage(self.this,arg0)
495 return val
496 def SetMinPage(self,arg0):
497 val = cmndlgsc.wxPrintData_SetMinPage(self.this,arg0)
498 return val
499 def SetOrientation(self,arg0):
500 val = cmndlgsc.wxPrintData_SetOrientation(self.this,arg0)
501 return val
502 def SetNoCopies(self,arg0):
503 val = cmndlgsc.wxPrintData_SetNoCopies(self.this,arg0)
504 return val
505 def SetPrintToFile(self,arg0):
506 val = cmndlgsc.wxPrintData_SetPrintToFile(self.this,arg0)
507 return val
508 def SetSetupDialog(self,arg0):
509 val = cmndlgsc.wxPrintData_SetSetupDialog(self.this,arg0)
510 return val
511 def SetToPage(self,arg0):
512 val = cmndlgsc.wxPrintData_SetToPage(self.this,arg0)
513 return val
514 def __repr__(self):
515 return "<C wxPrintData instance>"
516 class wxPrintData(wxPrintDataPtr):
517 def __init__(self) :
518 self.this = cmndlgsc.new_wxPrintData()
519 self.thisown = 1
520
521
522
523
524 class wxPrintDialogPtr(wxDialogPtr):
525 def __init__(self,this):
526 self.this = this
527 self.thisown = 0
528 def GetPrintData(self):
529 val = cmndlgsc.wxPrintDialog_GetPrintData(self.this)
530 val = wxPrintDataPtr(val)
531 return val
532 def GetPrintDC(self):
533 val = cmndlgsc.wxPrintDialog_GetPrintDC(self.this)
534 val = wxDCPtr(val)
535 return val
536 def ShowModal(self):
537 val = cmndlgsc.wxPrintDialog_ShowModal(self.this)
538 return val
539 def __repr__(self):
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
545 except: pass
546 args = tuple(argl)
547 self.this = apply(cmndlgsc.new_wxPrintDialog,(arg0.this,)+args)
548 self.thisown = 1
549
550
551
552
553 class wxMessageDialogPtr(wxDialogPtr):
554 def __init__(self,this):
555 self.this = this
556 self.thisown = 0
557 def ShowModal(self):
558 val = cmndlgsc.wxMessageDialog_ShowModal(self.this)
559 return val
560 def __repr__(self):
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
566 except: pass
567 args = tuple(argl)
568 self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args)
569 self.thisown = 1
570
571
572
573
574
575
576 #-------------- FUNCTION WRAPPERS ------------------
577
578
579
580 #-------------- VARIABLE WRAPPERS ------------------
581