]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
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 * | |
105e45b9 | 9 | import wx |
70551f47 RD |
10 | class wxColourDataPtr : |
11 | def __init__(self,this): | |
12 | self.this = this | |
13 | self.thisown = 0 | |
14 | def __del__(self): | |
15 | if self.thisown == 1 : | |
16 | cmndlgsc.delete_wxColourData(self.this) | |
17 | def GetChooseFull(self): | |
18 | val = cmndlgsc.wxColourData_GetChooseFull(self.this) | |
19 | return val | |
20 | def GetColour(self): | |
21 | val = cmndlgsc.wxColourData_GetColour(self.this) | |
22 | val = wxColourPtr(val) | |
23 | return val | |
24 | def GetCustomColour(self,arg0): | |
25 | val = cmndlgsc.wxColourData_GetCustomColour(self.this,arg0) | |
26 | val = wxColourPtr(val) | |
27 | val.thisown = 1 | |
28 | return val | |
29 | def SetChooseFull(self,arg0): | |
30 | val = cmndlgsc.wxColourData_SetChooseFull(self.this,arg0) | |
31 | return val | |
32 | def SetColour(self,arg0): | |
33 | val = cmndlgsc.wxColourData_SetColour(self.this,arg0.this) | |
34 | return val | |
35 | def SetCustomColour(self,arg0,arg1): | |
36 | val = cmndlgsc.wxColourData_SetCustomColour(self.this,arg0,arg1.this) | |
37 | return val | |
38 | def __repr__(self): | |
39 | return "<C wxColourData instance>" | |
40 | class wxColourData(wxColourDataPtr): | |
41 | def __init__(self) : | |
42 | self.this = cmndlgsc.new_wxColourData() | |
43 | self.thisown = 1 | |
44 | ||
45 | ||
46 | ||
47 | ||
48 | class wxColourDialogPtr(wxDialogPtr): | |
49 | def __init__(self,this): | |
50 | self.this = this | |
51 | self.thisown = 0 | |
52 | def GetColourData(self): | |
53 | val = cmndlgsc.wxColourDialog_GetColourData(self.this) | |
54 | val = wxColourDataPtr(val) | |
70551f47 RD |
55 | return val |
56 | def ShowModal(self): | |
57 | val = cmndlgsc.wxColourDialog_ShowModal(self.this) | |
58 | return val | |
59 | def __repr__(self): | |
60 | return "<C wxColourDialog instance>" | |
61 | class wxColourDialog(wxColourDialogPtr): | |
62 | def __init__(self,arg0,*args) : | |
63 | argl = map(None,args) | |
64 | try: argl[0] = argl[0].this | |
65 | except: pass | |
66 | args = tuple(argl) | |
67 | self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args) | |
68 | self.thisown = 1 | |
105e45b9 | 69 | wx._StdDialogCallbacks(self) |
70551f47 RD |
70 | |
71 | ||
72 | ||
73 | ||
c95e68d8 RD |
74 | class wxDirDialogPtr(wxDialogPtr): |
75 | def __init__(self,this): | |
76 | self.this = this | |
77 | self.thisown = 0 | |
78 | def GetPath(self): | |
79 | val = cmndlgsc.wxDirDialog_GetPath(self.this) | |
80 | return val | |
81 | def GetMessage(self): | |
82 | val = cmndlgsc.wxDirDialog_GetMessage(self.this) | |
83 | return val | |
84 | def GetStyle(self): | |
85 | val = cmndlgsc.wxDirDialog_GetStyle(self.this) | |
86 | return val | |
87 | def SetMessage(self,arg0): | |
88 | val = cmndlgsc.wxDirDialog_SetMessage(self.this,arg0) | |
89 | return val | |
90 | def SetPath(self,arg0): | |
91 | val = cmndlgsc.wxDirDialog_SetPath(self.this,arg0) | |
92 | return val | |
93 | def ShowModal(self): | |
94 | val = cmndlgsc.wxDirDialog_ShowModal(self.this) | |
95 | return val | |
96 | def __repr__(self): | |
97 | return "<C wxDirDialog instance>" | |
98 | class wxDirDialog(wxDirDialogPtr): | |
99 | def __init__(self,arg0,*args) : | |
100 | argl = map(None,args) | |
101 | try: argl[3] = argl[3].this | |
102 | except: pass | |
103 | args = tuple(argl) | |
104 | self.this = apply(cmndlgsc.new_wxDirDialog,(arg0.this,)+args) | |
105 | self.thisown = 1 | |
106 | wx._StdDialogCallbacks(self) | |
107 | ||
108 | ||
109 | ||
110 | ||
70551f47 RD |
111 | class wxFileDialogPtr(wxDialogPtr): |
112 | def __init__(self,this): | |
113 | self.this = this | |
114 | self.thisown = 0 | |
115 | def GetDirectory(self): | |
116 | val = cmndlgsc.wxFileDialog_GetDirectory(self.this) | |
117 | return val | |
118 | def GetFilename(self): | |
119 | val = cmndlgsc.wxFileDialog_GetFilename(self.this) | |
120 | return val | |
121 | def GetFilterIndex(self): | |
122 | val = cmndlgsc.wxFileDialog_GetFilterIndex(self.this) | |
123 | return val | |
124 | def GetMessage(self): | |
125 | val = cmndlgsc.wxFileDialog_GetMessage(self.this) | |
126 | return val | |
127 | def GetPath(self): | |
128 | val = cmndlgsc.wxFileDialog_GetPath(self.this) | |
129 | return val | |
130 | def GetStyle(self): | |
131 | val = cmndlgsc.wxFileDialog_GetStyle(self.this) | |
132 | return val | |
133 | def GetWildcard(self): | |
134 | val = cmndlgsc.wxFileDialog_GetWildcard(self.this) | |
135 | return val | |
136 | def SetDirectory(self,arg0): | |
137 | val = cmndlgsc.wxFileDialog_SetDirectory(self.this,arg0) | |
138 | return val | |
139 | def SetFilename(self,arg0): | |
140 | val = cmndlgsc.wxFileDialog_SetFilename(self.this,arg0) | |
141 | return val | |
142 | def SetFilterIndex(self,arg0): | |
143 | val = cmndlgsc.wxFileDialog_SetFilterIndex(self.this,arg0) | |
144 | return val | |
145 | def SetMessage(self,arg0): | |
146 | val = cmndlgsc.wxFileDialog_SetMessage(self.this,arg0) | |
147 | return val | |
148 | def SetPath(self,arg0): | |
149 | val = cmndlgsc.wxFileDialog_SetPath(self.this,arg0) | |
150 | return val | |
151 | def SetStyle(self,arg0): | |
152 | val = cmndlgsc.wxFileDialog_SetStyle(self.this,arg0) | |
153 | return val | |
154 | def SetWildcard(self,arg0): | |
155 | val = cmndlgsc.wxFileDialog_SetWildcard(self.this,arg0) | |
156 | return val | |
157 | def ShowModal(self): | |
158 | val = cmndlgsc.wxFileDialog_ShowModal(self.this) | |
159 | return val | |
160 | def __repr__(self): | |
161 | return "<C wxFileDialog instance>" | |
162 | class wxFileDialog(wxFileDialogPtr): | |
163 | def __init__(self,arg0,*args) : | |
164 | argl = map(None,args) | |
165 | try: argl[5] = argl[5].this | |
166 | except: pass | |
167 | args = tuple(argl) | |
168 | self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args) | |
169 | self.thisown = 1 | |
105e45b9 | 170 | wx._StdDialogCallbacks(self) |
70551f47 RD |
171 | |
172 | ||
173 | ||
174 | ||
175 | class wxSingleChoiceDialogPtr(wxDialogPtr): | |
176 | def __init__(self,this): | |
177 | self.this = this | |
178 | self.thisown = 0 | |
179 | def GetSelection(self): | |
180 | val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self.this) | |
181 | return val | |
182 | def GetStringSelection(self): | |
183 | val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self.this) | |
184 | return val | |
185 | def SetSelection(self,arg0): | |
186 | val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self.this,arg0) | |
187 | return val | |
188 | def ShowModal(self): | |
189 | val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self.this) | |
190 | return val | |
191 | def __repr__(self): | |
192 | return "<C wxSingleChoiceDialog instance>" | |
193 | class wxSingleChoiceDialog(wxSingleChoiceDialogPtr): | |
194 | def __init__(self,arg0,arg1,arg2,arg3,*args) : | |
195 | argl = map(None,args) | |
196 | try: argl[1] = argl[1].this | |
197 | except: pass | |
198 | args = tuple(argl) | |
199 | self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args) | |
200 | self.thisown = 1 | |
105e45b9 | 201 | wx._StdDialogCallbacks(self) |
70551f47 RD |
202 | |
203 | ||
204 | ||
205 | ||
206 | class wxTextEntryDialogPtr(wxDialogPtr): | |
207 | def __init__(self,this): | |
208 | self.this = this | |
209 | self.thisown = 0 | |
210 | def GetValue(self): | |
211 | val = cmndlgsc.wxTextEntryDialog_GetValue(self.this) | |
212 | return val | |
213 | def SetValue(self,arg0): | |
214 | val = cmndlgsc.wxTextEntryDialog_SetValue(self.this,arg0) | |
215 | return val | |
216 | def ShowModal(self): | |
217 | val = cmndlgsc.wxTextEntryDialog_ShowModal(self.this) | |
218 | return val | |
219 | def __repr__(self): | |
220 | return "<C wxTextEntryDialog instance>" | |
221 | class wxTextEntryDialog(wxTextEntryDialogPtr): | |
222 | def __init__(self,arg0,arg1,*args) : | |
223 | argl = map(None,args) | |
224 | try: argl[3] = argl[3].this | |
225 | except: pass | |
226 | args = tuple(argl) | |
227 | self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args) | |
228 | self.thisown = 1 | |
105e45b9 | 229 | wx._StdDialogCallbacks(self) |
70551f47 RD |
230 | |
231 | ||
232 | ||
233 | ||
234 | class wxFontDataPtr : | |
235 | def __init__(self,this): | |
236 | self.this = this | |
237 | self.thisown = 0 | |
238 | def __del__(self): | |
239 | if self.thisown == 1 : | |
240 | cmndlgsc.delete_wxFontData(self.this) | |
241 | def EnableEffects(self,arg0): | |
242 | val = cmndlgsc.wxFontData_EnableEffects(self.this,arg0) | |
243 | return val | |
244 | def GetAllowSymbols(self): | |
245 | val = cmndlgsc.wxFontData_GetAllowSymbols(self.this) | |
246 | return val | |
247 | def GetColour(self): | |
248 | val = cmndlgsc.wxFontData_GetColour(self.this) | |
249 | val = wxColourPtr(val) | |
250 | return val | |
251 | def GetChosenFont(self): | |
252 | val = cmndlgsc.wxFontData_GetChosenFont(self.this) | |
253 | val = wxFontPtr(val) | |
254 | val.thisown = 1 | |
255 | return val | |
256 | def GetEnableEffects(self): | |
257 | val = cmndlgsc.wxFontData_GetEnableEffects(self.this) | |
258 | return val | |
259 | def GetInitialFont(self): | |
260 | val = cmndlgsc.wxFontData_GetInitialFont(self.this) | |
261 | val = wxFontPtr(val) | |
262 | val.thisown = 1 | |
263 | return val | |
264 | def GetShowHelp(self): | |
265 | val = cmndlgsc.wxFontData_GetShowHelp(self.this) | |
266 | return val | |
267 | def SetAllowSymbols(self,arg0): | |
268 | val = cmndlgsc.wxFontData_SetAllowSymbols(self.this,arg0) | |
269 | return val | |
270 | def SetChosenFont(self,arg0): | |
271 | val = cmndlgsc.wxFontData_SetChosenFont(self.this,arg0.this) | |
272 | return val | |
273 | def SetColour(self,arg0): | |
274 | val = cmndlgsc.wxFontData_SetColour(self.this,arg0.this) | |
275 | return val | |
276 | def SetInitialFont(self,arg0): | |
277 | val = cmndlgsc.wxFontData_SetInitialFont(self.this,arg0.this) | |
278 | return val | |
279 | def SetRange(self,arg0,arg1): | |
280 | val = cmndlgsc.wxFontData_SetRange(self.this,arg0,arg1) | |
281 | return val | |
282 | def SetShowHelp(self,arg0): | |
283 | val = cmndlgsc.wxFontData_SetShowHelp(self.this,arg0) | |
284 | return val | |
285 | def __repr__(self): | |
286 | return "<C wxFontData instance>" | |
287 | class wxFontData(wxFontDataPtr): | |
288 | def __init__(self) : | |
289 | self.this = cmndlgsc.new_wxFontData() | |
290 | self.thisown = 1 | |
291 | ||
292 | ||
293 | ||
294 | ||
295 | class wxFontDialogPtr(wxDialogPtr): | |
296 | def __init__(self,this): | |
297 | self.this = this | |
298 | self.thisown = 0 | |
299 | def GetFontData(self): | |
300 | val = cmndlgsc.wxFontDialog_GetFontData(self.this) | |
301 | val = wxFontDataPtr(val) | |
302 | return val | |
303 | def ShowModal(self): | |
304 | val = cmndlgsc.wxFontDialog_ShowModal(self.this) | |
305 | return val | |
306 | def __repr__(self): | |
307 | return "<C wxFontDialog instance>" | |
308 | class wxFontDialog(wxFontDialogPtr): | |
309 | def __init__(self,arg0,*args) : | |
310 | argl = map(None,args) | |
311 | try: argl[0] = argl[0].this | |
312 | except: pass | |
313 | args = tuple(argl) | |
314 | self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args) | |
315 | self.thisown = 1 | |
105e45b9 | 316 | wx._StdDialogCallbacks(self) |
70551f47 RD |
317 | |
318 | ||
319 | ||
320 | ||
ab9bc19b | 321 | class wxPageSetupDialogDataPtr : |
faf3cb35 RD |
322 | def __init__(self,this): |
323 | self.this = this | |
324 | self.thisown = 0 | |
325 | def __del__(self): | |
326 | if self.thisown == 1 : | |
ab9bc19b | 327 | cmndlgsc.delete_wxPageSetupDialogData(self.this) |
faf3cb35 | 328 | def EnableHelp(self,arg0): |
ab9bc19b | 329 | val = cmndlgsc.wxPageSetupDialogData_EnableHelp(self.this,arg0) |
faf3cb35 RD |
330 | return val |
331 | def EnableMargins(self,arg0): | |
ab9bc19b | 332 | val = cmndlgsc.wxPageSetupDialogData_EnableMargins(self.this,arg0) |
faf3cb35 RD |
333 | return val |
334 | def EnableOrientation(self,arg0): | |
ab9bc19b | 335 | val = cmndlgsc.wxPageSetupDialogData_EnableOrientation(self.this,arg0) |
faf3cb35 RD |
336 | return val |
337 | def EnablePaper(self,arg0): | |
ab9bc19b | 338 | val = cmndlgsc.wxPageSetupDialogData_EnablePaper(self.this,arg0) |
faf3cb35 RD |
339 | return val |
340 | def EnablePrinter(self,arg0): | |
ab9bc19b | 341 | val = cmndlgsc.wxPageSetupDialogData_EnablePrinter(self.this,arg0) |
faf3cb35 | 342 | return val |
ab9bc19b RD |
343 | def GetDefaultMinMargins(self): |
344 | val = cmndlgsc.wxPageSetupDialogData_GetDefaultMinMargins(self.this) | |
345 | return val | |
346 | def GetEnableMargins(self): | |
347 | val = cmndlgsc.wxPageSetupDialogData_GetEnableMargins(self.this) | |
348 | return val | |
349 | def GetEnableOrientation(self): | |
350 | val = cmndlgsc.wxPageSetupDialogData_GetEnableOrientation(self.this) | |
351 | return val | |
352 | def GetEnablePaper(self): | |
353 | val = cmndlgsc.wxPageSetupDialogData_GetEnablePaper(self.this) | |
354 | return val | |
355 | def GetEnablePrinter(self): | |
356 | val = cmndlgsc.wxPageSetupDialogData_GetEnablePrinter(self.this) | |
357 | return val | |
358 | def GetEnableHelp(self): | |
359 | val = cmndlgsc.wxPageSetupDialogData_GetEnableHelp(self.this) | |
360 | return val | |
361 | def GetDefaultInfo(self): | |
362 | val = cmndlgsc.wxPageSetupDialogData_GetDefaultInfo(self.this) | |
faf3cb35 RD |
363 | return val |
364 | def GetMarginTopLeft(self): | |
ab9bc19b | 365 | val = cmndlgsc.wxPageSetupDialogData_GetMarginTopLeft(self.this) |
faf3cb35 RD |
366 | val = wxPointPtr(val) |
367 | val.thisown = 1 | |
368 | return val | |
369 | def GetMarginBottomRight(self): | |
ab9bc19b | 370 | val = cmndlgsc.wxPageSetupDialogData_GetMarginBottomRight(self.this) |
faf3cb35 RD |
371 | val = wxPointPtr(val) |
372 | val.thisown = 1 | |
373 | return val | |
374 | def GetMinMarginTopLeft(self): | |
ab9bc19b | 375 | val = cmndlgsc.wxPageSetupDialogData_GetMinMarginTopLeft(self.this) |
faf3cb35 RD |
376 | val = wxPointPtr(val) |
377 | val.thisown = 1 | |
378 | return val | |
379 | def GetMinMarginBottomRight(self): | |
ab9bc19b | 380 | val = cmndlgsc.wxPageSetupDialogData_GetMinMarginBottomRight(self.this) |
faf3cb35 RD |
381 | val = wxPointPtr(val) |
382 | val.thisown = 1 | |
383 | return val | |
ab9bc19b RD |
384 | def GetPaperId(self): |
385 | val = cmndlgsc.wxPageSetupDialogData_GetPaperId(self.this) | |
faf3cb35 | 386 | return val |
ab9bc19b RD |
387 | def GetPaperSize(self): |
388 | val = cmndlgsc.wxPageSetupDialogData_GetPaperSize(self.this) | |
389 | val = wxSizePtr(val) | |
390 | val.thisown = 1 | |
faf3cb35 | 391 | return val |
ab9bc19b RD |
392 | def GetPrintData(self): |
393 | val = cmndlgsc.wxPageSetupDialogData_GetPrintData(self.this) | |
394 | val = wxPrintDataPtr(val) | |
faf3cb35 | 395 | return val |
ab9bc19b RD |
396 | def SetDefaultInfo(self,arg0): |
397 | val = cmndlgsc.wxPageSetupDialogData_SetDefaultInfo(self.this,arg0) | |
faf3cb35 | 398 | return val |
ab9bc19b RD |
399 | def SetDefaultMinMargins(self,arg0): |
400 | val = cmndlgsc.wxPageSetupDialogData_SetDefaultMinMargins(self.this,arg0) | |
faf3cb35 RD |
401 | return val |
402 | def SetMarginTopLeft(self,arg0): | |
ab9bc19b | 403 | val = cmndlgsc.wxPageSetupDialogData_SetMarginTopLeft(self.this,arg0.this) |
faf3cb35 RD |
404 | return val |
405 | def SetMarginBottomRight(self,arg0): | |
ab9bc19b | 406 | val = cmndlgsc.wxPageSetupDialogData_SetMarginBottomRight(self.this,arg0.this) |
faf3cb35 RD |
407 | return val |
408 | def SetMinMarginTopLeft(self,arg0): | |
ab9bc19b | 409 | val = cmndlgsc.wxPageSetupDialogData_SetMinMarginTopLeft(self.this,arg0.this) |
faf3cb35 RD |
410 | return val |
411 | def SetMinMarginBottomRight(self,arg0): | |
ab9bc19b | 412 | val = cmndlgsc.wxPageSetupDialogData_SetMinMarginBottomRight(self.this,arg0.this) |
faf3cb35 | 413 | return val |
ab9bc19b RD |
414 | def SetPaperId(self,arg0): |
415 | val = cmndlgsc.wxPageSetupDialogData_SetPaperId(self.this,arg0) | |
faf3cb35 | 416 | return val |
ab9bc19b RD |
417 | def SetPaperSize(self,arg0): |
418 | val = cmndlgsc.wxPageSetupDialogData_SetPaperSize(self.this,arg0.this) | |
faf3cb35 | 419 | return val |
ab9bc19b RD |
420 | def SetPrintData(self,arg0): |
421 | val = cmndlgsc.wxPageSetupDialogData_SetPrintData(self.this,arg0.this) | |
faf3cb35 RD |
422 | return val |
423 | def __repr__(self): | |
ab9bc19b RD |
424 | return "<C wxPageSetupDialogData instance>" |
425 | class wxPageSetupDialogData(wxPageSetupDialogDataPtr): | |
faf3cb35 | 426 | def __init__(self) : |
ab9bc19b | 427 | self.this = cmndlgsc.new_wxPageSetupDialogData() |
faf3cb35 RD |
428 | self.thisown = 1 |
429 | ||
430 | ||
431 | ||
432 | ||
433 | class wxPageSetupDialogPtr(wxDialogPtr): | |
434 | def __init__(self,this): | |
435 | self.this = this | |
436 | self.thisown = 0 | |
437 | def GetPageSetupData(self): | |
438 | val = cmndlgsc.wxPageSetupDialog_GetPageSetupData(self.this) | |
ab9bc19b | 439 | val = wxPageSetupDialogDataPtr(val) |
faf3cb35 RD |
440 | return val |
441 | def ShowModal(self): | |
442 | val = cmndlgsc.wxPageSetupDialog_ShowModal(self.this) | |
443 | return val | |
444 | def __repr__(self): | |
445 | return "<C wxPageSetupDialog instance>" | |
446 | class wxPageSetupDialog(wxPageSetupDialogPtr): | |
447 | def __init__(self,arg0,*args) : | |
448 | argl = map(None,args) | |
449 | try: argl[0] = argl[0].this | |
450 | except: pass | |
451 | args = tuple(argl) | |
452 | self.this = apply(cmndlgsc.new_wxPageSetupDialog,(arg0.this,)+args) | |
453 | self.thisown = 1 | |
105e45b9 | 454 | wx._StdDialogCallbacks(self) |
faf3cb35 RD |
455 | |
456 | ||
457 | ||
458 | ||
ab9bc19b | 459 | class wxPrintDialogDataPtr : |
faf3cb35 RD |
460 | def __init__(self,this): |
461 | self.this = this | |
462 | self.thisown = 0 | |
463 | def __del__(self): | |
464 | if self.thisown == 1 : | |
ab9bc19b | 465 | cmndlgsc.delete_wxPrintDialogData(self.this) |
faf3cb35 | 466 | def EnableHelp(self,arg0): |
ab9bc19b | 467 | val = cmndlgsc.wxPrintDialogData_EnableHelp(self.this,arg0) |
faf3cb35 RD |
468 | return val |
469 | def EnablePageNumbers(self,arg0): | |
ab9bc19b | 470 | val = cmndlgsc.wxPrintDialogData_EnablePageNumbers(self.this,arg0) |
faf3cb35 RD |
471 | return val |
472 | def EnablePrintToFile(self,arg0): | |
ab9bc19b | 473 | val = cmndlgsc.wxPrintDialogData_EnablePrintToFile(self.this,arg0) |
faf3cb35 RD |
474 | return val |
475 | def EnableSelection(self,arg0): | |
ab9bc19b | 476 | val = cmndlgsc.wxPrintDialogData_EnableSelection(self.this,arg0) |
faf3cb35 RD |
477 | return val |
478 | def GetAllPages(self): | |
ab9bc19b | 479 | val = cmndlgsc.wxPrintDialogData_GetAllPages(self.this) |
faf3cb35 RD |
480 | return val |
481 | def GetCollate(self): | |
ab9bc19b | 482 | val = cmndlgsc.wxPrintDialogData_GetCollate(self.this) |
faf3cb35 RD |
483 | return val |
484 | def GetFromPage(self): | |
ab9bc19b | 485 | val = cmndlgsc.wxPrintDialogData_GetFromPage(self.this) |
faf3cb35 RD |
486 | return val |
487 | def GetMaxPage(self): | |
ab9bc19b | 488 | val = cmndlgsc.wxPrintDialogData_GetMaxPage(self.this) |
faf3cb35 RD |
489 | return val |
490 | def GetMinPage(self): | |
ab9bc19b | 491 | val = cmndlgsc.wxPrintDialogData_GetMinPage(self.this) |
faf3cb35 RD |
492 | return val |
493 | def GetNoCopies(self): | |
ab9bc19b | 494 | val = cmndlgsc.wxPrintDialogData_GetNoCopies(self.this) |
faf3cb35 | 495 | return val |
ab9bc19b RD |
496 | def GetPrintData(self): |
497 | val = cmndlgsc.wxPrintDialogData_GetPrintData(self.this) | |
498 | val = wxPrintDataPtr(val) | |
499 | return val | |
500 | def GetPrintToFile(self): | |
501 | val = cmndlgsc.wxPrintDialogData_GetPrintToFile(self.this) | |
faf3cb35 RD |
502 | return val |
503 | def GetToPage(self): | |
ab9bc19b | 504 | val = cmndlgsc.wxPrintDialogData_GetToPage(self.this) |
faf3cb35 RD |
505 | return val |
506 | def SetCollate(self,arg0): | |
ab9bc19b | 507 | val = cmndlgsc.wxPrintDialogData_SetCollate(self.this,arg0) |
faf3cb35 RD |
508 | return val |
509 | def SetFromPage(self,arg0): | |
ab9bc19b | 510 | val = cmndlgsc.wxPrintDialogData_SetFromPage(self.this,arg0) |
faf3cb35 RD |
511 | return val |
512 | def SetMaxPage(self,arg0): | |
ab9bc19b | 513 | val = cmndlgsc.wxPrintDialogData_SetMaxPage(self.this,arg0) |
faf3cb35 RD |
514 | return val |
515 | def SetMinPage(self,arg0): | |
ab9bc19b | 516 | val = cmndlgsc.wxPrintDialogData_SetMinPage(self.this,arg0) |
faf3cb35 RD |
517 | return val |
518 | def SetNoCopies(self,arg0): | |
ab9bc19b RD |
519 | val = cmndlgsc.wxPrintDialogData_SetNoCopies(self.this,arg0) |
520 | return val | |
521 | def SetPrintData(self,arg0): | |
522 | val = cmndlgsc.wxPrintDialogData_SetPrintData(self.this,arg0.this) | |
faf3cb35 RD |
523 | return val |
524 | def SetPrintToFile(self,arg0): | |
ab9bc19b | 525 | val = cmndlgsc.wxPrintDialogData_SetPrintToFile(self.this,arg0) |
faf3cb35 RD |
526 | return val |
527 | def SetSetupDialog(self,arg0): | |
ab9bc19b | 528 | val = cmndlgsc.wxPrintDialogData_SetSetupDialog(self.this,arg0) |
faf3cb35 RD |
529 | return val |
530 | def SetToPage(self,arg0): | |
ab9bc19b | 531 | val = cmndlgsc.wxPrintDialogData_SetToPage(self.this,arg0) |
faf3cb35 RD |
532 | return val |
533 | def __repr__(self): | |
ab9bc19b RD |
534 | return "<C wxPrintDialogData instance>" |
535 | class wxPrintDialogData(wxPrintDialogDataPtr): | |
faf3cb35 | 536 | def __init__(self) : |
ab9bc19b | 537 | self.this = cmndlgsc.new_wxPrintDialogData() |
faf3cb35 RD |
538 | self.thisown = 1 |
539 | ||
540 | ||
541 | ||
542 | ||
543 | class wxPrintDialogPtr(wxDialogPtr): | |
544 | def __init__(self,this): | |
545 | self.this = this | |
546 | self.thisown = 0 | |
ab9bc19b RD |
547 | def GetPrintDialogData(self): |
548 | val = cmndlgsc.wxPrintDialog_GetPrintDialogData(self.this) | |
549 | val = wxPrintDialogDataPtr(val) | |
faf3cb35 RD |
550 | return val |
551 | def GetPrintDC(self): | |
552 | val = cmndlgsc.wxPrintDialog_GetPrintDC(self.this) | |
553 | val = wxDCPtr(val) | |
105e45b9 | 554 | val.thisown = 1 |
faf3cb35 RD |
555 | return val |
556 | def ShowModal(self): | |
557 | val = cmndlgsc.wxPrintDialog_ShowModal(self.this) | |
558 | return val | |
559 | def __repr__(self): | |
560 | return "<C wxPrintDialog instance>" | |
561 | class wxPrintDialog(wxPrintDialogPtr): | |
562 | def __init__(self,arg0,*args) : | |
563 | argl = map(None,args) | |
564 | try: argl[0] = argl[0].this | |
565 | except: pass | |
566 | args = tuple(argl) | |
567 | self.this = apply(cmndlgsc.new_wxPrintDialog,(arg0.this,)+args) | |
568 | self.thisown = 1 | |
105e45b9 | 569 | wx._StdDialogCallbacks(self) |
faf3cb35 RD |
570 | |
571 | ||
572 | ||
573 | ||
70551f47 RD |
574 | class wxMessageDialogPtr(wxDialogPtr): |
575 | def __init__(self,this): | |
576 | self.this = this | |
577 | self.thisown = 0 | |
578 | def ShowModal(self): | |
579 | val = cmndlgsc.wxMessageDialog_ShowModal(self.this) | |
580 | return val | |
581 | def __repr__(self): | |
582 | return "<C wxMessageDialog instance>" | |
583 | class wxMessageDialog(wxMessageDialogPtr): | |
584 | def __init__(self,arg0,arg1,*args) : | |
585 | argl = map(None,args) | |
586 | try: argl[2] = argl[2].this | |
587 | except: pass | |
588 | args = tuple(argl) | |
589 | self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args) | |
590 | self.thisown = 1 | |
105e45b9 | 591 | wx._StdDialogCallbacks(self) |
70551f47 RD |
592 | |
593 | ||
594 | ||
595 | ||
596 | ||
597 | ||
598 | #-------------- FUNCTION WRAPPERS ------------------ | |
599 | ||
600 | ||
601 | ||
602 | #-------------- VARIABLE WRAPPERS ------------------ | |
603 |