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