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