1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
16 from stattool
import *
18 from controls
import *
22 class wxPrintDataPtr
:
23 def __init__(self
,this
):
26 def __del__(self
,printfwc
=printfwc
):
27 if self
.thisown
== 1 :
28 printfwc
.delete_wxPrintData(self
)
29 def GetNoCopies(self
, *_args
, **_kwargs
):
30 val
= apply(printfwc
.wxPrintData_GetNoCopies
,(self
,) + _args
, _kwargs
)
32 def GetCollate(self
, *_args
, **_kwargs
):
33 val
= apply(printfwc
.wxPrintData_GetCollate
,(self
,) + _args
, _kwargs
)
35 def GetOrientation(self
, *_args
, **_kwargs
):
36 val
= apply(printfwc
.wxPrintData_GetOrientation
,(self
,) + _args
, _kwargs
)
38 def GetPrinterName(self
, *_args
, **_kwargs
):
39 val
= apply(printfwc
.wxPrintData_GetPrinterName
,(self
,) + _args
, _kwargs
)
41 def GetColour(self
, *_args
, **_kwargs
):
42 val
= apply(printfwc
.wxPrintData_GetColour
,(self
,) + _args
, _kwargs
)
44 def GetDuplex(self
, *_args
, **_kwargs
):
45 val
= apply(printfwc
.wxPrintData_GetDuplex
,(self
,) + _args
, _kwargs
)
47 def GetPaperId(self
, *_args
, **_kwargs
):
48 val
= apply(printfwc
.wxPrintData_GetPaperId
,(self
,) + _args
, _kwargs
)
50 def GetPaperSize(self
, *_args
, **_kwargs
):
51 val
= apply(printfwc
.wxPrintData_GetPaperSize
,(self
,) + _args
, _kwargs
)
52 if val
: val
= wxSizePtr(val
)
54 def GetQuality(self
, *_args
, **_kwargs
):
55 val
= apply(printfwc
.wxPrintData_GetQuality
,(self
,) + _args
, _kwargs
)
57 def SetNoCopies(self
, *_args
, **_kwargs
):
58 val
= apply(printfwc
.wxPrintData_SetNoCopies
,(self
,) + _args
, _kwargs
)
60 def SetCollate(self
, *_args
, **_kwargs
):
61 val
= apply(printfwc
.wxPrintData_SetCollate
,(self
,) + _args
, _kwargs
)
63 def SetOrientation(self
, *_args
, **_kwargs
):
64 val
= apply(printfwc
.wxPrintData_SetOrientation
,(self
,) + _args
, _kwargs
)
66 def SetPrinterName(self
, *_args
, **_kwargs
):
67 val
= apply(printfwc
.wxPrintData_SetPrinterName
,(self
,) + _args
, _kwargs
)
69 def SetColour(self
, *_args
, **_kwargs
):
70 val
= apply(printfwc
.wxPrintData_SetColour
,(self
,) + _args
, _kwargs
)
72 def SetDuplex(self
, *_args
, **_kwargs
):
73 val
= apply(printfwc
.wxPrintData_SetDuplex
,(self
,) + _args
, _kwargs
)
75 def SetPaperId(self
, *_args
, **_kwargs
):
76 val
= apply(printfwc
.wxPrintData_SetPaperId
,(self
,) + _args
, _kwargs
)
78 def SetPaperSize(self
, *_args
, **_kwargs
):
79 val
= apply(printfwc
.wxPrintData_SetPaperSize
,(self
,) + _args
, _kwargs
)
81 def SetQuality(self
, *_args
, **_kwargs
):
82 val
= apply(printfwc
.wxPrintData_SetQuality
,(self
,) + _args
, _kwargs
)
84 def GetPrinterCommand(self
, *_args
, **_kwargs
):
85 val
= apply(printfwc
.wxPrintData_GetPrinterCommand
,(self
,) + _args
, _kwargs
)
87 def GetPrinterOptions(self
, *_args
, **_kwargs
):
88 val
= apply(printfwc
.wxPrintData_GetPrinterOptions
,(self
,) + _args
, _kwargs
)
90 def GetPreviewCommand(self
, *_args
, **_kwargs
):
91 val
= apply(printfwc
.wxPrintData_GetPreviewCommand
,(self
,) + _args
, _kwargs
)
93 def GetFilename(self
, *_args
, **_kwargs
):
94 val
= apply(printfwc
.wxPrintData_GetFilename
,(self
,) + _args
, _kwargs
)
96 def GetFontMetricPath(self
, *_args
, **_kwargs
):
97 val
= apply(printfwc
.wxPrintData_GetFontMetricPath
,(self
,) + _args
, _kwargs
)
99 def GetPrinterScaleX(self
, *_args
, **_kwargs
):
100 val
= apply(printfwc
.wxPrintData_GetPrinterScaleX
,(self
,) + _args
, _kwargs
)
102 def GetPrinterScaleY(self
, *_args
, **_kwargs
):
103 val
= apply(printfwc
.wxPrintData_GetPrinterScaleY
,(self
,) + _args
, _kwargs
)
105 def GetPrinterTranslateX(self
, *_args
, **_kwargs
):
106 val
= apply(printfwc
.wxPrintData_GetPrinterTranslateX
,(self
,) + _args
, _kwargs
)
108 def GetPrinterTranslateY(self
, *_args
, **_kwargs
):
109 val
= apply(printfwc
.wxPrintData_GetPrinterTranslateY
,(self
,) + _args
, _kwargs
)
111 def GetPrintMode(self
, *_args
, **_kwargs
):
112 val
= apply(printfwc
.wxPrintData_GetPrintMode
,(self
,) + _args
, _kwargs
)
114 def SetPrinterCommand(self
, *_args
, **_kwargs
):
115 val
= apply(printfwc
.wxPrintData_SetPrinterCommand
,(self
,) + _args
, _kwargs
)
117 def SetPrinterOptions(self
, *_args
, **_kwargs
):
118 val
= apply(printfwc
.wxPrintData_SetPrinterOptions
,(self
,) + _args
, _kwargs
)
120 def SetPreviewCommand(self
, *_args
, **_kwargs
):
121 val
= apply(printfwc
.wxPrintData_SetPreviewCommand
,(self
,) + _args
, _kwargs
)
123 def SetFilename(self
, *_args
, **_kwargs
):
124 val
= apply(printfwc
.wxPrintData_SetFilename
,(self
,) + _args
, _kwargs
)
126 def SetFontMetricPath(self
, *_args
, **_kwargs
):
127 val
= apply(printfwc
.wxPrintData_SetFontMetricPath
,(self
,) + _args
, _kwargs
)
129 def SetPrinterScaleX(self
, *_args
, **_kwargs
):
130 val
= apply(printfwc
.wxPrintData_SetPrinterScaleX
,(self
,) + _args
, _kwargs
)
132 def SetPrinterScaleY(self
, *_args
, **_kwargs
):
133 val
= apply(printfwc
.wxPrintData_SetPrinterScaleY
,(self
,) + _args
, _kwargs
)
135 def SetPrinterScaling(self
, *_args
, **_kwargs
):
136 val
= apply(printfwc
.wxPrintData_SetPrinterScaling
,(self
,) + _args
, _kwargs
)
138 def SetPrinterTranslateX(self
, *_args
, **_kwargs
):
139 val
= apply(printfwc
.wxPrintData_SetPrinterTranslateX
,(self
,) + _args
, _kwargs
)
141 def SetPrinterTranslateY(self
, *_args
, **_kwargs
):
142 val
= apply(printfwc
.wxPrintData_SetPrinterTranslateY
,(self
,) + _args
, _kwargs
)
144 def SetPrinterTranslation(self
, *_args
, **_kwargs
):
145 val
= apply(printfwc
.wxPrintData_SetPrinterTranslation
,(self
,) + _args
, _kwargs
)
147 def SetPrintMode(self
, *_args
, **_kwargs
):
148 val
= apply(printfwc
.wxPrintData_SetPrintMode
,(self
,) + _args
, _kwargs
)
151 return "<C wxPrintData instance at %s>" % (self
.this
,)
152 class wxPrintData(wxPrintDataPtr
):
153 def __init__(self
,*_args
,**_kwargs
):
154 self
.this
= apply(printfwc
.new_wxPrintData
,_args
,_kwargs
)
160 class wxPrinterDCPtr(wxDCPtr
):
161 def __init__(self
,this
):
165 return "<C wxPrinterDC instance at %s>" % (self
.this
,)
166 class wxPrinterDC(wxPrinterDCPtr
):
167 def __init__(self
,*_args
,**_kwargs
):
168 self
.this
= apply(printfwc
.new_wxPrinterDC
,_args
,_kwargs
)
173 def wxPrinterDC2(*_args
,**_kwargs
):
174 val
= wxPrinterDCPtr(apply(printfwc
.new_wxPrinterDC2
,_args
,_kwargs
))
179 class wxPageSetupDialogDataPtr
:
180 def __init__(self
,this
):
183 def __del__(self
,printfwc
=printfwc
):
184 if self
.thisown
== 1 :
185 printfwc
.delete_wxPageSetupDialogData(self
)
186 def EnableHelp(self
, *_args
, **_kwargs
):
187 val
= apply(printfwc
.wxPageSetupDialogData_EnableHelp
,(self
,) + _args
, _kwargs
)
189 def EnableMargins(self
, *_args
, **_kwargs
):
190 val
= apply(printfwc
.wxPageSetupDialogData_EnableMargins
,(self
,) + _args
, _kwargs
)
192 def EnableOrientation(self
, *_args
, **_kwargs
):
193 val
= apply(printfwc
.wxPageSetupDialogData_EnableOrientation
,(self
,) + _args
, _kwargs
)
195 def EnablePaper(self
, *_args
, **_kwargs
):
196 val
= apply(printfwc
.wxPageSetupDialogData_EnablePaper
,(self
,) + _args
, _kwargs
)
198 def EnablePrinter(self
, *_args
, **_kwargs
):
199 val
= apply(printfwc
.wxPageSetupDialogData_EnablePrinter
,(self
,) + _args
, _kwargs
)
201 def GetDefaultMinMargins(self
, *_args
, **_kwargs
):
202 val
= apply(printfwc
.wxPageSetupDialogData_GetDefaultMinMargins
,(self
,) + _args
, _kwargs
)
204 def GetEnableMargins(self
, *_args
, **_kwargs
):
205 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableMargins
,(self
,) + _args
, _kwargs
)
207 def GetEnableOrientation(self
, *_args
, **_kwargs
):
208 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableOrientation
,(self
,) + _args
, _kwargs
)
210 def GetEnablePaper(self
, *_args
, **_kwargs
):
211 val
= apply(printfwc
.wxPageSetupDialogData_GetEnablePaper
,(self
,) + _args
, _kwargs
)
213 def GetEnablePrinter(self
, *_args
, **_kwargs
):
214 val
= apply(printfwc
.wxPageSetupDialogData_GetEnablePrinter
,(self
,) + _args
, _kwargs
)
216 def GetEnableHelp(self
, *_args
, **_kwargs
):
217 val
= apply(printfwc
.wxPageSetupDialogData_GetEnableHelp
,(self
,) + _args
, _kwargs
)
219 def GetDefaultInfo(self
, *_args
, **_kwargs
):
220 val
= apply(printfwc
.wxPageSetupDialogData_GetDefaultInfo
,(self
,) + _args
, _kwargs
)
222 def GetMarginTopLeft(self
, *_args
, **_kwargs
):
223 val
= apply(printfwc
.wxPageSetupDialogData_GetMarginTopLeft
,(self
,) + _args
, _kwargs
)
224 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
226 def GetMarginBottomRight(self
, *_args
, **_kwargs
):
227 val
= apply(printfwc
.wxPageSetupDialogData_GetMarginBottomRight
,(self
,) + _args
, _kwargs
)
228 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
230 def GetMinMarginTopLeft(self
, *_args
, **_kwargs
):
231 val
= apply(printfwc
.wxPageSetupDialogData_GetMinMarginTopLeft
,(self
,) + _args
, _kwargs
)
232 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
234 def GetMinMarginBottomRight(self
, *_args
, **_kwargs
):
235 val
= apply(printfwc
.wxPageSetupDialogData_GetMinMarginBottomRight
,(self
,) + _args
, _kwargs
)
236 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
238 def GetPaperId(self
, *_args
, **_kwargs
):
239 val
= apply(printfwc
.wxPageSetupDialogData_GetPaperId
,(self
,) + _args
, _kwargs
)
241 def GetPaperSize(self
, *_args
, **_kwargs
):
242 val
= apply(printfwc
.wxPageSetupDialogData_GetPaperSize
,(self
,) + _args
, _kwargs
)
243 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
245 def GetPrintData(self
, *_args
, **_kwargs
):
246 val
= apply(printfwc
.wxPageSetupDialogData_GetPrintData
,(self
,) + _args
, _kwargs
)
247 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
249 def SetDefaultInfo(self
, *_args
, **_kwargs
):
250 val
= apply(printfwc
.wxPageSetupDialogData_SetDefaultInfo
,(self
,) + _args
, _kwargs
)
252 def SetDefaultMinMargins(self
, *_args
, **_kwargs
):
253 val
= apply(printfwc
.wxPageSetupDialogData_SetDefaultMinMargins
,(self
,) + _args
, _kwargs
)
255 def SetMarginTopLeft(self
, *_args
, **_kwargs
):
256 val
= apply(printfwc
.wxPageSetupDialogData_SetMarginTopLeft
,(self
,) + _args
, _kwargs
)
258 def SetMarginBottomRight(self
, *_args
, **_kwargs
):
259 val
= apply(printfwc
.wxPageSetupDialogData_SetMarginBottomRight
,(self
,) + _args
, _kwargs
)
261 def SetMinMarginTopLeft(self
, *_args
, **_kwargs
):
262 val
= apply(printfwc
.wxPageSetupDialogData_SetMinMarginTopLeft
,(self
,) + _args
, _kwargs
)
264 def SetMinMarginBottomRight(self
, *_args
, **_kwargs
):
265 val
= apply(printfwc
.wxPageSetupDialogData_SetMinMarginBottomRight
,(self
,) + _args
, _kwargs
)
267 def SetPaperId(self
, *_args
, **_kwargs
):
268 val
= apply(printfwc
.wxPageSetupDialogData_SetPaperId
,(self
,) + _args
, _kwargs
)
270 def SetPaperSize(self
, *_args
, **_kwargs
):
271 val
= apply(printfwc
.wxPageSetupDialogData_SetPaperSize
,(self
,) + _args
, _kwargs
)
273 def SetPrintData(self
, *_args
, **_kwargs
):
274 val
= apply(printfwc
.wxPageSetupDialogData_SetPrintData
,(self
,) + _args
, _kwargs
)
277 return "<C wxPageSetupDialogData instance at %s>" % (self
.this
,)
278 class wxPageSetupDialogData(wxPageSetupDialogDataPtr
):
279 def __init__(self
,*_args
,**_kwargs
):
280 self
.this
= apply(printfwc
.new_wxPageSetupDialogData
,_args
,_kwargs
)
286 class wxPageSetupDialogPtr(wxDialogPtr
):
287 def __init__(self
,this
):
290 def GetPageSetupData(self
, *_args
, **_kwargs
):
291 val
= apply(printfwc
.wxPageSetupDialog_GetPageSetupData
,(self
,) + _args
, _kwargs
)
292 if val
: val
= wxPageSetupDialogDataPtr(val
)
294 def ShowModal(self
, *_args
, **_kwargs
):
295 val
= apply(printfwc
.wxPageSetupDialog_ShowModal
,(self
,) + _args
, _kwargs
)
298 return "<C wxPageSetupDialog instance at %s>" % (self
.this
,)
299 class wxPageSetupDialog(wxPageSetupDialogPtr
):
300 def __init__(self
,*_args
,**_kwargs
):
301 self
.this
= apply(printfwc
.new_wxPageSetupDialog
,_args
,_kwargs
)
303 #wx._StdDialogCallbacks(self)
308 class wxPrintDialogDataPtr
:
309 def __init__(self
,this
):
312 def __del__(self
,printfwc
=printfwc
):
313 if self
.thisown
== 1 :
314 printfwc
.delete_wxPrintDialogData(self
)
315 def EnableHelp(self
, *_args
, **_kwargs
):
316 val
= apply(printfwc
.wxPrintDialogData_EnableHelp
,(self
,) + _args
, _kwargs
)
318 def EnablePageNumbers(self
, *_args
, **_kwargs
):
319 val
= apply(printfwc
.wxPrintDialogData_EnablePageNumbers
,(self
,) + _args
, _kwargs
)
321 def EnablePrintToFile(self
, *_args
, **_kwargs
):
322 val
= apply(printfwc
.wxPrintDialogData_EnablePrintToFile
,(self
,) + _args
, _kwargs
)
324 def EnableSelection(self
, *_args
, **_kwargs
):
325 val
= apply(printfwc
.wxPrintDialogData_EnableSelection
,(self
,) + _args
, _kwargs
)
327 def GetAllPages(self
, *_args
, **_kwargs
):
328 val
= apply(printfwc
.wxPrintDialogData_GetAllPages
,(self
,) + _args
, _kwargs
)
330 def GetCollate(self
, *_args
, **_kwargs
):
331 val
= apply(printfwc
.wxPrintDialogData_GetCollate
,(self
,) + _args
, _kwargs
)
333 def GetFromPage(self
, *_args
, **_kwargs
):
334 val
= apply(printfwc
.wxPrintDialogData_GetFromPage
,(self
,) + _args
, _kwargs
)
336 def GetMaxPage(self
, *_args
, **_kwargs
):
337 val
= apply(printfwc
.wxPrintDialogData_GetMaxPage
,(self
,) + _args
, _kwargs
)
339 def GetMinPage(self
, *_args
, **_kwargs
):
340 val
= apply(printfwc
.wxPrintDialogData_GetMinPage
,(self
,) + _args
, _kwargs
)
342 def GetNoCopies(self
, *_args
, **_kwargs
):
343 val
= apply(printfwc
.wxPrintDialogData_GetNoCopies
,(self
,) + _args
, _kwargs
)
345 def GetPrintData(self
, *_args
, **_kwargs
):
346 val
= apply(printfwc
.wxPrintDialogData_GetPrintData
,(self
,) + _args
, _kwargs
)
347 if val
: val
= wxPrintDataPtr(val
) ; val
.thisown
= 1
349 def GetPrintToFile(self
, *_args
, **_kwargs
):
350 val
= apply(printfwc
.wxPrintDialogData_GetPrintToFile
,(self
,) + _args
, _kwargs
)
352 def GetToPage(self
, *_args
, **_kwargs
):
353 val
= apply(printfwc
.wxPrintDialogData_GetToPage
,(self
,) + _args
, _kwargs
)
355 def SetCollate(self
, *_args
, **_kwargs
):
356 val
= apply(printfwc
.wxPrintDialogData_SetCollate
,(self
,) + _args
, _kwargs
)
358 def SetFromPage(self
, *_args
, **_kwargs
):
359 val
= apply(printfwc
.wxPrintDialogData_SetFromPage
,(self
,) + _args
, _kwargs
)
361 def SetMaxPage(self
, *_args
, **_kwargs
):
362 val
= apply(printfwc
.wxPrintDialogData_SetMaxPage
,(self
,) + _args
, _kwargs
)
364 def SetMinPage(self
, *_args
, **_kwargs
):
365 val
= apply(printfwc
.wxPrintDialogData_SetMinPage
,(self
,) + _args
, _kwargs
)
367 def SetNoCopies(self
, *_args
, **_kwargs
):
368 val
= apply(printfwc
.wxPrintDialogData_SetNoCopies
,(self
,) + _args
, _kwargs
)
370 def SetPrintData(self
, *_args
, **_kwargs
):
371 val
= apply(printfwc
.wxPrintDialogData_SetPrintData
,(self
,) + _args
, _kwargs
)
373 def SetPrintToFile(self
, *_args
, **_kwargs
):
374 val
= apply(printfwc
.wxPrintDialogData_SetPrintToFile
,(self
,) + _args
, _kwargs
)
376 def SetSetupDialog(self
, *_args
, **_kwargs
):
377 val
= apply(printfwc
.wxPrintDialogData_SetSetupDialog
,(self
,) + _args
, _kwargs
)
379 def SetToPage(self
, *_args
, **_kwargs
):
380 val
= apply(printfwc
.wxPrintDialogData_SetToPage
,(self
,) + _args
, _kwargs
)
383 return "<C wxPrintDialogData instance at %s>" % (self
.this
,)
384 class wxPrintDialogData(wxPrintDialogDataPtr
):
385 def __init__(self
,*_args
,**_kwargs
):
386 self
.this
= apply(printfwc
.new_wxPrintDialogData
,_args
,_kwargs
)
392 class wxPrintDialogPtr(wxDialogPtr
):
393 def __init__(self
,this
):
396 def GetPrintDialogData(self
, *_args
, **_kwargs
):
397 val
= apply(printfwc
.wxPrintDialog_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
398 if val
: val
= wxPrintDialogDataPtr(val
)
400 def GetPrintDC(self
, *_args
, **_kwargs
):
401 val
= apply(printfwc
.wxPrintDialog_GetPrintDC
,(self
,) + _args
, _kwargs
)
402 if val
: val
= wxDCPtr(val
) ; val
.thisown
= 1
404 def ShowModal(self
, *_args
, **_kwargs
):
405 val
= apply(printfwc
.wxPrintDialog_ShowModal
,(self
,) + _args
, _kwargs
)
408 return "<C wxPrintDialog instance at %s>" % (self
.this
,)
409 class wxPrintDialog(wxPrintDialogPtr
):
410 def __init__(self
,*_args
,**_kwargs
):
411 self
.this
= apply(printfwc
.new_wxPrintDialog
,_args
,_kwargs
)
413 #wx._StdDialogCallbacks(self)
418 class wxPrintoutPtr
:
419 def __init__(self
,this
):
422 def _setSelf(self
, *_args
, **_kwargs
):
423 val
= apply(printfwc
.wxPrintout__setSelf
,(self
,) + _args
, _kwargs
)
425 def Destroy(self
, *_args
, **_kwargs
):
426 val
= apply(printfwc
.wxPrintout_Destroy
,(self
,) + _args
, _kwargs
)
428 def GetDC(self
, *_args
, **_kwargs
):
429 val
= apply(printfwc
.wxPrintout_GetDC
,(self
,) + _args
, _kwargs
)
430 if val
: val
= wxDCPtr(val
)
432 def GetPageSizeMM(self
, *_args
, **_kwargs
):
433 val
= apply(printfwc
.wxPrintout_GetPageSizeMM
,(self
,) + _args
, _kwargs
)
435 def GetPageSizePixels(self
, *_args
, **_kwargs
):
436 val
= apply(printfwc
.wxPrintout_GetPageSizePixels
,(self
,) + _args
, _kwargs
)
438 def GetPPIPrinter(self
, *_args
, **_kwargs
):
439 val
= apply(printfwc
.wxPrintout_GetPPIPrinter
,(self
,) + _args
, _kwargs
)
441 def GetPPIScreen(self
, *_args
, **_kwargs
):
442 val
= apply(printfwc
.wxPrintout_GetPPIScreen
,(self
,) + _args
, _kwargs
)
444 def IsPreview(self
, *_args
, **_kwargs
):
445 val
= apply(printfwc
.wxPrintout_IsPreview
,(self
,) + _args
, _kwargs
)
447 def base_OnBeginDocument(self
, *_args
, **_kwargs
):
448 val
= apply(printfwc
.wxPrintout_base_OnBeginDocument
,(self
,) + _args
, _kwargs
)
450 def base_OnEndDocument(self
, *_args
, **_kwargs
):
451 val
= apply(printfwc
.wxPrintout_base_OnEndDocument
,(self
,) + _args
, _kwargs
)
453 def base_OnBeginPrinting(self
, *_args
, **_kwargs
):
454 val
= apply(printfwc
.wxPrintout_base_OnBeginPrinting
,(self
,) + _args
, _kwargs
)
456 def base_OnEndPrinting(self
, *_args
, **_kwargs
):
457 val
= apply(printfwc
.wxPrintout_base_OnEndPrinting
,(self
,) + _args
, _kwargs
)
459 def base_OnPreparePrinting(self
, *_args
, **_kwargs
):
460 val
= apply(printfwc
.wxPrintout_base_OnPreparePrinting
,(self
,) + _args
, _kwargs
)
462 def base_GetPageInfo(self
, *_args
, **_kwargs
):
463 val
= apply(printfwc
.wxPrintout_base_GetPageInfo
,(self
,) + _args
, _kwargs
)
465 def base_HasPage(self
, *_args
, **_kwargs
):
466 val
= apply(printfwc
.wxPrintout_base_HasPage
,(self
,) + _args
, _kwargs
)
469 return "<C wxPrintout instance at %s>" % (self
.this
,)
470 class wxPrintout(wxPrintoutPtr
):
471 def __init__(self
,*_args
,**_kwargs
):
472 self
.this
= apply(printfwc
.new_wxPrintout
,_args
,_kwargs
)
474 self
._setSelf
(self
, wxPrintout
)
480 def __init__(self
,this
):
483 def __del__(self
,printfwc
=printfwc
):
484 if self
.thisown
== 1 :
485 printfwc
.delete_wxPrinter(self
)
486 def CreateAbortWindow(self
, *_args
, **_kwargs
):
487 val
= apply(printfwc
.wxPrinter_CreateAbortWindow
,(self
,) + _args
, _kwargs
)
489 def GetPrintDialogData(self
, *_args
, **_kwargs
):
490 val
= apply(printfwc
.wxPrinter_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
491 if val
: val
= wxPrintDialogDataPtr(val
)
493 def Print(self
, *_args
, **_kwargs
):
494 val
= apply(printfwc
.wxPrinter_Print
,(self
,) + _args
, _kwargs
)
496 def PrintDialog(self
, *_args
, **_kwargs
):
497 val
= apply(printfwc
.wxPrinter_PrintDialog
,(self
,) + _args
, _kwargs
)
498 if val
: val
= wxDCPtr(val
)
500 def ReportError(self
, *_args
, **_kwargs
):
501 val
= apply(printfwc
.wxPrinter_ReportError
,(self
,) + _args
, _kwargs
)
503 def Setup(self
, *_args
, **_kwargs
):
504 val
= apply(printfwc
.wxPrinter_Setup
,(self
,) + _args
, _kwargs
)
507 return "<C wxPrinter instance at %s>" % (self
.this
,)
508 class wxPrinter(wxPrinterPtr
):
509 def __init__(self
,*_args
,**_kwargs
):
510 self
.this
= apply(printfwc
.new_wxPrinter
,_args
,_kwargs
)
516 class wxPrintPreviewPtr
:
517 def __init__(self
,this
):
520 def GetCanvas(self
, *_args
, **_kwargs
):
521 val
= apply(printfwc
.wxPrintPreview_GetCanvas
,(self
,) + _args
, _kwargs
)
522 if val
: val
= wxWindowPtr(val
)
524 def GetCurrentPage(self
, *_args
, **_kwargs
):
525 val
= apply(printfwc
.wxPrintPreview_GetCurrentPage
,(self
,) + _args
, _kwargs
)
527 def GetFrame(self
, *_args
, **_kwargs
):
528 val
= apply(printfwc
.wxPrintPreview_GetFrame
,(self
,) + _args
, _kwargs
)
529 if val
: val
= wxFramePtr(val
)
531 def GetMaxPage(self
, *_args
, **_kwargs
):
532 val
= apply(printfwc
.wxPrintPreview_GetMaxPage
,(self
,) + _args
, _kwargs
)
534 def GetMinPage(self
, *_args
, **_kwargs
):
535 val
= apply(printfwc
.wxPrintPreview_GetMinPage
,(self
,) + _args
, _kwargs
)
537 def GetPrintDialogData(self
, *_args
, **_kwargs
):
538 val
= apply(printfwc
.wxPrintPreview_GetPrintDialogData
,(self
,) + _args
, _kwargs
)
539 if val
: val
= wxPrintDialogDataPtr(val
)
541 def GetPrintout(self
, *_args
, **_kwargs
):
542 val
= apply(printfwc
.wxPrintPreview_GetPrintout
,(self
,) + _args
, _kwargs
)
543 if val
: val
= wxPrintoutPtr(val
)
545 def GetPrintoutForPrinting(self
, *_args
, **_kwargs
):
546 val
= apply(printfwc
.wxPrintPreview_GetPrintoutForPrinting
,(self
,) + _args
, _kwargs
)
547 if val
: val
= wxPrintoutPtr(val
)
549 def GetZoom(self
, *_args
, **_kwargs
):
550 val
= apply(printfwc
.wxPrintPreview_GetZoom
,(self
,) + _args
, _kwargs
)
552 def Ok(self
, *_args
, **_kwargs
):
553 val
= apply(printfwc
.wxPrintPreview_Ok
,(self
,) + _args
, _kwargs
)
555 def Print(self
, *_args
, **_kwargs
):
556 val
= apply(printfwc
.wxPrintPreview_Print
,(self
,) + _args
, _kwargs
)
558 def SetCanvas(self
, *_args
, **_kwargs
):
559 val
= apply(printfwc
.wxPrintPreview_SetCanvas
,(self
,) + _args
, _kwargs
)
561 def SetCurrentPage(self
, *_args
, **_kwargs
):
562 val
= apply(printfwc
.wxPrintPreview_SetCurrentPage
,(self
,) + _args
, _kwargs
)
564 def SetFrame(self
, *_args
, **_kwargs
):
565 val
= apply(printfwc
.wxPrintPreview_SetFrame
,(self
,) + _args
, _kwargs
)
567 def SetPrintout(self
, *_args
, **_kwargs
):
568 val
= apply(printfwc
.wxPrintPreview_SetPrintout
,(self
,) + _args
, _kwargs
)
570 def SetZoom(self
, *_args
, **_kwargs
):
571 val
= apply(printfwc
.wxPrintPreview_SetZoom
,(self
,) + _args
, _kwargs
)
574 return "<C wxPrintPreview instance at %s>" % (self
.this
,)
575 class wxPrintPreview(wxPrintPreviewPtr
):
576 def __init__(self
,*_args
,**_kwargs
):
577 self
.this
= apply(printfwc
.new_wxPrintPreview
,_args
,_kwargs
)
583 class wxPreviewFramePtr(wxFramePtr
):
584 def __init__(self
,this
):
587 def Initialize(self
, *_args
, **_kwargs
):
588 val
= apply(printfwc
.wxPreviewFrame_Initialize
,(self
,) + _args
, _kwargs
)
591 return "<C wxPreviewFrame instance at %s>" % (self
.this
,)
592 class wxPreviewFrame(wxPreviewFramePtr
):
593 def __init__(self
,*_args
,**_kwargs
):
594 self
.this
= apply(printfwc
.new_wxPreviewFrame
,_args
,_kwargs
)
596 #wx._StdFrameCallbacks(self)
603 #-------------- FUNCTION WRAPPERS ------------------
607 #-------------- VARIABLE WRAPPERS ------------------