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