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