1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
20 from stattool
import *
22 from controls
import *
24 class wxPrintDataPtr(wxObjectPtr
):
25 def __init__(self
,this
):
28 def __del__(self
, delfunc
=printfwc
.delete_wxPrintData
):
34 def GetNoCopies(self
, *_args
, **_kwargs
):
35 val
= printfwc
.wxPrintData_GetNoCopies(self
, *_args
, **_kwargs
)
37 def GetCollate(self
, *_args
, **_kwargs
):
38 val
= printfwc
.wxPrintData_GetCollate(self
, *_args
, **_kwargs
)
40 def GetOrientation(self
, *_args
, **_kwargs
):
41 val
= printfwc
.wxPrintData_GetOrientation(self
, *_args
, **_kwargs
)
43 def Ok(self
, *_args
, **_kwargs
):
44 val
= printfwc
.wxPrintData_Ok(self
, *_args
, **_kwargs
)
46 def GetPrinterName(self
, *_args
, **_kwargs
):
47 val
= printfwc
.wxPrintData_GetPrinterName(self
, *_args
, **_kwargs
)
49 def GetColour(self
, *_args
, **_kwargs
):
50 val
= printfwc
.wxPrintData_GetColour(self
, *_args
, **_kwargs
)
52 def GetDuplex(self
, *_args
, **_kwargs
):
53 val
= printfwc
.wxPrintData_GetDuplex(self
, *_args
, **_kwargs
)
55 def GetPaperId(self
, *_args
, **_kwargs
):
56 val
= printfwc
.wxPrintData_GetPaperId(self
, *_args
, **_kwargs
)
58 def GetPaperSize(self
, *_args
, **_kwargs
):
59 val
= printfwc
.wxPrintData_GetPaperSize(self
, *_args
, **_kwargs
)
60 if val
: val
= wxSizePtr(val
)
62 def GetQuality(self
, *_args
, **_kwargs
):
63 val
= printfwc
.wxPrintData_GetQuality(self
, *_args
, **_kwargs
)
65 def SetNoCopies(self
, *_args
, **_kwargs
):
66 val
= printfwc
.wxPrintData_SetNoCopies(self
, *_args
, **_kwargs
)
68 def SetCollate(self
, *_args
, **_kwargs
):
69 val
= printfwc
.wxPrintData_SetCollate(self
, *_args
, **_kwargs
)
71 def SetOrientation(self
, *_args
, **_kwargs
):
72 val
= printfwc
.wxPrintData_SetOrientation(self
, *_args
, **_kwargs
)
74 def SetPrinterName(self
, *_args
, **_kwargs
):
75 val
= printfwc
.wxPrintData_SetPrinterName(self
, *_args
, **_kwargs
)
77 def SetColour(self
, *_args
, **_kwargs
):
78 val
= printfwc
.wxPrintData_SetColour(self
, *_args
, **_kwargs
)
80 def SetDuplex(self
, *_args
, **_kwargs
):
81 val
= printfwc
.wxPrintData_SetDuplex(self
, *_args
, **_kwargs
)
83 def SetPaperId(self
, *_args
, **_kwargs
):
84 val
= printfwc
.wxPrintData_SetPaperId(self
, *_args
, **_kwargs
)
86 def SetPaperSize(self
, *_args
, **_kwargs
):
87 val
= printfwc
.wxPrintData_SetPaperSize(self
, *_args
, **_kwargs
)
89 def SetQuality(self
, *_args
, **_kwargs
):
90 val
= printfwc
.wxPrintData_SetQuality(self
, *_args
, **_kwargs
)
92 def GetPrinterCommand(self
, *_args
, **_kwargs
):
93 val
= printfwc
.wxPrintData_GetPrinterCommand(self
, *_args
, **_kwargs
)
95 def GetPrinterOptions(self
, *_args
, **_kwargs
):
96 val
= printfwc
.wxPrintData_GetPrinterOptions(self
, *_args
, **_kwargs
)
98 def GetPreviewCommand(self
, *_args
, **_kwargs
):
99 val
= printfwc
.wxPrintData_GetPreviewCommand(self
, *_args
, **_kwargs
)
101 def GetFilename(self
, *_args
, **_kwargs
):
102 val
= printfwc
.wxPrintData_GetFilename(self
, *_args
, **_kwargs
)
104 def GetFontMetricPath(self
, *_args
, **_kwargs
):
105 val
= printfwc
.wxPrintData_GetFontMetricPath(self
, *_args
, **_kwargs
)
107 def GetPrinterScaleX(self
, *_args
, **_kwargs
):
108 val
= printfwc
.wxPrintData_GetPrinterScaleX(self
, *_args
, **_kwargs
)
110 def GetPrinterScaleY(self
, *_args
, **_kwargs
):
111 val
= printfwc
.wxPrintData_GetPrinterScaleY(self
, *_args
, **_kwargs
)
113 def GetPrinterTranslateX(self
, *_args
, **_kwargs
):
114 val
= printfwc
.wxPrintData_GetPrinterTranslateX(self
, *_args
, **_kwargs
)
116 def GetPrinterTranslateY(self
, *_args
, **_kwargs
):
117 val
= printfwc
.wxPrintData_GetPrinterTranslateY(self
, *_args
, **_kwargs
)
119 def GetPrintMode(self
, *_args
, **_kwargs
):
120 val
= printfwc
.wxPrintData_GetPrintMode(self
, *_args
, **_kwargs
)
122 def SetPrinterCommand(self
, *_args
, **_kwargs
):
123 val
= printfwc
.wxPrintData_SetPrinterCommand(self
, *_args
, **_kwargs
)
125 def SetPrinterOptions(self
, *_args
, **_kwargs
):
126 val
= printfwc
.wxPrintData_SetPrinterOptions(self
, *_args
, **_kwargs
)
128 def SetPreviewCommand(self
, *_args
, **_kwargs
):
129 val
= printfwc
.wxPrintData_SetPreviewCommand(self
, *_args
, **_kwargs
)
131 def SetFilename(self
, *_args
, **_kwargs
):
132 val
= printfwc
.wxPrintData_SetFilename(self
, *_args
, **_kwargs
)
134 def SetFontMetricPath(self
, *_args
, **_kwargs
):
135 val
= printfwc
.wxPrintData_SetFontMetricPath(self
, *_args
, **_kwargs
)
137 def SetPrinterScaleX(self
, *_args
, **_kwargs
):
138 val
= printfwc
.wxPrintData_SetPrinterScaleX(self
, *_args
, **_kwargs
)
140 def SetPrinterScaleY(self
, *_args
, **_kwargs
):
141 val
= printfwc
.wxPrintData_SetPrinterScaleY(self
, *_args
, **_kwargs
)
143 def SetPrinterScaling(self
, *_args
, **_kwargs
):
144 val
= printfwc
.wxPrintData_SetPrinterScaling(self
, *_args
, **_kwargs
)
146 def SetPrinterTranslateX(self
, *_args
, **_kwargs
):
147 val
= printfwc
.wxPrintData_SetPrinterTranslateX(self
, *_args
, **_kwargs
)
149 def SetPrinterTranslateY(self
, *_args
, **_kwargs
):
150 val
= printfwc
.wxPrintData_SetPrinterTranslateY(self
, *_args
, **_kwargs
)
152 def SetPrinterTranslation(self
, *_args
, **_kwargs
):
153 val
= printfwc
.wxPrintData_SetPrinterTranslation(self
, *_args
, **_kwargs
)
155 def SetPrintMode(self
, *_args
, **_kwargs
):
156 val
= printfwc
.wxPrintData_SetPrintMode(self
, *_args
, **_kwargs
)
159 return "<%s.%s instance; proxy of C++ wxPrintData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
160 def __nonzero__(self
): return self
.Ok()
161 class wxPrintData(wxPrintDataPtr
):
162 def __init__(self
,*_args
,**_kwargs
):
163 self
.this
= printfwc
.new_wxPrintData(*_args
,**_kwargs
)
169 class wxPrinterDCPtr(wxDCPtr
):
170 def __init__(self
,this
):
174 return "<%s.%s instance; proxy of C++ wxPrinterDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
175 class wxPrinterDC(wxPrinterDCPtr
):
176 def __init__(self
,*_args
,**_kwargs
):
177 self
.this
= printfwc
.new_wxPrinterDC(*_args
,**_kwargs
)
182 def wxPrinterDC2(*_args
,**_kwargs
):
183 val
= wxPrinterDCPtr(printfwc
.new_wxPrinterDC2(*_args
,**_kwargs
))
188 class wxPostScriptDCPtr(wxDCPtr
):
189 def __init__(self
,this
):
192 def GetPrintData(self
, *_args
, **_kwargs
):
193 val
= printfwc
.wxPostScriptDC_GetPrintData(self
, *_args
, **_kwargs
)
194 if val
: val
= wxPrintDataPtr(val
)
196 def SetPrintData(self
, *_args
, **_kwargs
):
197 val
= printfwc
.wxPostScriptDC_SetPrintData(self
, *_args
, **_kwargs
)
200 return "<%s.%s instance; proxy of C++ wxPostScriptDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
201 class wxPostScriptDC(wxPostScriptDCPtr
):
202 def __init__(self
,*_args
,**_kwargs
):
203 self
.this
= printfwc
.new_wxPostScriptDC(*_args
,**_kwargs
)
209 class wxPageSetupDialogDataPtr(wxObjectPtr
):
210 def __init__(self
,this
):
213 def __del__(self
, delfunc
=printfwc
.delete_wxPageSetupDialogData
):
214 if self
.thisown
== 1:
219 def EnableHelp(self
, *_args
, **_kwargs
):
220 val
= printfwc
.wxPageSetupDialogData_EnableHelp(self
, *_args
, **_kwargs
)
222 def EnableMargins(self
, *_args
, **_kwargs
):
223 val
= printfwc
.wxPageSetupDialogData_EnableMargins(self
, *_args
, **_kwargs
)
225 def EnableOrientation(self
, *_args
, **_kwargs
):
226 val
= printfwc
.wxPageSetupDialogData_EnableOrientation(self
, *_args
, **_kwargs
)
228 def EnablePaper(self
, *_args
, **_kwargs
):
229 val
= printfwc
.wxPageSetupDialogData_EnablePaper(self
, *_args
, **_kwargs
)
231 def EnablePrinter(self
, *_args
, **_kwargs
):
232 val
= printfwc
.wxPageSetupDialogData_EnablePrinter(self
, *_args
, **_kwargs
)
234 def GetDefaultMinMargins(self
, *_args
, **_kwargs
):
235 val
= printfwc
.wxPageSetupDialogData_GetDefaultMinMargins(self
, *_args
, **_kwargs
)
237 def GetEnableMargins(self
, *_args
, **_kwargs
):
238 val
= printfwc
.wxPageSetupDialogData_GetEnableMargins(self
, *_args
, **_kwargs
)
240 def GetEnableOrientation(self
, *_args
, **_kwargs
):
241 val
= printfwc
.wxPageSetupDialogData_GetEnableOrientation(self
, *_args
, **_kwargs
)
243 def GetEnablePaper(self
, *_args
, **_kwargs
):
244 val
= printfwc
.wxPageSetupDialogData_GetEnablePaper(self
, *_args
, **_kwargs
)
246 def GetEnablePrinter(self
, *_args
, **_kwargs
):
247 val
= printfwc
.wxPageSetupDialogData_GetEnablePrinter(self
, *_args
, **_kwargs
)
249 def GetEnableHelp(self
, *_args
, **_kwargs
):
250 val
= printfwc
.wxPageSetupDialogData_GetEnableHelp(self
, *_args
, **_kwargs
)
252 def GetDefaultInfo(self
, *_args
, **_kwargs
):
253 val
= printfwc
.wxPageSetupDialogData_GetDefaultInfo(self
, *_args
, **_kwargs
)
255 def GetMarginTopLeft(self
, *_args
, **_kwargs
):
256 val
= printfwc
.wxPageSetupDialogData_GetMarginTopLeft(self
, *_args
, **_kwargs
)
257 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
259 def GetMarginBottomRight(self
, *_args
, **_kwargs
):
260 val
= printfwc
.wxPageSetupDialogData_GetMarginBottomRight(self
, *_args
, **_kwargs
)
261 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
263 def GetMinMarginTopLeft(self
, *_args
, **_kwargs
):
264 val
= printfwc
.wxPageSetupDialogData_GetMinMarginTopLeft(self
, *_args
, **_kwargs
)
265 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
267 def GetMinMarginBottomRight(self
, *_args
, **_kwargs
):
268 val
= printfwc
.wxPageSetupDialogData_GetMinMarginBottomRight(self
, *_args
, **_kwargs
)
269 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
271 def GetPaperId(self
, *_args
, **_kwargs
):
272 val
= printfwc
.wxPageSetupDialogData_GetPaperId(self
, *_args
, **_kwargs
)
274 def GetPaperSize(self
, *_args
, **_kwargs
):
275 val
= printfwc
.wxPageSetupDialogData_GetPaperSize(self
, *_args
, **_kwargs
)
276 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
278 def GetPrintData(self
, *_args
, **_kwargs
):
279 val
= printfwc
.wxPageSetupDialogData_GetPrintData(self
, *_args
, **_kwargs
)
280 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
282 def Ok(self
, *_args
, **_kwargs
):
283 val
= printfwc
.wxPageSetupDialogData_Ok(self
, *_args
, **_kwargs
)
285 def SetDefaultInfo(self
, *_args
, **_kwargs
):
286 val
= printfwc
.wxPageSetupDialogData_SetDefaultInfo(self
, *_args
, **_kwargs
)
288 def SetDefaultMinMargins(self
, *_args
, **_kwargs
):
289 val
= printfwc
.wxPageSetupDialogData_SetDefaultMinMargins(self
, *_args
, **_kwargs
)
291 def SetMarginTopLeft(self
, *_args
, **_kwargs
):
292 val
= printfwc
.wxPageSetupDialogData_SetMarginTopLeft(self
, *_args
, **_kwargs
)
294 def SetMarginBottomRight(self
, *_args
, **_kwargs
):
295 val
= printfwc
.wxPageSetupDialogData_SetMarginBottomRight(self
, *_args
, **_kwargs
)
297 def SetMinMarginTopLeft(self
, *_args
, **_kwargs
):
298 val
= printfwc
.wxPageSetupDialogData_SetMinMarginTopLeft(self
, *_args
, **_kwargs
)
300 def SetMinMarginBottomRight(self
, *_args
, **_kwargs
):
301 val
= printfwc
.wxPageSetupDialogData_SetMinMarginBottomRight(self
, *_args
, **_kwargs
)
303 def SetPaperId(self
, *_args
, **_kwargs
):
304 val
= printfwc
.wxPageSetupDialogData_SetPaperId(self
, *_args
, **_kwargs
)
306 def SetPaperSize(self
, *_args
, **_kwargs
):
307 val
= printfwc
.wxPageSetupDialogData_SetPaperSize(self
, *_args
, **_kwargs
)
309 def SetPrintData(self
, *_args
, **_kwargs
):
310 val
= printfwc
.wxPageSetupDialogData_SetPrintData(self
, *_args
, **_kwargs
)
313 return "<%s.%s instance; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
314 def __nonzero__(self
): return self
.Ok()
315 class wxPageSetupDialogData(wxPageSetupDialogDataPtr
):
316 def __init__(self
,*_args
,**_kwargs
):
317 self
.this
= printfwc
.new_wxPageSetupDialogData(*_args
,**_kwargs
)
323 class wxPageSetupDialogPtr(wxDialogPtr
):
324 def __init__(self
,this
):
327 def GetPageSetupData(self
, *_args
, **_kwargs
):
328 val
= printfwc
.wxPageSetupDialog_GetPageSetupData(self
, *_args
, **_kwargs
)
329 if val
: val
= wxPageSetupDialogDataPtr(val
)
331 def ShowModal(self
, *_args
, **_kwargs
):
332 val
= printfwc
.wxPageSetupDialog_ShowModal(self
, *_args
, **_kwargs
)
335 return "<%s.%s instance; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
336 class wxPageSetupDialog(wxPageSetupDialogPtr
):
337 def __init__(self
,*_args
,**_kwargs
):
338 self
.this
= printfwc
.new_wxPageSetupDialog(*_args
,**_kwargs
)
340 #wx._StdDialogCallbacks(self)
345 class wxPrintDialogDataPtr(wxObjectPtr
):
346 def __init__(self
,this
):
349 def __del__(self
, delfunc
=printfwc
.delete_wxPrintDialogData
):
350 if self
.thisown
== 1:
355 def GetFromPage(self
, *_args
, **_kwargs
):
356 val
= printfwc
.wxPrintDialogData_GetFromPage(self
, *_args
, **_kwargs
)
358 def GetToPage(self
, *_args
, **_kwargs
):
359 val
= printfwc
.wxPrintDialogData_GetToPage(self
, *_args
, **_kwargs
)
361 def GetMinPage(self
, *_args
, **_kwargs
):
362 val
= printfwc
.wxPrintDialogData_GetMinPage(self
, *_args
, **_kwargs
)
364 def GetMaxPage(self
, *_args
, **_kwargs
):
365 val
= printfwc
.wxPrintDialogData_GetMaxPage(self
, *_args
, **_kwargs
)
367 def GetNoCopies(self
, *_args
, **_kwargs
):
368 val
= printfwc
.wxPrintDialogData_GetNoCopies(self
, *_args
, **_kwargs
)
370 def GetAllPages(self
, *_args
, **_kwargs
):
371 val
= printfwc
.wxPrintDialogData_GetAllPages(self
, *_args
, **_kwargs
)
373 def GetSelection(self
, *_args
, **_kwargs
):
374 val
= printfwc
.wxPrintDialogData_GetSelection(self
, *_args
, **_kwargs
)
376 def GetCollate(self
, *_args
, **_kwargs
):
377 val
= printfwc
.wxPrintDialogData_GetCollate(self
, *_args
, **_kwargs
)
379 def GetPrintToFile(self
, *_args
, **_kwargs
):
380 val
= printfwc
.wxPrintDialogData_GetPrintToFile(self
, *_args
, **_kwargs
)
382 def GetSetupDialog(self
, *_args
, **_kwargs
):
383 val
= printfwc
.wxPrintDialogData_GetSetupDialog(self
, *_args
, **_kwargs
)
385 def SetFromPage(self
, *_args
, **_kwargs
):
386 val
= printfwc
.wxPrintDialogData_SetFromPage(self
, *_args
, **_kwargs
)
388 def SetToPage(self
, *_args
, **_kwargs
):
389 val
= printfwc
.wxPrintDialogData_SetToPage(self
, *_args
, **_kwargs
)
391 def SetMinPage(self
, *_args
, **_kwargs
):
392 val
= printfwc
.wxPrintDialogData_SetMinPage(self
, *_args
, **_kwargs
)
394 def SetMaxPage(self
, *_args
, **_kwargs
):
395 val
= printfwc
.wxPrintDialogData_SetMaxPage(self
, *_args
, **_kwargs
)
397 def SetNoCopies(self
, *_args
, **_kwargs
):
398 val
= printfwc
.wxPrintDialogData_SetNoCopies(self
, *_args
, **_kwargs
)
400 def SetAllPages(self
, *_args
, **_kwargs
):
401 val
= printfwc
.wxPrintDialogData_SetAllPages(self
, *_args
, **_kwargs
)
403 def SetSelection(self
, *_args
, **_kwargs
):
404 val
= printfwc
.wxPrintDialogData_SetSelection(self
, *_args
, **_kwargs
)
406 def SetCollate(self
, *_args
, **_kwargs
):
407 val
= printfwc
.wxPrintDialogData_SetCollate(self
, *_args
, **_kwargs
)
409 def SetPrintToFile(self
, *_args
, **_kwargs
):
410 val
= printfwc
.wxPrintDialogData_SetPrintToFile(self
, *_args
, **_kwargs
)
412 def SetSetupDialog(self
, *_args
, **_kwargs
):
413 val
= printfwc
.wxPrintDialogData_SetSetupDialog(self
, *_args
, **_kwargs
)
415 def EnablePrintToFile(self
, *_args
, **_kwargs
):
416 val
= printfwc
.wxPrintDialogData_EnablePrintToFile(self
, *_args
, **_kwargs
)
418 def EnableSelection(self
, *_args
, **_kwargs
):
419 val
= printfwc
.wxPrintDialogData_EnableSelection(self
, *_args
, **_kwargs
)
421 def EnablePageNumbers(self
, *_args
, **_kwargs
):
422 val
= printfwc
.wxPrintDialogData_EnablePageNumbers(self
, *_args
, **_kwargs
)
424 def EnableHelp(self
, *_args
, **_kwargs
):
425 val
= printfwc
.wxPrintDialogData_EnableHelp(self
, *_args
, **_kwargs
)
427 def GetEnablePrintToFile(self
, *_args
, **_kwargs
):
428 val
= printfwc
.wxPrintDialogData_GetEnablePrintToFile(self
, *_args
, **_kwargs
)
430 def GetEnableSelection(self
, *_args
, **_kwargs
):
431 val
= printfwc
.wxPrintDialogData_GetEnableSelection(self
, *_args
, **_kwargs
)
433 def GetEnablePageNumbers(self
, *_args
, **_kwargs
):
434 val
= printfwc
.wxPrintDialogData_GetEnablePageNumbers(self
, *_args
, **_kwargs
)
436 def GetEnableHelp(self
, *_args
, **_kwargs
):
437 val
= printfwc
.wxPrintDialogData_GetEnableHelp(self
, *_args
, **_kwargs
)
439 def Ok(self
, *_args
, **_kwargs
):
440 val
= printfwc
.wxPrintDialogData_Ok(self
, *_args
, **_kwargs
)
442 def GetPrintData(self
, *_args
, **_kwargs
):
443 val
= printfwc
.wxPrintDialogData_GetPrintData(self
, *_args
, **_kwargs
)
444 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
446 def SetPrintData(self
, *_args
, **_kwargs
):
447 val
= printfwc
.wxPrintDialogData_SetPrintData(self
, *_args
, **_kwargs
)
450 return "<%s.%s instance; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
451 def __nonzero__(self
): return self
.Ok()
452 class wxPrintDialogData(wxPrintDialogDataPtr
):
453 def __init__(self
,*_args
,**_kwargs
):
454 self
.this
= printfwc
.new_wxPrintDialogData(*_args
,**_kwargs
)
460 class wxPrintDialogPtr(wxDialogPtr
):
461 def __init__(self
,this
):
464 def GetPrintDialogData(self
, *_args
, **_kwargs
):
465 val
= printfwc
.wxPrintDialog_GetPrintDialogData(self
, *_args
, **_kwargs
)
466 if val
: val
= wxPrintDialogDataPtr(val
)
468 def GetPrintDC(self
, *_args
, **_kwargs
):
469 val
= printfwc
.wxPrintDialog_GetPrintDC(self
, *_args
, **_kwargs
)
471 def ShowModal(self
, *_args
, **_kwargs
):
472 val
= printfwc
.wxPrintDialog_ShowModal(self
, *_args
, **_kwargs
)
475 return "<%s.%s instance; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
476 class wxPrintDialog(wxPrintDialogPtr
):
477 def __init__(self
,*_args
,**_kwargs
):
478 self
.this
= printfwc
.new_wxPrintDialog(*_args
,**_kwargs
)
484 class wxPrintoutPtr(wxObjectPtr
):
485 def __init__(self
,this
):
488 def _setCallbackInfo(self
, *_args
, **_kwargs
):
489 val
= printfwc
.wxPrintout__setCallbackInfo(self
, *_args
, **_kwargs
)
491 def Destroy(self
, *_args
, **_kwargs
):
492 val
= printfwc
.wxPrintout_Destroy(self
, *_args
, **_kwargs
)
494 def GetDC(self
, *_args
, **_kwargs
):
495 val
= printfwc
.wxPrintout_GetDC(self
, *_args
, **_kwargs
)
497 def GetPageSizeMM(self
, *_args
, **_kwargs
):
498 val
= printfwc
.wxPrintout_GetPageSizeMM(self
, *_args
, **_kwargs
)
500 def GetPageSizePixels(self
, *_args
, **_kwargs
):
501 val
= printfwc
.wxPrintout_GetPageSizePixels(self
, *_args
, **_kwargs
)
503 def GetPPIPrinter(self
, *_args
, **_kwargs
):
504 val
= printfwc
.wxPrintout_GetPPIPrinter(self
, *_args
, **_kwargs
)
506 def GetPPIScreen(self
, *_args
, **_kwargs
):
507 val
= printfwc
.wxPrintout_GetPPIScreen(self
, *_args
, **_kwargs
)
509 def IsPreview(self
, *_args
, **_kwargs
):
510 val
= printfwc
.wxPrintout_IsPreview(self
, *_args
, **_kwargs
)
512 def base_OnBeginDocument(self
, *_args
, **_kwargs
):
513 val
= printfwc
.wxPrintout_base_OnBeginDocument(self
, *_args
, **_kwargs
)
515 def base_OnEndDocument(self
, *_args
, **_kwargs
):
516 val
= printfwc
.wxPrintout_base_OnEndDocument(self
, *_args
, **_kwargs
)
518 def base_OnBeginPrinting(self
, *_args
, **_kwargs
):
519 val
= printfwc
.wxPrintout_base_OnBeginPrinting(self
, *_args
, **_kwargs
)
521 def base_OnEndPrinting(self
, *_args
, **_kwargs
):
522 val
= printfwc
.wxPrintout_base_OnEndPrinting(self
, *_args
, **_kwargs
)
524 def base_OnPreparePrinting(self
, *_args
, **_kwargs
):
525 val
= printfwc
.wxPrintout_base_OnPreparePrinting(self
, *_args
, **_kwargs
)
527 def base_GetPageInfo(self
, *_args
, **_kwargs
):
528 val
= printfwc
.wxPrintout_base_GetPageInfo(self
, *_args
, **_kwargs
)
530 def base_HasPage(self
, *_args
, **_kwargs
):
531 val
= printfwc
.wxPrintout_base_HasPage(self
, *_args
, **_kwargs
)
534 return "<%s.%s instance; proxy of C++ wxPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
535 class wxPrintout(wxPrintoutPtr
):
536 def __init__(self
,*_args
,**_kwargs
):
537 self
.this
= printfwc
.new_wxPrintout(*_args
,**_kwargs
)
539 self
._setCallbackInfo
(self
, wxPrintout
)
544 class wxPrinterPtr(wxObjectPtr
):
545 def __init__(self
,this
):
548 def __del__(self
, delfunc
=printfwc
.delete_wxPrinter
):
549 if self
.thisown
== 1:
554 def CreateAbortWindow(self
, *_args
, **_kwargs
):
555 val
= printfwc
.wxPrinter_CreateAbortWindow(self
, *_args
, **_kwargs
)
557 def GetPrintDialogData(self
, *_args
, **_kwargs
):
558 val
= printfwc
.wxPrinter_GetPrintDialogData(self
, *_args
, **_kwargs
)
559 if val
: val
= wxPrintDialogDataPtr(val
)
561 def Print(self
, *_args
, **_kwargs
):
562 val
= printfwc
.wxPrinter_Print(self
, *_args
, **_kwargs
)
564 def PrintDialog(self
, *_args
, **_kwargs
):
565 val
= printfwc
.wxPrinter_PrintDialog(self
, *_args
, **_kwargs
)
567 def ReportError(self
, *_args
, **_kwargs
):
568 val
= printfwc
.wxPrinter_ReportError(self
, *_args
, **_kwargs
)
570 def Setup(self
, *_args
, **_kwargs
):
571 val
= printfwc
.wxPrinter_Setup(self
, *_args
, **_kwargs
)
573 def GetAbort(self
, *_args
, **_kwargs
):
574 val
= printfwc
.wxPrinter_GetAbort(self
, *_args
, **_kwargs
)
577 return "<%s.%s instance; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
578 class wxPrinter(wxPrinterPtr
):
579 def __init__(self
,*_args
,**_kwargs
):
580 self
.this
= printfwc
.new_wxPrinter(*_args
,**_kwargs
)
586 class wxPrintAbortDialogPtr(wxDialogPtr
):
587 def __init__(self
,this
):
591 return "<%s.%s instance; proxy of C++ wxPrintAbortDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
592 class wxPrintAbortDialog(wxPrintAbortDialogPtr
):
593 def __init__(self
,*_args
,**_kwargs
):
594 self
.this
= printfwc
.new_wxPrintAbortDialog(*_args
,**_kwargs
)
600 class wxPrintPreviewPtr(wxObjectPtr
):
601 def __init__(self
,this
):
604 def SetCurrentPage(self
, *_args
, **_kwargs
):
605 val
= printfwc
.wxPrintPreview_SetCurrentPage(self
, *_args
, **_kwargs
)
607 def GetCurrentPage(self
, *_args
, **_kwargs
):
608 val
= printfwc
.wxPrintPreview_GetCurrentPage(self
, *_args
, **_kwargs
)
610 def SetPrintout(self
, *_args
, **_kwargs
):
611 val
= printfwc
.wxPrintPreview_SetPrintout(self
, *_args
, **_kwargs
)
613 def GetPrintout(self
, *_args
, **_kwargs
):
614 val
= printfwc
.wxPrintPreview_GetPrintout(self
, *_args
, **_kwargs
)
616 def GetPrintoutForPrinting(self
, *_args
, **_kwargs
):
617 val
= printfwc
.wxPrintPreview_GetPrintoutForPrinting(self
, *_args
, **_kwargs
)
619 def SetFrame(self
, *_args
, **_kwargs
):
620 val
= printfwc
.wxPrintPreview_SetFrame(self
, *_args
, **_kwargs
)
622 def SetCanvas(self
, *_args
, **_kwargs
):
623 val
= printfwc
.wxPrintPreview_SetCanvas(self
, *_args
, **_kwargs
)
625 def GetFrame(self
, *_args
, **_kwargs
):
626 val
= printfwc
.wxPrintPreview_GetFrame(self
, *_args
, **_kwargs
)
628 def GetCanvas(self
, *_args
, **_kwargs
):
629 val
= printfwc
.wxPrintPreview_GetCanvas(self
, *_args
, **_kwargs
)
630 if val
: val
= wxPreviewCanvasPtr(val
)
632 def PaintPage(self
, *_args
, **_kwargs
):
633 val
= printfwc
.wxPrintPreview_PaintPage(self
, *_args
, **_kwargs
)
635 def DrawBlankPage(self
, *_args
, **_kwargs
):
636 val
= printfwc
.wxPrintPreview_DrawBlankPage(self
, *_args
, **_kwargs
)
638 def RenderPage(self
, *_args
, **_kwargs
):
639 val
= printfwc
.wxPrintPreview_RenderPage(self
, *_args
, **_kwargs
)
641 def AdjustScrollbars(self
, *_args
, **_kwargs
):
642 val
= printfwc
.wxPrintPreview_AdjustScrollbars(self
, *_args
, **_kwargs
)
644 def GetPrintDialogData(self
, *_args
, **_kwargs
):
645 val
= printfwc
.wxPrintPreview_GetPrintDialogData(self
, *_args
, **_kwargs
)
646 if val
: val
= wxPrintDialogDataPtr(val
)
648 def SetZoom(self
, *_args
, **_kwargs
):
649 val
= printfwc
.wxPrintPreview_SetZoom(self
, *_args
, **_kwargs
)
651 def GetZoom(self
, *_args
, **_kwargs
):
652 val
= printfwc
.wxPrintPreview_GetZoom(self
, *_args
, **_kwargs
)
654 def GetMaxPage(self
, *_args
, **_kwargs
):
655 val
= printfwc
.wxPrintPreview_GetMaxPage(self
, *_args
, **_kwargs
)
657 def GetMinPage(self
, *_args
, **_kwargs
):
658 val
= printfwc
.wxPrintPreview_GetMinPage(self
, *_args
, **_kwargs
)
660 def Ok(self
, *_args
, **_kwargs
):
661 val
= printfwc
.wxPrintPreview_Ok(self
, *_args
, **_kwargs
)
663 def SetOk(self
, *_args
, **_kwargs
):
664 val
= printfwc
.wxPrintPreview_SetOk(self
, *_args
, **_kwargs
)
666 def Print(self
, *_args
, **_kwargs
):
667 val
= printfwc
.wxPrintPreview_Print(self
, *_args
, **_kwargs
)
669 def DetermineScaling(self
, *_args
, **_kwargs
):
670 val
= printfwc
.wxPrintPreview_DetermineScaling(self
, *_args
, **_kwargs
)
673 return "<%s.%s instance; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
674 def __nonzero__(self
): return self
.Ok()
675 class wxPrintPreview(wxPrintPreviewPtr
):
676 def __init__(self
,*_args
,**_kwargs
):
677 self
.this
= printfwc
.new_wxPrintPreview(*_args
,**_kwargs
)
683 class wxPreviewFramePtr(wxFramePtr
):
684 def __init__(self
,this
):
687 def Initialize(self
, *_args
, **_kwargs
):
688 val
= printfwc
.wxPreviewFrame_Initialize(self
, *_args
, **_kwargs
)
690 def CreateControlBar(self
, *_args
, **_kwargs
):
691 val
= printfwc
.wxPreviewFrame_CreateControlBar(self
, *_args
, **_kwargs
)
693 def CreateCanvas(self
, *_args
, **_kwargs
):
694 val
= printfwc
.wxPreviewFrame_CreateCanvas(self
, *_args
, **_kwargs
)
696 def GetControlBar(self
, *_args
, **_kwargs
):
697 val
= printfwc
.wxPreviewFrame_GetControlBar(self
, *_args
, **_kwargs
)
698 if val
: val
= wxPreviewControlBarPtr(val
)
701 return "<%s.%s instance; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
702 class wxPreviewFrame(wxPreviewFramePtr
):
703 def __init__(self
,*_args
,**_kwargs
):
704 self
.this
= printfwc
.new_wxPreviewFrame(*_args
,**_kwargs
)
706 self
._setOORInfo
(self
)
711 class wxPreviewCanvasPtr(wxScrolledWindowPtr
):
712 def __init__(self
,this
):
716 return "<%s.%s instance; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
717 class wxPreviewCanvas(wxPreviewCanvasPtr
):
718 def __init__(self
,*_args
,**_kwargs
):
719 self
.this
= printfwc
.new_wxPreviewCanvas(*_args
,**_kwargs
)
721 self
._setOORInfo
(self
)
726 class wxPreviewControlBarPtr(wxPanelPtr
):
727 def __init__(self
,this
):
730 def GetZoomControl(self
, *_args
, **_kwargs
):
731 val
= printfwc
.wxPreviewControlBar_GetZoomControl(self
, *_args
, **_kwargs
)
733 def SetZoomControl(self
, *_args
, **_kwargs
):
734 val
= printfwc
.wxPreviewControlBar_SetZoomControl(self
, *_args
, **_kwargs
)
736 def GetPrintPreview(self
, *_args
, **_kwargs
):
737 val
= printfwc
.wxPreviewControlBar_GetPrintPreview(self
, *_args
, **_kwargs
)
738 if val
: val
= wxPrintPreviewPtr(val
)
740 def OnNext(self
, *_args
, **_kwargs
):
741 val
= printfwc
.wxPreviewControlBar_OnNext(self
, *_args
, **_kwargs
)
743 def OnPrevious(self
, *_args
, **_kwargs
):
744 val
= printfwc
.wxPreviewControlBar_OnPrevious(self
, *_args
, **_kwargs
)
746 def OnFirst(self
, *_args
, **_kwargs
):
747 val
= printfwc
.wxPreviewControlBar_OnFirst(self
, *_args
, **_kwargs
)
749 def OnLast(self
, *_args
, **_kwargs
):
750 val
= printfwc
.wxPreviewControlBar_OnLast(self
, *_args
, **_kwargs
)
752 def OnGoto(self
, *_args
, **_kwargs
):
753 val
= printfwc
.wxPreviewControlBar_OnGoto(self
, *_args
, **_kwargs
)
756 return "<%s.%s instance; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
757 class wxPreviewControlBar(wxPreviewControlBarPtr
):
758 def __init__(self
,*_args
,**_kwargs
):
759 self
.this
= printfwc
.new_wxPreviewControlBar(*_args
,**_kwargs
)
761 self
._setOORInfo
(self
)
766 class wxPyPrintPreviewPtr(wxPrintPreviewPtr
):
767 def __init__(self
,this
):
770 def _setCallbackInfo(self
, *_args
, **_kwargs
):
771 val
= printfwc
.wxPyPrintPreview__setCallbackInfo(self
, *_args
, **_kwargs
)
773 def base_SetCurrentPage(self
, *_args
, **_kwargs
):
774 val
= printfwc
.wxPyPrintPreview_base_SetCurrentPage(self
, *_args
, **_kwargs
)
776 def base_PaintPage(self
, *_args
, **_kwargs
):
777 val
= printfwc
.wxPyPrintPreview_base_PaintPage(self
, *_args
, **_kwargs
)
779 def base_DrawBlankPage(self
, *_args
, **_kwargs
):
780 val
= printfwc
.wxPyPrintPreview_base_DrawBlankPage(self
, *_args
, **_kwargs
)
782 def base_RenderPage(self
, *_args
, **_kwargs
):
783 val
= printfwc
.wxPyPrintPreview_base_RenderPage(self
, *_args
, **_kwargs
)
785 def base_SetZoom(self
, *_args
, **_kwargs
):
786 val
= printfwc
.wxPyPrintPreview_base_SetZoom(self
, *_args
, **_kwargs
)
788 def base_Print(self
, *_args
, **_kwargs
):
789 val
= printfwc
.wxPyPrintPreview_base_Print(self
, *_args
, **_kwargs
)
791 def base_DetermineScaling(self
, *_args
, **_kwargs
):
792 val
= printfwc
.wxPyPrintPreview_base_DetermineScaling(self
, *_args
, **_kwargs
)
795 return "<%s.%s instance; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
796 class wxPyPrintPreview(wxPyPrintPreviewPtr
):
797 def __init__(self
,*_args
,**_kwargs
):
798 self
.this
= printfwc
.new_wxPyPrintPreview(*_args
,**_kwargs
)
800 self
._setCallbackInfo
(self
, wxPyPrintPreview
)
805 class wxPyPreviewFramePtr(wxPreviewFramePtr
):
806 def __init__(self
,this
):
809 def _setCallbackInfo(self
, *_args
, **_kwargs
):
810 val
= printfwc
.wxPyPreviewFrame__setCallbackInfo(self
, *_args
, **_kwargs
)
812 def SetPreviewCanvas(self
, *_args
, **_kwargs
):
813 val
= printfwc
.wxPyPreviewFrame_SetPreviewCanvas(self
, *_args
, **_kwargs
)
815 def SetControlBar(self
, *_args
, **_kwargs
):
816 val
= printfwc
.wxPyPreviewFrame_SetControlBar(self
, *_args
, **_kwargs
)
818 def base_Initialize(self
, *_args
, **_kwargs
):
819 val
= printfwc
.wxPyPreviewFrame_base_Initialize(self
, *_args
, **_kwargs
)
821 def base_CreateCanvas(self
, *_args
, **_kwargs
):
822 val
= printfwc
.wxPyPreviewFrame_base_CreateCanvas(self
, *_args
, **_kwargs
)
824 def base_CreateControlBar(self
, *_args
, **_kwargs
):
825 val
= printfwc
.wxPyPreviewFrame_base_CreateControlBar(self
, *_args
, **_kwargs
)
828 return "<%s.%s instance; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
829 class wxPyPreviewFrame(wxPyPreviewFramePtr
):
830 def __init__(self
,*_args
,**_kwargs
):
831 self
.this
= printfwc
.new_wxPyPreviewFrame(*_args
,**_kwargs
)
833 self
._setCallbackInfo
(self
, wxPyPreviewFrame
)
834 self
._setOORInfo
(self
)
839 class wxPyPreviewControlBarPtr(wxPreviewControlBarPtr
):
840 def __init__(self
,this
):
843 def _setCallbackInfo(self
, *_args
, **_kwargs
):
844 val
= printfwc
.wxPyPreviewControlBar__setCallbackInfo(self
, *_args
, **_kwargs
)
846 def SetPrintPreview(self
, *_args
, **_kwargs
):
847 val
= printfwc
.wxPyPreviewControlBar_SetPrintPreview(self
, *_args
, **_kwargs
)
849 def base_CreateButtons(self
, *_args
, **_kwargs
):
850 val
= printfwc
.wxPyPreviewControlBar_base_CreateButtons(self
, *_args
, **_kwargs
)
852 def base_SetZoomControl(self
, *_args
, **_kwargs
):
853 val
= printfwc
.wxPyPreviewControlBar_base_SetZoomControl(self
, *_args
, **_kwargs
)
856 return "<%s.%s instance; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
857 class wxPyPreviewControlBar(wxPyPreviewControlBarPtr
):
858 def __init__(self
,*_args
,**_kwargs
):
859 self
.this
= printfwc
.new_wxPyPreviewControlBar(*_args
,**_kwargs
)
861 self
._setCallbackInfo
(self
, wxPyPreviewControlBar
)
862 self
._setOORInfo
(self
)
869 #-------------- FUNCTION WRAPPERS ------------------
871 wxPostScriptDC_SetResolution
= printfwc
.wxPostScriptDC_SetResolution
873 wxPostScriptDC_GetResolution
= printfwc
.wxPostScriptDC_GetResolution
875 wxPrinter_GetLastError
= printfwc
.wxPrinter_GetLastError
879 #-------------- VARIABLE WRAPPERS ------------------
881 wxPRINT_MODE_NONE
= printfwc
.wxPRINT_MODE_NONE
882 wxPRINT_MODE_PREVIEW
= printfwc
.wxPRINT_MODE_PREVIEW
883 wxPRINT_MODE_FILE
= printfwc
.wxPRINT_MODE_FILE
884 wxPRINT_MODE_PRINTER
= printfwc
.wxPRINT_MODE_PRINTER
885 wxPRINTER_NO_ERROR
= printfwc
.wxPRINTER_NO_ERROR
886 wxPRINTER_CANCELLED
= printfwc
.wxPRINTER_CANCELLED
887 wxPRINTER_ERROR
= printfwc
.wxPRINTER_ERROR
888 wxPREVIEW_PRINT
= printfwc
.wxPREVIEW_PRINT
889 wxPREVIEW_PREVIOUS
= printfwc
.wxPREVIEW_PREVIOUS
890 wxPREVIEW_NEXT
= printfwc
.wxPREVIEW_NEXT
891 wxPREVIEW_ZOOM
= printfwc
.wxPREVIEW_ZOOM
892 wxPREVIEW_FIRST
= printfwc
.wxPREVIEW_FIRST
893 wxPREVIEW_LAST
= printfwc
.wxPREVIEW_LAST
894 wxPREVIEW_GOTO
= printfwc
.wxPREVIEW_GOTO
895 wxPREVIEW_DEFAULT
= printfwc
.wxPREVIEW_DEFAULT
896 wxID_PREVIEW_CLOSE
= printfwc
.wxID_PREVIEW_CLOSE
897 wxID_PREVIEW_NEXT
= printfwc
.wxID_PREVIEW_NEXT
898 wxID_PREVIEW_PREVIOUS
= printfwc
.wxID_PREVIEW_PREVIOUS
899 wxID_PREVIEW_PRINT
= printfwc
.wxID_PREVIEW_PRINT
900 wxID_PREVIEW_ZOOM
= printfwc
.wxID_PREVIEW_ZOOM
901 wxID_PREVIEW_FIRST
= printfwc
.wxID_PREVIEW_FIRST
902 wxID_PREVIEW_LAST
= printfwc
.wxID_PREVIEW_LAST
903 wxID_PREVIEW_GOTO
= printfwc
.wxID_PREVIEW_GOTO