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