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