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