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