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
,printfwc
=printfwc
):
29 if self
.thisown
== 1 :
30 printfwc
.delete_wxPrintData(self
)
31 def GetNoCopies(self
, *_args
, **_kwargs
):
32 val
= apply(printfwc
.wxPrintData_GetNoCopies
,(self
,) + _args
, _kwargs
)
34 def GetCollate(self
, *_args
, **_kwargs
):
35 val
= apply(printfwc
.wxPrintData_GetCollate
,(self
,) + _args
, _kwargs
)
37 def GetOrientation(self
, *_args
, **_kwargs
):
38 val
= apply(printfwc
.wxPrintData_GetOrientation
,(self
,) + _args
, _kwargs
)
40 def GetPrinterName(self
, *_args
, **_kwargs
):
41 val
= apply(printfwc
.wxPrintData_GetPrinterName
,(self
,) + _args
, _kwargs
)
43 def GetColour(self
, *_args
, **_kwargs
):
44 val
= apply(printfwc
.wxPrintData_GetColour
,(self
,) + _args
, _kwargs
)
46 def GetDuplex(self
, *_args
, **_kwargs
):
47 val
= apply(printfwc
.wxPrintData_GetDuplex
,(self
,) + _args
, _kwargs
)
49 def GetPaperId(self
, *_args
, **_kwargs
):
50 val
= apply(printfwc
.wxPrintData_GetPaperId
,(self
,) + _args
, _kwargs
)
52 def GetPaperSize(self
, *_args
, **_kwargs
):
53 val
= apply(printfwc
.wxPrintData_GetPaperSize
,(self
,) + _args
, _kwargs
)
54 if val
: val
= wxSizePtr(val
)
56 def GetQuality(self
, *_args
, **_kwargs
):
57 val
= apply(printfwc
.wxPrintData_GetQuality
,(self
,) + _args
, _kwargs
)
59 def SetNoCopies(self
, *_args
, **_kwargs
):
60 val
= apply(printfwc
.wxPrintData_SetNoCopies
,(self
,) + _args
, _kwargs
)
62 def SetCollate(self
, *_args
, **_kwargs
):
63 val
= apply(printfwc
.wxPrintData_SetCollate
,(self
,) + _args
, _kwargs
)
65 def SetOrientation(self
, *_args
, **_kwargs
):
66 val
= apply(printfwc
.wxPrintData_SetOrientation
,(self
,) + _args
, _kwargs
)
68 def SetPrinterName(self
, *_args
, **_kwargs
):
69 val
= apply(printfwc
.wxPrintData_SetPrinterName
,(self
,) + _args
, _kwargs
)
71 def SetColour(self
, *_args
, **_kwargs
):
72 val
= apply(printfwc
.wxPrintData_SetColour
,(self
,) + _args
, _kwargs
)
74 def SetDuplex(self
, *_args
, **_kwargs
):
75 val
= apply(printfwc
.wxPrintData_SetDuplex
,(self
,) + _args
, _kwargs
)
77 def SetPaperId(self
, *_args
, **_kwargs
):
78 val
= apply(printfwc
.wxPrintData_SetPaperId
,(self
,) + _args
, _kwargs
)
80 def SetPaperSize(self
, *_args
, **_kwargs
):
81 val
= apply(printfwc
.wxPrintData_SetPaperSize
,(self
,) + _args
, _kwargs
)
83 def SetQuality(self
, *_args
, **_kwargs
):
84 val
= apply(printfwc
.wxPrintData_SetQuality
,(self
,) + _args
, _kwargs
)
86 def GetPrinterCommand(self
, *_args
, **_kwargs
):
87 val
= apply(printfwc
.wxPrintData_GetPrinterCommand
,(self
,) + _args
, _kwargs
)
89 def GetPrinterOptions(self
, *_args
, **_kwargs
):
90 val
= apply(printfwc
.wxPrintData_GetPrinterOptions
,(self
,) + _args
, _kwargs
)
92 def GetPreviewCommand(self
, *_args
, **_kwargs
):
93 val
= apply(printfwc
.wxPrintData_GetPreviewCommand
,(self
,) + _args
, _kwargs
)
95 def GetFilename(self
, *_args
, **_kwargs
):
96 val
= apply(printfwc
.wxPrintData_GetFilename
,(self
,) + _args
, _kwargs
)
98 def GetFontMetricPath(self
, *_args
, **_kwargs
):
99 val
= apply(printfwc
.wxPrintData_GetFontMetricPath
,(self
,) + _args
, _kwargs
)
101 def GetPrinterScaleX(self
, *_args
, **_kwargs
):
102 val
= apply(printfwc
.wxPrintData_GetPrinterScaleX
,(self
,) + _args
, _kwargs
)
104 def GetPrinterScaleY(self
, *_args
, **_kwargs
):
105 val
= apply(printfwc
.wxPrintData_GetPrinterScaleY
,(self
,) + _args
, _kwargs
)
107 def GetPrinterTranslateX(self
, *_args
, **_kwargs
):
108 val
= apply(printfwc
.wxPrintData_GetPrinterTranslateX
,(self
,) + _args
, _kwargs
)
110 def GetPrinterTranslateY(self
, *_args
, **_kwargs
):
111 val
= apply(printfwc
.wxPrintData_GetPrinterTranslateY
,(self
,) + _args
, _kwargs
)
113 def GetPrintMode(self
, *_args
, **_kwargs
):
114 val
= apply(printfwc
.wxPrintData_GetPrintMode
,(self
,) + _args
, _kwargs
)
116 def SetPrinterCommand(self
, *_args
, **_kwargs
):
117 val
= apply(printfwc
.wxPrintData_SetPrinterCommand
,(self
,) + _args
, _kwargs
)
119 def SetPrinterOptions(self
, *_args
, **_kwargs
):
120 val
= apply(printfwc
.wxPrintData_SetPrinterOptions
,(self
,) + _args
, _kwargs
)
122 def SetPreviewCommand(self
, *_args
, **_kwargs
):
123 val
= apply(printfwc
.wxPrintData_SetPreviewCommand
,(self
,) + _args
, _kwargs
)
125 def SetFilename(self
, *_args
, **_kwargs
):
126 val
= apply(printfwc
.wxPrintData_SetFilename
,(self
,) + _args
, _kwargs
)
128 def SetFontMetricPath(self
, *_args
, **_kwargs
):
129 val
= apply(printfwc
.wxPrintData_SetFontMetricPath
,(self
,) + _args
, _kwargs
)
131 def SetPrinterScaleX(self
, *_args
, **_kwargs
):
132 val
= apply(printfwc
.wxPrintData_SetPrinterScaleX
,(self
,) + _args
, _kwargs
)
134 def SetPrinterScaleY(self
, *_args
, **_kwargs
):
135 val
= apply(printfwc
.wxPrintData_SetPrinterScaleY
,(self
,) + _args
, _kwargs
)
137 def SetPrinterScaling(self
, *_args
, **_kwargs
):
138 val
= apply(printfwc
.wxPrintData_SetPrinterScaling
,(self
,) + _args
, _kwargs
)
140 def SetPrinterTranslateX(self
, *_args
, **_kwargs
):
141 val
= apply(printfwc
.wxPrintData_SetPrinterTranslateX
,(self
,) + _args
, _kwargs
)
143 def SetPrinterTranslateY(self
, *_args
, **_kwargs
):
144 val
= apply(printfwc
.wxPrintData_SetPrinterTranslateY
,(self
,) + _args
, _kwargs
)
146 def SetPrinterTranslation(self
, *_args
, **_kwargs
):
147 val
= apply(printfwc
.wxPrintData_SetPrinterTranslation
,(self
,) + _args
, _kwargs
)
149 def SetPrintMode(self
, *_args
, **_kwargs
):
150 val
= apply(printfwc
.wxPrintData_SetPrintMode
,(self
,) + _args
, _kwargs
)
153 return "<C wxPrintData instance at %s>" % (self
.this
,)
154 class wxPrintData(wxPrintDataPtr
):
155 def __init__(self
,*_args
,**_kwargs
):
156 self
.this
= apply(printfwc
.new_wxPrintData
,_args
,_kwargs
)
162 class wxPrinterDCPtr(wxDCPtr
):
163 def __init__(self
,this
):
167 return "<C wxPrinterDC instance at %s>" % (self
.this
,)
168 class wxPrinterDC(wxPrinterDCPtr
):
169 def __init__(self
,*_args
,**_kwargs
):
170 self
.this
= apply(printfwc
.new_wxPrinterDC
,_args
,_kwargs
)
175 def wxPrinterDC2(*_args
,**_kwargs
):
176 val
= wxPrinterDCPtr(apply(printfwc
.new_wxPrinterDC2
,_args
,_kwargs
))
181 class wxPostScriptDCPtr(wxDCPtr
):
182 def __init__(self
,this
):
185 def GetPrintData(self
, *_args
, **_kwargs
):
186 val
= apply(printfwc
.wxPostScriptDC_GetPrintData
,(self
,) + _args
, _kwargs
)
187 if val
: val
= wxPrintDataPtr(val
)
189 def SetPrintData(self
, *_args
, **_kwargs
):
190 val
= apply(printfwc
.wxPostScriptDC_SetPrintData
,(self
,) + _args
, _kwargs
)
193 return "<C wxPostScriptDC instance at %s>" % (self
.this
,)
194 class wxPostScriptDC(wxPostScriptDCPtr
):
195 def __init__(self
,*_args
,**_kwargs
):
196 self
.this
= apply(printfwc
.new_wxPostScriptDC
,_args
,_kwargs
)
201 def wxPostScriptDC2(*_args
,**_kwargs
):
202 val
= wxPostScriptDCPtr(apply(printfwc
.new_wxPostScriptDC2
,_args
,_kwargs
))
207 class wxPageSetupDialogDataPtr(wxObjectPtr
):
208 def __init__(self
,this
):
211 def __del__(self
,printfwc
=printfwc
):
212 if self
.thisown
== 1 :
213 printfwc
.delete_wxPageSetupDialogData(self
)
214 def EnableHelp(self
, *_args
, **_kwargs
):
215 val
= apply(printfwc
.wxPageSetupDialogData_EnableHelp
,(self
,) + _args
, _kwargs
)
217 def EnableMargins(self
, *_args
, **_kwargs
):
218 val
= apply(printfwc
.wxPageSetupDialogData_EnableMargins
,(self
,) + _args
, _kwargs
)
220 def EnableOrientation(self
, *_args
, **_kwargs
):
221 val
= apply(printfwc
.wxPageSetupDialogData_EnableOrientation
,(self
,) + _args
, _kwargs
)
223 def EnablePaper(self
, *_args
, **_kwargs
):
224 val
= apply(printfwc
.wxPageSetupDialogData_EnablePaper
,(self
,) + _args
, _kwargs
)
226 def EnablePrinter(self
, *_args
, **_kwargs
):
227 val
= apply(printfwc
.wxPageSetupDialogData_EnablePrinter
,(self
,) + _args
, _kwargs
)
229 def GetDefaultMinMargins(self
, *_args
, **_kwargs
):
230 val
= apply(printfwc
.wxPageSetupDialogData_GetDefaultMinMargins
,(self
,) + _args
, _kwargs
)
232 def GetEnableMargins(self
, *_args
, **_kwargs
):
233 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableMargins
,(self
,) + _args
, _kwargs
)
235 def GetEnableOrientation(self
, *_args
, **_kwargs
):
236 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableOrientation
,(self
,) + _args
, _kwargs
)
238 def GetEnablePaper(self
, *_args
, **_kwargs
):
239 val
= apply(printfwc
.wxPageSetupDialogData_GetEnablePaper
,(self
,) + _args
, _kwargs
)
241 def GetEnablePrinter(self
, *_args
, **_kwargs
):
242 val
= apply(printfwc
.wxPageSetupDialogData_GetEnablePrinter
,(self
,) + _args
, _kwargs
)
244 def GetEnableHelp(self
, *_args
, **_kwargs
):
245 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableHelp
,(self
,) + _args
, _kwargs
)
247 def GetDefaultInfo(self
, *_args
, **_kwargs
):
248 val
= apply(printfwc
.wxPageSetupDialogData_GetDefaultInfo
,(self
,) + _args
, _kwargs
)
250 def GetMarginTopLeft(self
, *_args
, **_kwargs
):
251 val
= apply(printfwc
.wxPageSetupDialogData_GetMarginTopLeft
,(self
,) + _args
, _kwargs
)
252 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
254 def GetMarginBottomRight(self
, *_args
, **_kwargs
):
255 val
= apply(printfwc
.wxPageSetupDialogData_GetMarginBottomRight
,(self
,) + _args
, _kwargs
)
256 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
258 def GetMinMarginTopLeft(self
, *_args
, **_kwargs
):
259 val
= apply(printfwc
.wxPageSetupDialogData_GetMinMarginTopLeft
,(self
,) + _args
, _kwargs
)
260 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
262 def GetMinMarginBottomRight(self
, *_args
, **_kwargs
):
263 val
= apply(printfwc
.wxPageSetupDialogData_GetMinMarginBottomRight
,(self
,) + _args
, _kwargs
)
264 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
266 def GetPaperId(self
, *_args
, **_kwargs
):
267 val
= apply(printfwc
.wxPageSetupDialogData_GetPaperId
,(self
,) + _args
, _kwargs
)
269 def GetPaperSize(self
, *_args
, **_kwargs
):
270 val
= apply(printfwc
.wxPageSetupDialogData_GetPaperSize
,(self
,) + _args
, _kwargs
)
271 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
273 def GetPrintData(self
, *_args
, **_kwargs
):
274 val
= apply(printfwc
.wxPageSetupDialogData_GetPrintData
,(self
,) + _args
, _kwargs
)
275 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
277 def SetDefaultInfo(self
, *_args
, **_kwargs
):
278 val
= apply(printfwc
.wxPageSetupDialogData_SetDefaultInfo
,(self
,) + _args
, _kwargs
)
280 def SetDefaultMinMargins(self
, *_args
, **_kwargs
):
281 val
= apply(printfwc
.wxPageSetupDialogData_SetDefaultMinMargins
,(self
,) + _args
, _kwargs
)
283 def SetMarginTopLeft(self
, *_args
, **_kwargs
):
284 val
= apply(printfwc
.wxPageSetupDialogData_SetMarginTopLeft
,(self
,) + _args
, _kwargs
)
286 def SetMarginBottomRight(self
, *_args
, **_kwargs
):
287 val
= apply(printfwc
.wxPageSetupDialogData_SetMarginBottomRight
,(self
,) + _args
, _kwargs
)
289 def SetMinMarginTopLeft(self
, *_args
, **_kwargs
):
290 val
= apply(printfwc
.wxPageSetupDialogData_SetMinMarginTopLeft
,(self
,) + _args
, _kwargs
)
292 def SetMinMarginBottomRight(self
, *_args
, **_kwargs
):
293 val
= apply(printfwc
.wxPageSetupDialogData_SetMinMarginBottomRight
,(self
,) + _args
, _kwargs
)
295 def SetPaperId(self
, *_args
, **_kwargs
):
296 val
= apply(printfwc
.wxPageSetupDialogData_SetPaperId
,(self
,) + _args
, _kwargs
)
298 def SetPaperSize(self
, *_args
, **_kwargs
):
299 val
= apply(printfwc
.wxPageSetupDialogData_SetPaperSize
,(self
,) + _args
, _kwargs
)
301 def SetPrintData(self
, *_args
, **_kwargs
):
302 val
= apply(printfwc
.wxPageSetupDialogData_SetPrintData
,(self
,) + _args
, _kwargs
)
305 return "<C wxPageSetupDialogData instance at %s>" % (self
.this
,)
306 class wxPageSetupDialogData(wxPageSetupDialogDataPtr
):
307 def __init__(self
,*_args
,**_kwargs
):
308 self
.this
= apply(printfwc
.new_wxPageSetupDialogData
,_args
,_kwargs
)
314 class wxPageSetupDialogPtr(wxDialogPtr
):
315 def __init__(self
,this
):
318 def GetPageSetupData(self
, *_args
, **_kwargs
):
319 val
= apply(printfwc
.wxPageSetupDialog_GetPageSetupData
,(self
,) + _args
, _kwargs
)
320 if val
: val
= wxPageSetupDialogDataPtr(val
)
322 def ShowModal(self
, *_args
, **_kwargs
):
323 val
= apply(printfwc
.wxPageSetupDialog_ShowModal
,(self
,) + _args
, _kwargs
)
326 return "<C wxPageSetupDialog instance at %s>" % (self
.this
,)
327 class wxPageSetupDialog(wxPageSetupDialogPtr
):
328 def __init__(self
,*_args
,**_kwargs
):
329 self
.this
= apply(printfwc
.new_wxPageSetupDialog
,_args
,_kwargs
)
331 #wx._StdDialogCallbacks(self)
336 class wxPrintDialogDataPtr(wxObjectPtr
):
337 def __init__(self
,this
):
340 def __del__(self
,printfwc
=printfwc
):
341 if self
.thisown
== 1 :
342 printfwc
.delete_wxPrintDialogData(self
)
343 def EnableHelp(self
, *_args
, **_kwargs
):
344 val
= apply(printfwc
.wxPrintDialogData_EnableHelp
,(self
,) + _args
, _kwargs
)
346 def EnablePageNumbers(self
, *_args
, **_kwargs
):
347 val
= apply(printfwc
.wxPrintDialogData_EnablePageNumbers
,(self
,) + _args
, _kwargs
)
349 def EnablePrintToFile(self
, *_args
, **_kwargs
):
350 val
= apply(printfwc
.wxPrintDialogData_EnablePrintToFile
,(self
,) + _args
, _kwargs
)
352 def EnableSelection(self
, *_args
, **_kwargs
):
353 val
= apply(printfwc
.wxPrintDialogData_EnableSelection
,(self
,) + _args
, _kwargs
)
355 def GetAllPages(self
, *_args
, **_kwargs
):
356 val
= apply(printfwc
.wxPrintDialogData_GetAllPages
,(self
,) + _args
, _kwargs
)
358 def GetCollate(self
, *_args
, **_kwargs
):
359 val
= apply(printfwc
.wxPrintDialogData_GetCollate
,(self
,) + _args
, _kwargs
)
361 def GetFromPage(self
, *_args
, **_kwargs
):
362 val
= apply(printfwc
.wxPrintDialogData_GetFromPage
,(self
,) + _args
, _kwargs
)
364 def GetMaxPage(self
, *_args
, **_kwargs
):
365 val
= apply(printfwc
.wxPrintDialogData_GetMaxPage
,(self
,) + _args
, _kwargs
)
367 def GetMinPage(self
, *_args
, **_kwargs
):
368 val
= apply(printfwc
.wxPrintDialogData_GetMinPage
,(self
,) + _args
, _kwargs
)
370 def GetNoCopies(self
, *_args
, **_kwargs
):
371 val
= apply(printfwc
.wxPrintDialogData_GetNoCopies
,(self
,) + _args
, _kwargs
)
373 def GetPrintData(self
, *_args
, **_kwargs
):
374 val
= apply(printfwc
.wxPrintDialogData_GetPrintData
,(self
,) + _args
, _kwargs
)
375 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
377 def GetPrintToFile(self
, *_args
, **_kwargs
):
378 val
= apply(printfwc
.wxPrintDialogData_GetPrintToFile
,(self
,) + _args
, _kwargs
)
380 def GetToPage(self
, *_args
, **_kwargs
):
381 val
= apply(printfwc
.wxPrintDialogData_GetToPage
,(self
,) + _args
, _kwargs
)
383 def SetCollate(self
, *_args
, **_kwargs
):
384 val
= apply(printfwc
.wxPrintDialogData_SetCollate
,(self
,) + _args
, _kwargs
)
386 def SetFromPage(self
, *_args
, **_kwargs
):
387 val
= apply(printfwc
.wxPrintDialogData_SetFromPage
,(self
,) + _args
, _kwargs
)
389 def SetMaxPage(self
, *_args
, **_kwargs
):
390 val
= apply(printfwc
.wxPrintDialogData_SetMaxPage
,(self
,) + _args
, _kwargs
)
392 def SetMinPage(self
, *_args
, **_kwargs
):
393 val
= apply(printfwc
.wxPrintDialogData_SetMinPage
,(self
,) + _args
, _kwargs
)
395 def SetNoCopies(self
, *_args
, **_kwargs
):
396 val
= apply(printfwc
.wxPrintDialogData_SetNoCopies
,(self
,) + _args
, _kwargs
)
398 def SetPrintData(self
, *_args
, **_kwargs
):
399 val
= apply(printfwc
.wxPrintDialogData_SetPrintData
,(self
,) + _args
, _kwargs
)
401 def SetPrintToFile(self
, *_args
, **_kwargs
):
402 val
= apply(printfwc
.wxPrintDialogData_SetPrintToFile
,(self
,) + _args
, _kwargs
)
404 def SetSetupDialog(self
, *_args
, **_kwargs
):
405 val
= apply(printfwc
.wxPrintDialogData_SetSetupDialog
,(self
,) + _args
, _kwargs
)
407 def SetToPage(self
, *_args
, **_kwargs
):
408 val
= apply(printfwc
.wxPrintDialogData_SetToPage
,(self
,) + _args
, _kwargs
)
411 return "<C wxPrintDialogData instance at %s>" % (self
.this
,)
412 class wxPrintDialogData(wxPrintDialogDataPtr
):
413 def __init__(self
,*_args
,**_kwargs
):
414 self
.this
= apply(printfwc
.new_wxPrintDialogData
,_args
,_kwargs
)
420 class wxPrintDialogPtr(wxDialogPtr
):
421 def __init__(self
,this
):
424 def GetPrintDialogData(self
, *_args
, **_kwargs
):
425 val
= apply(printfwc
.wxPrintDialog_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
426 if val
: val
= wxPrintDialogDataPtr(val
)
428 def GetPrintDC(self
, *_args
, **_kwargs
):
429 val
= apply(printfwc
.wxPrintDialog_GetPrintDC
,(self
,) + _args
, _kwargs
)
431 def ShowModal(self
, *_args
, **_kwargs
):
432 val
= apply(printfwc
.wxPrintDialog_ShowModal
,(self
,) + _args
, _kwargs
)
435 return "<C wxPrintDialog instance at %s>" % (self
.this
,)
436 class wxPrintDialog(wxPrintDialogPtr
):
437 def __init__(self
,*_args
,**_kwargs
):
438 self
.this
= apply(printfwc
.new_wxPrintDialog
,_args
,_kwargs
)
440 #wx._StdDialogCallbacks(self)
445 class wxPrintoutPtr(wxObjectPtr
):
446 def __init__(self
,this
):
449 def _setCallbackInfo(self
, *_args
, **_kwargs
):
450 val
= apply(printfwc
.wxPrintout__setCallbackInfo
,(self
,) + _args
, _kwargs
)
452 def Destroy(self
, *_args
, **_kwargs
):
453 val
= apply(printfwc
.wxPrintout_Destroy
,(self
,) + _args
, _kwargs
)
455 def GetDC(self
, *_args
, **_kwargs
):
456 val
= apply(printfwc
.wxPrintout_GetDC
,(self
,) + _args
, _kwargs
)
458 def GetPageSizeMM(self
, *_args
, **_kwargs
):
459 val
= apply(printfwc
.wxPrintout_GetPageSizeMM
,(self
,) + _args
, _kwargs
)
461 def GetPageSizePixels(self
, *_args
, **_kwargs
):
462 val
= apply(printfwc
.wxPrintout_GetPageSizePixels
,(self
,) + _args
, _kwargs
)
464 def GetPPIPrinter(self
, *_args
, **_kwargs
):
465 val
= apply(printfwc
.wxPrintout_GetPPIPrinter
,(self
,) + _args
, _kwargs
)
467 def GetPPIScreen(self
, *_args
, **_kwargs
):
468 val
= apply(printfwc
.wxPrintout_GetPPIScreen
,(self
,) + _args
, _kwargs
)
470 def IsPreview(self
, *_args
, **_kwargs
):
471 val
= apply(printfwc
.wxPrintout_IsPreview
,(self
,) + _args
, _kwargs
)
473 def base_OnBeginDocument(self
, *_args
, **_kwargs
):
474 val
= apply(printfwc
.wxPrintout_base_OnBeginDocument
,(self
,) + _args
, _kwargs
)
476 def base_OnEndDocument(self
, *_args
, **_kwargs
):
477 val
= apply(printfwc
.wxPrintout_base_OnEndDocument
,(self
,) + _args
, _kwargs
)
479 def base_OnBeginPrinting(self
, *_args
, **_kwargs
):
480 val
= apply(printfwc
.wxPrintout_base_OnBeginPrinting
,(self
,) + _args
, _kwargs
)
482 def base_OnEndPrinting(self
, *_args
, **_kwargs
):
483 val
= apply(printfwc
.wxPrintout_base_OnEndPrinting
,(self
,) + _args
, _kwargs
)
485 def base_OnPreparePrinting(self
, *_args
, **_kwargs
):
486 val
= apply(printfwc
.wxPrintout_base_OnPreparePrinting
,(self
,) + _args
, _kwargs
)
488 def base_GetPageInfo(self
, *_args
, **_kwargs
):
489 val
= apply(printfwc
.wxPrintout_base_GetPageInfo
,(self
,) + _args
, _kwargs
)
491 def base_HasPage(self
, *_args
, **_kwargs
):
492 val
= apply(printfwc
.wxPrintout_base_HasPage
,(self
,) + _args
, _kwargs
)
495 return "<C wxPrintout instance at %s>" % (self
.this
,)
496 class wxPrintout(wxPrintoutPtr
):
497 def __init__(self
,*_args
,**_kwargs
):
498 self
.this
= apply(printfwc
.new_wxPrintout
,_args
,_kwargs
)
500 self
._setCallbackInfo
(self
, wxPrintout
)
505 class wxPrinterPtr(wxObjectPtr
):
506 def __init__(self
,this
):
509 def __del__(self
,printfwc
=printfwc
):
510 if self
.thisown
== 1 :
511 printfwc
.delete_wxPrinter(self
)
512 def CreateAbortWindow(self
, *_args
, **_kwargs
):
513 val
= apply(printfwc
.wxPrinter_CreateAbortWindow
,(self
,) + _args
, _kwargs
)
515 def GetPrintDialogData(self
, *_args
, **_kwargs
):
516 val
= apply(printfwc
.wxPrinter_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
517 if val
: val
= wxPrintDialogDataPtr(val
)
519 def Print(self
, *_args
, **_kwargs
):
520 val
= apply(printfwc
.wxPrinter_Print
,(self
,) + _args
, _kwargs
)
522 def PrintDialog(self
, *_args
, **_kwargs
):
523 val
= apply(printfwc
.wxPrinter_PrintDialog
,(self
,) + _args
, _kwargs
)
525 def ReportError(self
, *_args
, **_kwargs
):
526 val
= apply(printfwc
.wxPrinter_ReportError
,(self
,) + _args
, _kwargs
)
528 def Setup(self
, *_args
, **_kwargs
):
529 val
= apply(printfwc
.wxPrinter_Setup
,(self
,) + _args
, _kwargs
)
532 return "<C wxPrinter instance at %s>" % (self
.this
,)
533 class wxPrinter(wxPrinterPtr
):
534 def __init__(self
,*_args
,**_kwargs
):
535 self
.this
= apply(printfwc
.new_wxPrinter
,_args
,_kwargs
)
541 class wxPrintPreviewPtr(wxObjectPtr
):
542 def __init__(self
,this
):
545 def GetCanvas(self
, *_args
, **_kwargs
):
546 val
= apply(printfwc
.wxPrintPreview_GetCanvas
,(self
,) + _args
, _kwargs
)
548 def GetCurrentPage(self
, *_args
, **_kwargs
):
549 val
= apply(printfwc
.wxPrintPreview_GetCurrentPage
,(self
,) + _args
, _kwargs
)
551 def GetFrame(self
, *_args
, **_kwargs
):
552 val
= apply(printfwc
.wxPrintPreview_GetFrame
,(self
,) + _args
, _kwargs
)
554 def GetMaxPage(self
, *_args
, **_kwargs
):
555 val
= apply(printfwc
.wxPrintPreview_GetMaxPage
,(self
,) + _args
, _kwargs
)
557 def GetMinPage(self
, *_args
, **_kwargs
):
558 val
= apply(printfwc
.wxPrintPreview_GetMinPage
,(self
,) + _args
, _kwargs
)
560 def GetPrintDialogData(self
, *_args
, **_kwargs
):
561 val
= apply(printfwc
.wxPrintPreview_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
562 if val
: val
= wxPrintDialogDataPtr(val
)
564 def GetPrintout(self
, *_args
, **_kwargs
):
565 val
= apply(printfwc
.wxPrintPreview_GetPrintout
,(self
,) + _args
, _kwargs
)
567 def GetPrintoutForPrinting(self
, *_args
, **_kwargs
):
568 val
= apply(printfwc
.wxPrintPreview_GetPrintoutForPrinting
,(self
,) + _args
, _kwargs
)
570 def GetZoom(self
, *_args
, **_kwargs
):
571 val
= apply(printfwc
.wxPrintPreview_GetZoom
,(self
,) + _args
, _kwargs
)
573 def Ok(self
, *_args
, **_kwargs
):
574 val
= apply(printfwc
.wxPrintPreview_Ok
,(self
,) + _args
, _kwargs
)
576 def Print(self
, *_args
, **_kwargs
):
577 val
= apply(printfwc
.wxPrintPreview_Print
,(self
,) + _args
, _kwargs
)
579 def SetCanvas(self
, *_args
, **_kwargs
):
580 val
= apply(printfwc
.wxPrintPreview_SetCanvas
,(self
,) + _args
, _kwargs
)
582 def SetCurrentPage(self
, *_args
, **_kwargs
):
583 val
= apply(printfwc
.wxPrintPreview_SetCurrentPage
,(self
,) + _args
, _kwargs
)
585 def SetFrame(self
, *_args
, **_kwargs
):
586 val
= apply(printfwc
.wxPrintPreview_SetFrame
,(self
,) + _args
, _kwargs
)
588 def SetPrintout(self
, *_args
, **_kwargs
):
589 val
= apply(printfwc
.wxPrintPreview_SetPrintout
,(self
,) + _args
, _kwargs
)
591 def SetZoom(self
, *_args
, **_kwargs
):
592 val
= apply(printfwc
.wxPrintPreview_SetZoom
,(self
,) + _args
, _kwargs
)
595 return "<C wxPrintPreview instance at %s>" % (self
.this
,)
596 class wxPrintPreview(wxPrintPreviewPtr
):
597 def __init__(self
,*_args
,**_kwargs
):
598 self
.this
= apply(printfwc
.new_wxPrintPreview
,_args
,_kwargs
)
604 class wxPreviewFramePtr(wxFramePtr
):
605 def __init__(self
,this
):
608 def Initialize(self
, *_args
, **_kwargs
):
609 val
= apply(printfwc
.wxPreviewFrame_Initialize
,(self
,) + _args
, _kwargs
)
612 return "<C wxPreviewFrame instance at %s>" % (self
.this
,)
613 class wxPreviewFrame(wxPreviewFramePtr
):
614 def __init__(self
,*_args
,**_kwargs
):
615 self
.this
= apply(printfwc
.new_wxPreviewFrame
,_args
,_kwargs
)
617 self
._setOORInfo
(self
)
624 #-------------- FUNCTION WRAPPERS ------------------
626 wxPostScriptDC_SetResolution
= printfwc
.wxPostScriptDC_SetResolution
628 wxPostScriptDC_GetResolution
= printfwc
.wxPostScriptDC_GetResolution
632 #-------------- VARIABLE WRAPPERS ------------------