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