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 wxPostScriptDCPtr(wxDCPtr
):
170 def __init__(self
,this
):
173 def GetPrintData(self
, *_args
, **_kwargs
):
174 val
= printfwc
.wxPostScriptDC_GetPrintData(self
, *_args
, **_kwargs
)
175 if val
: val
= wxPrintDataPtr(val
)
177 def SetPrintData(self
, *_args
, **_kwargs
):
178 val
= printfwc
.wxPostScriptDC_SetPrintData(self
, *_args
, **_kwargs
)
181 return "<%s.%s instance; proxy of C++ wxPostScriptDC instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
182 class wxPostScriptDC(wxPostScriptDCPtr
):
183 def __init__(self
,*_args
,**_kwargs
):
184 self
.this
= printfwc
.new_wxPostScriptDC(*_args
,**_kwargs
)
190 class wxPageSetupDialogDataPtr(wxObjectPtr
):
191 def __init__(self
,this
):
194 def __del__(self
, delfunc
=printfwc
.delete_wxPageSetupDialogData
):
195 if self
.thisown
== 1:
200 def EnableHelp(self
, *_args
, **_kwargs
):
201 val
= printfwc
.wxPageSetupDialogData_EnableHelp(self
, *_args
, **_kwargs
)
203 def EnableMargins(self
, *_args
, **_kwargs
):
204 val
= printfwc
.wxPageSetupDialogData_EnableMargins(self
, *_args
, **_kwargs
)
206 def EnableOrientation(self
, *_args
, **_kwargs
):
207 val
= printfwc
.wxPageSetupDialogData_EnableOrientation(self
, *_args
, **_kwargs
)
209 def EnablePaper(self
, *_args
, **_kwargs
):
210 val
= printfwc
.wxPageSetupDialogData_EnablePaper(self
, *_args
, **_kwargs
)
212 def EnablePrinter(self
, *_args
, **_kwargs
):
213 val
= printfwc
.wxPageSetupDialogData_EnablePrinter(self
, *_args
, **_kwargs
)
215 def GetDefaultMinMargins(self
, *_args
, **_kwargs
):
216 val
= printfwc
.wxPageSetupDialogData_GetDefaultMinMargins(self
, *_args
, **_kwargs
)
218 def GetEnableMargins(self
, *_args
, **_kwargs
):
219 val
= printfwc
.wxPageSetupDialogData_GetEnableMargins(self
, *_args
, **_kwargs
)
221 def GetEnableOrientation(self
, *_args
, **_kwargs
):
222 val
= printfwc
.wxPageSetupDialogData_GetEnableOrientation(self
, *_args
, **_kwargs
)
224 def GetEnablePaper(self
, *_args
, **_kwargs
):
225 val
= printfwc
.wxPageSetupDialogData_GetEnablePaper(self
, *_args
, **_kwargs
)
227 def GetEnablePrinter(self
, *_args
, **_kwargs
):
228 val
= printfwc
.wxPageSetupDialogData_GetEnablePrinter(self
, *_args
, **_kwargs
)
230 def GetEnableHelp(self
, *_args
, **_kwargs
):
231 val
= printfwc
.wxPageSetupDialogData_GetEnableHelp(self
, *_args
, **_kwargs
)
233 def GetDefaultInfo(self
, *_args
, **_kwargs
):
234 val
= printfwc
.wxPageSetupDialogData_GetDefaultInfo(self
, *_args
, **_kwargs
)
236 def GetMarginTopLeft(self
, *_args
, **_kwargs
):
237 val
= printfwc
.wxPageSetupDialogData_GetMarginTopLeft(self
, *_args
, **_kwargs
)
238 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
240 def GetMarginBottomRight(self
, *_args
, **_kwargs
):
241 val
= printfwc
.wxPageSetupDialogData_GetMarginBottomRight(self
, *_args
, **_kwargs
)
242 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
244 def GetMinMarginTopLeft(self
, *_args
, **_kwargs
):
245 val
= printfwc
.wxPageSetupDialogData_GetMinMarginTopLeft(self
, *_args
, **_kwargs
)
246 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
248 def GetMinMarginBottomRight(self
, *_args
, **_kwargs
):
249 val
= printfwc
.wxPageSetupDialogData_GetMinMarginBottomRight(self
, *_args
, **_kwargs
)
250 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
252 def GetPaperId(self
, *_args
, **_kwargs
):
253 val
= printfwc
.wxPageSetupDialogData_GetPaperId(self
, *_args
, **_kwargs
)
255 def GetPaperSize(self
, *_args
, **_kwargs
):
256 val
= printfwc
.wxPageSetupDialogData_GetPaperSize(self
, *_args
, **_kwargs
)
257 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
259 def GetPrintData(self
, *_args
, **_kwargs
):
260 val
= printfwc
.wxPageSetupDialogData_GetPrintData(self
, *_args
, **_kwargs
)
261 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
263 def Ok(self
, *_args
, **_kwargs
):
264 val
= printfwc
.wxPageSetupDialogData_Ok(self
, *_args
, **_kwargs
)
266 def SetDefaultInfo(self
, *_args
, **_kwargs
):
267 val
= printfwc
.wxPageSetupDialogData_SetDefaultInfo(self
, *_args
, **_kwargs
)
269 def SetDefaultMinMargins(self
, *_args
, **_kwargs
):
270 val
= printfwc
.wxPageSetupDialogData_SetDefaultMinMargins(self
, *_args
, **_kwargs
)
272 def SetMarginTopLeft(self
, *_args
, **_kwargs
):
273 val
= printfwc
.wxPageSetupDialogData_SetMarginTopLeft(self
, *_args
, **_kwargs
)
275 def SetMarginBottomRight(self
, *_args
, **_kwargs
):
276 val
= printfwc
.wxPageSetupDialogData_SetMarginBottomRight(self
, *_args
, **_kwargs
)
278 def SetMinMarginTopLeft(self
, *_args
, **_kwargs
):
279 val
= printfwc
.wxPageSetupDialogData_SetMinMarginTopLeft(self
, *_args
, **_kwargs
)
281 def SetMinMarginBottomRight(self
, *_args
, **_kwargs
):
282 val
= printfwc
.wxPageSetupDialogData_SetMinMarginBottomRight(self
, *_args
, **_kwargs
)
284 def SetPaperId(self
, *_args
, **_kwargs
):
285 val
= printfwc
.wxPageSetupDialogData_SetPaperId(self
, *_args
, **_kwargs
)
287 def SetPaperSize(self
, *_args
, **_kwargs
):
288 val
= printfwc
.wxPageSetupDialogData_SetPaperSize(self
, *_args
, **_kwargs
)
290 def SetPrintData(self
, *_args
, **_kwargs
):
291 val
= printfwc
.wxPageSetupDialogData_SetPrintData(self
, *_args
, **_kwargs
)
294 return "<%s.%s instance; proxy of C++ wxPageSetupDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
295 def __nonzero__(self
): return self
.Ok()
296 class wxPageSetupDialogData(wxPageSetupDialogDataPtr
):
297 def __init__(self
,*_args
,**_kwargs
):
298 self
.this
= printfwc
.new_wxPageSetupDialogData(*_args
,**_kwargs
)
304 class wxPageSetupDialogPtr(wxDialogPtr
):
305 def __init__(self
,this
):
308 def GetPageSetupData(self
, *_args
, **_kwargs
):
309 val
= printfwc
.wxPageSetupDialog_GetPageSetupData(self
, *_args
, **_kwargs
)
310 if val
: val
= wxPageSetupDialogDataPtr(val
)
312 def ShowModal(self
, *_args
, **_kwargs
):
313 val
= printfwc
.wxPageSetupDialog_ShowModal(self
, *_args
, **_kwargs
)
316 return "<%s.%s instance; proxy of C++ wxPageSetupDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
317 class wxPageSetupDialog(wxPageSetupDialogPtr
):
318 def __init__(self
,*_args
,**_kwargs
):
319 self
.this
= printfwc
.new_wxPageSetupDialog(*_args
,**_kwargs
)
321 #wx._StdDialogCallbacks(self)
326 class wxPrintDialogDataPtr(wxObjectPtr
):
327 def __init__(self
,this
):
330 def __del__(self
, delfunc
=printfwc
.delete_wxPrintDialogData
):
331 if self
.thisown
== 1:
336 def GetFromPage(self
, *_args
, **_kwargs
):
337 val
= printfwc
.wxPrintDialogData_GetFromPage(self
, *_args
, **_kwargs
)
339 def GetToPage(self
, *_args
, **_kwargs
):
340 val
= printfwc
.wxPrintDialogData_GetToPage(self
, *_args
, **_kwargs
)
342 def GetMinPage(self
, *_args
, **_kwargs
):
343 val
= printfwc
.wxPrintDialogData_GetMinPage(self
, *_args
, **_kwargs
)
345 def GetMaxPage(self
, *_args
, **_kwargs
):
346 val
= printfwc
.wxPrintDialogData_GetMaxPage(self
, *_args
, **_kwargs
)
348 def GetNoCopies(self
, *_args
, **_kwargs
):
349 val
= printfwc
.wxPrintDialogData_GetNoCopies(self
, *_args
, **_kwargs
)
351 def GetAllPages(self
, *_args
, **_kwargs
):
352 val
= printfwc
.wxPrintDialogData_GetAllPages(self
, *_args
, **_kwargs
)
354 def GetSelection(self
, *_args
, **_kwargs
):
355 val
= printfwc
.wxPrintDialogData_GetSelection(self
, *_args
, **_kwargs
)
357 def GetCollate(self
, *_args
, **_kwargs
):
358 val
= printfwc
.wxPrintDialogData_GetCollate(self
, *_args
, **_kwargs
)
360 def GetPrintToFile(self
, *_args
, **_kwargs
):
361 val
= printfwc
.wxPrintDialogData_GetPrintToFile(self
, *_args
, **_kwargs
)
363 def GetSetupDialog(self
, *_args
, **_kwargs
):
364 val
= printfwc
.wxPrintDialogData_GetSetupDialog(self
, *_args
, **_kwargs
)
366 def SetFromPage(self
, *_args
, **_kwargs
):
367 val
= printfwc
.wxPrintDialogData_SetFromPage(self
, *_args
, **_kwargs
)
369 def SetToPage(self
, *_args
, **_kwargs
):
370 val
= printfwc
.wxPrintDialogData_SetToPage(self
, *_args
, **_kwargs
)
372 def SetMinPage(self
, *_args
, **_kwargs
):
373 val
= printfwc
.wxPrintDialogData_SetMinPage(self
, *_args
, **_kwargs
)
375 def SetMaxPage(self
, *_args
, **_kwargs
):
376 val
= printfwc
.wxPrintDialogData_SetMaxPage(self
, *_args
, **_kwargs
)
378 def SetNoCopies(self
, *_args
, **_kwargs
):
379 val
= printfwc
.wxPrintDialogData_SetNoCopies(self
, *_args
, **_kwargs
)
381 def SetAllPages(self
, *_args
, **_kwargs
):
382 val
= printfwc
.wxPrintDialogData_SetAllPages(self
, *_args
, **_kwargs
)
384 def SetSelection(self
, *_args
, **_kwargs
):
385 val
= printfwc
.wxPrintDialogData_SetSelection(self
, *_args
, **_kwargs
)
387 def SetCollate(self
, *_args
, **_kwargs
):
388 val
= printfwc
.wxPrintDialogData_SetCollate(self
, *_args
, **_kwargs
)
390 def SetPrintToFile(self
, *_args
, **_kwargs
):
391 val
= printfwc
.wxPrintDialogData_SetPrintToFile(self
, *_args
, **_kwargs
)
393 def SetSetupDialog(self
, *_args
, **_kwargs
):
394 val
= printfwc
.wxPrintDialogData_SetSetupDialog(self
, *_args
, **_kwargs
)
396 def EnablePrintToFile(self
, *_args
, **_kwargs
):
397 val
= printfwc
.wxPrintDialogData_EnablePrintToFile(self
, *_args
, **_kwargs
)
399 def EnableSelection(self
, *_args
, **_kwargs
):
400 val
= printfwc
.wxPrintDialogData_EnableSelection(self
, *_args
, **_kwargs
)
402 def EnablePageNumbers(self
, *_args
, **_kwargs
):
403 val
= printfwc
.wxPrintDialogData_EnablePageNumbers(self
, *_args
, **_kwargs
)
405 def EnableHelp(self
, *_args
, **_kwargs
):
406 val
= printfwc
.wxPrintDialogData_EnableHelp(self
, *_args
, **_kwargs
)
408 def GetEnablePrintToFile(self
, *_args
, **_kwargs
):
409 val
= printfwc
.wxPrintDialogData_GetEnablePrintToFile(self
, *_args
, **_kwargs
)
411 def GetEnableSelection(self
, *_args
, **_kwargs
):
412 val
= printfwc
.wxPrintDialogData_GetEnableSelection(self
, *_args
, **_kwargs
)
414 def GetEnablePageNumbers(self
, *_args
, **_kwargs
):
415 val
= printfwc
.wxPrintDialogData_GetEnablePageNumbers(self
, *_args
, **_kwargs
)
417 def GetEnableHelp(self
, *_args
, **_kwargs
):
418 val
= printfwc
.wxPrintDialogData_GetEnableHelp(self
, *_args
, **_kwargs
)
420 def Ok(self
, *_args
, **_kwargs
):
421 val
= printfwc
.wxPrintDialogData_Ok(self
, *_args
, **_kwargs
)
423 def GetPrintData(self
, *_args
, **_kwargs
):
424 val
= printfwc
.wxPrintDialogData_GetPrintData(self
, *_args
, **_kwargs
)
425 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
427 def SetPrintData(self
, *_args
, **_kwargs
):
428 val
= printfwc
.wxPrintDialogData_SetPrintData(self
, *_args
, **_kwargs
)
431 return "<%s.%s instance; proxy of C++ wxPrintDialogData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
432 def __nonzero__(self
): return self
.Ok()
433 class wxPrintDialogData(wxPrintDialogDataPtr
):
434 def __init__(self
,*_args
,**_kwargs
):
435 self
.this
= printfwc
.new_wxPrintDialogData(*_args
,**_kwargs
)
441 class wxPrintDialogPtr(wxDialogPtr
):
442 def __init__(self
,this
):
445 def GetPrintDialogData(self
, *_args
, **_kwargs
):
446 val
= printfwc
.wxPrintDialog_GetPrintDialogData(self
, *_args
, **_kwargs
)
447 if val
: val
= wxPrintDialogDataPtr(val
)
449 def GetPrintDC(self
, *_args
, **_kwargs
):
450 val
= printfwc
.wxPrintDialog_GetPrintDC(self
, *_args
, **_kwargs
)
452 def ShowModal(self
, *_args
, **_kwargs
):
453 val
= printfwc
.wxPrintDialog_ShowModal(self
, *_args
, **_kwargs
)
456 return "<%s.%s instance; proxy of C++ wxPrintDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
457 class wxPrintDialog(wxPrintDialogPtr
):
458 def __init__(self
,*_args
,**_kwargs
):
459 self
.this
= printfwc
.new_wxPrintDialog(*_args
,**_kwargs
)
461 #wx._StdDialogCallbacks(self)
466 class wxPrintoutPtr(wxObjectPtr
):
467 def __init__(self
,this
):
470 def _setCallbackInfo(self
, *_args
, **_kwargs
):
471 val
= printfwc
.wxPrintout__setCallbackInfo(self
, *_args
, **_kwargs
)
473 def Destroy(self
, *_args
, **_kwargs
):
474 val
= printfwc
.wxPrintout_Destroy(self
, *_args
, **_kwargs
)
476 def GetDC(self
, *_args
, **_kwargs
):
477 val
= printfwc
.wxPrintout_GetDC(self
, *_args
, **_kwargs
)
479 def GetPageSizeMM(self
, *_args
, **_kwargs
):
480 val
= printfwc
.wxPrintout_GetPageSizeMM(self
, *_args
, **_kwargs
)
482 def GetPageSizePixels(self
, *_args
, **_kwargs
):
483 val
= printfwc
.wxPrintout_GetPageSizePixels(self
, *_args
, **_kwargs
)
485 def GetPPIPrinter(self
, *_args
, **_kwargs
):
486 val
= printfwc
.wxPrintout_GetPPIPrinter(self
, *_args
, **_kwargs
)
488 def GetPPIScreen(self
, *_args
, **_kwargs
):
489 val
= printfwc
.wxPrintout_GetPPIScreen(self
, *_args
, **_kwargs
)
491 def IsPreview(self
, *_args
, **_kwargs
):
492 val
= printfwc
.wxPrintout_IsPreview(self
, *_args
, **_kwargs
)
494 def base_OnBeginDocument(self
, *_args
, **_kwargs
):
495 val
= printfwc
.wxPrintout_base_OnBeginDocument(self
, *_args
, **_kwargs
)
497 def base_OnEndDocument(self
, *_args
, **_kwargs
):
498 val
= printfwc
.wxPrintout_base_OnEndDocument(self
, *_args
, **_kwargs
)
500 def base_OnBeginPrinting(self
, *_args
, **_kwargs
):
501 val
= printfwc
.wxPrintout_base_OnBeginPrinting(self
, *_args
, **_kwargs
)
503 def base_OnEndPrinting(self
, *_args
, **_kwargs
):
504 val
= printfwc
.wxPrintout_base_OnEndPrinting(self
, *_args
, **_kwargs
)
506 def base_OnPreparePrinting(self
, *_args
, **_kwargs
):
507 val
= printfwc
.wxPrintout_base_OnPreparePrinting(self
, *_args
, **_kwargs
)
509 def base_GetPageInfo(self
, *_args
, **_kwargs
):
510 val
= printfwc
.wxPrintout_base_GetPageInfo(self
, *_args
, **_kwargs
)
512 def base_HasPage(self
, *_args
, **_kwargs
):
513 val
= printfwc
.wxPrintout_base_HasPage(self
, *_args
, **_kwargs
)
516 return "<%s.%s instance; proxy of C++ wxPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
517 class wxPrintout(wxPrintoutPtr
):
518 def __init__(self
,*_args
,**_kwargs
):
519 self
.this
= printfwc
.new_wxPrintout(*_args
,**_kwargs
)
521 self
._setCallbackInfo
(self
, wxPrintout
)
526 class wxPrinterPtr(wxObjectPtr
):
527 def __init__(self
,this
):
530 def __del__(self
, delfunc
=printfwc
.delete_wxPrinter
):
531 if self
.thisown
== 1:
536 def CreateAbortWindow(self
, *_args
, **_kwargs
):
537 val
= printfwc
.wxPrinter_CreateAbortWindow(self
, *_args
, **_kwargs
)
539 def GetPrintDialogData(self
, *_args
, **_kwargs
):
540 val
= printfwc
.wxPrinter_GetPrintDialogData(self
, *_args
, **_kwargs
)
541 if val
: val
= wxPrintDialogDataPtr(val
)
543 def Print(self
, *_args
, **_kwargs
):
544 val
= printfwc
.wxPrinter_Print(self
, *_args
, **_kwargs
)
546 def PrintDialog(self
, *_args
, **_kwargs
):
547 val
= printfwc
.wxPrinter_PrintDialog(self
, *_args
, **_kwargs
)
549 def ReportError(self
, *_args
, **_kwargs
):
550 val
= printfwc
.wxPrinter_ReportError(self
, *_args
, **_kwargs
)
552 def Setup(self
, *_args
, **_kwargs
):
553 val
= printfwc
.wxPrinter_Setup(self
, *_args
, **_kwargs
)
555 def GetAbort(self
, *_args
, **_kwargs
):
556 val
= printfwc
.wxPrinter_GetAbort(self
, *_args
, **_kwargs
)
559 return "<%s.%s instance; proxy of C++ wxPrinter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
560 class wxPrinter(wxPrinterPtr
):
561 def __init__(self
,*_args
,**_kwargs
):
562 self
.this
= printfwc
.new_wxPrinter(*_args
,**_kwargs
)
568 class wxPrintAbortDialogPtr(wxDialogPtr
):
569 def __init__(self
,this
):
573 return "<%s.%s instance; proxy of C++ wxPrintAbortDialog instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
574 class wxPrintAbortDialog(wxPrintAbortDialogPtr
):
575 def __init__(self
,*_args
,**_kwargs
):
576 self
.this
= printfwc
.new_wxPrintAbortDialog(*_args
,**_kwargs
)
582 class wxPrintPreviewPtr(wxObjectPtr
):
583 def __init__(self
,this
):
586 def SetCurrentPage(self
, *_args
, **_kwargs
):
587 val
= printfwc
.wxPrintPreview_SetCurrentPage(self
, *_args
, **_kwargs
)
589 def GetCurrentPage(self
, *_args
, **_kwargs
):
590 val
= printfwc
.wxPrintPreview_GetCurrentPage(self
, *_args
, **_kwargs
)
592 def SetPrintout(self
, *_args
, **_kwargs
):
593 val
= printfwc
.wxPrintPreview_SetPrintout(self
, *_args
, **_kwargs
)
595 def GetPrintout(self
, *_args
, **_kwargs
):
596 val
= printfwc
.wxPrintPreview_GetPrintout(self
, *_args
, **_kwargs
)
598 def GetPrintoutForPrinting(self
, *_args
, **_kwargs
):
599 val
= printfwc
.wxPrintPreview_GetPrintoutForPrinting(self
, *_args
, **_kwargs
)
601 def SetFrame(self
, *_args
, **_kwargs
):
602 val
= printfwc
.wxPrintPreview_SetFrame(self
, *_args
, **_kwargs
)
604 def SetCanvas(self
, *_args
, **_kwargs
):
605 val
= printfwc
.wxPrintPreview_SetCanvas(self
, *_args
, **_kwargs
)
607 def GetFrame(self
, *_args
, **_kwargs
):
608 val
= printfwc
.wxPrintPreview_GetFrame(self
, *_args
, **_kwargs
)
610 def GetCanvas(self
, *_args
, **_kwargs
):
611 val
= printfwc
.wxPrintPreview_GetCanvas(self
, *_args
, **_kwargs
)
612 if val
: val
= wxPreviewCanvasPtr(val
)
614 def PaintPage(self
, *_args
, **_kwargs
):
615 val
= printfwc
.wxPrintPreview_PaintPage(self
, *_args
, **_kwargs
)
617 def DrawBlankPage(self
, *_args
, **_kwargs
):
618 val
= printfwc
.wxPrintPreview_DrawBlankPage(self
, *_args
, **_kwargs
)
620 def RenderPage(self
, *_args
, **_kwargs
):
621 val
= printfwc
.wxPrintPreview_RenderPage(self
, *_args
, **_kwargs
)
623 def AdjustScrollbars(self
, *_args
, **_kwargs
):
624 val
= printfwc
.wxPrintPreview_AdjustScrollbars(self
, *_args
, **_kwargs
)
626 def GetPrintDialogData(self
, *_args
, **_kwargs
):
627 val
= printfwc
.wxPrintPreview_GetPrintDialogData(self
, *_args
, **_kwargs
)
628 if val
: val
= wxPrintDialogDataPtr(val
)
630 def SetZoom(self
, *_args
, **_kwargs
):
631 val
= printfwc
.wxPrintPreview_SetZoom(self
, *_args
, **_kwargs
)
633 def GetZoom(self
, *_args
, **_kwargs
):
634 val
= printfwc
.wxPrintPreview_GetZoom(self
, *_args
, **_kwargs
)
636 def GetMaxPage(self
, *_args
, **_kwargs
):
637 val
= printfwc
.wxPrintPreview_GetMaxPage(self
, *_args
, **_kwargs
)
639 def GetMinPage(self
, *_args
, **_kwargs
):
640 val
= printfwc
.wxPrintPreview_GetMinPage(self
, *_args
, **_kwargs
)
642 def Ok(self
, *_args
, **_kwargs
):
643 val
= printfwc
.wxPrintPreview_Ok(self
, *_args
, **_kwargs
)
645 def SetOk(self
, *_args
, **_kwargs
):
646 val
= printfwc
.wxPrintPreview_SetOk(self
, *_args
, **_kwargs
)
648 def Print(self
, *_args
, **_kwargs
):
649 val
= printfwc
.wxPrintPreview_Print(self
, *_args
, **_kwargs
)
651 def DetermineScaling(self
, *_args
, **_kwargs
):
652 val
= printfwc
.wxPrintPreview_DetermineScaling(self
, *_args
, **_kwargs
)
655 return "<%s.%s instance; proxy of C++ wxPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
656 def __nonzero__(self
): return self
.Ok()
657 class wxPrintPreview(wxPrintPreviewPtr
):
658 def __init__(self
,*_args
,**_kwargs
):
659 self
.this
= printfwc
.new_wxPrintPreview(*_args
,**_kwargs
)
665 class wxPreviewFramePtr(wxFramePtr
):
666 def __init__(self
,this
):
669 def Initialize(self
, *_args
, **_kwargs
):
670 val
= printfwc
.wxPreviewFrame_Initialize(self
, *_args
, **_kwargs
)
672 def CreateControlBar(self
, *_args
, **_kwargs
):
673 val
= printfwc
.wxPreviewFrame_CreateControlBar(self
, *_args
, **_kwargs
)
675 def CreateCanvas(self
, *_args
, **_kwargs
):
676 val
= printfwc
.wxPreviewFrame_CreateCanvas(self
, *_args
, **_kwargs
)
678 def GetControlBar(self
, *_args
, **_kwargs
):
679 val
= printfwc
.wxPreviewFrame_GetControlBar(self
, *_args
, **_kwargs
)
680 if val
: val
= wxPreviewControlBarPtr(val
)
683 return "<%s.%s instance; proxy of C++ wxPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
684 class wxPreviewFrame(wxPreviewFramePtr
):
685 def __init__(self
,*_args
,**_kwargs
):
686 self
.this
= printfwc
.new_wxPreviewFrame(*_args
,**_kwargs
)
688 self
._setOORInfo
(self
)
693 class wxPreviewCanvasPtr(wxScrolledWindowPtr
):
694 def __init__(self
,this
):
698 return "<%s.%s instance; proxy of C++ wxPreviewCanvas instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
699 class wxPreviewCanvas(wxPreviewCanvasPtr
):
700 def __init__(self
,*_args
,**_kwargs
):
701 self
.this
= printfwc
.new_wxPreviewCanvas(*_args
,**_kwargs
)
703 self
._setOORInfo
(self
)
708 class wxPreviewControlBarPtr(wxPanelPtr
):
709 def __init__(self
,this
):
712 def GetZoomControl(self
, *_args
, **_kwargs
):
713 val
= printfwc
.wxPreviewControlBar_GetZoomControl(self
, *_args
, **_kwargs
)
715 def SetZoomControl(self
, *_args
, **_kwargs
):
716 val
= printfwc
.wxPreviewControlBar_SetZoomControl(self
, *_args
, **_kwargs
)
718 def GetPrintPreview(self
, *_args
, **_kwargs
):
719 val
= printfwc
.wxPreviewControlBar_GetPrintPreview(self
, *_args
, **_kwargs
)
720 if val
: val
= wxPrintPreviewPtr(val
)
722 def OnNext(self
, *_args
, **_kwargs
):
723 val
= printfwc
.wxPreviewControlBar_OnNext(self
, *_args
, **_kwargs
)
725 def OnPrevious(self
, *_args
, **_kwargs
):
726 val
= printfwc
.wxPreviewControlBar_OnPrevious(self
, *_args
, **_kwargs
)
728 def OnFirst(self
, *_args
, **_kwargs
):
729 val
= printfwc
.wxPreviewControlBar_OnFirst(self
, *_args
, **_kwargs
)
731 def OnLast(self
, *_args
, **_kwargs
):
732 val
= printfwc
.wxPreviewControlBar_OnLast(self
, *_args
, **_kwargs
)
734 def OnGoto(self
, *_args
, **_kwargs
):
735 val
= printfwc
.wxPreviewControlBar_OnGoto(self
, *_args
, **_kwargs
)
738 return "<%s.%s instance; proxy of C++ wxPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
739 class wxPreviewControlBar(wxPreviewControlBarPtr
):
740 def __init__(self
,*_args
,**_kwargs
):
741 self
.this
= printfwc
.new_wxPreviewControlBar(*_args
,**_kwargs
)
743 self
._setOORInfo
(self
)
748 class wxPyPrintPreviewPtr(wxPrintPreviewPtr
):
749 def __init__(self
,this
):
752 def _setCallbackInfo(self
, *_args
, **_kwargs
):
753 val
= printfwc
.wxPyPrintPreview__setCallbackInfo(self
, *_args
, **_kwargs
)
755 def base_SetCurrentPage(self
, *_args
, **_kwargs
):
756 val
= printfwc
.wxPyPrintPreview_base_SetCurrentPage(self
, *_args
, **_kwargs
)
758 def base_PaintPage(self
, *_args
, **_kwargs
):
759 val
= printfwc
.wxPyPrintPreview_base_PaintPage(self
, *_args
, **_kwargs
)
761 def base_DrawBlankPage(self
, *_args
, **_kwargs
):
762 val
= printfwc
.wxPyPrintPreview_base_DrawBlankPage(self
, *_args
, **_kwargs
)
764 def base_RenderPage(self
, *_args
, **_kwargs
):
765 val
= printfwc
.wxPyPrintPreview_base_RenderPage(self
, *_args
, **_kwargs
)
767 def base_SetZoom(self
, *_args
, **_kwargs
):
768 val
= printfwc
.wxPyPrintPreview_base_SetZoom(self
, *_args
, **_kwargs
)
770 def base_Print(self
, *_args
, **_kwargs
):
771 val
= printfwc
.wxPyPrintPreview_base_Print(self
, *_args
, **_kwargs
)
773 def base_DetermineScaling(self
, *_args
, **_kwargs
):
774 val
= printfwc
.wxPyPrintPreview_base_DetermineScaling(self
, *_args
, **_kwargs
)
777 return "<%s.%s instance; proxy of C++ wxPyPrintPreview instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
778 class wxPyPrintPreview(wxPyPrintPreviewPtr
):
779 def __init__(self
,*_args
,**_kwargs
):
780 self
.this
= printfwc
.new_wxPyPrintPreview(*_args
,**_kwargs
)
782 self
._setCallbackInfo
(self
, wxPyPrintPreview
)
787 class wxPyPreviewFramePtr(wxPreviewFramePtr
):
788 def __init__(self
,this
):
791 def _setCallbackInfo(self
, *_args
, **_kwargs
):
792 val
= printfwc
.wxPyPreviewFrame__setCallbackInfo(self
, *_args
, **_kwargs
)
794 def SetPreviewCanvas(self
, *_args
, **_kwargs
):
795 val
= printfwc
.wxPyPreviewFrame_SetPreviewCanvas(self
, *_args
, **_kwargs
)
797 def SetControlBar(self
, *_args
, **_kwargs
):
798 val
= printfwc
.wxPyPreviewFrame_SetControlBar(self
, *_args
, **_kwargs
)
800 def base_Initialize(self
, *_args
, **_kwargs
):
801 val
= printfwc
.wxPyPreviewFrame_base_Initialize(self
, *_args
, **_kwargs
)
803 def base_CreateCanvas(self
, *_args
, **_kwargs
):
804 val
= printfwc
.wxPyPreviewFrame_base_CreateCanvas(self
, *_args
, **_kwargs
)
806 def base_CreateControlBar(self
, *_args
, **_kwargs
):
807 val
= printfwc
.wxPyPreviewFrame_base_CreateControlBar(self
, *_args
, **_kwargs
)
810 return "<%s.%s instance; proxy of C++ wxPyPreviewFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
811 class wxPyPreviewFrame(wxPyPreviewFramePtr
):
812 def __init__(self
,*_args
,**_kwargs
):
813 self
.this
= printfwc
.new_wxPyPreviewFrame(*_args
,**_kwargs
)
815 self
._setCallbackInfo
(self
, wxPyPreviewFrame
)
816 self
._setOORInfo
(self
)
821 class wxPyPreviewControlBarPtr(wxPreviewControlBarPtr
):
822 def __init__(self
,this
):
825 def _setCallbackInfo(self
, *_args
, **_kwargs
):
826 val
= printfwc
.wxPyPreviewControlBar__setCallbackInfo(self
, *_args
, **_kwargs
)
828 def SetPrintPreview(self
, *_args
, **_kwargs
):
829 val
= printfwc
.wxPyPreviewControlBar_SetPrintPreview(self
, *_args
, **_kwargs
)
831 def base_CreateButtons(self
, *_args
, **_kwargs
):
832 val
= printfwc
.wxPyPreviewControlBar_base_CreateButtons(self
, *_args
, **_kwargs
)
834 def base_SetZoomControl(self
, *_args
, **_kwargs
):
835 val
= printfwc
.wxPyPreviewControlBar_base_SetZoomControl(self
, *_args
, **_kwargs
)
838 return "<%s.%s instance; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
839 class wxPyPreviewControlBar(wxPyPreviewControlBarPtr
):
840 def __init__(self
,*_args
,**_kwargs
):
841 self
.this
= printfwc
.new_wxPyPreviewControlBar(*_args
,**_kwargs
)
843 self
._setCallbackInfo
(self
, wxPyPreviewControlBar
)
844 self
._setOORInfo
(self
)
851 #-------------- FUNCTION WRAPPERS ------------------
853 wxPostScriptDC_SetResolution
= printfwc
.wxPostScriptDC_SetResolution
855 wxPostScriptDC_GetResolution
= printfwc
.wxPostScriptDC_GetResolution
857 wxPrinter_GetLastError
= printfwc
.wxPrinter_GetLastError
861 #-------------- VARIABLE WRAPPERS ------------------
863 wxPRINT_MODE_NONE
= printfwc
.wxPRINT_MODE_NONE
864 wxPRINT_MODE_PREVIEW
= printfwc
.wxPRINT_MODE_PREVIEW
865 wxPRINT_MODE_FILE
= printfwc
.wxPRINT_MODE_FILE
866 wxPRINT_MODE_PRINTER
= printfwc
.wxPRINT_MODE_PRINTER
867 wxPRINTER_NO_ERROR
= printfwc
.wxPRINTER_NO_ERROR
868 wxPRINTER_CANCELLED
= printfwc
.wxPRINTER_CANCELLED
869 wxPRINTER_ERROR
= printfwc
.wxPRINTER_ERROR
870 wxPREVIEW_PRINT
= printfwc
.wxPREVIEW_PRINT
871 wxPREVIEW_PREVIOUS
= printfwc
.wxPREVIEW_PREVIOUS
872 wxPREVIEW_NEXT
= printfwc
.wxPREVIEW_NEXT
873 wxPREVIEW_ZOOM
= printfwc
.wxPREVIEW_ZOOM
874 wxPREVIEW_FIRST
= printfwc
.wxPREVIEW_FIRST
875 wxPREVIEW_LAST
= printfwc
.wxPREVIEW_LAST
876 wxPREVIEW_GOTO
= printfwc
.wxPREVIEW_GOTO
877 wxPREVIEW_DEFAULT
= printfwc
.wxPREVIEW_DEFAULT
878 wxID_PREVIEW_CLOSE
= printfwc
.wxID_PREVIEW_CLOSE
879 wxID_PREVIEW_NEXT
= printfwc
.wxID_PREVIEW_NEXT
880 wxID_PREVIEW_PREVIOUS
= printfwc
.wxID_PREVIEW_PREVIOUS
881 wxID_PREVIEW_PRINT
= printfwc
.wxID_PREVIEW_PRINT
882 wxID_PREVIEW_ZOOM
= printfwc
.wxID_PREVIEW_ZOOM
883 wxID_PREVIEW_FIRST
= printfwc
.wxID_PREVIEW_FIRST
884 wxID_PREVIEW_LAST
= printfwc
.wxID_PREVIEW_LAST
885 wxID_PREVIEW_GOTO
= printfwc
.wxID_PREVIEW_GOTO