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