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