]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/printfw.py
regenerated some more sources for gtk.
[wxWidgets.git] / wxPython / src / gtk / printfw.py
CommitLineData
bb0054cd
RD
1# This file was created automatically by SWIG.
2import printfwc
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9
b1462dfa
RD
10from clip_dnd import *
11
bb0054cd
RD
12from cmndlgs import *
13
14from frames import *
15
16from stattool import *
17
18from controls import *
19
20from events import *
21import wx
22class 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 83 return val
9e689c06
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 152class 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
160class wxPageSetupDialogDataPtr :
161 def __init__(self,this):
162 self.this = this
163 self.thisown = 0
1d99702e 164 def __del__(self,printfwc=printfwc):
bb0054cd 165 if self.thisown == 1 :
1d99702e
RD
166 printfwc.delete_wxPageSetupDialogData(self)
167 def EnableHelp(self, *_args, **_kwargs):
168 val = apply(printfwc.wxPageSetupDialogData_EnableHelp,(self,) + _args, _kwargs)
bb0054cd 169 return val
1d99702e
RD
170 def EnableMargins(self, *_args, **_kwargs):
171 val = apply(printfwc.wxPageSetupDialogData_EnableMargins,(self,) + _args, _kwargs)
bb0054cd 172 return val
1d99702e
RD
173 def EnableOrientation(self, *_args, **_kwargs):
174 val = apply(printfwc.wxPageSetupDialogData_EnableOrientation,(self,) + _args, _kwargs)
bb0054cd 175 return val
1d99702e
RD
176 def EnablePaper(self, *_args, **_kwargs):
177 val = apply(printfwc.wxPageSetupDialogData_EnablePaper,(self,) + _args, _kwargs)
bb0054cd 178 return val
1d99702e
RD
179 def EnablePrinter(self, *_args, **_kwargs):
180 val = apply(printfwc.wxPageSetupDialogData_EnablePrinter,(self,) + _args, _kwargs)
bb0054cd 181 return val
1d99702e
RD
182 def GetDefaultMinMargins(self, *_args, **_kwargs):
183 val = apply(printfwc.wxPageSetupDialogData_GetDefaultMinMargins,(self,) + _args, _kwargs)
bb0054cd 184 return val
1d99702e
RD
185 def GetEnableMargins(self, *_args, **_kwargs):
186 val = apply(printfwc.wxPageSetupDialogData_GetEnableMargins,(self,) + _args, _kwargs)
bb0054cd 187 return val
1d99702e
RD
188 def GetEnableOrientation(self, *_args, **_kwargs):
189 val = apply(printfwc.wxPageSetupDialogData_GetEnableOrientation,(self,) + _args, _kwargs)
bb0054cd 190 return val
1d99702e
RD
191 def GetEnablePaper(self, *_args, **_kwargs):
192 val = apply(printfwc.wxPageSetupDialogData_GetEnablePaper,(self,) + _args, _kwargs)
bb0054cd 193 return val
1d99702e
RD
194 def GetEnablePrinter(self, *_args, **_kwargs):
195 val = apply(printfwc.wxPageSetupDialogData_GetEnablePrinter,(self,) + _args, _kwargs)
bb0054cd 196 return val
1d99702e
RD
197 def GetEnableHelp(self, *_args, **_kwargs):
198 val = apply(printfwc.wxPageSetupDialogData_GetEnableHelp,(self,) + _args, _kwargs)
bb0054cd 199 return val
1d99702e
RD
200 def GetDefaultInfo(self, *_args, **_kwargs):
201 val = apply(printfwc.wxPageSetupDialogData_GetDefaultInfo,(self,) + _args, _kwargs)
bb0054cd 202 return val
1d99702e
RD
203 def GetMarginTopLeft(self, *_args, **_kwargs):
204 val = apply(printfwc.wxPageSetupDialogData_GetMarginTopLeft,(self,) + _args, _kwargs)
205 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 206 return val
1d99702e
RD
207 def GetMarginBottomRight(self, *_args, **_kwargs):
208 val = apply(printfwc.wxPageSetupDialogData_GetMarginBottomRight,(self,) + _args, _kwargs)
209 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 210 return val
1d99702e
RD
211 def GetMinMarginTopLeft(self, *_args, **_kwargs):
212 val = apply(printfwc.wxPageSetupDialogData_GetMinMarginTopLeft,(self,) + _args, _kwargs)
213 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 214 return val
1d99702e
RD
215 def GetMinMarginBottomRight(self, *_args, **_kwargs):
216 val = apply(printfwc.wxPageSetupDialogData_GetMinMarginBottomRight,(self,) + _args, _kwargs)
217 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 218 return val
1d99702e
RD
219 def GetPaperId(self, *_args, **_kwargs):
220 val = apply(printfwc.wxPageSetupDialogData_GetPaperId,(self,) + _args, _kwargs)
bb0054cd 221 return val
1d99702e
RD
222 def GetPaperSize(self, *_args, **_kwargs):
223 val = apply(printfwc.wxPageSetupDialogData_GetPaperSize,(self,) + _args, _kwargs)
224 if val: val = wxSizePtr(val) ; val.thisown = 1
bb0054cd 225 return val
1d99702e
RD
226 def GetPrintData(self, *_args, **_kwargs):
227 val = apply(printfwc.wxPageSetupDialogData_GetPrintData,(self,) + _args, _kwargs)
228 if val: val = wxPrintDataPtr(val) ; val.thisown = 1
bb0054cd 229 return val
1d99702e
RD
230 def SetDefaultInfo(self, *_args, **_kwargs):
231 val = apply(printfwc.wxPageSetupDialogData_SetDefaultInfo,(self,) + _args, _kwargs)
bb0054cd 232 return val
1d99702e
RD
233 def SetDefaultMinMargins(self, *_args, **_kwargs):
234 val = apply(printfwc.wxPageSetupDialogData_SetDefaultMinMargins,(self,) + _args, _kwargs)
bb0054cd 235 return val
1d99702e
RD
236 def SetMarginTopLeft(self, *_args, **_kwargs):
237 val = apply(printfwc.wxPageSetupDialogData_SetMarginTopLeft,(self,) + _args, _kwargs)
bb0054cd 238 return val
1d99702e
RD
239 def SetMarginBottomRight(self, *_args, **_kwargs):
240 val = apply(printfwc.wxPageSetupDialogData_SetMarginBottomRight,(self,) + _args, _kwargs)
bb0054cd 241 return val
1d99702e
RD
242 def SetMinMarginTopLeft(self, *_args, **_kwargs):
243 val = apply(printfwc.wxPageSetupDialogData_SetMinMarginTopLeft,(self,) + _args, _kwargs)
bb0054cd 244 return val
1d99702e
RD
245 def SetMinMarginBottomRight(self, *_args, **_kwargs):
246 val = apply(printfwc.wxPageSetupDialogData_SetMinMarginBottomRight,(self,) + _args, _kwargs)
bb0054cd 247 return val
1d99702e
RD
248 def SetPaperId(self, *_args, **_kwargs):
249 val = apply(printfwc.wxPageSetupDialogData_SetPaperId,(self,) + _args, _kwargs)
bb0054cd 250 return val
1d99702e
RD
251 def SetPaperSize(self, *_args, **_kwargs):
252 val = apply(printfwc.wxPageSetupDialogData_SetPaperSize,(self,) + _args, _kwargs)
bb0054cd 253 return val
1d99702e
RD
254 def SetPrintData(self, *_args, **_kwargs):
255 val = apply(printfwc.wxPageSetupDialogData_SetPrintData,(self,) + _args, _kwargs)
bb0054cd
RD
256 return val
257 def __repr__(self):
1d99702e 258 return "<C wxPageSetupDialogData instance at %s>" % (self.this,)
bb0054cd 259class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
1d99702e
RD
260 def __init__(self,*_args,**_kwargs):
261 self.this = apply(printfwc.new_wxPageSetupDialogData,_args,_kwargs)
bb0054cd
RD
262 self.thisown = 1
263
264
265
266
267class wxPageSetupDialogPtr(wxDialogPtr):
268 def __init__(self,this):
269 self.this = this
270 self.thisown = 0
1d99702e
RD
271 def GetPageSetupData(self, *_args, **_kwargs):
272 val = apply(printfwc.wxPageSetupDialog_GetPageSetupData,(self,) + _args, _kwargs)
273 if val: val = wxPageSetupDialogDataPtr(val)
bb0054cd 274 return val
1d99702e
RD
275 def ShowModal(self, *_args, **_kwargs):
276 val = apply(printfwc.wxPageSetupDialog_ShowModal,(self,) + _args, _kwargs)
bb0054cd
RD
277 return val
278 def __repr__(self):
1d99702e 279 return "<C wxPageSetupDialog instance at %s>" % (self.this,)
bb0054cd 280class wxPageSetupDialog(wxPageSetupDialogPtr):
1d99702e
RD
281 def __init__(self,*_args,**_kwargs):
282 self.this = apply(printfwc.new_wxPageSetupDialog,_args,_kwargs)
bb0054cd 283 self.thisown = 1
f6bcfd97 284 #wx._StdDialogCallbacks(self)
bb0054cd
RD
285
286
287
288
289class wxPrintDialogDataPtr :
290 def __init__(self,this):
291 self.this = this
292 self.thisown = 0
1d99702e 293 def __del__(self,printfwc=printfwc):
bb0054cd 294 if self.thisown == 1 :
1d99702e
RD
295 printfwc.delete_wxPrintDialogData(self)
296 def EnableHelp(self, *_args, **_kwargs):
297 val = apply(printfwc.wxPrintDialogData_EnableHelp,(self,) + _args, _kwargs)
bb0054cd 298 return val
1d99702e
RD
299 def EnablePageNumbers(self, *_args, **_kwargs):
300 val = apply(printfwc.wxPrintDialogData_EnablePageNumbers,(self,) + _args, _kwargs)
bb0054cd 301 return val
1d99702e
RD
302 def EnablePrintToFile(self, *_args, **_kwargs):
303 val = apply(printfwc.wxPrintDialogData_EnablePrintToFile,(self,) + _args, _kwargs)
bb0054cd 304 return val
1d99702e
RD
305 def EnableSelection(self, *_args, **_kwargs):
306 val = apply(printfwc.wxPrintDialogData_EnableSelection,(self,) + _args, _kwargs)
bb0054cd 307 return val
1d99702e
RD
308 def GetAllPages(self, *_args, **_kwargs):
309 val = apply(printfwc.wxPrintDialogData_GetAllPages,(self,) + _args, _kwargs)
bb0054cd 310 return val
1d99702e
RD
311 def GetCollate(self, *_args, **_kwargs):
312 val = apply(printfwc.wxPrintDialogData_GetCollate,(self,) + _args, _kwargs)
bb0054cd 313 return val
1d99702e
RD
314 def GetFromPage(self, *_args, **_kwargs):
315 val = apply(printfwc.wxPrintDialogData_GetFromPage,(self,) + _args, _kwargs)
bb0054cd 316 return val
1d99702e
RD
317 def GetMaxPage(self, *_args, **_kwargs):
318 val = apply(printfwc.wxPrintDialogData_GetMaxPage,(self,) + _args, _kwargs)
bb0054cd 319 return val
1d99702e
RD
320 def GetMinPage(self, *_args, **_kwargs):
321 val = apply(printfwc.wxPrintDialogData_GetMinPage,(self,) + _args, _kwargs)
bb0054cd 322 return val
1d99702e
RD
323 def GetNoCopies(self, *_args, **_kwargs):
324 val = apply(printfwc.wxPrintDialogData_GetNoCopies,(self,) + _args, _kwargs)
bb0054cd 325 return val
1d99702e
RD
326 def GetPrintData(self, *_args, **_kwargs):
327 val = apply(printfwc.wxPrintDialogData_GetPrintData,(self,) + _args, _kwargs)
328 if val: val = wxPrintDataPtr(val) ; val.thisown = 1
bb0054cd 329 return val
1d99702e
RD
330 def GetPrintToFile(self, *_args, **_kwargs):
331 val = apply(printfwc.wxPrintDialogData_GetPrintToFile,(self,) + _args, _kwargs)
bb0054cd 332 return val
1d99702e
RD
333 def GetToPage(self, *_args, **_kwargs):
334 val = apply(printfwc.wxPrintDialogData_GetToPage,(self,) + _args, _kwargs)
bb0054cd 335 return val
1d99702e
RD
336 def SetCollate(self, *_args, **_kwargs):
337 val = apply(printfwc.wxPrintDialogData_SetCollate,(self,) + _args, _kwargs)
bb0054cd 338 return val
1d99702e
RD
339 def SetFromPage(self, *_args, **_kwargs):
340 val = apply(printfwc.wxPrintDialogData_SetFromPage,(self,) + _args, _kwargs)
bb0054cd 341 return val
1d99702e
RD
342 def SetMaxPage(self, *_args, **_kwargs):
343 val = apply(printfwc.wxPrintDialogData_SetMaxPage,(self,) + _args, _kwargs)
bb0054cd 344 return val
1d99702e
RD
345 def SetMinPage(self, *_args, **_kwargs):
346 val = apply(printfwc.wxPrintDialogData_SetMinPage,(self,) + _args, _kwargs)
bb0054cd 347 return val
1d99702e
RD
348 def SetNoCopies(self, *_args, **_kwargs):
349 val = apply(printfwc.wxPrintDialogData_SetNoCopies,(self,) + _args, _kwargs)
bb0054cd 350 return val
1d99702e
RD
351 def SetPrintData(self, *_args, **_kwargs):
352 val = apply(printfwc.wxPrintDialogData_SetPrintData,(self,) + _args, _kwargs)
bb0054cd 353 return val
1d99702e
RD
354 def SetPrintToFile(self, *_args, **_kwargs):
355 val = apply(printfwc.wxPrintDialogData_SetPrintToFile,(self,) + _args, _kwargs)
bb0054cd 356 return val
1d99702e
RD
357 def SetSetupDialog(self, *_args, **_kwargs):
358 val = apply(printfwc.wxPrintDialogData_SetSetupDialog,(self,) + _args, _kwargs)
bb0054cd 359 return val
1d99702e
RD
360 def SetToPage(self, *_args, **_kwargs):
361 val = apply(printfwc.wxPrintDialogData_SetToPage,(self,) + _args, _kwargs)
bb0054cd
RD
362 return val
363 def __repr__(self):
1d99702e 364 return "<C wxPrintDialogData instance at %s>" % (self.this,)
bb0054cd 365class wxPrintDialogData(wxPrintDialogDataPtr):
1d99702e
RD
366 def __init__(self,*_args,**_kwargs):
367 self.this = apply(printfwc.new_wxPrintDialogData,_args,_kwargs)
bb0054cd
RD
368 self.thisown = 1
369
370
371
372
373class wxPrintDialogPtr(wxDialogPtr):
374 def __init__(self,this):
375 self.this = this
376 self.thisown = 0
1d99702e
RD
377 def GetPrintDialogData(self, *_args, **_kwargs):
378 val = apply(printfwc.wxPrintDialog_GetPrintDialogData,(self,) + _args, _kwargs)
379 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 380 return val
1d99702e
RD
381 def GetPrintDC(self, *_args, **_kwargs):
382 val = apply(printfwc.wxPrintDialog_GetPrintDC,(self,) + _args, _kwargs)
383 if val: val = wxDCPtr(val) ; val.thisown = 1
bb0054cd 384 return val
1d99702e
RD
385 def ShowModal(self, *_args, **_kwargs):
386 val = apply(printfwc.wxPrintDialog_ShowModal,(self,) + _args, _kwargs)
bb0054cd
RD
387 return val
388 def __repr__(self):
1d99702e 389 return "<C wxPrintDialog instance at %s>" % (self.this,)
bb0054cd 390class wxPrintDialog(wxPrintDialogPtr):
1d99702e
RD
391 def __init__(self,*_args,**_kwargs):
392 self.this = apply(printfwc.new_wxPrintDialog,_args,_kwargs)
bb0054cd 393 self.thisown = 1
f6bcfd97 394 #wx._StdDialogCallbacks(self)
bb0054cd
RD
395
396
397
398
399class wxPrintoutPtr :
400 def __init__(self,this):
401 self.this = this
402 self.thisown = 0
1d99702e
RD
403 def _setSelf(self, *_args, **_kwargs):
404 val = apply(printfwc.wxPrintout__setSelf,(self,) + _args, _kwargs)
bb0054cd 405 return val
1d99702e
RD
406 def Destroy(self, *_args, **_kwargs):
407 val = apply(printfwc.wxPrintout_Destroy,(self,) + _args, _kwargs)
bb0054cd 408 return val
1d99702e
RD
409 def GetDC(self, *_args, **_kwargs):
410 val = apply(printfwc.wxPrintout_GetDC,(self,) + _args, _kwargs)
411 if val: val = wxDCPtr(val)
bb0054cd 412 return val
1d99702e
RD
413 def GetPageSizeMM(self, *_args, **_kwargs):
414 val = apply(printfwc.wxPrintout_GetPageSizeMM,(self,) + _args, _kwargs)
bb0054cd 415 return val
1d99702e
RD
416 def GetPageSizePixels(self, *_args, **_kwargs):
417 val = apply(printfwc.wxPrintout_GetPageSizePixels,(self,) + _args, _kwargs)
bb0054cd 418 return val
1d99702e
RD
419 def GetPPIPrinter(self, *_args, **_kwargs):
420 val = apply(printfwc.wxPrintout_GetPPIPrinter,(self,) + _args, _kwargs)
bb0054cd 421 return val
1d99702e
RD
422 def GetPPIScreen(self, *_args, **_kwargs):
423 val = apply(printfwc.wxPrintout_GetPPIScreen,(self,) + _args, _kwargs)
bb0054cd 424 return val
1d99702e
RD
425 def IsPreview(self, *_args, **_kwargs):
426 val = apply(printfwc.wxPrintout_IsPreview,(self,) + _args, _kwargs)
bb0054cd 427 return val
1d99702e
RD
428 def base_OnBeginDocument(self, *_args, **_kwargs):
429 val = apply(printfwc.wxPrintout_base_OnBeginDocument,(self,) + _args, _kwargs)
bb0054cd 430 return val
1d99702e
RD
431 def base_OnEndDocument(self, *_args, **_kwargs):
432 val = apply(printfwc.wxPrintout_base_OnEndDocument,(self,) + _args, _kwargs)
bb0054cd 433 return val
1d99702e
RD
434 def base_OnBeginPrinting(self, *_args, **_kwargs):
435 val = apply(printfwc.wxPrintout_base_OnBeginPrinting,(self,) + _args, _kwargs)
bb0054cd 436 return val
1d99702e
RD
437 def base_OnEndPrinting(self, *_args, **_kwargs):
438 val = apply(printfwc.wxPrintout_base_OnEndPrinting,(self,) + _args, _kwargs)
bb0054cd 439 return val
1d99702e
RD
440 def base_OnPreparePrinting(self, *_args, **_kwargs):
441 val = apply(printfwc.wxPrintout_base_OnPreparePrinting,(self,) + _args, _kwargs)
bb0054cd 442 return val
1d99702e
RD
443 def base_GetPageInfo(self, *_args, **_kwargs):
444 val = apply(printfwc.wxPrintout_base_GetPageInfo,(self,) + _args, _kwargs)
bb0054cd 445 return val
1d99702e
RD
446 def base_HasPage(self, *_args, **_kwargs):
447 val = apply(printfwc.wxPrintout_base_HasPage,(self,) + _args, _kwargs)
bb0054cd
RD
448 return val
449 def __repr__(self):
1d99702e 450 return "<C wxPrintout instance at %s>" % (self.this,)
bb0054cd 451class wxPrintout(wxPrintoutPtr):
1d99702e
RD
452 def __init__(self,*_args,**_kwargs):
453 self.this = apply(printfwc.new_wxPrintout,_args,_kwargs)
bb0054cd 454 self.thisown = 1
f6bcfd97 455 self._setSelf(self, wxPrintout)
bb0054cd
RD
456
457
458
459
460class wxPrinterPtr :
461 def __init__(self,this):
462 self.this = this
463 self.thisown = 0
1d99702e 464 def __del__(self,printfwc=printfwc):
bb0054cd 465 if self.thisown == 1 :
1d99702e
RD
466 printfwc.delete_wxPrinter(self)
467 def CreateAbortWindow(self, *_args, **_kwargs):
468 val = apply(printfwc.wxPrinter_CreateAbortWindow,(self,) + _args, _kwargs)
bb0054cd 469 return val
1d99702e
RD
470 def GetPrintDialogData(self, *_args, **_kwargs):
471 val = apply(printfwc.wxPrinter_GetPrintDialogData,(self,) + _args, _kwargs)
472 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 473 return val
1d99702e
RD
474 def Print(self, *_args, **_kwargs):
475 val = apply(printfwc.wxPrinter_Print,(self,) + _args, _kwargs)
bb0054cd 476 return val
1d99702e
RD
477 def PrintDialog(self, *_args, **_kwargs):
478 val = apply(printfwc.wxPrinter_PrintDialog,(self,) + _args, _kwargs)
479 if val: val = wxDCPtr(val)
bb0054cd 480 return val
1d99702e
RD
481 def ReportError(self, *_args, **_kwargs):
482 val = apply(printfwc.wxPrinter_ReportError,(self,) + _args, _kwargs)
bb0054cd 483 return val
1d99702e
RD
484 def Setup(self, *_args, **_kwargs):
485 val = apply(printfwc.wxPrinter_Setup,(self,) + _args, _kwargs)
bb0054cd
RD
486 return val
487 def __repr__(self):
1d99702e 488 return "<C wxPrinter instance at %s>" % (self.this,)
bb0054cd 489class wxPrinter(wxPrinterPtr):
1d99702e
RD
490 def __init__(self,*_args,**_kwargs):
491 self.this = apply(printfwc.new_wxPrinter,_args,_kwargs)
bb0054cd
RD
492 self.thisown = 1
493
494
495
496
497class wxPrintPreviewPtr :
498 def __init__(self,this):
499 self.this = this
500 self.thisown = 0
1d99702e
RD
501 def GetCanvas(self, *_args, **_kwargs):
502 val = apply(printfwc.wxPrintPreview_GetCanvas,(self,) + _args, _kwargs)
503 if val: val = wxWindowPtr(val)
bb0054cd 504 return val
1d99702e
RD
505 def GetCurrentPage(self, *_args, **_kwargs):
506 val = apply(printfwc.wxPrintPreview_GetCurrentPage,(self,) + _args, _kwargs)
bb0054cd 507 return val
1d99702e
RD
508 def GetFrame(self, *_args, **_kwargs):
509 val = apply(printfwc.wxPrintPreview_GetFrame,(self,) + _args, _kwargs)
510 if val: val = wxFramePtr(val)
bb0054cd 511 return val
1d99702e
RD
512 def GetMaxPage(self, *_args, **_kwargs):
513 val = apply(printfwc.wxPrintPreview_GetMaxPage,(self,) + _args, _kwargs)
bb0054cd 514 return val
1d99702e
RD
515 def GetMinPage(self, *_args, **_kwargs):
516 val = apply(printfwc.wxPrintPreview_GetMinPage,(self,) + _args, _kwargs)
bb0054cd 517 return val
1d99702e
RD
518 def GetPrintDialogData(self, *_args, **_kwargs):
519 val = apply(printfwc.wxPrintPreview_GetPrintDialogData,(self,) + _args, _kwargs)
520 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 521 return val
1d99702e
RD
522 def GetPrintout(self, *_args, **_kwargs):
523 val = apply(printfwc.wxPrintPreview_GetPrintout,(self,) + _args, _kwargs)
524 if val: val = wxPrintoutPtr(val)
bb0054cd 525 return val
1d99702e
RD
526 def GetPrintoutForPrinting(self, *_args, **_kwargs):
527 val = apply(printfwc.wxPrintPreview_GetPrintoutForPrinting,(self,) + _args, _kwargs)
528 if val: val = wxPrintoutPtr(val)
bb0054cd 529 return val
1d99702e
RD
530 def GetZoom(self, *_args, **_kwargs):
531 val = apply(printfwc.wxPrintPreview_GetZoom,(self,) + _args, _kwargs)
bb0054cd 532 return val
1d99702e
RD
533 def Ok(self, *_args, **_kwargs):
534 val = apply(printfwc.wxPrintPreview_Ok,(self,) + _args, _kwargs)
bb0054cd 535 return val
1d99702e
RD
536 def Print(self, *_args, **_kwargs):
537 val = apply(printfwc.wxPrintPreview_Print,(self,) + _args, _kwargs)
bb0054cd 538 return val
1d99702e
RD
539 def SetCanvas(self, *_args, **_kwargs):
540 val = apply(printfwc.wxPrintPreview_SetCanvas,(self,) + _args, _kwargs)
bb0054cd 541 return val
1d99702e
RD
542 def SetCurrentPage(self, *_args, **_kwargs):
543 val = apply(printfwc.wxPrintPreview_SetCurrentPage,(self,) + _args, _kwargs)
bb0054cd 544 return val
1d99702e
RD
545 def SetFrame(self, *_args, **_kwargs):
546 val = apply(printfwc.wxPrintPreview_SetFrame,(self,) + _args, _kwargs)
bb0054cd 547 return val
1d99702e
RD
548 def SetPrintout(self, *_args, **_kwargs):
549 val = apply(printfwc.wxPrintPreview_SetPrintout,(self,) + _args, _kwargs)
bb0054cd 550 return val
1d99702e
RD
551 def SetZoom(self, *_args, **_kwargs):
552 val = apply(printfwc.wxPrintPreview_SetZoom,(self,) + _args, _kwargs)
bb0054cd
RD
553 return val
554 def __repr__(self):
1d99702e 555 return "<C wxPrintPreview instance at %s>" % (self.this,)
bb0054cd 556class wxPrintPreview(wxPrintPreviewPtr):
1d99702e
RD
557 def __init__(self,*_args,**_kwargs):
558 self.this = apply(printfwc.new_wxPrintPreview,_args,_kwargs)
bb0054cd
RD
559 self.thisown = 1
560
561
562
563
564class wxPreviewFramePtr(wxFramePtr):
565 def __init__(self,this):
566 self.this = this
567 self.thisown = 0
1d99702e
RD
568 def Initialize(self, *_args, **_kwargs):
569 val = apply(printfwc.wxPreviewFrame_Initialize,(self,) + _args, _kwargs)
bb0054cd
RD
570 return val
571 def __repr__(self):
1d99702e 572 return "<C wxPreviewFrame instance at %s>" % (self.this,)
bb0054cd 573class wxPreviewFrame(wxPreviewFramePtr):
1d99702e
RD
574 def __init__(self,*_args,**_kwargs):
575 self.this = apply(printfwc.new_wxPreviewFrame,_args,_kwargs)
bb0054cd 576 self.thisown = 1
f6bcfd97 577 #wx._StdFrameCallbacks(self)
bb0054cd
RD
578
579
580
581
582
583
584#-------------- FUNCTION WRAPPERS ------------------
585
586
587
588#-------------- VARIABLE WRAPPERS ------------------
589