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