]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/printfw.py
Updates for wxColourDatabase
[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
b67a9327
RD
28 def __del__(self, delfunc=printfwc.delete_wxPrintData):
29 if self.thisown == 1:
30 try:
31 delfunc(self)
32 except:
33 pass
1d99702e 34 def GetNoCopies(self, *_args, **_kwargs):
1fded56b 35 val = printfwc.wxPrintData_GetNoCopies(self, *_args, **_kwargs)
bb0054cd 36 return val
1d99702e 37 def GetCollate(self, *_args, **_kwargs):
1fded56b 38 val = printfwc.wxPrintData_GetCollate(self, *_args, **_kwargs)
bb0054cd 39 return val
1d99702e 40 def GetOrientation(self, *_args, **_kwargs):
1fded56b 41 val = printfwc.wxPrintData_GetOrientation(self, *_args, **_kwargs)
bb0054cd 42 return val
12d1116b 43 def Ok(self, *_args, **_kwargs):
1fded56b 44 val = printfwc.wxPrintData_Ok(self, *_args, **_kwargs)
12d1116b 45 return val
1d99702e 46 def GetPrinterName(self, *_args, **_kwargs):
1fded56b 47 val = printfwc.wxPrintData_GetPrinterName(self, *_args, **_kwargs)
bb0054cd 48 return val
1d99702e 49 def GetColour(self, *_args, **_kwargs):
1fded56b 50 val = printfwc.wxPrintData_GetColour(self, *_args, **_kwargs)
bb0054cd 51 return val
1d99702e 52 def GetDuplex(self, *_args, **_kwargs):
1fded56b 53 val = printfwc.wxPrintData_GetDuplex(self, *_args, **_kwargs)
bb0054cd 54 return val
1d99702e 55 def GetPaperId(self, *_args, **_kwargs):
1fded56b 56 val = printfwc.wxPrintData_GetPaperId(self, *_args, **_kwargs)
bb0054cd 57 return val
1d99702e 58 def GetPaperSize(self, *_args, **_kwargs):
1fded56b 59 val = printfwc.wxPrintData_GetPaperSize(self, *_args, **_kwargs)
1d99702e 60 if val: val = wxSizePtr(val)
bb0054cd 61 return val
1d99702e 62 def GetQuality(self, *_args, **_kwargs):
1fded56b 63 val = printfwc.wxPrintData_GetQuality(self, *_args, **_kwargs)
bb0054cd 64 return val
1d99702e 65 def SetNoCopies(self, *_args, **_kwargs):
1fded56b 66 val = printfwc.wxPrintData_SetNoCopies(self, *_args, **_kwargs)
bb0054cd 67 return val
1d99702e 68 def SetCollate(self, *_args, **_kwargs):
1fded56b 69 val = printfwc.wxPrintData_SetCollate(self, *_args, **_kwargs)
bb0054cd 70 return val
1d99702e 71 def SetOrientation(self, *_args, **_kwargs):
1fded56b 72 val = printfwc.wxPrintData_SetOrientation(self, *_args, **_kwargs)
bb0054cd 73 return val
1d99702e 74 def SetPrinterName(self, *_args, **_kwargs):
1fded56b 75 val = printfwc.wxPrintData_SetPrinterName(self, *_args, **_kwargs)
bb0054cd 76 return val
1d99702e 77 def SetColour(self, *_args, **_kwargs):
1fded56b 78 val = printfwc.wxPrintData_SetColour(self, *_args, **_kwargs)
bb0054cd 79 return val
1d99702e 80 def SetDuplex(self, *_args, **_kwargs):
1fded56b 81 val = printfwc.wxPrintData_SetDuplex(self, *_args, **_kwargs)
bb0054cd 82 return val
1d99702e 83 def SetPaperId(self, *_args, **_kwargs):
1fded56b 84 val = printfwc.wxPrintData_SetPaperId(self, *_args, **_kwargs)
bb0054cd 85 return val
1d99702e 86 def SetPaperSize(self, *_args, **_kwargs):
1fded56b 87 val = printfwc.wxPrintData_SetPaperSize(self, *_args, **_kwargs)
bb0054cd 88 return val
1d99702e 89 def SetQuality(self, *_args, **_kwargs):
1fded56b 90 val = printfwc.wxPrintData_SetQuality(self, *_args, **_kwargs)
bb0054cd 91 return val
9e689c06 92 def GetPrinterCommand(self, *_args, **_kwargs):
1fded56b 93 val = printfwc.wxPrintData_GetPrinterCommand(self, *_args, **_kwargs)
9e689c06
RD
94 return val
95 def GetPrinterOptions(self, *_args, **_kwargs):
1fded56b 96 val = printfwc.wxPrintData_GetPrinterOptions(self, *_args, **_kwargs)
9e689c06
RD
97 return val
98 def GetPreviewCommand(self, *_args, **_kwargs):
1fded56b 99 val = printfwc.wxPrintData_GetPreviewCommand(self, *_args, **_kwargs)
9e689c06
RD
100 return val
101 def GetFilename(self, *_args, **_kwargs):
1fded56b 102 val = printfwc.wxPrintData_GetFilename(self, *_args, **_kwargs)
9e689c06
RD
103 return val
104 def GetFontMetricPath(self, *_args, **_kwargs):
1fded56b 105 val = printfwc.wxPrintData_GetFontMetricPath(self, *_args, **_kwargs)
9e689c06
RD
106 return val
107 def GetPrinterScaleX(self, *_args, **_kwargs):
1fded56b 108 val = printfwc.wxPrintData_GetPrinterScaleX(self, *_args, **_kwargs)
9e689c06
RD
109 return val
110 def GetPrinterScaleY(self, *_args, **_kwargs):
1fded56b 111 val = printfwc.wxPrintData_GetPrinterScaleY(self, *_args, **_kwargs)
9e689c06
RD
112 return val
113 def GetPrinterTranslateX(self, *_args, **_kwargs):
1fded56b 114 val = printfwc.wxPrintData_GetPrinterTranslateX(self, *_args, **_kwargs)
9e689c06
RD
115 return val
116 def GetPrinterTranslateY(self, *_args, **_kwargs):
1fded56b 117 val = printfwc.wxPrintData_GetPrinterTranslateY(self, *_args, **_kwargs)
9e689c06
RD
118 return val
119 def GetPrintMode(self, *_args, **_kwargs):
1fded56b 120 val = printfwc.wxPrintData_GetPrintMode(self, *_args, **_kwargs)
9e689c06
RD
121 return val
122 def SetPrinterCommand(self, *_args, **_kwargs):
1fded56b 123 val = printfwc.wxPrintData_SetPrinterCommand(self, *_args, **_kwargs)
9e689c06
RD
124 return val
125 def SetPrinterOptions(self, *_args, **_kwargs):
1fded56b 126 val = printfwc.wxPrintData_SetPrinterOptions(self, *_args, **_kwargs)
9e689c06
RD
127 return val
128 def SetPreviewCommand(self, *_args, **_kwargs):
1fded56b 129 val = printfwc.wxPrintData_SetPreviewCommand(self, *_args, **_kwargs)
9e689c06
RD
130 return val
131 def SetFilename(self, *_args, **_kwargs):
1fded56b 132 val = printfwc.wxPrintData_SetFilename(self, *_args, **_kwargs)
9e689c06
RD
133 return val
134 def SetFontMetricPath(self, *_args, **_kwargs):
1fded56b 135 val = printfwc.wxPrintData_SetFontMetricPath(self, *_args, **_kwargs)
9e689c06
RD
136 return val
137 def SetPrinterScaleX(self, *_args, **_kwargs):
1fded56b 138 val = printfwc.wxPrintData_SetPrinterScaleX(self, *_args, **_kwargs)
9e689c06
RD
139 return val
140 def SetPrinterScaleY(self, *_args, **_kwargs):
1fded56b 141 val = printfwc.wxPrintData_SetPrinterScaleY(self, *_args, **_kwargs)
9e689c06
RD
142 return val
143 def SetPrinterScaling(self, *_args, **_kwargs):
1fded56b 144 val = printfwc.wxPrintData_SetPrinterScaling(self, *_args, **_kwargs)
9e689c06
RD
145 return val
146 def SetPrinterTranslateX(self, *_args, **_kwargs):
1fded56b 147 val = printfwc.wxPrintData_SetPrinterTranslateX(self, *_args, **_kwargs)
9e689c06
RD
148 return val
149 def SetPrinterTranslateY(self, *_args, **_kwargs):
1fded56b 150 val = printfwc.wxPrintData_SetPrinterTranslateY(self, *_args, **_kwargs)
9e689c06
RD
151 return val
152 def SetPrinterTranslation(self, *_args, **_kwargs):
1fded56b 153 val = printfwc.wxPrintData_SetPrinterTranslation(self, *_args, **_kwargs)
9e689c06
RD
154 return val
155 def SetPrintMode(self, *_args, **_kwargs):
1fded56b 156 val = printfwc.wxPrintData_SetPrintMode(self, *_args, **_kwargs)
9e689c06 157 return val
bb0054cd 158 def __repr__(self):
1fded56b
RD
159 return "<%s.%s instance; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
160 def __nonzero__(self): return self.Ok()
bb0054cd 161class wxPrintData(wxPrintDataPtr):
1d99702e 162 def __init__(self,*_args,**_kwargs):
1fded56b 163 self.this = printfwc.new_wxPrintData(*_args,**_kwargs)
bb0054cd
RD
164 self.thisown = 1
165
166
167
168
56456d9f
RD
169class wxPostScriptDCPtr(wxDCPtr):
170 def __init__(self,this):
171 self.this = this
172 self.thisown = 0
173 def GetPrintData(self, *_args, **_kwargs):
1fded56b 174 val = printfwc.wxPostScriptDC_GetPrintData(self, *_args, **_kwargs)
56456d9f
RD
175 if val: val = wxPrintDataPtr(val)
176 return val
177 def SetPrintData(self, *_args, **_kwargs):
1fded56b 178 val = printfwc.wxPostScriptDC_SetPrintData(self, *_args, **_kwargs)
56456d9f
RD
179 return val
180 def __repr__(self):
1fded56b 181 return "<%s.%s instance; proxy of C++ wxPostScriptDC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
56456d9f
RD
182class wxPostScriptDC(wxPostScriptDCPtr):
183 def __init__(self,*_args,**_kwargs):
1fded56b 184 self.this = printfwc.new_wxPostScriptDC(*_args,**_kwargs)
56456d9f
RD
185 self.thisown = 1
186
187
188
56456d9f 189
9df61a29 190class wxPageSetupDialogDataPtr(wxObjectPtr):
bb0054cd
RD
191 def __init__(self,this):
192 self.this = this
193 self.thisown = 0
b67a9327
RD
194 def __del__(self, delfunc=printfwc.delete_wxPageSetupDialogData):
195 if self.thisown == 1:
196 try:
197 delfunc(self)
198 except:
199 pass
1d99702e 200 def EnableHelp(self, *_args, **_kwargs):
1fded56b 201 val = printfwc.wxPageSetupDialogData_EnableHelp(self, *_args, **_kwargs)
bb0054cd 202 return val
1d99702e 203 def EnableMargins(self, *_args, **_kwargs):
1fded56b 204 val = printfwc.wxPageSetupDialogData_EnableMargins(self, *_args, **_kwargs)
bb0054cd 205 return val
1d99702e 206 def EnableOrientation(self, *_args, **_kwargs):
1fded56b 207 val = printfwc.wxPageSetupDialogData_EnableOrientation(self, *_args, **_kwargs)
bb0054cd 208 return val
1d99702e 209 def EnablePaper(self, *_args, **_kwargs):
1fded56b 210 val = printfwc.wxPageSetupDialogData_EnablePaper(self, *_args, **_kwargs)
bb0054cd 211 return val
1d99702e 212 def EnablePrinter(self, *_args, **_kwargs):
1fded56b 213 val = printfwc.wxPageSetupDialogData_EnablePrinter(self, *_args, **_kwargs)
bb0054cd 214 return val
1d99702e 215 def GetDefaultMinMargins(self, *_args, **_kwargs):
1fded56b 216 val = printfwc.wxPageSetupDialogData_GetDefaultMinMargins(self, *_args, **_kwargs)
bb0054cd 217 return val
1d99702e 218 def GetEnableMargins(self, *_args, **_kwargs):
1fded56b 219 val = printfwc.wxPageSetupDialogData_GetEnableMargins(self, *_args, **_kwargs)
bb0054cd 220 return val
1d99702e 221 def GetEnableOrientation(self, *_args, **_kwargs):
1fded56b 222 val = printfwc.wxPageSetupDialogData_GetEnableOrientation(self, *_args, **_kwargs)
bb0054cd 223 return val
1d99702e 224 def GetEnablePaper(self, *_args, **_kwargs):
1fded56b 225 val = printfwc.wxPageSetupDialogData_GetEnablePaper(self, *_args, **_kwargs)
bb0054cd 226 return val
1d99702e 227 def GetEnablePrinter(self, *_args, **_kwargs):
1fded56b 228 val = printfwc.wxPageSetupDialogData_GetEnablePrinter(self, *_args, **_kwargs)
bb0054cd 229 return val
1d99702e 230 def GetEnableHelp(self, *_args, **_kwargs):
1fded56b 231 val = printfwc.wxPageSetupDialogData_GetEnableHelp(self, *_args, **_kwargs)
bb0054cd 232 return val
1d99702e 233 def GetDefaultInfo(self, *_args, **_kwargs):
1fded56b 234 val = printfwc.wxPageSetupDialogData_GetDefaultInfo(self, *_args, **_kwargs)
bb0054cd 235 return val
1d99702e 236 def GetMarginTopLeft(self, *_args, **_kwargs):
1fded56b 237 val = printfwc.wxPageSetupDialogData_GetMarginTopLeft(self, *_args, **_kwargs)
1d99702e 238 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 239 return val
1d99702e 240 def GetMarginBottomRight(self, *_args, **_kwargs):
1fded56b 241 val = printfwc.wxPageSetupDialogData_GetMarginBottomRight(self, *_args, **_kwargs)
1d99702e 242 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 243 return val
1d99702e 244 def GetMinMarginTopLeft(self, *_args, **_kwargs):
1fded56b 245 val = printfwc.wxPageSetupDialogData_GetMinMarginTopLeft(self, *_args, **_kwargs)
1d99702e 246 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 247 return val
1d99702e 248 def GetMinMarginBottomRight(self, *_args, **_kwargs):
1fded56b 249 val = printfwc.wxPageSetupDialogData_GetMinMarginBottomRight(self, *_args, **_kwargs)
1d99702e 250 if val: val = wxPointPtr(val) ; val.thisown = 1
bb0054cd 251 return val
1d99702e 252 def GetPaperId(self, *_args, **_kwargs):
1fded56b 253 val = printfwc.wxPageSetupDialogData_GetPaperId(self, *_args, **_kwargs)
bb0054cd 254 return val
1d99702e 255 def GetPaperSize(self, *_args, **_kwargs):
1fded56b 256 val = printfwc.wxPageSetupDialogData_GetPaperSize(self, *_args, **_kwargs)
1d99702e 257 if val: val = wxSizePtr(val) ; val.thisown = 1
bb0054cd 258 return val
1d99702e 259 def GetPrintData(self, *_args, **_kwargs):
1fded56b 260 val = printfwc.wxPageSetupDialogData_GetPrintData(self, *_args, **_kwargs)
1d99702e 261 if val: val = wxPrintDataPtr(val) ; val.thisown = 1
bb0054cd 262 return val
12d1116b 263 def Ok(self, *_args, **_kwargs):
1fded56b 264 val = printfwc.wxPageSetupDialogData_Ok(self, *_args, **_kwargs)
12d1116b 265 return val
1d99702e 266 def SetDefaultInfo(self, *_args, **_kwargs):
1fded56b 267 val = printfwc.wxPageSetupDialogData_SetDefaultInfo(self, *_args, **_kwargs)
bb0054cd 268 return val
1d99702e 269 def SetDefaultMinMargins(self, *_args, **_kwargs):
1fded56b 270 val = printfwc.wxPageSetupDialogData_SetDefaultMinMargins(self, *_args, **_kwargs)
bb0054cd 271 return val
1d99702e 272 def SetMarginTopLeft(self, *_args, **_kwargs):
1fded56b 273 val = printfwc.wxPageSetupDialogData_SetMarginTopLeft(self, *_args, **_kwargs)
bb0054cd 274 return val
1d99702e 275 def SetMarginBottomRight(self, *_args, **_kwargs):
1fded56b 276 val = printfwc.wxPageSetupDialogData_SetMarginBottomRight(self, *_args, **_kwargs)
bb0054cd 277 return val
1d99702e 278 def SetMinMarginTopLeft(self, *_args, **_kwargs):
1fded56b 279 val = printfwc.wxPageSetupDialogData_SetMinMarginTopLeft(self, *_args, **_kwargs)
bb0054cd 280 return val
1d99702e 281 def SetMinMarginBottomRight(self, *_args, **_kwargs):
1fded56b 282 val = printfwc.wxPageSetupDialogData_SetMinMarginBottomRight(self, *_args, **_kwargs)
bb0054cd 283 return val
1d99702e 284 def SetPaperId(self, *_args, **_kwargs):
1fded56b 285 val = printfwc.wxPageSetupDialogData_SetPaperId(self, *_args, **_kwargs)
bb0054cd 286 return val
1d99702e 287 def SetPaperSize(self, *_args, **_kwargs):
1fded56b 288 val = printfwc.wxPageSetupDialogData_SetPaperSize(self, *_args, **_kwargs)
bb0054cd 289 return val
1d99702e 290 def SetPrintData(self, *_args, **_kwargs):
1fded56b 291 val = printfwc.wxPageSetupDialogData_SetPrintData(self, *_args, **_kwargs)
bb0054cd
RD
292 return val
293 def __repr__(self):
1fded56b
RD
294 return "<%s.%s instance; proxy of C++ wxPageSetupDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
295 def __nonzero__(self): return self.Ok()
bb0054cd 296class wxPageSetupDialogData(wxPageSetupDialogDataPtr):
1d99702e 297 def __init__(self,*_args,**_kwargs):
1fded56b 298 self.this = printfwc.new_wxPageSetupDialogData(*_args,**_kwargs)
bb0054cd
RD
299 self.thisown = 1
300
301
302
303
304class wxPageSetupDialogPtr(wxDialogPtr):
305 def __init__(self,this):
306 self.this = this
307 self.thisown = 0
1d99702e 308 def GetPageSetupData(self, *_args, **_kwargs):
1fded56b 309 val = printfwc.wxPageSetupDialog_GetPageSetupData(self, *_args, **_kwargs)
1d99702e 310 if val: val = wxPageSetupDialogDataPtr(val)
bb0054cd 311 return val
1d99702e 312 def ShowModal(self, *_args, **_kwargs):
1fded56b 313 val = printfwc.wxPageSetupDialog_ShowModal(self, *_args, **_kwargs)
bb0054cd
RD
314 return val
315 def __repr__(self):
1fded56b 316 return "<%s.%s instance; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 317class wxPageSetupDialog(wxPageSetupDialogPtr):
1d99702e 318 def __init__(self,*_args,**_kwargs):
1fded56b 319 self.this = printfwc.new_wxPageSetupDialog(*_args,**_kwargs)
bb0054cd 320 self.thisown = 1
f6bcfd97 321 #wx._StdDialogCallbacks(self)
bb0054cd
RD
322
323
324
325
9df61a29 326class wxPrintDialogDataPtr(wxObjectPtr):
bb0054cd
RD
327 def __init__(self,this):
328 self.this = this
329 self.thisown = 0
b67a9327
RD
330 def __del__(self, delfunc=printfwc.delete_wxPrintDialogData):
331 if self.thisown == 1:
332 try:
333 delfunc(self)
334 except:
335 pass
1fded56b
RD
336 def GetFromPage(self, *_args, **_kwargs):
337 val = printfwc.wxPrintDialogData_GetFromPage(self, *_args, **_kwargs)
bb0054cd 338 return val
1fded56b
RD
339 def GetToPage(self, *_args, **_kwargs):
340 val = printfwc.wxPrintDialogData_GetToPage(self, *_args, **_kwargs)
bb0054cd 341 return val
1fded56b
RD
342 def GetMinPage(self, *_args, **_kwargs):
343 val = printfwc.wxPrintDialogData_GetMinPage(self, *_args, **_kwargs)
bb0054cd 344 return val
1fded56b
RD
345 def GetMaxPage(self, *_args, **_kwargs):
346 val = printfwc.wxPrintDialogData_GetMaxPage(self, *_args, **_kwargs)
347 return val
348 def GetNoCopies(self, *_args, **_kwargs):
349 val = printfwc.wxPrintDialogData_GetNoCopies(self, *_args, **_kwargs)
bb0054cd 350 return val
1d99702e 351 def GetAllPages(self, *_args, **_kwargs):
1fded56b
RD
352 val = printfwc.wxPrintDialogData_GetAllPages(self, *_args, **_kwargs)
353 return val
354 def GetSelection(self, *_args, **_kwargs):
355 val = printfwc.wxPrintDialogData_GetSelection(self, *_args, **_kwargs)
bb0054cd 356 return val
1d99702e 357 def GetCollate(self, *_args, **_kwargs):
1fded56b 358 val = printfwc.wxPrintDialogData_GetCollate(self, *_args, **_kwargs)
bb0054cd 359 return val
1fded56b
RD
360 def GetPrintToFile(self, *_args, **_kwargs):
361 val = printfwc.wxPrintDialogData_GetPrintToFile(self, *_args, **_kwargs)
bb0054cd 362 return val
1fded56b
RD
363 def GetSetupDialog(self, *_args, **_kwargs):
364 val = printfwc.wxPrintDialogData_GetSetupDialog(self, *_args, **_kwargs)
bb0054cd 365 return val
1fded56b
RD
366 def SetFromPage(self, *_args, **_kwargs):
367 val = printfwc.wxPrintDialogData_SetFromPage(self, *_args, **_kwargs)
bb0054cd 368 return val
1fded56b
RD
369 def SetToPage(self, *_args, **_kwargs):
370 val = printfwc.wxPrintDialogData_SetToPage(self, *_args, **_kwargs)
bb0054cd 371 return val
1fded56b
RD
372 def SetMinPage(self, *_args, **_kwargs):
373 val = printfwc.wxPrintDialogData_SetMinPage(self, *_args, **_kwargs)
bb0054cd 374 return val
1fded56b
RD
375 def SetMaxPage(self, *_args, **_kwargs):
376 val = printfwc.wxPrintDialogData_SetMaxPage(self, *_args, **_kwargs)
bb0054cd 377 return val
1fded56b
RD
378 def SetNoCopies(self, *_args, **_kwargs):
379 val = printfwc.wxPrintDialogData_SetNoCopies(self, *_args, **_kwargs)
bb0054cd 380 return val
1fded56b
RD
381 def SetAllPages(self, *_args, **_kwargs):
382 val = printfwc.wxPrintDialogData_SetAllPages(self, *_args, **_kwargs)
383 return val
384 def SetSelection(self, *_args, **_kwargs):
385 val = printfwc.wxPrintDialogData_SetSelection(self, *_args, **_kwargs)
12d1116b 386 return val
1d99702e 387 def SetCollate(self, *_args, **_kwargs):
1fded56b 388 val = printfwc.wxPrintDialogData_SetCollate(self, *_args, **_kwargs)
bb0054cd 389 return val
1fded56b
RD
390 def SetPrintToFile(self, *_args, **_kwargs):
391 val = printfwc.wxPrintDialogData_SetPrintToFile(self, *_args, **_kwargs)
bb0054cd 392 return val
1fded56b
RD
393 def SetSetupDialog(self, *_args, **_kwargs):
394 val = printfwc.wxPrintDialogData_SetSetupDialog(self, *_args, **_kwargs)
bb0054cd 395 return val
1fded56b
RD
396 def EnablePrintToFile(self, *_args, **_kwargs):
397 val = printfwc.wxPrintDialogData_EnablePrintToFile(self, *_args, **_kwargs)
bb0054cd 398 return val
1fded56b
RD
399 def EnableSelection(self, *_args, **_kwargs):
400 val = printfwc.wxPrintDialogData_EnableSelection(self, *_args, **_kwargs)
bb0054cd 401 return val
1fded56b
RD
402 def EnablePageNumbers(self, *_args, **_kwargs):
403 val = printfwc.wxPrintDialogData_EnablePageNumbers(self, *_args, **_kwargs)
bb0054cd 404 return val
1fded56b
RD
405 def EnableHelp(self, *_args, **_kwargs):
406 val = printfwc.wxPrintDialogData_EnableHelp(self, *_args, **_kwargs)
bb0054cd 407 return val
1fded56b
RD
408 def GetEnablePrintToFile(self, *_args, **_kwargs):
409 val = printfwc.wxPrintDialogData_GetEnablePrintToFile(self, *_args, **_kwargs)
bb0054cd 410 return val
1fded56b
RD
411 def GetEnableSelection(self, *_args, **_kwargs):
412 val = printfwc.wxPrintDialogData_GetEnableSelection(self, *_args, **_kwargs)
413 return val
414 def GetEnablePageNumbers(self, *_args, **_kwargs):
415 val = printfwc.wxPrintDialogData_GetEnablePageNumbers(self, *_args, **_kwargs)
416 return val
417 def GetEnableHelp(self, *_args, **_kwargs):
418 val = printfwc.wxPrintDialogData_GetEnableHelp(self, *_args, **_kwargs)
419 return val
420 def Ok(self, *_args, **_kwargs):
421 val = printfwc.wxPrintDialogData_Ok(self, *_args, **_kwargs)
422 return val
423 def GetPrintData(self, *_args, **_kwargs):
424 val = printfwc.wxPrintDialogData_GetPrintData(self, *_args, **_kwargs)
425 if val: val = wxPrintDataPtr(val) ; val.thisown = 1
426 return val
427 def SetPrintData(self, *_args, **_kwargs):
428 val = printfwc.wxPrintDialogData_SetPrintData(self, *_args, **_kwargs)
bb0054cd
RD
429 return val
430 def __repr__(self):
1fded56b
RD
431 return "<%s.%s instance; proxy of C++ wxPrintDialogData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
432 def __nonzero__(self): return self.Ok()
bb0054cd 433class wxPrintDialogData(wxPrintDialogDataPtr):
1d99702e 434 def __init__(self,*_args,**_kwargs):
1fded56b 435 self.this = printfwc.new_wxPrintDialogData(*_args,**_kwargs)
bb0054cd
RD
436 self.thisown = 1
437
438
439
440
441class wxPrintDialogPtr(wxDialogPtr):
442 def __init__(self,this):
443 self.this = this
444 self.thisown = 0
1d99702e 445 def GetPrintDialogData(self, *_args, **_kwargs):
1fded56b 446 val = printfwc.wxPrintDialog_GetPrintDialogData(self, *_args, **_kwargs)
1d99702e 447 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 448 return val
1d99702e 449 def GetPrintDC(self, *_args, **_kwargs):
1fded56b 450 val = printfwc.wxPrintDialog_GetPrintDC(self, *_args, **_kwargs)
bb0054cd 451 return val
1d99702e 452 def ShowModal(self, *_args, **_kwargs):
1fded56b 453 val = printfwc.wxPrintDialog_ShowModal(self, *_args, **_kwargs)
bb0054cd
RD
454 return val
455 def __repr__(self):
1fded56b 456 return "<%s.%s instance; proxy of C++ wxPrintDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 457class wxPrintDialog(wxPrintDialogPtr):
1d99702e 458 def __init__(self,*_args,**_kwargs):
1fded56b 459 self.this = printfwc.new_wxPrintDialog(*_args,**_kwargs)
bb0054cd 460 self.thisown = 1
bb0054cd
RD
461
462
463
464
9df61a29 465class wxPrintoutPtr(wxObjectPtr):
bb0054cd
RD
466 def __init__(self,this):
467 self.this = this
468 self.thisown = 0
0220cbc1 469 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 470 val = printfwc.wxPrintout__setCallbackInfo(self, *_args, **_kwargs)
bb0054cd 471 return val
1d99702e 472 def Destroy(self, *_args, **_kwargs):
1fded56b 473 val = printfwc.wxPrintout_Destroy(self, *_args, **_kwargs)
bb0054cd 474 return val
1d99702e 475 def GetDC(self, *_args, **_kwargs):
1fded56b 476 val = printfwc.wxPrintout_GetDC(self, *_args, **_kwargs)
bb0054cd 477 return val
1d99702e 478 def GetPageSizeMM(self, *_args, **_kwargs):
1fded56b 479 val = printfwc.wxPrintout_GetPageSizeMM(self, *_args, **_kwargs)
bb0054cd 480 return val
1d99702e 481 def GetPageSizePixels(self, *_args, **_kwargs):
1fded56b 482 val = printfwc.wxPrintout_GetPageSizePixels(self, *_args, **_kwargs)
bb0054cd 483 return val
1d99702e 484 def GetPPIPrinter(self, *_args, **_kwargs):
1fded56b 485 val = printfwc.wxPrintout_GetPPIPrinter(self, *_args, **_kwargs)
bb0054cd 486 return val
1d99702e 487 def GetPPIScreen(self, *_args, **_kwargs):
1fded56b 488 val = printfwc.wxPrintout_GetPPIScreen(self, *_args, **_kwargs)
bb0054cd 489 return val
1d99702e 490 def IsPreview(self, *_args, **_kwargs):
1fded56b 491 val = printfwc.wxPrintout_IsPreview(self, *_args, **_kwargs)
bb0054cd 492 return val
1d99702e 493 def base_OnBeginDocument(self, *_args, **_kwargs):
1fded56b 494 val = printfwc.wxPrintout_base_OnBeginDocument(self, *_args, **_kwargs)
bb0054cd 495 return val
1d99702e 496 def base_OnEndDocument(self, *_args, **_kwargs):
1fded56b 497 val = printfwc.wxPrintout_base_OnEndDocument(self, *_args, **_kwargs)
bb0054cd 498 return val
1d99702e 499 def base_OnBeginPrinting(self, *_args, **_kwargs):
1fded56b 500 val = printfwc.wxPrintout_base_OnBeginPrinting(self, *_args, **_kwargs)
bb0054cd 501 return val
1d99702e 502 def base_OnEndPrinting(self, *_args, **_kwargs):
1fded56b 503 val = printfwc.wxPrintout_base_OnEndPrinting(self, *_args, **_kwargs)
bb0054cd 504 return val
1d99702e 505 def base_OnPreparePrinting(self, *_args, **_kwargs):
1fded56b 506 val = printfwc.wxPrintout_base_OnPreparePrinting(self, *_args, **_kwargs)
bb0054cd 507 return val
1d99702e 508 def base_GetPageInfo(self, *_args, **_kwargs):
1fded56b 509 val = printfwc.wxPrintout_base_GetPageInfo(self, *_args, **_kwargs)
bb0054cd 510 return val
1d99702e 511 def base_HasPage(self, *_args, **_kwargs):
1fded56b 512 val = printfwc.wxPrintout_base_HasPage(self, *_args, **_kwargs)
bb0054cd
RD
513 return val
514 def __repr__(self):
1fded56b 515 return "<%s.%s instance; proxy of C++ wxPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 516class wxPrintout(wxPrintoutPtr):
1d99702e 517 def __init__(self,*_args,**_kwargs):
1fded56b 518 self.this = printfwc.new_wxPrintout(*_args,**_kwargs)
bb0054cd 519 self.thisown = 1
0220cbc1 520 self._setCallbackInfo(self, wxPrintout)
bb0054cd
RD
521
522
523
524
9df61a29 525class wxPrinterPtr(wxObjectPtr):
bb0054cd
RD
526 def __init__(self,this):
527 self.this = this
528 self.thisown = 0
b67a9327
RD
529 def __del__(self, delfunc=printfwc.delete_wxPrinter):
530 if self.thisown == 1:
531 try:
532 delfunc(self)
533 except:
534 pass
1d99702e 535 def CreateAbortWindow(self, *_args, **_kwargs):
1fded56b 536 val = printfwc.wxPrinter_CreateAbortWindow(self, *_args, **_kwargs)
bb0054cd 537 return val
1d99702e 538 def GetPrintDialogData(self, *_args, **_kwargs):
1fded56b 539 val = printfwc.wxPrinter_GetPrintDialogData(self, *_args, **_kwargs)
1d99702e 540 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 541 return val
1d99702e 542 def Print(self, *_args, **_kwargs):
1fded56b 543 val = printfwc.wxPrinter_Print(self, *_args, **_kwargs)
bb0054cd 544 return val
1d99702e 545 def PrintDialog(self, *_args, **_kwargs):
1fded56b 546 val = printfwc.wxPrinter_PrintDialog(self, *_args, **_kwargs)
bb0054cd 547 return val
1d99702e 548 def ReportError(self, *_args, **_kwargs):
1fded56b 549 val = printfwc.wxPrinter_ReportError(self, *_args, **_kwargs)
bb0054cd 550 return val
1d99702e 551 def Setup(self, *_args, **_kwargs):
1fded56b
RD
552 val = printfwc.wxPrinter_Setup(self, *_args, **_kwargs)
553 return val
554 def GetAbort(self, *_args, **_kwargs):
555 val = printfwc.wxPrinter_GetAbort(self, *_args, **_kwargs)
bb0054cd
RD
556 return val
557 def __repr__(self):
1fded56b 558 return "<%s.%s instance; proxy of C++ wxPrinter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 559class wxPrinter(wxPrinterPtr):
1d99702e 560 def __init__(self,*_args,**_kwargs):
1fded56b
RD
561 self.this = printfwc.new_wxPrinter(*_args,**_kwargs)
562 self.thisown = 1
563
564
565
566
567class wxPrintAbortDialogPtr(wxDialogPtr):
568 def __init__(self,this):
569 self.this = this
570 self.thisown = 0
571 def __repr__(self):
572 return "<%s.%s instance; proxy of C++ wxPrintAbortDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
573class wxPrintAbortDialog(wxPrintAbortDialogPtr):
574 def __init__(self,*_args,**_kwargs):
575 self.this = printfwc.new_wxPrintAbortDialog(*_args,**_kwargs)
bb0054cd
RD
576 self.thisown = 1
577
578
579
580
9df61a29 581class wxPrintPreviewPtr(wxObjectPtr):
bb0054cd
RD
582 def __init__(self,this):
583 self.this = this
584 self.thisown = 0
1fded56b
RD
585 def SetCurrentPage(self, *_args, **_kwargs):
586 val = printfwc.wxPrintPreview_SetCurrentPage(self, *_args, **_kwargs)
bb0054cd 587 return val
1d99702e 588 def GetCurrentPage(self, *_args, **_kwargs):
1fded56b
RD
589 val = printfwc.wxPrintPreview_GetCurrentPage(self, *_args, **_kwargs)
590 return val
591 def SetPrintout(self, *_args, **_kwargs):
592 val = printfwc.wxPrintPreview_SetPrintout(self, *_args, **_kwargs)
593 return val
594 def GetPrintout(self, *_args, **_kwargs):
595 val = printfwc.wxPrintPreview_GetPrintout(self, *_args, **_kwargs)
596 return val
597 def GetPrintoutForPrinting(self, *_args, **_kwargs):
598 val = printfwc.wxPrintPreview_GetPrintoutForPrinting(self, *_args, **_kwargs)
599 return val
600 def SetFrame(self, *_args, **_kwargs):
601 val = printfwc.wxPrintPreview_SetFrame(self, *_args, **_kwargs)
602 return val
603 def SetCanvas(self, *_args, **_kwargs):
604 val = printfwc.wxPrintPreview_SetCanvas(self, *_args, **_kwargs)
bb0054cd 605 return val
1d99702e 606 def GetFrame(self, *_args, **_kwargs):
1fded56b 607 val = printfwc.wxPrintPreview_GetFrame(self, *_args, **_kwargs)
bb0054cd 608 return val
1fded56b
RD
609 def GetCanvas(self, *_args, **_kwargs):
610 val = printfwc.wxPrintPreview_GetCanvas(self, *_args, **_kwargs)
7a505861 611 if val: val = wxPreviewCanvasPtr(val)
bb0054cd 612 return val
1fded56b
RD
613 def PaintPage(self, *_args, **_kwargs):
614 val = printfwc.wxPrintPreview_PaintPage(self, *_args, **_kwargs)
615 return val
616 def DrawBlankPage(self, *_args, **_kwargs):
617 val = printfwc.wxPrintPreview_DrawBlankPage(self, *_args, **_kwargs)
618 return val
619 def RenderPage(self, *_args, **_kwargs):
620 val = printfwc.wxPrintPreview_RenderPage(self, *_args, **_kwargs)
bb0054cd 621 return val
7a505861
RD
622 def AdjustScrollbars(self, *_args, **_kwargs):
623 val = printfwc.wxPrintPreview_AdjustScrollbars(self, *_args, **_kwargs)
624 return val
1d99702e 625 def GetPrintDialogData(self, *_args, **_kwargs):
1fded56b 626 val = printfwc.wxPrintPreview_GetPrintDialogData(self, *_args, **_kwargs)
1d99702e 627 if val: val = wxPrintDialogDataPtr(val)
bb0054cd 628 return val
1fded56b
RD
629 def SetZoom(self, *_args, **_kwargs):
630 val = printfwc.wxPrintPreview_SetZoom(self, *_args, **_kwargs)
bb0054cd 631 return val
1d99702e 632 def GetZoom(self, *_args, **_kwargs):
1fded56b 633 val = printfwc.wxPrintPreview_GetZoom(self, *_args, **_kwargs)
bb0054cd 634 return val
1fded56b
RD
635 def GetMaxPage(self, *_args, **_kwargs):
636 val = printfwc.wxPrintPreview_GetMaxPage(self, *_args, **_kwargs)
bb0054cd 637 return val
1fded56b
RD
638 def GetMinPage(self, *_args, **_kwargs):
639 val = printfwc.wxPrintPreview_GetMinPage(self, *_args, **_kwargs)
bb0054cd 640 return val
1fded56b
RD
641 def Ok(self, *_args, **_kwargs):
642 val = printfwc.wxPrintPreview_Ok(self, *_args, **_kwargs)
bb0054cd 643 return val
1fded56b
RD
644 def SetOk(self, *_args, **_kwargs):
645 val = printfwc.wxPrintPreview_SetOk(self, *_args, **_kwargs)
bb0054cd 646 return val
1fded56b
RD
647 def Print(self, *_args, **_kwargs):
648 val = printfwc.wxPrintPreview_Print(self, *_args, **_kwargs)
bb0054cd 649 return val
1fded56b
RD
650 def DetermineScaling(self, *_args, **_kwargs):
651 val = printfwc.wxPrintPreview_DetermineScaling(self, *_args, **_kwargs)
bb0054cd
RD
652 return val
653 def __repr__(self):
1fded56b
RD
654 return "<%s.%s instance; proxy of C++ wxPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
655 def __nonzero__(self): return self.Ok()
bb0054cd 656class wxPrintPreview(wxPrintPreviewPtr):
1d99702e 657 def __init__(self,*_args,**_kwargs):
1fded56b 658 self.this = printfwc.new_wxPrintPreview(*_args,**_kwargs)
bb0054cd
RD
659 self.thisown = 1
660
661
662
663
664class wxPreviewFramePtr(wxFramePtr):
665 def __init__(self,this):
666 self.this = this
667 self.thisown = 0
1d99702e 668 def Initialize(self, *_args, **_kwargs):
1fded56b
RD
669 val = printfwc.wxPreviewFrame_Initialize(self, *_args, **_kwargs)
670 return val
671 def CreateControlBar(self, *_args, **_kwargs):
672 val = printfwc.wxPreviewFrame_CreateControlBar(self, *_args, **_kwargs)
673 return val
674 def CreateCanvas(self, *_args, **_kwargs):
675 val = printfwc.wxPreviewFrame_CreateCanvas(self, *_args, **_kwargs)
bb0054cd 676 return val
7a505861
RD
677 def GetControlBar(self, *_args, **_kwargs):
678 val = printfwc.wxPreviewFrame_GetControlBar(self, *_args, **_kwargs)
679 if val: val = wxPreviewControlBarPtr(val)
680 return val
bb0054cd 681 def __repr__(self):
1fded56b 682 return "<%s.%s instance; proxy of C++ wxPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 683class wxPreviewFrame(wxPreviewFramePtr):
1d99702e 684 def __init__(self,*_args,**_kwargs):
1fded56b
RD
685 self.this = printfwc.new_wxPreviewFrame(*_args,**_kwargs)
686 self.thisown = 1
687 self._setOORInfo(self)
688
689
690
691
692class wxPreviewCanvasPtr(wxScrolledWindowPtr):
693 def __init__(self,this):
694 self.this = this
695 self.thisown = 0
696 def __repr__(self):
697 return "<%s.%s instance; proxy of C++ wxPreviewCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
698class wxPreviewCanvas(wxPreviewCanvasPtr):
699 def __init__(self,*_args,**_kwargs):
700 self.this = printfwc.new_wxPreviewCanvas(*_args,**_kwargs)
701 self.thisown = 1
702 self._setOORInfo(self)
703
704
705
706
707class wxPreviewControlBarPtr(wxPanelPtr):
708 def __init__(self,this):
709 self.this = this
710 self.thisown = 0
711 def GetZoomControl(self, *_args, **_kwargs):
712 val = printfwc.wxPreviewControlBar_GetZoomControl(self, *_args, **_kwargs)
713 return val
714 def SetZoomControl(self, *_args, **_kwargs):
715 val = printfwc.wxPreviewControlBar_SetZoomControl(self, *_args, **_kwargs)
716 return val
717 def GetPrintPreview(self, *_args, **_kwargs):
718 val = printfwc.wxPreviewControlBar_GetPrintPreview(self, *_args, **_kwargs)
719 if val: val = wxPrintPreviewPtr(val)
720 return val
721 def OnNext(self, *_args, **_kwargs):
722 val = printfwc.wxPreviewControlBar_OnNext(self, *_args, **_kwargs)
723 return val
724 def OnPrevious(self, *_args, **_kwargs):
725 val = printfwc.wxPreviewControlBar_OnPrevious(self, *_args, **_kwargs)
726 return val
727 def OnFirst(self, *_args, **_kwargs):
728 val = printfwc.wxPreviewControlBar_OnFirst(self, *_args, **_kwargs)
729 return val
730 def OnLast(self, *_args, **_kwargs):
731 val = printfwc.wxPreviewControlBar_OnLast(self, *_args, **_kwargs)
732 return val
733 def OnGoto(self, *_args, **_kwargs):
734 val = printfwc.wxPreviewControlBar_OnGoto(self, *_args, **_kwargs)
735 return val
736 def __repr__(self):
737 return "<%s.%s instance; proxy of C++ wxPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
738class wxPreviewControlBar(wxPreviewControlBarPtr):
739 def __init__(self,*_args,**_kwargs):
740 self.this = printfwc.new_wxPreviewControlBar(*_args,**_kwargs)
741 self.thisown = 1
742 self._setOORInfo(self)
743
744
745
746
747class wxPyPrintPreviewPtr(wxPrintPreviewPtr):
748 def __init__(self,this):
749 self.this = this
750 self.thisown = 0
751 def _setCallbackInfo(self, *_args, **_kwargs):
752 val = printfwc.wxPyPrintPreview__setCallbackInfo(self, *_args, **_kwargs)
753 return val
754 def base_SetCurrentPage(self, *_args, **_kwargs):
755 val = printfwc.wxPyPrintPreview_base_SetCurrentPage(self, *_args, **_kwargs)
756 return val
757 def base_PaintPage(self, *_args, **_kwargs):
758 val = printfwc.wxPyPrintPreview_base_PaintPage(self, *_args, **_kwargs)
759 return val
760 def base_DrawBlankPage(self, *_args, **_kwargs):
761 val = printfwc.wxPyPrintPreview_base_DrawBlankPage(self, *_args, **_kwargs)
762 return val
763 def base_RenderPage(self, *_args, **_kwargs):
764 val = printfwc.wxPyPrintPreview_base_RenderPage(self, *_args, **_kwargs)
765 return val
766 def base_SetZoom(self, *_args, **_kwargs):
767 val = printfwc.wxPyPrintPreview_base_SetZoom(self, *_args, **_kwargs)
768 return val
769 def base_Print(self, *_args, **_kwargs):
770 val = printfwc.wxPyPrintPreview_base_Print(self, *_args, **_kwargs)
771 return val
772 def base_DetermineScaling(self, *_args, **_kwargs):
773 val = printfwc.wxPyPrintPreview_base_DetermineScaling(self, *_args, **_kwargs)
774 return val
775 def __repr__(self):
776 return "<%s.%s instance; proxy of C++ wxPyPrintPreview instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
777class wxPyPrintPreview(wxPyPrintPreviewPtr):
778 def __init__(self,*_args,**_kwargs):
779 self.this = printfwc.new_wxPyPrintPreview(*_args,**_kwargs)
bb0054cd 780 self.thisown = 1
1fded56b
RD
781 self._setCallbackInfo(self, wxPyPrintPreview)
782
783
784
785
786class wxPyPreviewFramePtr(wxPreviewFramePtr):
787 def __init__(self,this):
788 self.this = this
789 self.thisown = 0
790 def _setCallbackInfo(self, *_args, **_kwargs):
791 val = printfwc.wxPyPreviewFrame__setCallbackInfo(self, *_args, **_kwargs)
792 return val
793 def SetPreviewCanvas(self, *_args, **_kwargs):
794 val = printfwc.wxPyPreviewFrame_SetPreviewCanvas(self, *_args, **_kwargs)
795 return val
796 def SetControlBar(self, *_args, **_kwargs):
797 val = printfwc.wxPyPreviewFrame_SetControlBar(self, *_args, **_kwargs)
798 return val
799 def base_Initialize(self, *_args, **_kwargs):
800 val = printfwc.wxPyPreviewFrame_base_Initialize(self, *_args, **_kwargs)
801 return val
802 def base_CreateCanvas(self, *_args, **_kwargs):
803 val = printfwc.wxPyPreviewFrame_base_CreateCanvas(self, *_args, **_kwargs)
804 return val
805 def base_CreateControlBar(self, *_args, **_kwargs):
806 val = printfwc.wxPyPreviewFrame_base_CreateControlBar(self, *_args, **_kwargs)
807 return val
808 def __repr__(self):
809 return "<%s.%s instance; proxy of C++ wxPyPreviewFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
810class wxPyPreviewFrame(wxPyPreviewFramePtr):
811 def __init__(self,*_args,**_kwargs):
812 self.this = printfwc.new_wxPyPreviewFrame(*_args,**_kwargs)
813 self.thisown = 1
814 self._setCallbackInfo(self, wxPyPreviewFrame)
815 self._setOORInfo(self)
816
817
818
819
820class wxPyPreviewControlBarPtr(wxPreviewControlBarPtr):
821 def __init__(self,this):
822 self.this = this
823 self.thisown = 0
824 def _setCallbackInfo(self, *_args, **_kwargs):
825 val = printfwc.wxPyPreviewControlBar__setCallbackInfo(self, *_args, **_kwargs)
826 return val
827 def SetPrintPreview(self, *_args, **_kwargs):
828 val = printfwc.wxPyPreviewControlBar_SetPrintPreview(self, *_args, **_kwargs)
829 return val
830 def base_CreateButtons(self, *_args, **_kwargs):
831 val = printfwc.wxPyPreviewControlBar_base_CreateButtons(self, *_args, **_kwargs)
832 return val
833 def base_SetZoomControl(self, *_args, **_kwargs):
834 val = printfwc.wxPyPreviewControlBar_base_SetZoomControl(self, *_args, **_kwargs)
835 return val
836 def __repr__(self):
837 return "<%s.%s instance; proxy of C++ wxPyPreviewControlBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
838class wxPyPreviewControlBar(wxPyPreviewControlBarPtr):
839 def __init__(self,*_args,**_kwargs):
840 self.this = printfwc.new_wxPyPreviewControlBar(*_args,**_kwargs)
841 self.thisown = 1
842 self._setCallbackInfo(self, wxPyPreviewControlBar)
0220cbc1 843 self._setOORInfo(self)
bb0054cd
RD
844
845
846
847
848
849
850#-------------- FUNCTION WRAPPERS ------------------
851
56456d9f
RD
852wxPostScriptDC_SetResolution = printfwc.wxPostScriptDC_SetResolution
853
854wxPostScriptDC_GetResolution = printfwc.wxPostScriptDC_GetResolution
855
1fded56b
RD
856wxPrinter_GetLastError = printfwc.wxPrinter_GetLastError
857
bb0054cd
RD
858
859
860#-------------- VARIABLE WRAPPERS ------------------
861
1fded56b
RD
862wxPRINT_MODE_NONE = printfwc.wxPRINT_MODE_NONE
863wxPRINT_MODE_PREVIEW = printfwc.wxPRINT_MODE_PREVIEW
864wxPRINT_MODE_FILE = printfwc.wxPRINT_MODE_FILE
865wxPRINT_MODE_PRINTER = printfwc.wxPRINT_MODE_PRINTER
866wxPRINTER_NO_ERROR = printfwc.wxPRINTER_NO_ERROR
867wxPRINTER_CANCELLED = printfwc.wxPRINTER_CANCELLED
868wxPRINTER_ERROR = printfwc.wxPRINTER_ERROR
869wxPREVIEW_PRINT = printfwc.wxPREVIEW_PRINT
870wxPREVIEW_PREVIOUS = printfwc.wxPREVIEW_PREVIOUS
871wxPREVIEW_NEXT = printfwc.wxPREVIEW_NEXT
872wxPREVIEW_ZOOM = printfwc.wxPREVIEW_ZOOM
873wxPREVIEW_FIRST = printfwc.wxPREVIEW_FIRST
874wxPREVIEW_LAST = printfwc.wxPREVIEW_LAST
875wxPREVIEW_GOTO = printfwc.wxPREVIEW_GOTO
876wxPREVIEW_DEFAULT = printfwc.wxPREVIEW_DEFAULT
877wxID_PREVIEW_CLOSE = printfwc.wxID_PREVIEW_CLOSE
878wxID_PREVIEW_NEXT = printfwc.wxID_PREVIEW_NEXT
879wxID_PREVIEW_PREVIOUS = printfwc.wxID_PREVIEW_PREVIOUS
880wxID_PREVIEW_PRINT = printfwc.wxID_PREVIEW_PRINT
881wxID_PREVIEW_ZOOM = printfwc.wxID_PREVIEW_ZOOM
882wxID_PREVIEW_FIRST = printfwc.wxID_PREVIEW_FIRST
883wxID_PREVIEW_LAST = printfwc.wxID_PREVIEW_LAST
884wxID_PREVIEW_GOTO = printfwc.wxID_PREVIEW_GOTO