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