1 # This file was created automatically by SWIG.
14 from stattool
import *
16 from controls
import *
20 class wxPrintDataPtr
:
21 def __init__(self
,this
):
24 def __del__(self
,printfwc
=printfwc
):
25 if self
.thisown
== 1 :
26 printfwc
.delete_wxPrintData(self
)
27 def GetNoCopies(self
, *_args
, **_kwargs
):
28 val
= apply(printfwc
.wxPrintData_GetNoCopies
,(self
,) + _args
, _kwargs
)
30 def GetCollate(self
, *_args
, **_kwargs
):
31 val
= apply(printfwc
.wxPrintData_GetCollate
,(self
,) + _args
, _kwargs
)
33 def GetOrientation(self
, *_args
, **_kwargs
):
34 val
= apply(printfwc
.wxPrintData_GetOrientation
,(self
,) + _args
, _kwargs
)
36 def GetPrinterName(self
, *_args
, **_kwargs
):
37 val
= apply(printfwc
.wxPrintData_GetPrinterName
,(self
,) + _args
, _kwargs
)
39 def GetColour(self
, *_args
, **_kwargs
):
40 val
= apply(printfwc
.wxPrintData_GetColour
,(self
,) + _args
, _kwargs
)
42 def GetDuplex(self
, *_args
, **_kwargs
):
43 val
= apply(printfwc
.wxPrintData_GetDuplex
,(self
,) + _args
, _kwargs
)
45 def GetPaperId(self
, *_args
, **_kwargs
):
46 val
= apply(printfwc
.wxPrintData_GetPaperId
,(self
,) + _args
, _kwargs
)
48 def GetPaperSize(self
, *_args
, **_kwargs
):
49 val
= apply(printfwc
.wxPrintData_GetPaperSize
,(self
,) + _args
, _kwargs
)
50 if val
: val
= wxSizePtr(val
)
52 def GetQuality(self
, *_args
, **_kwargs
):
53 val
= apply(printfwc
.wxPrintData_GetQuality
,(self
,) + _args
, _kwargs
)
55 def SetNoCopies(self
, *_args
, **_kwargs
):
56 val
= apply(printfwc
.wxPrintData_SetNoCopies
,(self
,) + _args
, _kwargs
)
58 def SetCollate(self
, *_args
, **_kwargs
):
59 val
= apply(printfwc
.wxPrintData_SetCollate
,(self
,) + _args
, _kwargs
)
61 def SetOrientation(self
, *_args
, **_kwargs
):
62 val
= apply(printfwc
.wxPrintData_SetOrientation
,(self
,) + _args
, _kwargs
)
64 def SetPrinterName(self
, *_args
, **_kwargs
):
65 val
= apply(printfwc
.wxPrintData_SetPrinterName
,(self
,) + _args
, _kwargs
)
67 def SetColour(self
, *_args
, **_kwargs
):
68 val
= apply(printfwc
.wxPrintData_SetColour
,(self
,) + _args
, _kwargs
)
70 def SetDuplex(self
, *_args
, **_kwargs
):
71 val
= apply(printfwc
.wxPrintData_SetDuplex
,(self
,) + _args
, _kwargs
)
73 def SetPaperId(self
, *_args
, **_kwargs
):
74 val
= apply(printfwc
.wxPrintData_SetPaperId
,(self
,) + _args
, _kwargs
)
76 def SetPaperSize(self
, *_args
, **_kwargs
):
77 val
= apply(printfwc
.wxPrintData_SetPaperSize
,(self
,) + _args
, _kwargs
)
79 def SetQuality(self
, *_args
, **_kwargs
):
80 val
= apply(printfwc
.wxPrintData_SetQuality
,(self
,) + _args
, _kwargs
)
83 return "<C wxPrintData instance at %s>" % (self
.this
,)
84 class wxPrintData(wxPrintDataPtr
):
85 def __init__(self
,*_args
,**_kwargs
):
86 self
.this
= apply(printfwc
.new_wxPrintData
,_args
,_kwargs
)
92 class wxPageSetupDialogDataPtr
:
93 def __init__(self
,this
):
96 def __del__(self
,printfwc
=printfwc
):
97 if self
.thisown
== 1 :
98 printfwc
.delete_wxPageSetupDialogData(self
)
99 def EnableHelp(self
, *_args
, **_kwargs
):
100 val
= apply(printfwc
.wxPageSetupDialogData_EnableHelp
,(self
,) + _args
, _kwargs
)
102 def EnableMargins(self
, *_args
, **_kwargs
):
103 val
= apply(printfwc
.wxPageSetupDialogData_EnableMargins
,(self
,) + _args
, _kwargs
)
105 def EnableOrientation(self
, *_args
, **_kwargs
):
106 val
= apply(printfwc
.wxPageSetupDialogData_EnableOrientation
,(self
,) + _args
, _kwargs
)
108 def EnablePaper(self
, *_args
, **_kwargs
):
109 val
= apply(printfwc
.wxPageSetupDialogData_EnablePaper
,(self
,) + _args
, _kwargs
)
111 def EnablePrinter(self
, *_args
, **_kwargs
):
112 val
= apply(printfwc
.wxPageSetupDialogData_EnablePrinter
,(self
,) + _args
, _kwargs
)
114 def GetDefaultMinMargins(self
, *_args
, **_kwargs
):
115 val
= apply(printfwc
.wxPageSetupDialogData_GetDefaultMinMargins
,(self
,) + _args
, _kwargs
)
117 def GetEnableMargins(self
, *_args
, **_kwargs
):
118 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableMargins
,(self
,) + _args
, _kwargs
)
120 def GetEnableOrientation(self
, *_args
, **_kwargs
):
121 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableOrientation
,(self
,) + _args
, _kwargs
)
123 def GetEnablePaper(self
, *_args
, **_kwargs
):
124 val
= apply(printfwc
.wxPageSetupDialogData_GetEnablePaper
,(self
,) + _args
, _kwargs
)
126 def GetEnablePrinter(self
, *_args
, **_kwargs
):
127 val
= apply(printfwc
.wxPageSetupDialogData_GetEnablePrinter
,(self
,) + _args
, _kwargs
)
129 def GetEnableHelp(self
, *_args
, **_kwargs
):
130 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableHelp
,(self
,) + _args
, _kwargs
)
132 def GetDefaultInfo(self
, *_args
, **_kwargs
):
133 val
= apply(printfwc
.wxPageSetupDialogData_GetDefaultInfo
,(self
,) + _args
, _kwargs
)
135 def GetMarginTopLeft(self
, *_args
, **_kwargs
):
136 val
= apply(printfwc
.wxPageSetupDialogData_GetMarginTopLeft
,(self
,) + _args
, _kwargs
)
137 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
139 def GetMarginBottomRight(self
, *_args
, **_kwargs
):
140 val
= apply(printfwc
.wxPageSetupDialogData_GetMarginBottomRight
,(self
,) + _args
, _kwargs
)
141 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
143 def GetMinMarginTopLeft(self
, *_args
, **_kwargs
):
144 val
= apply(printfwc
.wxPageSetupDialogData_GetMinMarginTopLeft
,(self
,) + _args
, _kwargs
)
145 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
147 def GetMinMarginBottomRight(self
, *_args
, **_kwargs
):
148 val
= apply(printfwc
.wxPageSetupDialogData_GetMinMarginBottomRight
,(self
,) + _args
, _kwargs
)
149 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
151 def GetPaperId(self
, *_args
, **_kwargs
):
152 val
= apply(printfwc
.wxPageSetupDialogData_GetPaperId
,(self
,) + _args
, _kwargs
)
154 def GetPaperSize(self
, *_args
, **_kwargs
):
155 val
= apply(printfwc
.wxPageSetupDialogData_GetPaperSize
,(self
,) + _args
, _kwargs
)
156 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
158 def GetPrintData(self
, *_args
, **_kwargs
):
159 val
= apply(printfwc
.wxPageSetupDialogData_GetPrintData
,(self
,) + _args
, _kwargs
)
160 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
162 def SetDefaultInfo(self
, *_args
, **_kwargs
):
163 val
= apply(printfwc
.wxPageSetupDialogData_SetDefaultInfo
,(self
,) + _args
, _kwargs
)
165 def SetDefaultMinMargins(self
, *_args
, **_kwargs
):
166 val
= apply(printfwc
.wxPageSetupDialogData_SetDefaultMinMargins
,(self
,) + _args
, _kwargs
)
168 def SetMarginTopLeft(self
, *_args
, **_kwargs
):
169 val
= apply(printfwc
.wxPageSetupDialogData_SetMarginTopLeft
,(self
,) + _args
, _kwargs
)
171 def SetMarginBottomRight(self
, *_args
, **_kwargs
):
172 val
= apply(printfwc
.wxPageSetupDialogData_SetMarginBottomRight
,(self
,) + _args
, _kwargs
)
174 def SetMinMarginTopLeft(self
, *_args
, **_kwargs
):
175 val
= apply(printfwc
.wxPageSetupDialogData_SetMinMarginTopLeft
,(self
,) + _args
, _kwargs
)
177 def SetMinMarginBottomRight(self
, *_args
, **_kwargs
):
178 val
= apply(printfwc
.wxPageSetupDialogData_SetMinMarginBottomRight
,(self
,) + _args
, _kwargs
)
180 def SetPaperId(self
, *_args
, **_kwargs
):
181 val
= apply(printfwc
.wxPageSetupDialogData_SetPaperId
,(self
,) + _args
, _kwargs
)
183 def SetPaperSize(self
, *_args
, **_kwargs
):
184 val
= apply(printfwc
.wxPageSetupDialogData_SetPaperSize
,(self
,) + _args
, _kwargs
)
186 def SetPrintData(self
, *_args
, **_kwargs
):
187 val
= apply(printfwc
.wxPageSetupDialogData_SetPrintData
,(self
,) + _args
, _kwargs
)
190 return "<C wxPageSetupDialogData instance at %s>" % (self
.this
,)
191 class wxPageSetupDialogData(wxPageSetupDialogDataPtr
):
192 def __init__(self
,*_args
,**_kwargs
):
193 self
.this
= apply(printfwc
.new_wxPageSetupDialogData
,_args
,_kwargs
)
199 class wxPageSetupDialogPtr(wxDialogPtr
):
200 def __init__(self
,this
):
203 def GetPageSetupData(self
, *_args
, **_kwargs
):
204 val
= apply(printfwc
.wxPageSetupDialog_GetPageSetupData
,(self
,) + _args
, _kwargs
)
205 if val
: val
= wxPageSetupDialogDataPtr(val
)
207 def ShowModal(self
, *_args
, **_kwargs
):
208 val
= apply(printfwc
.wxPageSetupDialog_ShowModal
,(self
,) + _args
, _kwargs
)
211 return "<C wxPageSetupDialog instance at %s>" % (self
.this
,)
212 class wxPageSetupDialog(wxPageSetupDialogPtr
):
213 def __init__(self
,*_args
,**_kwargs
):
214 self
.this
= apply(printfwc
.new_wxPageSetupDialog
,_args
,_kwargs
)
216 wx
._StdDialogCallbacks
(self
)
221 class wxPrintDialogDataPtr
:
222 def __init__(self
,this
):
225 def __del__(self
,printfwc
=printfwc
):
226 if self
.thisown
== 1 :
227 printfwc
.delete_wxPrintDialogData(self
)
228 def EnableHelp(self
, *_args
, **_kwargs
):
229 val
= apply(printfwc
.wxPrintDialogData_EnableHelp
,(self
,) + _args
, _kwargs
)
231 def EnablePageNumbers(self
, *_args
, **_kwargs
):
232 val
= apply(printfwc
.wxPrintDialogData_EnablePageNumbers
,(self
,) + _args
, _kwargs
)
234 def EnablePrintToFile(self
, *_args
, **_kwargs
):
235 val
= apply(printfwc
.wxPrintDialogData_EnablePrintToFile
,(self
,) + _args
, _kwargs
)
237 def EnableSelection(self
, *_args
, **_kwargs
):
238 val
= apply(printfwc
.wxPrintDialogData_EnableSelection
,(self
,) + _args
, _kwargs
)
240 def GetAllPages(self
, *_args
, **_kwargs
):
241 val
= apply(printfwc
.wxPrintDialogData_GetAllPages
,(self
,) + _args
, _kwargs
)
243 def GetCollate(self
, *_args
, **_kwargs
):
244 val
= apply(printfwc
.wxPrintDialogData_GetCollate
,(self
,) + _args
, _kwargs
)
246 def GetFromPage(self
, *_args
, **_kwargs
):
247 val
= apply(printfwc
.wxPrintDialogData_GetFromPage
,(self
,) + _args
, _kwargs
)
249 def GetMaxPage(self
, *_args
, **_kwargs
):
250 val
= apply(printfwc
.wxPrintDialogData_GetMaxPage
,(self
,) + _args
, _kwargs
)
252 def GetMinPage(self
, *_args
, **_kwargs
):
253 val
= apply(printfwc
.wxPrintDialogData_GetMinPage
,(self
,) + _args
, _kwargs
)
255 def GetNoCopies(self
, *_args
, **_kwargs
):
256 val
= apply(printfwc
.wxPrintDialogData_GetNoCopies
,(self
,) + _args
, _kwargs
)
258 def GetPrintData(self
, *_args
, **_kwargs
):
259 val
= apply(printfwc
.wxPrintDialogData_GetPrintData
,(self
,) + _args
, _kwargs
)
260 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
262 def GetPrintToFile(self
, *_args
, **_kwargs
):
263 val
= apply(printfwc
.wxPrintDialogData_GetPrintToFile
,(self
,) + _args
, _kwargs
)
265 def GetToPage(self
, *_args
, **_kwargs
):
266 val
= apply(printfwc
.wxPrintDialogData_GetToPage
,(self
,) + _args
, _kwargs
)
268 def SetCollate(self
, *_args
, **_kwargs
):
269 val
= apply(printfwc
.wxPrintDialogData_SetCollate
,(self
,) + _args
, _kwargs
)
271 def SetFromPage(self
, *_args
, **_kwargs
):
272 val
= apply(printfwc
.wxPrintDialogData_SetFromPage
,(self
,) + _args
, _kwargs
)
274 def SetMaxPage(self
, *_args
, **_kwargs
):
275 val
= apply(printfwc
.wxPrintDialogData_SetMaxPage
,(self
,) + _args
, _kwargs
)
277 def SetMinPage(self
, *_args
, **_kwargs
):
278 val
= apply(printfwc
.wxPrintDialogData_SetMinPage
,(self
,) + _args
, _kwargs
)
280 def SetNoCopies(self
, *_args
, **_kwargs
):
281 val
= apply(printfwc
.wxPrintDialogData_SetNoCopies
,(self
,) + _args
, _kwargs
)
283 def SetPrintData(self
, *_args
, **_kwargs
):
284 val
= apply(printfwc
.wxPrintDialogData_SetPrintData
,(self
,) + _args
, _kwargs
)
286 def SetPrintToFile(self
, *_args
, **_kwargs
):
287 val
= apply(printfwc
.wxPrintDialogData_SetPrintToFile
,(self
,) + _args
, _kwargs
)
289 def SetSetupDialog(self
, *_args
, **_kwargs
):
290 val
= apply(printfwc
.wxPrintDialogData_SetSetupDialog
,(self
,) + _args
, _kwargs
)
292 def SetToPage(self
, *_args
, **_kwargs
):
293 val
= apply(printfwc
.wxPrintDialogData_SetToPage
,(self
,) + _args
, _kwargs
)
296 return "<C wxPrintDialogData instance at %s>" % (self
.this
,)
297 class wxPrintDialogData(wxPrintDialogDataPtr
):
298 def __init__(self
,*_args
,**_kwargs
):
299 self
.this
= apply(printfwc
.new_wxPrintDialogData
,_args
,_kwargs
)
305 class wxPrintDialogPtr(wxDialogPtr
):
306 def __init__(self
,this
):
309 def GetPrintDialogData(self
, *_args
, **_kwargs
):
310 val
= apply(printfwc
.wxPrintDialog_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
311 if val
: val
= wxPrintDialogDataPtr(val
)
313 def GetPrintDC(self
, *_args
, **_kwargs
):
314 val
= apply(printfwc
.wxPrintDialog_GetPrintDC
,(self
,) + _args
, _kwargs
)
315 if val
: val
= wxDCPtr(val
) ; val
.thisown
= 1
317 def ShowModal(self
, *_args
, **_kwargs
):
318 val
= apply(printfwc
.wxPrintDialog_ShowModal
,(self
,) + _args
, _kwargs
)
321 return "<C wxPrintDialog instance at %s>" % (self
.this
,)
322 class wxPrintDialog(wxPrintDialogPtr
):
323 def __init__(self
,*_args
,**_kwargs
):
324 self
.this
= apply(printfwc
.new_wxPrintDialog
,_args
,_kwargs
)
326 wx
._StdDialogCallbacks
(self
)
331 class wxPrintoutPtr
:
332 def __init__(self
,this
):
335 def _setSelf(self
, *_args
, **_kwargs
):
336 val
= apply(printfwc
.wxPrintout__setSelf
,(self
,) + _args
, _kwargs
)
338 def Destroy(self
, *_args
, **_kwargs
):
339 val
= apply(printfwc
.wxPrintout_Destroy
,(self
,) + _args
, _kwargs
)
341 def GetDC(self
, *_args
, **_kwargs
):
342 val
= apply(printfwc
.wxPrintout_GetDC
,(self
,) + _args
, _kwargs
)
343 if val
: val
= wxDCPtr(val
)
345 def GetPageSizeMM(self
, *_args
, **_kwargs
):
346 val
= apply(printfwc
.wxPrintout_GetPageSizeMM
,(self
,) + _args
, _kwargs
)
348 def GetPageSizePixels(self
, *_args
, **_kwargs
):
349 val
= apply(printfwc
.wxPrintout_GetPageSizePixels
,(self
,) + _args
, _kwargs
)
351 def GetPPIPrinter(self
, *_args
, **_kwargs
):
352 val
= apply(printfwc
.wxPrintout_GetPPIPrinter
,(self
,) + _args
, _kwargs
)
354 def GetPPIScreen(self
, *_args
, **_kwargs
):
355 val
= apply(printfwc
.wxPrintout_GetPPIScreen
,(self
,) + _args
, _kwargs
)
357 def IsPreview(self
, *_args
, **_kwargs
):
358 val
= apply(printfwc
.wxPrintout_IsPreview
,(self
,) + _args
, _kwargs
)
360 def base_OnBeginDocument(self
, *_args
, **_kwargs
):
361 val
= apply(printfwc
.wxPrintout_base_OnBeginDocument
,(self
,) + _args
, _kwargs
)
363 def base_OnEndDocument(self
, *_args
, **_kwargs
):
364 val
= apply(printfwc
.wxPrintout_base_OnEndDocument
,(self
,) + _args
, _kwargs
)
366 def base_OnBeginPrinting(self
, *_args
, **_kwargs
):
367 val
= apply(printfwc
.wxPrintout_base_OnBeginPrinting
,(self
,) + _args
, _kwargs
)
369 def base_OnEndPrinting(self
, *_args
, **_kwargs
):
370 val
= apply(printfwc
.wxPrintout_base_OnEndPrinting
,(self
,) + _args
, _kwargs
)
372 def base_OnPreparePrinting(self
, *_args
, **_kwargs
):
373 val
= apply(printfwc
.wxPrintout_base_OnPreparePrinting
,(self
,) + _args
, _kwargs
)
375 def base_GetPageInfo(self
, *_args
, **_kwargs
):
376 val
= apply(printfwc
.wxPrintout_base_GetPageInfo
,(self
,) + _args
, _kwargs
)
378 def base_HasPage(self
, *_args
, **_kwargs
):
379 val
= apply(printfwc
.wxPrintout_base_HasPage
,(self
,) + _args
, _kwargs
)
382 return "<C wxPrintout instance at %s>" % (self
.this
,)
383 class wxPrintout(wxPrintoutPtr
):
384 def __init__(self
,*_args
,**_kwargs
):
385 self
.this
= apply(printfwc
.new_wxPrintout
,_args
,_kwargs
)
393 def __init__(self
,this
):
396 def __del__(self
,printfwc
=printfwc
):
397 if self
.thisown
== 1 :
398 printfwc
.delete_wxPrinter(self
)
399 def CreateAbortWindow(self
, *_args
, **_kwargs
):
400 val
= apply(printfwc
.wxPrinter_CreateAbortWindow
,(self
,) + _args
, _kwargs
)
402 def GetPrintDialogData(self
, *_args
, **_kwargs
):
403 val
= apply(printfwc
.wxPrinter_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
404 if val
: val
= wxPrintDialogDataPtr(val
)
406 def Print(self
, *_args
, **_kwargs
):
407 val
= apply(printfwc
.wxPrinter_Print
,(self
,) + _args
, _kwargs
)
409 def PrintDialog(self
, *_args
, **_kwargs
):
410 val
= apply(printfwc
.wxPrinter_PrintDialog
,(self
,) + _args
, _kwargs
)
411 if val
: val
= wxDCPtr(val
)
413 def ReportError(self
, *_args
, **_kwargs
):
414 val
= apply(printfwc
.wxPrinter_ReportError
,(self
,) + _args
, _kwargs
)
416 def Setup(self
, *_args
, **_kwargs
):
417 val
= apply(printfwc
.wxPrinter_Setup
,(self
,) + _args
, _kwargs
)
420 return "<C wxPrinter instance at %s>" % (self
.this
,)
421 class wxPrinter(wxPrinterPtr
):
422 def __init__(self
,*_args
,**_kwargs
):
423 self
.this
= apply(printfwc
.new_wxPrinter
,_args
,_kwargs
)
429 class wxPrintPreviewPtr
:
430 def __init__(self
,this
):
433 def GetCanvas(self
, *_args
, **_kwargs
):
434 val
= apply(printfwc
.wxPrintPreview_GetCanvas
,(self
,) + _args
, _kwargs
)
435 if val
: val
= wxWindowPtr(val
)
437 def GetCurrentPage(self
, *_args
, **_kwargs
):
438 val
= apply(printfwc
.wxPrintPreview_GetCurrentPage
,(self
,) + _args
, _kwargs
)
440 def GetFrame(self
, *_args
, **_kwargs
):
441 val
= apply(printfwc
.wxPrintPreview_GetFrame
,(self
,) + _args
, _kwargs
)
442 if val
: val
= wxFramePtr(val
)
444 def GetMaxPage(self
, *_args
, **_kwargs
):
445 val
= apply(printfwc
.wxPrintPreview_GetMaxPage
,(self
,) + _args
, _kwargs
)
447 def GetMinPage(self
, *_args
, **_kwargs
):
448 val
= apply(printfwc
.wxPrintPreview_GetMinPage
,(self
,) + _args
, _kwargs
)
450 def GetPrintDialogData(self
, *_args
, **_kwargs
):
451 val
= apply(printfwc
.wxPrintPreview_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
452 if val
: val
= wxPrintDialogDataPtr(val
)
454 def GetPrintout(self
, *_args
, **_kwargs
):
455 val
= apply(printfwc
.wxPrintPreview_GetPrintout
,(self
,) + _args
, _kwargs
)
456 if val
: val
= wxPrintoutPtr(val
)
458 def GetPrintoutForPrinting(self
, *_args
, **_kwargs
):
459 val
= apply(printfwc
.wxPrintPreview_GetPrintoutForPrinting
,(self
,) + _args
, _kwargs
)
460 if val
: val
= wxPrintoutPtr(val
)
462 def GetZoom(self
, *_args
, **_kwargs
):
463 val
= apply(printfwc
.wxPrintPreview_GetZoom
,(self
,) + _args
, _kwargs
)
465 def Ok(self
, *_args
, **_kwargs
):
466 val
= apply(printfwc
.wxPrintPreview_Ok
,(self
,) + _args
, _kwargs
)
468 def Print(self
, *_args
, **_kwargs
):
469 val
= apply(printfwc
.wxPrintPreview_Print
,(self
,) + _args
, _kwargs
)
471 def SetCanvas(self
, *_args
, **_kwargs
):
472 val
= apply(printfwc
.wxPrintPreview_SetCanvas
,(self
,) + _args
, _kwargs
)
474 def SetCurrentPage(self
, *_args
, **_kwargs
):
475 val
= apply(printfwc
.wxPrintPreview_SetCurrentPage
,(self
,) + _args
, _kwargs
)
477 def SetFrame(self
, *_args
, **_kwargs
):
478 val
= apply(printfwc
.wxPrintPreview_SetFrame
,(self
,) + _args
, _kwargs
)
480 def SetPrintout(self
, *_args
, **_kwargs
):
481 val
= apply(printfwc
.wxPrintPreview_SetPrintout
,(self
,) + _args
, _kwargs
)
483 def SetZoom(self
, *_args
, **_kwargs
):
484 val
= apply(printfwc
.wxPrintPreview_SetZoom
,(self
,) + _args
, _kwargs
)
487 return "<C wxPrintPreview instance at %s>" % (self
.this
,)
488 class wxPrintPreview(wxPrintPreviewPtr
):
489 def __init__(self
,*_args
,**_kwargs
):
490 self
.this
= apply(printfwc
.new_wxPrintPreview
,_args
,_kwargs
)
496 class wxPreviewFramePtr(wxFramePtr
):
497 def __init__(self
,this
):
500 def Initialize(self
, *_args
, **_kwargs
):
501 val
= apply(printfwc
.wxPreviewFrame_Initialize
,(self
,) + _args
, _kwargs
)
504 return "<C wxPreviewFrame instance at %s>" % (self
.this
,)
505 class wxPreviewFrame(wxPreviewFramePtr
):
506 def __init__(self
,*_args
,**_kwargs
):
507 self
.this
= apply(printfwc
.new_wxPreviewFrame
,_args
,_kwargs
)
509 wx
._StdFrameCallbacks
(self
)
516 #-------------- FUNCTION WRAPPERS ------------------
520 #-------------- VARIABLE WRAPPERS ------------------