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