]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/printfw.py
Prep for wxPython 2.1b3 release
[wxWidgets.git] / utils / wxPython / src / gtk / printfw.py
CommitLineData
d24a34bb
RD
1# This file was created automatically by SWIG.
2import printfwc
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9
10from cmndlgs import *
11
12from frames import *
13
14from stattool import *
15
16from controls import *
17
18from events import *
19import wx
20class wxPrintDataPtr :
21 def __init__(self,this):
22 self.this = this
23 self.thisown = 0
2d091820 24 def __del__(self,printfwc=printfwc):
d24a34bb 25 if self.thisown == 1 :
2d091820
RD
26 printfwc.delete_wxPrintData(self)
27 def GetNoCopies(self, *_args, **_kwargs):
28 val = apply(printfwc.wxPrintData_GetNoCopies,(self,) + _args, _kwargs)
d24a34bb 29 return val
2d091820
RD
30 def GetCollate(self, *_args, **_kwargs):
31 val = apply(printfwc.wxPrintData_GetCollate,(self,) + _args, _kwargs)
d24a34bb 32 return val
2d091820
RD
33 def GetOrientation(self, *_args, **_kwargs):
34 val = apply(printfwc.wxPrintData_GetOrientation,(self,) + _args, _kwargs)
d24a34bb 35 return val
2d091820
RD
36 def GetPrinterName(self, *_args, **_kwargs):
37 val = apply(printfwc.wxPrintData_GetPrinterName,(self,) + _args, _kwargs)
d24a34bb 38 return val
2d091820
RD
39 def GetColour(self, *_args, **_kwargs):
40 val = apply(printfwc.wxPrintData_GetColour,(self,) + _args, _kwargs)
d24a34bb 41 return val
2d091820
RD
42 def GetDuplex(self, *_args, **_kwargs):
43 val = apply(printfwc.wxPrintData_GetDuplex,(self,) + _args, _kwargs)
d24a34bb 44 return val
2d091820
RD
45 def GetPaperId(self, *_args, **_kwargs):
46 val = apply(printfwc.wxPrintData_GetPaperId,(self,) + _args, _kwargs)
d24a34bb 47 return val
2d091820
RD
48 def GetPaperSize(self, *_args, **_kwargs):
49 val = apply(printfwc.wxPrintData_GetPaperSize,(self,) + _args, _kwargs)
50 if val: val = wxSizePtr(val)
d24a34bb 51 return val
2d091820
RD
52 def GetQuality(self, *_args, **_kwargs):
53 val = apply(printfwc.wxPrintData_GetQuality,(self,) + _args, _kwargs)
d24a34bb 54 return val
2d091820
RD
55 def SetNoCopies(self, *_args, **_kwargs):
56 val = apply(printfwc.wxPrintData_SetNoCopies,(self,) + _args, _kwargs)
d24a34bb 57 return val
2d091820
RD
58 def SetCollate(self, *_args, **_kwargs):
59 val = apply(printfwc.wxPrintData_SetCollate,(self,) + _args, _kwargs)
d24a34bb 60 return val
2d091820
RD
61 def SetOrientation(self, *_args, **_kwargs):
62 val = apply(printfwc.wxPrintData_SetOrientation,(self,) + _args, _kwargs)
d24a34bb 63 return val
2d091820
RD
64 def SetPrinterName(self, *_args, **_kwargs):
65 val = apply(printfwc.wxPrintData_SetPrinterName,(self,) + _args, _kwargs)
d24a34bb 66 return val
2d091820
RD
67 def SetColour(self, *_args, **_kwargs):
68 val = apply(printfwc.wxPrintData_SetColour,(self,) + _args, _kwargs)
d24a34bb 69 return val
2d091820
RD
70 def SetDuplex(self, *_args, **_kwargs):
71 val = apply(printfwc.wxPrintData_SetDuplex,(self,) + _args, _kwargs)
d24a34bb 72 return val
2d091820
RD
73 def SetPaperId(self, *_args, **_kwargs):
74 val = apply(printfwc.wxPrintData_SetPaperId,(self,) + _args, _kwargs)
d24a34bb 75 return val
2d091820
RD
76 def SetPaperSize(self, *_args, **_kwargs):
77 val = apply(printfwc.wxPrintData_SetPaperSize,(self,) + _args, _kwargs)
d24a34bb 78 return val
2d091820
RD
79 def SetQuality(self, *_args, **_kwargs):
80 val = apply(printfwc.wxPrintData_SetQuality,(self,) + _args, _kwargs)
d24a34bb
RD
81 return val
82 def __repr__(self):
2d091820 83 return "<C wxPrintData instance at %s>" % (self.this,)
d24a34bb 84class wxPrintData(wxPrintDataPtr):
2d091820
RD
85 def __init__(self,*_args,**_kwargs):
86 self.this = apply(printfwc.new_wxPrintData,_args,_kwargs)
d24a34bb
RD
87 self.thisown = 1
88
89
90
91
92class wxPageSetupDialogDataPtr :
93 def __init__(self,this):
94 self.this = this
95 self.thisown = 0
2d091820 96 def __del__(self,printfwc=printfwc):
d24a34bb 97 if self.thisown == 1 :
2d091820
RD
98 printfwc.delete_wxPageSetupDialogData(self)
99 def EnableHelp(self, *_args, **_kwargs):
100 val = apply(printfwc.wxPageSetupDialogData_EnableHelp,(self,) + _args, _kwargs)
d24a34bb 101 return val
2d091820
RD
102 def EnableMargins(self, *_args, **_kwargs):
103 val = apply(printfwc.wxPageSetupDialogData_EnableMargins,(self,) + _args, _kwargs)
d24a34bb 104 return val
2d091820
RD
105 def EnableOrientation(self, *_args, **_kwargs):
106 val = apply(printfwc.wxPageSetupDialogData_EnableOrientation,(self,) + _args, _kwargs)
d24a34bb 107 return val
2d091820
RD
108 def EnablePaper(self, *_args, **_kwargs):
109 val = apply(printfwc.wxPageSetupDialogData_EnablePaper,(self,) + _args, _kwargs)
d24a34bb 110 return val
2d091820
RD
111 def EnablePrinter(self, *_args, **_kwargs):
112 val = apply(printfwc.wxPageSetupDialogData_EnablePrinter,(self,) + _args, _kwargs)
d24a34bb 113 return val
2d091820
RD
114 def GetDefaultMinMargins(self, *_args, **_kwargs):
115 val = apply(printfwc.wxPageSetupDialogData_GetDefaultMinMargins,(self,) + _args, _kwargs)
d24a34bb 116 return val
2d091820
RD
117 def GetEnableMargins(self, *_args, **_kwargs):
118 val = apply(printfwc.wxPageSetupDialogData_GetEnableMargins,(self,) + _args, _kwargs)
d24a34bb 119 return val
2d091820
RD
120 def GetEnableOrientation(self, *_args, **_kwargs):
121 val = apply(printfwc.wxPageSetupDialogData_GetEnableOrientation,(self,) + _args, _kwargs)
d24a34bb 122 return val
2d091820
RD
123 def GetEnablePaper(self, *_args, **_kwargs):
124 val = apply(printfwc.wxPageSetupDialogData_GetEnablePaper,(self,) + _args, _kwargs)
d24a34bb 125 return val
2d091820
RD
126 def GetEnablePrinter(self, *_args, **_kwargs):
127 val = apply(printfwc.wxPageSetupDialogData_GetEnablePrinter,(self,) + _args, _kwargs)
d24a34bb 128 return val
2d091820
RD
129 def GetEnableHelp(self, *_args, **_kwargs):
130 val = apply(printfwc.wxPageSetupDialogData_GetEnableHelp,(self,) + _args, _kwargs)
d24a34bb 131 return val
2d091820
RD
132 def GetDefaultInfo(self, *_args, **_kwargs):
133 val = apply(printfwc.wxPageSetupDialogData_GetDefaultInfo,(self,) + _args, _kwargs)
d24a34bb 134 return val
2d091820
RD
135 def GetMarginTopLeft(self, *_args, **_kwargs):
136 val = apply(printfwc.wxPageSetupDialogData_GetMarginTopLeft,(self,) + _args, _kwargs)
137 if val: val = wxPointPtr(val) ; val.thisown = 1
d24a34bb 138 return val
2d091820
RD
139 def GetMarginBottomRight(self, *_args, **_kwargs):
140 val = apply(printfwc.wxPageSetupDialogData_GetMarginBottomRight,(self,) + _args, _kwargs)
141 if val: val = wxPointPtr(val) ; val.thisown = 1
d24a34bb 142 return val
2d091820
RD
143 def GetMinMarginTopLeft(self, *_args, **_kwargs):
144 val = apply(printfwc.wxPageSetupDialogData_GetMinMarginTopLeft,(self,) + _args, _kwargs)
145 if val: val = wxPointPtr(val) ; val.thisown = 1
d24a34bb 146 return val
2d091820
RD
147 def GetMinMarginBottomRight(self, *_args, **_kwargs):
148 val = apply(printfwc.wxPageSetupDialogData_GetMinMarginBottomRight,(self,) + _args, _kwargs)
149 if val: val = wxPointPtr(val) ; val.thisown = 1
d24a34bb 150 return val
2d091820
RD
151 def GetPaperId(self, *_args, **_kwargs):
152 val = apply(printfwc.wxPageSetupDialogData_GetPaperId,(self,) + _args, _kwargs)
d24a34bb 153 return val
2d091820
RD
154 def GetPaperSize(self, *_args, **_kwargs):
155 val = apply(printfwc.wxPageSetupDialogData_GetPaperSize,(self,) + _args, _kwargs)
156 if val: val = wxSizePtr(val) ; val.thisown = 1
d24a34bb 157 return val
2d091820
RD
158 def GetPrintData(self, *_args, **_kwargs):
159 val = apply(printfwc.wxPageSetupDialogData_GetPrintData,(self,) + _args, _kwargs)
160 if val: val = wxPrintDataPtr(val) ; val.thisown = 1
d24a34bb 161 return val
2d091820
RD
162 def SetDefaultInfo(self, *_args, **_kwargs):
163 val = apply(printfwc.wxPageSetupDialogData_SetDefaultInfo,(self,) + _args, _kwargs)
d24a34bb 164 return val
2d091820
RD
165 def SetDefaultMinMargins(self, *_args, **_kwargs):
166 val = apply(printfwc.wxPageSetupDialogData_SetDefaultMinMargins,(self,) + _args, _kwargs)
d24a34bb 167 return val
2d091820
RD
168 def SetMarginTopLeft(self, *_args, **_kwargs):
169 val = apply(printfwc.wxPageSetupDialogData_SetMarginTopLeft,(self,) + _args, _kwargs)
d24a34bb 170 return val
2d091820
RD
171 def SetMarginBottomRight(self, *_args, **_kwargs):
172 val = apply(printfwc.wxPageSetupDialogData_SetMarginBottomRight,(self,) + _args, _kwargs)
d24a34bb 173 return val
2d091820
RD
174 def SetMinMarginTopLeft(self, *_args, **_kwargs):
175 val = apply(printfwc.wxPageSetupDialogData_SetMinMarginTopLeft,(self,) + _args, _kwargs)
d24a34bb 176 return val
2d091820
RD
177 def SetMinMarginBottomRight(self, *_args, **_kwargs):
178 val = apply(printfwc.wxPageSetupDialogData_SetMinMarginBottomRight,(self,) + _args, _kwargs)
d24a34bb 179 return val
2d091820
RD
180 def SetPaperId(self, *_args, **_kwargs):
181 val = apply(printfwc.wxPageSetupDialogData_SetPaperId,(self,) + _args, _kwargs)
d24a34bb 182 return val
2d091820
RD
183 def SetPaperSize(self, *_args, **_kwargs):
184 val = apply(printfwc.wxPageSetupDialogData_SetPaperSize,(self,) + _args, _kwargs)
d24a34bb 185 return val
2d091820
RD
186 def SetPrintData(self, *_args, **_kwargs):
187 val = apply(printfwc.wxPageSetupDialogData_SetPrintData,(self,) + _args, _kwargs)
d24a34bb
RD
188 return val
189 def __repr__(self):
2d091820 190 return "<C wxPageSetupDialogData instance at %s>" % (self.this,)
d24a34bb 191class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
2d091820
RD
192 def __init__(self,*_args,**_kwargs):
193 self.this = apply(printfwc.new_wxPageSetupDialogData,_args,_kwargs)
d24a34bb
RD
194 self.thisown = 1
195
196
197
198
199class wxPageSetupDialogPtr(wxDialogPtr):
200 def __init__(self,this):
201 self.this = this
202 self.thisown = 0
2d091820
RD
203 def GetPageSetupData(self, *_args, **_kwargs):
204 val = apply(printfwc.wxPageSetupDialog_GetPageSetupData,(self,) + _args, _kwargs)
205 if val: val = wxPageSetupDialogDataPtr(val)
d24a34bb 206 return val
2d091820
RD
207 def ShowModal(self, *_args, **_kwargs):
208 val = apply(printfwc.wxPageSetupDialog_ShowModal,(self,) + _args, _kwargs)
d24a34bb
RD
209 return val
210 def __repr__(self):
2d091820 211 return "<C wxPageSetupDialog instance at %s>" % (self.this,)
d24a34bb 212class wxPageSetupDialog(wxPageSetupDialogPtr):
2d091820
RD
213 def __init__(self,*_args,**_kwargs):
214 self.this = apply(printfwc.new_wxPageSetupDialog,_args,_kwargs)
d24a34bb
RD
215 self.thisown = 1
216 wx._StdDialogCallbacks(self)
217
218
219
220
221class wxPrintDialogDataPtr :
222 def __init__(self,this):
223 self.this = this
224 self.thisown = 0
2d091820 225 def __del__(self,printfwc=printfwc):
d24a34bb 226 if self.thisown == 1 :
2d091820
RD
227 printfwc.delete_wxPrintDialogData(self)
228 def EnableHelp(self, *_args, **_kwargs):
229 val = apply(printfwc.wxPrintDialogData_EnableHelp,(self,) + _args, _kwargs)
d24a34bb 230 return val
2d091820
RD
231 def EnablePageNumbers(self, *_args, **_kwargs):
232 val = apply(printfwc.wxPrintDialogData_EnablePageNumbers,(self,) + _args, _kwargs)
d24a34bb 233 return val
2d091820
RD
234 def EnablePrintToFile(self, *_args, **_kwargs):
235 val = apply(printfwc.wxPrintDialogData_EnablePrintToFile,(self,) + _args, _kwargs)
d24a34bb 236 return val
2d091820
RD
237 def EnableSelection(self, *_args, **_kwargs):
238 val = apply(printfwc.wxPrintDialogData_EnableSelection,(self,) + _args, _kwargs)
d24a34bb 239 return val
2d091820
RD
240 def GetAllPages(self, *_args, **_kwargs):
241 val = apply(printfwc.wxPrintDialogData_GetAllPages,(self,) + _args, _kwargs)
d24a34bb 242 return val
2d091820
RD
243 def GetCollate(self, *_args, **_kwargs):
244 val = apply(printfwc.wxPrintDialogData_GetCollate,(self,) + _args, _kwargs)
d24a34bb 245 return val
2d091820
RD
246 def GetFromPage(self, *_args, **_kwargs):
247 val = apply(printfwc.wxPrintDialogData_GetFromPage,(self,) + _args, _kwargs)
d24a34bb 248 return val
2d091820
RD
249 def GetMaxPage(self, *_args, **_kwargs):
250 val = apply(printfwc.wxPrintDialogData_GetMaxPage,(self,) + _args, _kwargs)
d24a34bb 251 return val
2d091820
RD
252 def GetMinPage(self, *_args, **_kwargs):
253 val = apply(printfwc.wxPrintDialogData_GetMinPage,(self,) + _args, _kwargs)
d24a34bb 254 return val
2d091820
RD
255 def GetNoCopies(self, *_args, **_kwargs):
256 val = apply(printfwc.wxPrintDialogData_GetNoCopies,(self,) + _args, _kwargs)
d24a34bb 257 return val
2d091820
RD
258 def GetPrintData(self, *_args, **_kwargs):
259 val = apply(printfwc.wxPrintDialogData_GetPrintData,(self,) + _args, _kwargs)
260 if val: val = wxPrintDataPtr(val) ; val.thisown = 1
d24a34bb 261 return val
2d091820
RD
262 def GetPrintToFile(self, *_args, **_kwargs):
263 val = apply(printfwc.wxPrintDialogData_GetPrintToFile,(self,) + _args, _kwargs)
d24a34bb 264 return val
2d091820
RD
265 def GetToPage(self, *_args, **_kwargs):
266 val = apply(printfwc.wxPrintDialogData_GetToPage,(self,) + _args, _kwargs)
d24a34bb 267 return val
2d091820
RD
268 def SetCollate(self, *_args, **_kwargs):
269 val = apply(printfwc.wxPrintDialogData_SetCollate,(self,) + _args, _kwargs)
d24a34bb 270 return val
2d091820
RD
271 def SetFromPage(self, *_args, **_kwargs):
272 val = apply(printfwc.wxPrintDialogData_SetFromPage,(self,) + _args, _kwargs)
d24a34bb 273 return val
2d091820
RD
274 def SetMaxPage(self, *_args, **_kwargs):
275 val = apply(printfwc.wxPrintDialogData_SetMaxPage,(self,) + _args, _kwargs)
d24a34bb 276 return val
2d091820
RD
277 def SetMinPage(self, *_args, **_kwargs):
278 val = apply(printfwc.wxPrintDialogData_SetMinPage,(self,) + _args, _kwargs)
d24a34bb 279 return val
2d091820
RD
280 def SetNoCopies(self, *_args, **_kwargs):
281 val = apply(printfwc.wxPrintDialogData_SetNoCopies,(self,) + _args, _kwargs)
d24a34bb 282 return val
2d091820
RD
283 def SetPrintData(self, *_args, **_kwargs):
284 val = apply(printfwc.wxPrintDialogData_SetPrintData,(self,) + _args, _kwargs)
d24a34bb 285 return val
2d091820
RD
286 def SetPrintToFile(self, *_args, **_kwargs):
287 val = apply(printfwc.wxPrintDialogData_SetPrintToFile,(self,) + _args, _kwargs)
d24a34bb 288 return val
2d091820
RD
289 def SetSetupDialog(self, *_args, **_kwargs):
290 val = apply(printfwc.wxPrintDialogData_SetSetupDialog,(self,) + _args, _kwargs)
d24a34bb 291 return val
2d091820
RD
292 def SetToPage(self, *_args, **_kwargs):
293 val = apply(printfwc.wxPrintDialogData_SetToPage,(self,) + _args, _kwargs)
d24a34bb
RD
294 return val
295 def __repr__(self):
2d091820 296 return "<C wxPrintDialogData instance at %s>" % (self.this,)
d24a34bb 297class wxPrintDialogData(wxPrintDialogDataPtr):
2d091820
RD
298 def __init__(self,*_args,**_kwargs):
299 self.this = apply(printfwc.new_wxPrintDialogData,_args,_kwargs)
d24a34bb
RD
300 self.thisown = 1
301
302
303
304
305class wxPrintDialogPtr(wxDialogPtr):
306 def __init__(self,this):
307 self.this = this
308 self.thisown = 0
2d091820
RD
309 def GetPrintDialogData(self, *_args, **_kwargs):
310 val = apply(printfwc.wxPrintDialog_GetPrintDialogData,(self,) + _args, _kwargs)
311 if val: val = wxPrintDialogDataPtr(val)
d24a34bb 312 return val
2d091820
RD
313 def GetPrintDC(self, *_args, **_kwargs):
314 val = apply(printfwc.wxPrintDialog_GetPrintDC,(self,) + _args, _kwargs)
315 if val: val = wxDCPtr(val) ; val.thisown = 1
d24a34bb 316 return val
2d091820
RD
317 def ShowModal(self, *_args, **_kwargs):
318 val = apply(printfwc.wxPrintDialog_ShowModal,(self,) + _args, _kwargs)
d24a34bb
RD
319 return val
320 def __repr__(self):
2d091820 321 return "<C wxPrintDialog instance at %s>" % (self.this,)
d24a34bb 322class wxPrintDialog(wxPrintDialogPtr):
2d091820
RD
323 def __init__(self,*_args,**_kwargs):
324 self.this = apply(printfwc.new_wxPrintDialog,_args,_kwargs)
d24a34bb
RD
325 self.thisown = 1
326 wx._StdDialogCallbacks(self)
327
328
329
330
331class wxPrintoutPtr :
332 def __init__(self,this):
333 self.this = this
334 self.thisown = 0
2d091820
RD
335 def _setSelf(self, *_args, **_kwargs):
336 val = apply(printfwc.wxPrintout__setSelf,(self,) + _args, _kwargs)
d24a34bb 337 return val
2d091820
RD
338 def Destroy(self, *_args, **_kwargs):
339 val = apply(printfwc.wxPrintout_Destroy,(self,) + _args, _kwargs)
d24a34bb 340 return val
2d091820
RD
341 def GetDC(self, *_args, **_kwargs):
342 val = apply(printfwc.wxPrintout_GetDC,(self,) + _args, _kwargs)
343 if val: val = wxDCPtr(val)
d24a34bb 344 return val
2d091820
RD
345 def GetPageSizeMM(self, *_args, **_kwargs):
346 val = apply(printfwc.wxPrintout_GetPageSizeMM,(self,) + _args, _kwargs)
d24a34bb 347 return val
2d091820
RD
348 def GetPageSizePixels(self, *_args, **_kwargs):
349 val = apply(printfwc.wxPrintout_GetPageSizePixels,(self,) + _args, _kwargs)
d24a34bb 350 return val
2d091820
RD
351 def GetPPIPrinter(self, *_args, **_kwargs):
352 val = apply(printfwc.wxPrintout_GetPPIPrinter,(self,) + _args, _kwargs)
d24a34bb 353 return val
2d091820
RD
354 def GetPPIScreen(self, *_args, **_kwargs):
355 val = apply(printfwc.wxPrintout_GetPPIScreen,(self,) + _args, _kwargs)
d24a34bb 356 return val
2d091820
RD
357 def IsPreview(self, *_args, **_kwargs):
358 val = apply(printfwc.wxPrintout_IsPreview,(self,) + _args, _kwargs)
d24a34bb 359 return val
2d091820
RD
360 def base_OnBeginDocument(self, *_args, **_kwargs):
361 val = apply(printfwc.wxPrintout_base_OnBeginDocument,(self,) + _args, _kwargs)
d24a34bb 362 return val
2d091820
RD
363 def base_OnEndDocument(self, *_args, **_kwargs):
364 val = apply(printfwc.wxPrintout_base_OnEndDocument,(self,) + _args, _kwargs)
d24a34bb 365 return val
2d091820
RD
366 def base_OnBeginPrinting(self, *_args, **_kwargs):
367 val = apply(printfwc.wxPrintout_base_OnBeginPrinting,(self,) + _args, _kwargs)
d24a34bb 368 return val
2d091820
RD
369 def base_OnEndPrinting(self, *_args, **_kwargs):
370 val = apply(printfwc.wxPrintout_base_OnEndPrinting,(self,) + _args, _kwargs)
d24a34bb 371 return val
2d091820
RD
372 def base_OnPreparePrinting(self, *_args, **_kwargs):
373 val = apply(printfwc.wxPrintout_base_OnPreparePrinting,(self,) + _args, _kwargs)
d24a34bb 374 return val
2d091820
RD
375 def base_GetPageInfo(self, *_args, **_kwargs):
376 val = apply(printfwc.wxPrintout_base_GetPageInfo,(self,) + _args, _kwargs)
d24a34bb 377 return val
2d091820
RD
378 def base_HasPage(self, *_args, **_kwargs):
379 val = apply(printfwc.wxPrintout_base_HasPage,(self,) + _args, _kwargs)
d24a34bb
RD
380 return val
381 def __repr__(self):
2d091820 382 return "<C wxPrintout instance at %s>" % (self.this,)
d24a34bb 383class wxPrintout(wxPrintoutPtr):
2d091820
RD
384 def __init__(self,*_args,**_kwargs):
385 self.this = apply(printfwc.new_wxPrintout,_args,_kwargs)
d24a34bb
RD
386 self.thisown = 1
387 self._setSelf(self)
388
389
390
391
392class wxPrinterPtr :
393 def __init__(self,this):
394 self.this = this
395 self.thisown = 0
2d091820 396 def __del__(self,printfwc=printfwc):
d24a34bb 397 if self.thisown == 1 :
2d091820
RD
398 printfwc.delete_wxPrinter(self)
399 def CreateAbortWindow(self, *_args, **_kwargs):
400 val = apply(printfwc.wxPrinter_CreateAbortWindow,(self,) + _args, _kwargs)
d24a34bb 401 return val
2d091820
RD
402 def GetPrintDialogData(self, *_args, **_kwargs):
403 val = apply(printfwc.wxPrinter_GetPrintDialogData,(self,) + _args, _kwargs)
404 if val: val = wxPrintDialogDataPtr(val)
d24a34bb 405 return val
2d091820
RD
406 def Print(self, *_args, **_kwargs):
407 val = apply(printfwc.wxPrinter_Print,(self,) + _args, _kwargs)
d24a34bb 408 return val
2d091820
RD
409 def PrintDialog(self, *_args, **_kwargs):
410 val = apply(printfwc.wxPrinter_PrintDialog,(self,) + _args, _kwargs)
411 if val: val = wxDCPtr(val)
d24a34bb 412 return val
2d091820
RD
413 def ReportError(self, *_args, **_kwargs):
414 val = apply(printfwc.wxPrinter_ReportError,(self,) + _args, _kwargs)
d24a34bb 415 return val
2d091820
RD
416 def Setup(self, *_args, **_kwargs):
417 val = apply(printfwc.wxPrinter_Setup,(self,) + _args, _kwargs)
d24a34bb
RD
418 return val
419 def __repr__(self):
2d091820 420 return "<C wxPrinter instance at %s>" % (self.this,)
d24a34bb 421class wxPrinter(wxPrinterPtr):
2d091820
RD
422 def __init__(self,*_args,**_kwargs):
423 self.this = apply(printfwc.new_wxPrinter,_args,_kwargs)
d24a34bb
RD
424 self.thisown = 1
425
426
427
428
429class wxPrintPreviewPtr :
430 def __init__(self,this):
431 self.this = this
432 self.thisown = 0
2d091820
RD
433 def GetCanvas(self, *_args, **_kwargs):
434 val = apply(printfwc.wxPrintPreview_GetCanvas,(self,) + _args, _kwargs)
435 if val: val = wxWindowPtr(val)
d24a34bb 436 return val
2d091820
RD
437 def GetCurrentPage(self, *_args, **_kwargs):
438 val = apply(printfwc.wxPrintPreview_GetCurrentPage,(self,) + _args, _kwargs)
d24a34bb 439 return val
2d091820
RD
440 def GetFrame(self, *_args, **_kwargs):
441 val = apply(printfwc.wxPrintPreview_GetFrame,(self,) + _args, _kwargs)
442 if val: val = wxFramePtr(val)
d24a34bb 443 return val
2d091820
RD
444 def GetMaxPage(self, *_args, **_kwargs):
445 val = apply(printfwc.wxPrintPreview_GetMaxPage,(self,) + _args, _kwargs)
d24a34bb 446 return val
2d091820
RD
447 def GetMinPage(self, *_args, **_kwargs):
448 val = apply(printfwc.wxPrintPreview_GetMinPage,(self,) + _args, _kwargs)
d24a34bb 449 return val
2d091820
RD
450 def GetPrintDialogData(self, *_args, **_kwargs):
451 val = apply(printfwc.wxPrintPreview_GetPrintDialogData,(self,) + _args, _kwargs)
452 if val: val = wxPrintDialogDataPtr(val)
d24a34bb 453 return val
2d091820
RD
454 def GetPrintout(self, *_args, **_kwargs):
455 val = apply(printfwc.wxPrintPreview_GetPrintout,(self,) + _args, _kwargs)
456 if val: val = wxPrintoutPtr(val)
d24a34bb 457 return val
2d091820
RD
458 def GetPrintoutForPrinting(self, *_args, **_kwargs):
459 val = apply(printfwc.wxPrintPreview_GetPrintoutForPrinting,(self,) + _args, _kwargs)
460 if val: val = wxPrintoutPtr(val)
d24a34bb 461 return val
2d091820
RD
462 def GetZoom(self, *_args, **_kwargs):
463 val = apply(printfwc.wxPrintPreview_GetZoom,(self,) + _args, _kwargs)
d24a34bb 464 return val
2d091820
RD
465 def Ok(self, *_args, **_kwargs):
466 val = apply(printfwc.wxPrintPreview_Ok,(self,) + _args, _kwargs)
d24a34bb 467 return val
2d091820
RD
468 def Print(self, *_args, **_kwargs):
469 val = apply(printfwc.wxPrintPreview_Print,(self,) + _args, _kwargs)
d24a34bb 470 return val
2d091820
RD
471 def SetCanvas(self, *_args, **_kwargs):
472 val = apply(printfwc.wxPrintPreview_SetCanvas,(self,) + _args, _kwargs)
d24a34bb 473 return val
2d091820
RD
474 def SetCurrentPage(self, *_args, **_kwargs):
475 val = apply(printfwc.wxPrintPreview_SetCurrentPage,(self,) + _args, _kwargs)
d24a34bb 476 return val
2d091820
RD
477 def SetFrame(self, *_args, **_kwargs):
478 val = apply(printfwc.wxPrintPreview_SetFrame,(self,) + _args, _kwargs)
d24a34bb 479 return val
2d091820
RD
480 def SetPrintout(self, *_args, **_kwargs):
481 val = apply(printfwc.wxPrintPreview_SetPrintout,(self,) + _args, _kwargs)
d24a34bb 482 return val
2d091820
RD
483 def SetZoom(self, *_args, **_kwargs):
484 val = apply(printfwc.wxPrintPreview_SetZoom,(self,) + _args, _kwargs)
d24a34bb
RD
485 return val
486 def __repr__(self):
2d091820 487 return "<C wxPrintPreview instance at %s>" % (self.this,)
d24a34bb 488class wxPrintPreview(wxPrintPreviewPtr):
2d091820
RD
489 def __init__(self,*_args,**_kwargs):
490 self.this = apply(printfwc.new_wxPrintPreview,_args,_kwargs)
d24a34bb
RD
491 self.thisown = 1
492
493
494
495
496class wxPreviewFramePtr(wxFramePtr):
497 def __init__(self,this):
498 self.this = this
499 self.thisown = 0
2d091820
RD
500 def Initialize(self, *_args, **_kwargs):
501 val = apply(printfwc.wxPreviewFrame_Initialize,(self,) + _args, _kwargs)
d24a34bb
RD
502 return val
503 def __repr__(self):
2d091820 504 return "<C wxPreviewFrame instance at %s>" % (self.this,)
d24a34bb 505class wxPreviewFrame(wxPreviewFramePtr):
2d091820
RD
506 def __init__(self,*_args,**_kwargs):
507 self.this = apply(printfwc.new_wxPreviewFrame,_args,_kwargs)
d24a34bb
RD
508 self.thisown = 1
509 wx._StdFrameCallbacks(self)
510
511
512
513
514
515
516#-------------- FUNCTION WRAPPERS ------------------
517
518
519
520#-------------- VARIABLE WRAPPERS ------------------
521