]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/printfw.py
use generic timer in wxMGL and wxX11
[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
b1462dfa
RD
10from clip_dnd import *
11
bb0054cd
RD
12from cmndlgs import *
13
9d37f964
RD
14from events import *
15
bb0054cd
RD
16from frames import *
17
18from stattool import *
19
20from controls import *
bb0054cd 21import wx
9416aa89 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
926bb76c
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
1b62f00d
RD
160class wxPrinterDCPtr(wxDCPtr):
161 def __init__(self,this):
162 self.this = this
163 self.thisown = 0
164 def __repr__(self):
165 return "<C wxPrinterDC instance at %s>" % (self.this,)
166class wxPrinterDC(wxPrinterDCPtr):
167 def __init__(self,*_args,**_kwargs):
168 self.this = apply(printfwc.new_wxPrinterDC,_args,_kwargs)
169 self.thisown = 1
170
171
172
173def wxPrinterDC2(*_args,**_kwargs):
174 val = wxPrinterDCPtr(apply(printfwc.new_wxPrinterDC2,_args,_kwargs))
175 val.thisown = 1
176 return val
177
178
eedf876b
RD
179class wxPostScriptDCPtr(wxDCPtr):
180 def __init__(self,this):
181 self.this = this
182 self.thisown = 0
183 def GetPrintData(self, *_args, **_kwargs):
184 val = apply(printfwc.wxPostScriptDC_GetPrintData,(self,) + _args, _kwargs)
185 if val: val = wxPrintDataPtr(val)
186 return val
187 def SetPrintData(self, *_args, **_kwargs):
188 val = apply(printfwc.wxPostScriptDC_SetPrintData,(self,) + _args, _kwargs)
189 return val
190 def __repr__(self):
191 return "<C wxPostScriptDC instance at %s>" % (self.this,)
192class wxPostScriptDC(wxPostScriptDCPtr):
193 def __init__(self,*_args,**_kwargs):
194 self.this = apply(printfwc.new_wxPostScriptDC,_args,_kwargs)
195 self.thisown = 1
196
197
198
199def wxPostScriptDC2(*_args,**_kwargs):
200 val = wxPostScriptDCPtr(apply(printfwc.new_wxPostScriptDC2,_args,_kwargs))
201 val.thisown = 1
202 return val
203
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
1d99702e
RD
275 def SetDefaultInfo(self, *_args, **_kwargs):
276 val = apply(printfwc.wxPageSetupDialogData_SetDefaultInfo,(self,) + _args, _kwargs)
bb0054cd 277 return val
1d99702e
RD
278 def SetDefaultMinMargins(self, *_args, **_kwargs):
279 val = apply(printfwc.wxPageSetupDialogData_SetDefaultMinMargins,(self,) + _args, _kwargs)
bb0054cd 280 return val
1d99702e
RD
281 def SetMarginTopLeft(self, *_args, **_kwargs):
282 val = apply(printfwc.wxPageSetupDialogData_SetMarginTopLeft,(self,) + _args, _kwargs)
bb0054cd 283 return val
1d99702e
RD
284 def SetMarginBottomRight(self, *_args, **_kwargs):
285 val = apply(printfwc.wxPageSetupDialogData_SetMarginBottomRight,(self,) + _args, _kwargs)
bb0054cd 286 return val
1d99702e
RD
287 def SetMinMarginTopLeft(self, *_args, **_kwargs):
288 val = apply(printfwc.wxPageSetupDialogData_SetMinMarginTopLeft,(self,) + _args, _kwargs)
bb0054cd 289 return val
1d99702e
RD
290 def SetMinMarginBottomRight(self, *_args, **_kwargs):
291 val = apply(printfwc.wxPageSetupDialogData_SetMinMarginBottomRight,(self,) + _args, _kwargs)
bb0054cd 292 return val
1d99702e
RD
293 def SetPaperId(self, *_args, **_kwargs):
294 val = apply(printfwc.wxPageSetupDialogData_SetPaperId,(self,) + _args, _kwargs)
bb0054cd 295 return val
1d99702e
RD
296 def SetPaperSize(self, *_args, **_kwargs):
297 val = apply(printfwc.wxPageSetupDialogData_SetPaperSize,(self,) + _args, _kwargs)
bb0054cd 298 return val
1d99702e
RD
299 def SetPrintData(self, *_args, **_kwargs):
300 val = apply(printfwc.wxPageSetupDialogData_SetPrintData,(self,) + _args, _kwargs)
bb0054cd
RD
301 return val
302 def __repr__(self):
1d99702e 303 return "<C wxPageSetupDialogData instance at %s>" % (self.this,)
bb0054cd 304class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
1d99702e
RD
305 def __init__(self,*_args,**_kwargs):
306 self.this = apply(printfwc.new_wxPageSetupDialogData,_args,_kwargs)
bb0054cd
RD
307 self.thisown = 1
308
309
310
311
312class wxPageSetupDialogPtr(wxDialogPtr):
313 def __init__(self,this):
314 self.this = this
315 self.thisown = 0
1d99702e
RD
316 def GetPageSetupData(self, *_args, **_kwargs):
317 val = apply(printfwc.wxPageSetupDialog_GetPageSetupData,(self,) + _args, _kwargs)
318 if val: val = wxPageSetupDialogDataPtr(val)
bb0054cd 319 return val
1d99702e
RD
320 def ShowModal(self, *_args, **_kwargs):
321 val = apply(printfwc.wxPageSetupDialog_ShowModal,(self,) + _args, _kwargs)
bb0054cd
RD
322 return val
323 def __repr__(self):
1d99702e 324 return "<C wxPageSetupDialog instance at %s>" % (self.this,)
bb0054cd 325class wxPageSetupDialog(wxPageSetupDialogPtr):
1d99702e
RD
326 def __init__(self,*_args,**_kwargs):
327 self.this = apply(printfwc.new_wxPageSetupDialog,_args,_kwargs)
bb0054cd 328 self.thisown = 1
f6bcfd97 329 #wx._StdDialogCallbacks(self)
bb0054cd
RD
330
331
332
333
9416aa89 334class wxPrintDialogDataPtr(wxObjectPtr):
bb0054cd
RD
335 def __init__(self,this):
336 self.this = this
337 self.thisown = 0
1d99702e 338 def __del__(self,printfwc=printfwc):
bb0054cd 339 if self.thisown == 1 :
1d99702e
RD
340 printfwc.delete_wxPrintDialogData(self)
341 def EnableHelp(self, *_args, **_kwargs):
342 val = apply(printfwc.wxPrintDialogData_EnableHelp,(self,) + _args, _kwargs)
bb0054cd 343 return val
1d99702e
RD
344 def EnablePageNumbers(self, *_args, **_kwargs):
345 val = apply(printfwc.wxPrintDialogData_EnablePageNumbers,(self,) + _args, _kwargs)
bb0054cd 346 return val
1d99702e
RD
347 def EnablePrintToFile(self, *_args, **_kwargs):
348 val = apply(printfwc.wxPrintDialogData_EnablePrintToFile,(self,) + _args, _kwargs)
bb0054cd 349 return val
1d99702e
RD
350 def EnableSelection(self, *_args, **_kwargs):
351 val = apply(printfwc.wxPrintDialogData_EnableSelection,(self,) + _args, _kwargs)
bb0054cd 352 return val
1d99702e
RD
353 def GetAllPages(self, *_args, **_kwargs):
354 val = apply(printfwc.wxPrintDialogData_GetAllPages,(self,) + _args, _kwargs)
bb0054cd 355 return val
1d99702e
RD
356 def GetCollate(self, *_args, **_kwargs):
357 val = apply(printfwc.wxPrintDialogData_GetCollate,(self,) + _args, _kwargs)
bb0054cd 358 return val
1d99702e
RD
359 def GetFromPage(self, *_args, **_kwargs):
360 val = apply(printfwc.wxPrintDialogData_GetFromPage,(self,) + _args, _kwargs)
bb0054cd 361 return val
1d99702e
RD
362 def GetMaxPage(self, *_args, **_kwargs):
363 val = apply(printfwc.wxPrintDialogData_GetMaxPage,(self,) + _args, _kwargs)
bb0054cd 364 return val
1d99702e
RD
365 def GetMinPage(self, *_args, **_kwargs):
366 val = apply(printfwc.wxPrintDialogData_GetMinPage,(self,) + _args, _kwargs)
bb0054cd 367 return val
1d99702e
RD
368 def GetNoCopies(self, *_args, **_kwargs):
369 val = apply(printfwc.wxPrintDialogData_GetNoCopies,(self,) + _args, _kwargs)
bb0054cd 370 return val
1d99702e
RD
371 def GetPrintData(self, *_args, **_kwargs):
372 val = apply(printfwc.wxPrintDialogData_GetPrintData,(self,) + _args, _kwargs)
373 if val: val = wxPrintDataPtr(val) ; val.thisown = 1
bb0054cd 374 return val
1d99702e
RD
375 def GetPrintToFile(self, *_args, **_kwargs):
376 val = apply(printfwc.wxPrintDialogData_GetPrintToFile,(self,) + _args, _kwargs)
bb0054cd 377 return val
1d99702e
RD
378 def GetToPage(self, *_args, **_kwargs):
379 val = apply(printfwc.wxPrintDialogData_GetToPage,(self,) + _args, _kwargs)
bb0054cd 380 return val
1d99702e
RD
381 def SetCollate(self, *_args, **_kwargs):
382 val = apply(printfwc.wxPrintDialogData_SetCollate,(self,) + _args, _kwargs)
bb0054cd 383 return val
1d99702e
RD
384 def SetFromPage(self, *_args, **_kwargs):
385 val = apply(printfwc.wxPrintDialogData_SetFromPage,(self,) + _args, _kwargs)
bb0054cd 386 return val
1d99702e
RD
387 def SetMaxPage(self, *_args, **_kwargs):
388 val = apply(printfwc.wxPrintDialogData_SetMaxPage,(self,) + _args, _kwargs)
bb0054cd 389 return val
1d99702e
RD
390 def SetMinPage(self, *_args, **_kwargs):
391 val = apply(printfwc.wxPrintDialogData_SetMinPage,(self,) + _args, _kwargs)
bb0054cd 392 return val
1d99702e
RD
393 def SetNoCopies(self, *_args, **_kwargs):
394 val = apply(printfwc.wxPrintDialogData_SetNoCopies,(self,) + _args, _kwargs)
bb0054cd 395 return val
1d99702e
RD
396 def SetPrintData(self, *_args, **_kwargs):
397 val = apply(printfwc.wxPrintDialogData_SetPrintData,(self,) + _args, _kwargs)
bb0054cd 398 return val
1d99702e
RD
399 def SetPrintToFile(self, *_args, **_kwargs):
400 val = apply(printfwc.wxPrintDialogData_SetPrintToFile,(self,) + _args, _kwargs)
bb0054cd 401 return val
1d99702e
RD
402 def SetSetupDialog(self, *_args, **_kwargs):
403 val = apply(printfwc.wxPrintDialogData_SetSetupDialog,(self,) + _args, _kwargs)
bb0054cd 404 return val
1d99702e
RD
405 def SetToPage(self, *_args, **_kwargs):
406 val = apply(printfwc.wxPrintDialogData_SetToPage,(self,) + _args, _kwargs)
bb0054cd
RD
407 return val
408 def __repr__(self):
1d99702e 409 return "<C wxPrintDialogData instance at %s>" % (self.this,)
bb0054cd 410class wxPrintDialogData(wxPrintDialogDataPtr):
1d99702e
RD
411 def __init__(self,*_args,**_kwargs):
412 self.this = apply(printfwc.new_wxPrintDialogData,_args,_kwargs)
bb0054cd
RD
413 self.thisown = 1
414
415
416
417
418class wxPrintDialogPtr(wxDialogPtr):
419 def __init__(self,this):
420 self.this = this
421 self.thisown = 0
1d99702e
RD
422 def GetPrintDialogData(self, *_args, **_kwargs):
423 val = apply(printfwc.wxPrintDialog_GetPrintDialogData,(self,) + _args, _kwargs)
424 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 425 return val
1d99702e
RD
426 def GetPrintDC(self, *_args, **_kwargs):
427 val = apply(printfwc.wxPrintDialog_GetPrintDC,(self,) + _args, _kwargs)
bb0054cd 428 return val
1d99702e
RD
429 def ShowModal(self, *_args, **_kwargs):
430 val = apply(printfwc.wxPrintDialog_ShowModal,(self,) + _args, _kwargs)
bb0054cd
RD
431 return val
432 def __repr__(self):
1d99702e 433 return "<C wxPrintDialog instance at %s>" % (self.this,)
bb0054cd 434class wxPrintDialog(wxPrintDialogPtr):
1d99702e
RD
435 def __init__(self,*_args,**_kwargs):
436 self.this = apply(printfwc.new_wxPrintDialog,_args,_kwargs)
bb0054cd 437 self.thisown = 1
f6bcfd97 438 #wx._StdDialogCallbacks(self)
bb0054cd
RD
439
440
441
442
9416aa89 443class wxPrintoutPtr(wxObjectPtr):
bb0054cd
RD
444 def __init__(self,this):
445 self.this = this
446 self.thisown = 0
0122b7e3
RD
447 def _setCallbackInfo(self, *_args, **_kwargs):
448 val = apply(printfwc.wxPrintout__setCallbackInfo,(self,) + _args, _kwargs)
bb0054cd 449 return val
1d99702e
RD
450 def Destroy(self, *_args, **_kwargs):
451 val = apply(printfwc.wxPrintout_Destroy,(self,) + _args, _kwargs)
bb0054cd 452 return val
1d99702e
RD
453 def GetDC(self, *_args, **_kwargs):
454 val = apply(printfwc.wxPrintout_GetDC,(self,) + _args, _kwargs)
bb0054cd 455 return val
1d99702e
RD
456 def GetPageSizeMM(self, *_args, **_kwargs):
457 val = apply(printfwc.wxPrintout_GetPageSizeMM,(self,) + _args, _kwargs)
bb0054cd 458 return val
1d99702e
RD
459 def GetPageSizePixels(self, *_args, **_kwargs):
460 val = apply(printfwc.wxPrintout_GetPageSizePixels,(self,) + _args, _kwargs)
bb0054cd 461 return val
1d99702e
RD
462 def GetPPIPrinter(self, *_args, **_kwargs):
463 val = apply(printfwc.wxPrintout_GetPPIPrinter,(self,) + _args, _kwargs)
bb0054cd 464 return val
1d99702e
RD
465 def GetPPIScreen(self, *_args, **_kwargs):
466 val = apply(printfwc.wxPrintout_GetPPIScreen,(self,) + _args, _kwargs)
bb0054cd 467 return val
1d99702e
RD
468 def IsPreview(self, *_args, **_kwargs):
469 val = apply(printfwc.wxPrintout_IsPreview,(self,) + _args, _kwargs)
bb0054cd 470 return val
1d99702e
RD
471 def base_OnBeginDocument(self, *_args, **_kwargs):
472 val = apply(printfwc.wxPrintout_base_OnBeginDocument,(self,) + _args, _kwargs)
bb0054cd 473 return val
1d99702e
RD
474 def base_OnEndDocument(self, *_args, **_kwargs):
475 val = apply(printfwc.wxPrintout_base_OnEndDocument,(self,) + _args, _kwargs)
bb0054cd 476 return val
1d99702e
RD
477 def base_OnBeginPrinting(self, *_args, **_kwargs):
478 val = apply(printfwc.wxPrintout_base_OnBeginPrinting,(self,) + _args, _kwargs)
bb0054cd 479 return val
1d99702e
RD
480 def base_OnEndPrinting(self, *_args, **_kwargs):
481 val = apply(printfwc.wxPrintout_base_OnEndPrinting,(self,) + _args, _kwargs)
bb0054cd 482 return val
1d99702e
RD
483 def base_OnPreparePrinting(self, *_args, **_kwargs):
484 val = apply(printfwc.wxPrintout_base_OnPreparePrinting,(self,) + _args, _kwargs)
bb0054cd 485 return val
1d99702e
RD
486 def base_GetPageInfo(self, *_args, **_kwargs):
487 val = apply(printfwc.wxPrintout_base_GetPageInfo,(self,) + _args, _kwargs)
bb0054cd 488 return val
1d99702e
RD
489 def base_HasPage(self, *_args, **_kwargs):
490 val = apply(printfwc.wxPrintout_base_HasPage,(self,) + _args, _kwargs)
bb0054cd
RD
491 return val
492 def __repr__(self):
1d99702e 493 return "<C wxPrintout instance at %s>" % (self.this,)
bb0054cd 494class wxPrintout(wxPrintoutPtr):
1d99702e
RD
495 def __init__(self,*_args,**_kwargs):
496 self.this = apply(printfwc.new_wxPrintout,_args,_kwargs)
bb0054cd 497 self.thisown = 1
0122b7e3 498 self._setCallbackInfo(self, wxPrintout)
bb0054cd
RD
499
500
501
502
9416aa89 503class wxPrinterPtr(wxObjectPtr):
bb0054cd
RD
504 def __init__(self,this):
505 self.this = this
506 self.thisown = 0
1d99702e 507 def __del__(self,printfwc=printfwc):
bb0054cd 508 if self.thisown == 1 :
1d99702e
RD
509 printfwc.delete_wxPrinter(self)
510 def CreateAbortWindow(self, *_args, **_kwargs):
511 val = apply(printfwc.wxPrinter_CreateAbortWindow,(self,) + _args, _kwargs)
bb0054cd 512 return val
1d99702e
RD
513 def GetPrintDialogData(self, *_args, **_kwargs):
514 val = apply(printfwc.wxPrinter_GetPrintDialogData,(self,) + _args, _kwargs)
515 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 516 return val
1d99702e
RD
517 def Print(self, *_args, **_kwargs):
518 val = apply(printfwc.wxPrinter_Print,(self,) + _args, _kwargs)
bb0054cd 519 return val
1d99702e
RD
520 def PrintDialog(self, *_args, **_kwargs):
521 val = apply(printfwc.wxPrinter_PrintDialog,(self,) + _args, _kwargs)
bb0054cd 522 return val
1d99702e
RD
523 def ReportError(self, *_args, **_kwargs):
524 val = apply(printfwc.wxPrinter_ReportError,(self,) + _args, _kwargs)
bb0054cd 525 return val
1d99702e
RD
526 def Setup(self, *_args, **_kwargs):
527 val = apply(printfwc.wxPrinter_Setup,(self,) + _args, _kwargs)
bb0054cd
RD
528 return val
529 def __repr__(self):
1d99702e 530 return "<C wxPrinter instance at %s>" % (self.this,)
bb0054cd 531class wxPrinter(wxPrinterPtr):
1d99702e
RD
532 def __init__(self,*_args,**_kwargs):
533 self.this = apply(printfwc.new_wxPrinter,_args,_kwargs)
bb0054cd
RD
534 self.thisown = 1
535
536
537
538
9416aa89 539class wxPrintPreviewPtr(wxObjectPtr):
bb0054cd
RD
540 def __init__(self,this):
541 self.this = this
542 self.thisown = 0
1d99702e
RD
543 def GetCanvas(self, *_args, **_kwargs):
544 val = apply(printfwc.wxPrintPreview_GetCanvas,(self,) + _args, _kwargs)
bb0054cd 545 return val
1d99702e
RD
546 def GetCurrentPage(self, *_args, **_kwargs):
547 val = apply(printfwc.wxPrintPreview_GetCurrentPage,(self,) + _args, _kwargs)
bb0054cd 548 return val
1d99702e
RD
549 def GetFrame(self, *_args, **_kwargs):
550 val = apply(printfwc.wxPrintPreview_GetFrame,(self,) + _args, _kwargs)
bb0054cd 551 return val
1d99702e
RD
552 def GetMaxPage(self, *_args, **_kwargs):
553 val = apply(printfwc.wxPrintPreview_GetMaxPage,(self,) + _args, _kwargs)
bb0054cd 554 return val
1d99702e
RD
555 def GetMinPage(self, *_args, **_kwargs):
556 val = apply(printfwc.wxPrintPreview_GetMinPage,(self,) + _args, _kwargs)
bb0054cd 557 return val
1d99702e
RD
558 def GetPrintDialogData(self, *_args, **_kwargs):
559 val = apply(printfwc.wxPrintPreview_GetPrintDialogData,(self,) + _args, _kwargs)
560 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 561 return val
1d99702e
RD
562 def GetPrintout(self, *_args, **_kwargs):
563 val = apply(printfwc.wxPrintPreview_GetPrintout,(self,) + _args, _kwargs)
bb0054cd 564 return val
1d99702e
RD
565 def GetPrintoutForPrinting(self, *_args, **_kwargs):
566 val = apply(printfwc.wxPrintPreview_GetPrintoutForPrinting,(self,) + _args, _kwargs)
bb0054cd 567 return val
1d99702e
RD
568 def GetZoom(self, *_args, **_kwargs):
569 val = apply(printfwc.wxPrintPreview_GetZoom,(self,) + _args, _kwargs)
bb0054cd 570 return val
1d99702e
RD
571 def Ok(self, *_args, **_kwargs):
572 val = apply(printfwc.wxPrintPreview_Ok,(self,) + _args, _kwargs)
bb0054cd 573 return val
1d99702e
RD
574 def Print(self, *_args, **_kwargs):
575 val = apply(printfwc.wxPrintPreview_Print,(self,) + _args, _kwargs)
bb0054cd 576 return val
1d99702e
RD
577 def SetCanvas(self, *_args, **_kwargs):
578 val = apply(printfwc.wxPrintPreview_SetCanvas,(self,) + _args, _kwargs)
bb0054cd 579 return val
1d99702e
RD
580 def SetCurrentPage(self, *_args, **_kwargs):
581 val = apply(printfwc.wxPrintPreview_SetCurrentPage,(self,) + _args, _kwargs)
bb0054cd 582 return val
1d99702e
RD
583 def SetFrame(self, *_args, **_kwargs):
584 val = apply(printfwc.wxPrintPreview_SetFrame,(self,) + _args, _kwargs)
bb0054cd 585 return val
1d99702e
RD
586 def SetPrintout(self, *_args, **_kwargs):
587 val = apply(printfwc.wxPrintPreview_SetPrintout,(self,) + _args, _kwargs)
bb0054cd 588 return val
1d99702e
RD
589 def SetZoom(self, *_args, **_kwargs):
590 val = apply(printfwc.wxPrintPreview_SetZoom,(self,) + _args, _kwargs)
bb0054cd
RD
591 return val
592 def __repr__(self):
1d99702e 593 return "<C wxPrintPreview instance at %s>" % (self.this,)
bb0054cd 594class wxPrintPreview(wxPrintPreviewPtr):
1d99702e
RD
595 def __init__(self,*_args,**_kwargs):
596 self.this = apply(printfwc.new_wxPrintPreview,_args,_kwargs)
bb0054cd
RD
597 self.thisown = 1
598
599
600
601
602class wxPreviewFramePtr(wxFramePtr):
603 def __init__(self,this):
604 self.this = this
605 self.thisown = 0
1d99702e
RD
606 def Initialize(self, *_args, **_kwargs):
607 val = apply(printfwc.wxPreviewFrame_Initialize,(self,) + _args, _kwargs)
bb0054cd
RD
608 return val
609 def __repr__(self):
1d99702e 610 return "<C wxPreviewFrame instance at %s>" % (self.this,)
bb0054cd 611class wxPreviewFrame(wxPreviewFramePtr):
1d99702e
RD
612 def __init__(self,*_args,**_kwargs):
613 self.this = apply(printfwc.new_wxPreviewFrame,_args,_kwargs)
bb0054cd 614 self.thisown = 1
0122b7e3 615 self._setOORInfo(self)
bb0054cd
RD
616
617
618
619
620
621
622#-------------- FUNCTION WRAPPERS ------------------
623
eedf876b
RD
624wxPostScriptDC_SetResolution = printfwc.wxPostScriptDC_SetResolution
625
626wxPostScriptDC_GetResolution = printfwc.wxPostScriptDC_GetResolution
627
bb0054cd
RD
628
629
630#-------------- VARIABLE WRAPPERS ------------------
631