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