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