]>
Commit | Line | Data |
---|---|---|
325274bb RD |
1 | # This file was created automatically by SWIG. |
2 | import htmlc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from misc2 import * | |
7 | ||
8 | from windows import * | |
9 | ||
10 | from gdi import * | |
11 | ||
a323d3bd RD |
12 | from fonts import * |
13 | ||
b1462dfa RD |
14 | from clip_dnd import * |
15 | ||
325274bb RD |
16 | from events import * |
17 | ||
c368d904 RD |
18 | from streams import * |
19 | ||
08da19d7 RD |
20 | from utils import * |
21 | ||
325274bb RD |
22 | from mdi import * |
23 | ||
24 | from frames import * | |
25 | ||
26 | from stattool import * | |
27 | ||
28 | from controls import * | |
29 | ||
30 | from controls2 import * | |
31 | ||
32 | from windows2 import * | |
33 | ||
34 | from cmndlgs import * | |
35 | ||
36 | from windows3 import * | |
37 | ||
38 | from image import * | |
39 | ||
40 | from printfw import * | |
2f90df85 RD |
41 | |
42 | from sizers import * | |
c368d904 RD |
43 | |
44 | from filesys import * | |
2f90df85 | 45 | import wx |
9df61a29 | 46 | class wxHtmlLinkInfoPtr(wxObjectPtr): |
9c00cfa3 RD |
47 | def __init__(self,this): |
48 | self.this = this | |
49 | self.thisown = 0 | |
50 | def GetHref(self, *_args, **_kwargs): | |
1fded56b | 51 | val = htmlc.wxHtmlLinkInfo_GetHref(self, *_args, **_kwargs) |
9c00cfa3 RD |
52 | return val |
53 | def GetTarget(self, *_args, **_kwargs): | |
1fded56b | 54 | val = htmlc.wxHtmlLinkInfo_GetTarget(self, *_args, **_kwargs) |
9c00cfa3 | 55 | return val |
e02c03a4 | 56 | def GetEvent(self, *_args, **_kwargs): |
1fded56b | 57 | val = htmlc.wxHtmlLinkInfo_GetEvent(self, *_args, **_kwargs) |
e02c03a4 RD |
58 | return val |
59 | def GetHtmlCell(self, *_args, **_kwargs): | |
1fded56b | 60 | val = htmlc.wxHtmlLinkInfo_GetHtmlCell(self, *_args, **_kwargs) |
e02c03a4 RD |
61 | if val: val = wxHtmlCellPtr(val) |
62 | return val | |
7a446686 | 63 | def SetEvent(self, *_args, **_kwargs): |
1fded56b | 64 | val = htmlc.wxHtmlLinkInfo_SetEvent(self, *_args, **_kwargs) |
7a446686 RD |
65 | return val |
66 | def SetHtmlCell(self, *_args, **_kwargs): | |
1fded56b | 67 | val = htmlc.wxHtmlLinkInfo_SetHtmlCell(self, *_args, **_kwargs) |
7a446686 | 68 | return val |
9c00cfa3 | 69 | def __repr__(self): |
1fded56b | 70 | return "<%s.%s instance; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9c00cfa3 RD |
71 | class wxHtmlLinkInfo(wxHtmlLinkInfoPtr): |
72 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 73 | self.this = htmlc.new_wxHtmlLinkInfo(*_args,**_kwargs) |
9c00cfa3 RD |
74 | self.thisown = 1 |
75 | ||
76 | ||
77 | ||
78 | ||
9df61a29 | 79 | class wxHtmlTagPtr(wxObjectPtr): |
0f66a9f3 RD |
80 | def __init__(self,this): |
81 | self.this = this | |
82 | self.thisown = 0 | |
83 | def GetName(self, *_args, **_kwargs): | |
1fded56b | 84 | val = htmlc.wxHtmlTag_GetName(self, *_args, **_kwargs) |
0f66a9f3 RD |
85 | return val |
86 | def HasParam(self, *_args, **_kwargs): | |
1fded56b | 87 | val = htmlc.wxHtmlTag_HasParam(self, *_args, **_kwargs) |
0f66a9f3 RD |
88 | return val |
89 | def GetParam(self, *_args, **_kwargs): | |
1fded56b | 90 | val = htmlc.wxHtmlTag_GetParam(self, *_args, **_kwargs) |
0f66a9f3 RD |
91 | return val |
92 | def GetAllParams(self, *_args, **_kwargs): | |
1fded56b | 93 | val = htmlc.wxHtmlTag_GetAllParams(self, *_args, **_kwargs) |
0f66a9f3 | 94 | return val |
0f66a9f3 | 95 | def HasEnding(self, *_args, **_kwargs): |
1fded56b | 96 | val = htmlc.wxHtmlTag_HasEnding(self, *_args, **_kwargs) |
0f66a9f3 RD |
97 | return val |
98 | def GetBeginPos(self, *_args, **_kwargs): | |
1fded56b | 99 | val = htmlc.wxHtmlTag_GetBeginPos(self, *_args, **_kwargs) |
0f66a9f3 RD |
100 | return val |
101 | def GetEndPos1(self, *_args, **_kwargs): | |
1fded56b | 102 | val = htmlc.wxHtmlTag_GetEndPos1(self, *_args, **_kwargs) |
0f66a9f3 RD |
103 | return val |
104 | def GetEndPos2(self, *_args, **_kwargs): | |
1fded56b | 105 | val = htmlc.wxHtmlTag_GetEndPos2(self, *_args, **_kwargs) |
0f66a9f3 RD |
106 | return val |
107 | def __repr__(self): | |
1fded56b | 108 | return "<%s.%s instance; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0f66a9f3 RD |
109 | class wxHtmlTag(wxHtmlTagPtr): |
110 | def __init__(self,this): | |
111 | self.this = this | |
112 | ||
113 | ||
114 | ||
115 | ||
9df61a29 | 116 | class wxHtmlParserPtr(wxObjectPtr): |
0f66a9f3 RD |
117 | def __init__(self,this): |
118 | self.this = this | |
119 | self.thisown = 0 | |
120 | def SetFS(self, *_args, **_kwargs): | |
1fded56b | 121 | val = htmlc.wxHtmlParser_SetFS(self, *_args, **_kwargs) |
0f66a9f3 RD |
122 | return val |
123 | def GetFS(self, *_args, **_kwargs): | |
1fded56b | 124 | val = htmlc.wxHtmlParser_GetFS(self, *_args, **_kwargs) |
0f66a9f3 RD |
125 | return val |
126 | def Parse(self, *_args, **_kwargs): | |
1fded56b | 127 | val = htmlc.wxHtmlParser_Parse(self, *_args, **_kwargs) |
0f66a9f3 RD |
128 | return val |
129 | def InitParser(self, *_args, **_kwargs): | |
1fded56b | 130 | val = htmlc.wxHtmlParser_InitParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
131 | return val |
132 | def DoneParser(self, *_args, **_kwargs): | |
1fded56b | 133 | val = htmlc.wxHtmlParser_DoneParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
134 | return val |
135 | def DoParsing(self, *_args, **_kwargs): | |
1fded56b | 136 | val = htmlc.wxHtmlParser_DoParsing(self, *_args, **_kwargs) |
0f66a9f3 | 137 | return val |
b67a9327 | 138 | def StopParsing(self, *_args, **_kwargs): |
1fded56b | 139 | val = htmlc.wxHtmlParser_StopParsing(self, *_args, **_kwargs) |
b67a9327 | 140 | return val |
0f66a9f3 | 141 | def AddTagHandler(self, *_args, **_kwargs): |
1fded56b | 142 | val = htmlc.wxHtmlParser_AddTagHandler(self, *_args, **_kwargs) |
0f66a9f3 RD |
143 | return val |
144 | def GetSource(self, *_args, **_kwargs): | |
1fded56b | 145 | val = htmlc.wxHtmlParser_GetSource(self, *_args, **_kwargs) |
0f66a9f3 | 146 | return val |
dc2f8a65 | 147 | def PushTagHandler(self, *_args, **_kwargs): |
1fded56b | 148 | val = htmlc.wxHtmlParser_PushTagHandler(self, *_args, **_kwargs) |
dc2f8a65 RD |
149 | return val |
150 | def PopTagHandler(self, *_args, **_kwargs): | |
1fded56b | 151 | val = htmlc.wxHtmlParser_PopTagHandler(self, *_args, **_kwargs) |
dc2f8a65 | 152 | return val |
0f66a9f3 | 153 | def __repr__(self): |
1fded56b | 154 | return "<%s.%s instance; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0f66a9f3 RD |
155 | class wxHtmlParser(wxHtmlParserPtr): |
156 | def __init__(self,this): | |
157 | self.this = this | |
158 | ||
159 | ||
160 | ||
161 | ||
162 | class wxHtmlWinParserPtr(wxHtmlParserPtr): | |
163 | def __init__(self,this): | |
164 | self.this = this | |
165 | self.thisown = 0 | |
166 | def SetDC(self, *_args, **_kwargs): | |
1fded56b | 167 | val = htmlc.wxHtmlWinParser_SetDC(self, *_args, **_kwargs) |
0f66a9f3 RD |
168 | return val |
169 | def GetDC(self, *_args, **_kwargs): | |
1fded56b | 170 | val = htmlc.wxHtmlWinParser_GetDC(self, *_args, **_kwargs) |
0f66a9f3 RD |
171 | return val |
172 | def GetCharHeight(self, *_args, **_kwargs): | |
1fded56b | 173 | val = htmlc.wxHtmlWinParser_GetCharHeight(self, *_args, **_kwargs) |
0f66a9f3 RD |
174 | return val |
175 | def GetCharWidth(self, *_args, **_kwargs): | |
1fded56b | 176 | val = htmlc.wxHtmlWinParser_GetCharWidth(self, *_args, **_kwargs) |
0f66a9f3 RD |
177 | return val |
178 | def GetWindow(self, *_args, **_kwargs): | |
1fded56b | 179 | val = htmlc.wxHtmlWinParser_GetWindow(self, *_args, **_kwargs) |
0f66a9f3 RD |
180 | return val |
181 | def SetFonts(self, *_args, **_kwargs): | |
1fded56b | 182 | val = htmlc.wxHtmlWinParser_SetFonts(self, *_args, **_kwargs) |
0f66a9f3 RD |
183 | return val |
184 | def GetContainer(self, *_args, **_kwargs): | |
1fded56b | 185 | val = htmlc.wxHtmlWinParser_GetContainer(self, *_args, **_kwargs) |
e166644c | 186 | if val: val = wxHtmlContainerCellPtr(val) |
0f66a9f3 RD |
187 | return val |
188 | def OpenContainer(self, *_args, **_kwargs): | |
1fded56b | 189 | val = htmlc.wxHtmlWinParser_OpenContainer(self, *_args, **_kwargs) |
e166644c | 190 | if val: val = wxHtmlContainerCellPtr(val) |
0f66a9f3 | 191 | return val |
dc2f8a65 | 192 | def SetContainer(self, *_args, **_kwargs): |
1fded56b | 193 | val = htmlc.wxHtmlWinParser_SetContainer(self, *_args, **_kwargs) |
dc2f8a65 RD |
194 | if val: val = wxHtmlContainerCellPtr(val) |
195 | return val | |
0f66a9f3 | 196 | def CloseContainer(self, *_args, **_kwargs): |
1fded56b | 197 | val = htmlc.wxHtmlWinParser_CloseContainer(self, *_args, **_kwargs) |
e166644c | 198 | if val: val = wxHtmlContainerCellPtr(val) |
0f66a9f3 RD |
199 | return val |
200 | def GetFontSize(self, *_args, **_kwargs): | |
1fded56b | 201 | val = htmlc.wxHtmlWinParser_GetFontSize(self, *_args, **_kwargs) |
0f66a9f3 RD |
202 | return val |
203 | def SetFontSize(self, *_args, **_kwargs): | |
1fded56b | 204 | val = htmlc.wxHtmlWinParser_SetFontSize(self, *_args, **_kwargs) |
0f66a9f3 RD |
205 | return val |
206 | def GetFontBold(self, *_args, **_kwargs): | |
1fded56b | 207 | val = htmlc.wxHtmlWinParser_GetFontBold(self, *_args, **_kwargs) |
0f66a9f3 RD |
208 | return val |
209 | def SetFontBold(self, *_args, **_kwargs): | |
1fded56b | 210 | val = htmlc.wxHtmlWinParser_SetFontBold(self, *_args, **_kwargs) |
0f66a9f3 RD |
211 | return val |
212 | def GetFontItalic(self, *_args, **_kwargs): | |
1fded56b | 213 | val = htmlc.wxHtmlWinParser_GetFontItalic(self, *_args, **_kwargs) |
0f66a9f3 RD |
214 | return val |
215 | def SetFontItalic(self, *_args, **_kwargs): | |
1fded56b | 216 | val = htmlc.wxHtmlWinParser_SetFontItalic(self, *_args, **_kwargs) |
0f66a9f3 RD |
217 | return val |
218 | def GetFontUnderlined(self, *_args, **_kwargs): | |
1fded56b | 219 | val = htmlc.wxHtmlWinParser_GetFontUnderlined(self, *_args, **_kwargs) |
0f66a9f3 RD |
220 | return val |
221 | def SetFontUnderlined(self, *_args, **_kwargs): | |
1fded56b | 222 | val = htmlc.wxHtmlWinParser_SetFontUnderlined(self, *_args, **_kwargs) |
0f66a9f3 RD |
223 | return val |
224 | def GetFontFixed(self, *_args, **_kwargs): | |
1fded56b | 225 | val = htmlc.wxHtmlWinParser_GetFontFixed(self, *_args, **_kwargs) |
0f66a9f3 RD |
226 | return val |
227 | def SetFontFixed(self, *_args, **_kwargs): | |
1fded56b | 228 | val = htmlc.wxHtmlWinParser_SetFontFixed(self, *_args, **_kwargs) |
0f66a9f3 RD |
229 | return val |
230 | def GetAlign(self, *_args, **_kwargs): | |
1fded56b | 231 | val = htmlc.wxHtmlWinParser_GetAlign(self, *_args, **_kwargs) |
0f66a9f3 RD |
232 | return val |
233 | def SetAlign(self, *_args, **_kwargs): | |
1fded56b | 234 | val = htmlc.wxHtmlWinParser_SetAlign(self, *_args, **_kwargs) |
0f66a9f3 RD |
235 | return val |
236 | def GetLinkColor(self, *_args, **_kwargs): | |
1fded56b | 237 | val = htmlc.wxHtmlWinParser_GetLinkColor(self, *_args, **_kwargs) |
3e212503 | 238 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
0f66a9f3 RD |
239 | return val |
240 | def SetLinkColor(self, *_args, **_kwargs): | |
1fded56b | 241 | val = htmlc.wxHtmlWinParser_SetLinkColor(self, *_args, **_kwargs) |
0f66a9f3 RD |
242 | return val |
243 | def GetActualColor(self, *_args, **_kwargs): | |
1fded56b | 244 | val = htmlc.wxHtmlWinParser_GetActualColor(self, *_args, **_kwargs) |
3e212503 | 245 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
0f66a9f3 RD |
246 | return val |
247 | def SetActualColor(self, *_args, **_kwargs): | |
1fded56b | 248 | val = htmlc.wxHtmlWinParser_SetActualColor(self, *_args, **_kwargs) |
0f66a9f3 | 249 | return val |
0f66a9f3 | 250 | def SetLink(self, *_args, **_kwargs): |
1fded56b | 251 | val = htmlc.wxHtmlWinParser_SetLink(self, *_args, **_kwargs) |
0f66a9f3 RD |
252 | return val |
253 | def CreateCurrentFont(self, *_args, **_kwargs): | |
1fded56b | 254 | val = htmlc.wxHtmlWinParser_CreateCurrentFont(self, *_args, **_kwargs) |
0f66a9f3 RD |
255 | if val: val = wxFontPtr(val) |
256 | return val | |
9c00cfa3 | 257 | def GetLink(self, *_args, **_kwargs): |
1fded56b | 258 | val = htmlc.wxHtmlWinParser_GetLink(self, *_args, **_kwargs) |
9c00cfa3 RD |
259 | if val: val = wxHtmlLinkInfoPtr(val) ; val.thisown = 1 |
260 | return val | |
0f66a9f3 | 261 | def __repr__(self): |
1fded56b | 262 | return "<%s.%s instance; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0f66a9f3 RD |
263 | class wxHtmlWinParser(wxHtmlWinParserPtr): |
264 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 265 | self.this = htmlc.new_wxHtmlWinParser(*_args,**_kwargs) |
0f66a9f3 RD |
266 | self.thisown = 1 |
267 | ||
268 | ||
269 | ||
270 | ||
9df61a29 | 271 | class wxHtmlTagHandlerPtr(wxObjectPtr): |
0f66a9f3 RD |
272 | def __init__(self,this): |
273 | self.this = this | |
274 | self.thisown = 0 | |
0220cbc1 | 275 | def _setCallbackInfo(self, *_args, **_kwargs): |
1fded56b | 276 | val = htmlc.wxHtmlTagHandler__setCallbackInfo(self, *_args, **_kwargs) |
0f66a9f3 RD |
277 | return val |
278 | def SetParser(self, *_args, **_kwargs): | |
1fded56b | 279 | val = htmlc.wxHtmlTagHandler_SetParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
280 | return val |
281 | def GetParser(self, *_args, **_kwargs): | |
1fded56b | 282 | val = htmlc.wxHtmlTagHandler_GetParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
283 | if val: val = wxHtmlParserPtr(val) |
284 | return val | |
285 | def ParseInner(self, *_args, **_kwargs): | |
1fded56b | 286 | val = htmlc.wxHtmlTagHandler_ParseInner(self, *_args, **_kwargs) |
0f66a9f3 RD |
287 | return val |
288 | def __repr__(self): | |
1fded56b | 289 | return "<%s.%s instance; proxy of C++ wxHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0f66a9f3 RD |
290 | class wxHtmlTagHandler(wxHtmlTagHandlerPtr): |
291 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 292 | self.this = htmlc.new_wxHtmlTagHandler(*_args,**_kwargs) |
0f66a9f3 | 293 | self.thisown = 1 |
0220cbc1 | 294 | self._setCallbackInfo(self, wxHtmlTagHandler) |
0f66a9f3 RD |
295 | |
296 | ||
297 | ||
298 | ||
299 | class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr): | |
300 | def __init__(self,this): | |
301 | self.this = this | |
302 | self.thisown = 0 | |
0220cbc1 | 303 | def _setCallbackInfo(self, *_args, **_kwargs): |
1fded56b | 304 | val = htmlc.wxHtmlWinTagHandler__setCallbackInfo(self, *_args, **_kwargs) |
0f66a9f3 RD |
305 | return val |
306 | def SetParser(self, *_args, **_kwargs): | |
1fded56b | 307 | val = htmlc.wxHtmlWinTagHandler_SetParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
308 | return val |
309 | def GetParser(self, *_args, **_kwargs): | |
1fded56b | 310 | val = htmlc.wxHtmlWinTagHandler_GetParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
311 | if val: val = wxHtmlWinParserPtr(val) |
312 | return val | |
313 | def ParseInner(self, *_args, **_kwargs): | |
1fded56b | 314 | val = htmlc.wxHtmlWinTagHandler_ParseInner(self, *_args, **_kwargs) |
0f66a9f3 RD |
315 | return val |
316 | def __repr__(self): | |
1fded56b | 317 | return "<%s.%s instance; proxy of C++ wxHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
0f66a9f3 RD |
318 | class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr): |
319 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 320 | self.this = htmlc.new_wxHtmlWinTagHandler(*_args,**_kwargs) |
0f66a9f3 | 321 | self.thisown = 1 |
0220cbc1 | 322 | self._setCallbackInfo(self, wxHtmlWinTagHandler) |
0f66a9f3 RD |
323 | |
324 | ||
325 | ||
326 | ||
9df61a29 | 327 | class wxHtmlCellPtr(wxObjectPtr): |
e166644c RD |
328 | def __init__(self,this): |
329 | self.this = this | |
330 | self.thisown = 0 | |
e166644c | 331 | def GetPosX(self, *_args, **_kwargs): |
1fded56b | 332 | val = htmlc.wxHtmlCell_GetPosX(self, *_args, **_kwargs) |
e166644c RD |
333 | return val |
334 | def GetPosY(self, *_args, **_kwargs): | |
1fded56b | 335 | val = htmlc.wxHtmlCell_GetPosY(self, *_args, **_kwargs) |
e166644c RD |
336 | return val |
337 | def GetWidth(self, *_args, **_kwargs): | |
1fded56b | 338 | val = htmlc.wxHtmlCell_GetWidth(self, *_args, **_kwargs) |
e166644c RD |
339 | return val |
340 | def GetHeight(self, *_args, **_kwargs): | |
1fded56b | 341 | val = htmlc.wxHtmlCell_GetHeight(self, *_args, **_kwargs) |
e166644c RD |
342 | return val |
343 | def GetDescent(self, *_args, **_kwargs): | |
1fded56b | 344 | val = htmlc.wxHtmlCell_GetDescent(self, *_args, **_kwargs) |
e166644c RD |
345 | return val |
346 | def GetLink(self, *_args, **_kwargs): | |
1fded56b | 347 | val = htmlc.wxHtmlCell_GetLink(self, *_args, **_kwargs) |
9c00cfa3 | 348 | if val: val = wxHtmlLinkInfoPtr(val) |
e166644c RD |
349 | return val |
350 | def GetNext(self, *_args, **_kwargs): | |
1fded56b | 351 | val = htmlc.wxHtmlCell_GetNext(self, *_args, **_kwargs) |
e166644c RD |
352 | if val: val = wxHtmlCellPtr(val) |
353 | return val | |
9c00cfa3 | 354 | def GetParent(self, *_args, **_kwargs): |
1fded56b | 355 | val = htmlc.wxHtmlCell_GetParent(self, *_args, **_kwargs) |
9c00cfa3 | 356 | if val: val = wxHtmlContainerCellPtr(val) |
e166644c RD |
357 | return val |
358 | def SetLink(self, *_args, **_kwargs): | |
1fded56b | 359 | val = htmlc.wxHtmlCell_SetLink(self, *_args, **_kwargs) |
e166644c RD |
360 | return val |
361 | def SetNext(self, *_args, **_kwargs): | |
1fded56b | 362 | val = htmlc.wxHtmlCell_SetNext(self, *_args, **_kwargs) |
e166644c | 363 | return val |
9c00cfa3 | 364 | def SetParent(self, *_args, **_kwargs): |
1fded56b | 365 | val = htmlc.wxHtmlCell_SetParent(self, *_args, **_kwargs) |
9c00cfa3 RD |
366 | return val |
367 | def SetPos(self, *_args, **_kwargs): | |
1fded56b | 368 | val = htmlc.wxHtmlCell_SetPos(self, *_args, **_kwargs) |
9c00cfa3 | 369 | return val |
e166644c | 370 | def Layout(self, *_args, **_kwargs): |
1fded56b | 371 | val = htmlc.wxHtmlCell_Layout(self, *_args, **_kwargs) |
e166644c RD |
372 | return val |
373 | def Draw(self, *_args, **_kwargs): | |
1fded56b | 374 | val = htmlc.wxHtmlCell_Draw(self, *_args, **_kwargs) |
e166644c RD |
375 | return val |
376 | def DrawInvisible(self, *_args, **_kwargs): | |
1fded56b | 377 | val = htmlc.wxHtmlCell_DrawInvisible(self, *_args, **_kwargs) |
e166644c RD |
378 | return val |
379 | def Find(self, *_args, **_kwargs): | |
1fded56b | 380 | val = htmlc.wxHtmlCell_Find(self, *_args, **_kwargs) |
e166644c RD |
381 | if val: val = wxHtmlCellPtr(val) |
382 | return val | |
dc2f8a65 | 383 | def AdjustPagebreak(self, *_args, **_kwargs): |
1fded56b | 384 | val = htmlc.wxHtmlCell_AdjustPagebreak(self, *_args, **_kwargs) |
dc2f8a65 RD |
385 | return val |
386 | def SetCanLiveOnPagebreak(self, *_args, **_kwargs): | |
1fded56b | 387 | val = htmlc.wxHtmlCell_SetCanLiveOnPagebreak(self, *_args, **_kwargs) |
dc2f8a65 | 388 | return val |
e166644c | 389 | def __repr__(self): |
1fded56b | 390 | return "<%s.%s instance; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e166644c RD |
391 | class wxHtmlCell(wxHtmlCellPtr): |
392 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 393 | self.this = htmlc.new_wxHtmlCell(*_args,**_kwargs) |
e166644c RD |
394 | self.thisown = 1 |
395 | ||
396 | ||
397 | ||
398 | ||
9df61a29 RD |
399 | class wxHtmlWordCellPtr(wxHtmlCellPtr): |
400 | def __init__(self,this): | |
401 | self.this = this | |
402 | self.thisown = 0 | |
403 | def __repr__(self): | |
1fded56b | 404 | return "<%s.%s instance; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9df61a29 RD |
405 | class wxHtmlWordCell(wxHtmlWordCellPtr): |
406 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 407 | self.this = htmlc.new_wxHtmlWordCell(*_args,**_kwargs) |
9df61a29 RD |
408 | self.thisown = 1 |
409 | ||
410 | ||
411 | ||
412 | ||
e166644c RD |
413 | class wxHtmlContainerCellPtr(wxHtmlCellPtr): |
414 | def __init__(self,this): | |
415 | self.this = this | |
416 | self.thisown = 0 | |
417 | def InsertCell(self, *_args, **_kwargs): | |
1fded56b | 418 | val = htmlc.wxHtmlContainerCell_InsertCell(self, *_args, **_kwargs) |
e166644c RD |
419 | return val |
420 | def SetAlignHor(self, *_args, **_kwargs): | |
1fded56b | 421 | val = htmlc.wxHtmlContainerCell_SetAlignHor(self, *_args, **_kwargs) |
e166644c RD |
422 | return val |
423 | def GetAlignHor(self, *_args, **_kwargs): | |
1fded56b | 424 | val = htmlc.wxHtmlContainerCell_GetAlignHor(self, *_args, **_kwargs) |
e166644c RD |
425 | return val |
426 | def SetAlignVer(self, *_args, **_kwargs): | |
1fded56b | 427 | val = htmlc.wxHtmlContainerCell_SetAlignVer(self, *_args, **_kwargs) |
e166644c RD |
428 | return val |
429 | def GetAlignVer(self, *_args, **_kwargs): | |
1fded56b | 430 | val = htmlc.wxHtmlContainerCell_GetAlignVer(self, *_args, **_kwargs) |
e166644c RD |
431 | return val |
432 | def SetIndent(self, *_args, **_kwargs): | |
1fded56b | 433 | val = htmlc.wxHtmlContainerCell_SetIndent(self, *_args, **_kwargs) |
e166644c RD |
434 | return val |
435 | def GetIndent(self, *_args, **_kwargs): | |
1fded56b | 436 | val = htmlc.wxHtmlContainerCell_GetIndent(self, *_args, **_kwargs) |
e166644c RD |
437 | return val |
438 | def GetIndentUnits(self, *_args, **_kwargs): | |
1fded56b | 439 | val = htmlc.wxHtmlContainerCell_GetIndentUnits(self, *_args, **_kwargs) |
e166644c RD |
440 | return val |
441 | def SetAlign(self, *_args, **_kwargs): | |
1fded56b | 442 | val = htmlc.wxHtmlContainerCell_SetAlign(self, *_args, **_kwargs) |
e166644c RD |
443 | return val |
444 | def SetWidthFloat(self, *_args, **_kwargs): | |
1fded56b | 445 | val = htmlc.wxHtmlContainerCell_SetWidthFloat(self, *_args, **_kwargs) |
e166644c RD |
446 | return val |
447 | def SetWidthFloatFromTag(self, *_args, **_kwargs): | |
1fded56b | 448 | val = htmlc.wxHtmlContainerCell_SetWidthFloatFromTag(self, *_args, **_kwargs) |
e166644c RD |
449 | return val |
450 | def SetMinHeight(self, *_args, **_kwargs): | |
1fded56b | 451 | val = htmlc.wxHtmlContainerCell_SetMinHeight(self, *_args, **_kwargs) |
e166644c | 452 | return val |
e166644c | 453 | def SetBackgroundColour(self, *_args, **_kwargs): |
1fded56b | 454 | val = htmlc.wxHtmlContainerCell_SetBackgroundColour(self, *_args, **_kwargs) |
e166644c | 455 | return val |
b67a9327 | 456 | def GetBackgroundColour(self, *_args, **_kwargs): |
1fded56b | 457 | val = htmlc.wxHtmlContainerCell_GetBackgroundColour(self, *_args, **_kwargs) |
b67a9327 RD |
458 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
459 | return val | |
e166644c | 460 | def SetBorder(self, *_args, **_kwargs): |
1fded56b | 461 | val = htmlc.wxHtmlContainerCell_SetBorder(self, *_args, **_kwargs) |
e166644c RD |
462 | return val |
463 | def GetFirstCell(self, *_args, **_kwargs): | |
1fded56b | 464 | val = htmlc.wxHtmlContainerCell_GetFirstCell(self, *_args, **_kwargs) |
e166644c RD |
465 | if val: val = wxHtmlCellPtr(val) |
466 | return val | |
467 | def __repr__(self): | |
1fded56b | 468 | return "<%s.%s instance; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e166644c RD |
469 | class wxHtmlContainerCell(wxHtmlContainerCellPtr): |
470 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 471 | self.this = htmlc.new_wxHtmlContainerCell(*_args,**_kwargs) |
e166644c RD |
472 | self.thisown = 1 |
473 | ||
474 | ||
475 | ||
476 | ||
9c00cfa3 RD |
477 | class wxHtmlColourCellPtr(wxHtmlCellPtr): |
478 | def __init__(self,this): | |
479 | self.this = this | |
480 | self.thisown = 0 | |
481 | def __repr__(self): | |
1fded56b | 482 | return "<%s.%s instance; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9c00cfa3 RD |
483 | class wxHtmlColourCell(wxHtmlColourCellPtr): |
484 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 485 | self.this = htmlc.new_wxHtmlColourCell(*_args,**_kwargs) |
9c00cfa3 RD |
486 | self.thisown = 1 |
487 | ||
488 | ||
489 | ||
490 | ||
9df61a29 RD |
491 | class wxHtmlFontCellPtr(wxHtmlCellPtr): |
492 | def __init__(self,this): | |
493 | self.this = this | |
494 | self.thisown = 0 | |
495 | def __repr__(self): | |
1fded56b | 496 | return "<%s.%s instance; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9df61a29 RD |
497 | class wxHtmlFontCell(wxHtmlFontCellPtr): |
498 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 499 | self.this = htmlc.new_wxHtmlFontCell(*_args,**_kwargs) |
9df61a29 RD |
500 | self.thisown = 1 |
501 | ||
502 | ||
503 | ||
504 | ||
e166644c RD |
505 | class wxHtmlWidgetCellPtr(wxHtmlCellPtr): |
506 | def __init__(self,this): | |
507 | self.this = this | |
508 | self.thisown = 0 | |
509 | def __repr__(self): | |
1fded56b | 510 | return "<%s.%s instance; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e166644c RD |
511 | class wxHtmlWidgetCell(wxHtmlWidgetCellPtr): |
512 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 513 | self.this = htmlc.new_wxHtmlWidgetCell(*_args,**_kwargs) |
e166644c RD |
514 | self.thisown = 1 |
515 | ||
516 | ||
517 | ||
518 | ||
b67a9327 RD |
519 | class wxHtmlFilterPtr(wxObjectPtr): |
520 | def __init__(self,this): | |
521 | self.this = this | |
522 | self.thisown = 0 | |
523 | def _setCallbackInfo(self, *_args, **_kwargs): | |
1fded56b | 524 | val = htmlc.wxHtmlFilter__setCallbackInfo(self, *_args, **_kwargs) |
b67a9327 RD |
525 | return val |
526 | def __repr__(self): | |
1fded56b | 527 | return "<%s.%s instance; proxy of C++ wxHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b67a9327 RD |
528 | class wxHtmlFilter(wxHtmlFilterPtr): |
529 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 530 | self.this = htmlc.new_wxHtmlFilter(*_args,**_kwargs) |
b67a9327 RD |
531 | self.thisown = 1 |
532 | self._setCallbackInfo(self, wxHtmlFilter) | |
533 | ||
534 | ||
535 | ||
536 | ||
325274bb RD |
537 | class wxHtmlWindowPtr(wxScrolledWindowPtr): |
538 | def __init__(self,this): | |
539 | self.this = this | |
540 | self.thisown = 0 | |
3e212503 | 541 | def Create(self, *_args, **_kwargs): |
1fded56b | 542 | val = htmlc.wxHtmlWindow_Create(self, *_args, **_kwargs) |
3e212503 | 543 | return val |
0220cbc1 | 544 | def _setCallbackInfo(self, *_args, **_kwargs): |
1fded56b | 545 | val = htmlc.wxHtmlWindow__setCallbackInfo(self, *_args, **_kwargs) |
0f66a9f3 | 546 | return val |
325274bb | 547 | def SetPage(self, *_args, **_kwargs): |
1fded56b | 548 | val = htmlc.wxHtmlWindow_SetPage(self, *_args, **_kwargs) |
325274bb RD |
549 | return val |
550 | def LoadPage(self, *_args, **_kwargs): | |
1fded56b RD |
551 | val = htmlc.wxHtmlWindow_LoadPage(self, *_args, **_kwargs) |
552 | return val | |
553 | def LoadFile(self, *_args, **_kwargs): | |
554 | val = htmlc.wxHtmlWindow_LoadFile(self, *_args, **_kwargs) | |
325274bb | 555 | return val |
3bcd5e1c | 556 | def AppendToPage(self, *_args, **_kwargs): |
1fded56b | 557 | val = htmlc.wxHtmlWindow_AppendToPage(self, *_args, **_kwargs) |
3bcd5e1c | 558 | return val |
325274bb | 559 | def GetOpenedPage(self, *_args, **_kwargs): |
1fded56b | 560 | val = htmlc.wxHtmlWindow_GetOpenedPage(self, *_args, **_kwargs) |
325274bb | 561 | return val |
7a446686 | 562 | def GetOpenedAnchor(self, *_args, **_kwargs): |
1fded56b | 563 | val = htmlc.wxHtmlWindow_GetOpenedAnchor(self, *_args, **_kwargs) |
7a446686 RD |
564 | return val |
565 | def GetOpenedPageTitle(self, *_args, **_kwargs): | |
1fded56b | 566 | val = htmlc.wxHtmlWindow_GetOpenedPageTitle(self, *_args, **_kwargs) |
7a446686 | 567 | return val |
325274bb | 568 | def SetRelatedFrame(self, *_args, **_kwargs): |
1fded56b | 569 | val = htmlc.wxHtmlWindow_SetRelatedFrame(self, *_args, **_kwargs) |
325274bb RD |
570 | return val |
571 | def GetRelatedFrame(self, *_args, **_kwargs): | |
1fded56b | 572 | val = htmlc.wxHtmlWindow_GetRelatedFrame(self, *_args, **_kwargs) |
325274bb RD |
573 | return val |
574 | def SetRelatedStatusBar(self, *_args, **_kwargs): | |
1fded56b | 575 | val = htmlc.wxHtmlWindow_SetRelatedStatusBar(self, *_args, **_kwargs) |
325274bb RD |
576 | return val |
577 | def SetFonts(self, *_args, **_kwargs): | |
1fded56b | 578 | val = htmlc.wxHtmlWindow_SetFonts(self, *_args, **_kwargs) |
325274bb RD |
579 | return val |
580 | def SetTitle(self, *_args, **_kwargs): | |
1fded56b | 581 | val = htmlc.wxHtmlWindow_SetTitle(self, *_args, **_kwargs) |
325274bb RD |
582 | return val |
583 | def SetBorders(self, *_args, **_kwargs): | |
1fded56b | 584 | val = htmlc.wxHtmlWindow_SetBorders(self, *_args, **_kwargs) |
325274bb | 585 | return val |
0f66a9f3 | 586 | def ReadCustomization(self, *_args, **_kwargs): |
1fded56b | 587 | val = htmlc.wxHtmlWindow_ReadCustomization(self, *_args, **_kwargs) |
0f66a9f3 RD |
588 | return val |
589 | def WriteCustomization(self, *_args, **_kwargs): | |
1fded56b | 590 | val = htmlc.wxHtmlWindow_WriteCustomization(self, *_args, **_kwargs) |
0f66a9f3 | 591 | return val |
325274bb | 592 | def HistoryBack(self, *_args, **_kwargs): |
1fded56b | 593 | val = htmlc.wxHtmlWindow_HistoryBack(self, *_args, **_kwargs) |
325274bb RD |
594 | return val |
595 | def HistoryForward(self, *_args, **_kwargs): | |
1fded56b | 596 | val = htmlc.wxHtmlWindow_HistoryForward(self, *_args, **_kwargs) |
325274bb | 597 | return val |
7a446686 | 598 | def HistoryCanBack(self, *_args, **_kwargs): |
1fded56b | 599 | val = htmlc.wxHtmlWindow_HistoryCanBack(self, *_args, **_kwargs) |
7a446686 RD |
600 | return val |
601 | def HistoryCanForward(self, *_args, **_kwargs): | |
1fded56b | 602 | val = htmlc.wxHtmlWindow_HistoryCanForward(self, *_args, **_kwargs) |
7a446686 | 603 | return val |
325274bb | 604 | def HistoryClear(self, *_args, **_kwargs): |
1fded56b | 605 | val = htmlc.wxHtmlWindow_HistoryClear(self, *_args, **_kwargs) |
325274bb | 606 | return val |
a65c6e14 | 607 | def GetInternalRepresentation(self, *_args, **_kwargs): |
1fded56b | 608 | val = htmlc.wxHtmlWindow_GetInternalRepresentation(self, *_args, **_kwargs) |
e166644c RD |
609 | if val: val = wxHtmlContainerCellPtr(val) |
610 | return val | |
611 | def GetParser(self, *_args, **_kwargs): | |
1fded56b | 612 | val = htmlc.wxHtmlWindow_GetParser(self, *_args, **_kwargs) |
e166644c | 613 | if val: val = wxHtmlWinParserPtr(val) |
a65c6e14 | 614 | return val |
f0972d1e | 615 | def ScrollToAnchor(self, *_args, **_kwargs): |
1fded56b | 616 | val = htmlc.wxHtmlWindow_ScrollToAnchor(self, *_args, **_kwargs) |
f0972d1e RD |
617 | return val |
618 | def HasAnchor(self, *_args, **_kwargs): | |
1fded56b | 619 | val = htmlc.wxHtmlWindow_HasAnchor(self, *_args, **_kwargs) |
f0972d1e | 620 | return val |
95837b4d | 621 | def base_OnLinkClicked(self, *_args, **_kwargs): |
1fded56b | 622 | val = htmlc.wxHtmlWindow_base_OnLinkClicked(self, *_args, **_kwargs) |
95837b4d | 623 | return val |
9c00cfa3 | 624 | def base_OnSetTitle(self, *_args, **_kwargs): |
1fded56b | 625 | val = htmlc.wxHtmlWindow_base_OnSetTitle(self, *_args, **_kwargs) |
0f66a9f3 | 626 | return val |
0220cbc1 | 627 | def base_OnCellMouseHover(self, *_args, **_kwargs): |
1fded56b | 628 | val = htmlc.wxHtmlWindow_base_OnCellMouseHover(self, *_args, **_kwargs) |
0220cbc1 RD |
629 | return val |
630 | def base_OnCellClicked(self, *_args, **_kwargs): | |
1fded56b | 631 | val = htmlc.wxHtmlWindow_base_OnCellClicked(self, *_args, **_kwargs) |
0220cbc1 | 632 | return val |
325274bb | 633 | def __repr__(self): |
1fded56b | 634 | return "<%s.%s instance; proxy of C++ wxHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
325274bb RD |
635 | class wxHtmlWindow(wxHtmlWindowPtr): |
636 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 637 | self.this = htmlc.new_wxHtmlWindow(*_args,**_kwargs) |
325274bb | 638 | self.thisown = 1 |
0220cbc1 RD |
639 | self._setCallbackInfo(self, wxHtmlWindow) |
640 | self._setOORInfo(self) | |
325274bb RD |
641 | |
642 | ||
643 | ||
3e212503 | 644 | def wxPreHtmlWindow(*_args,**_kwargs): |
1fded56b | 645 | val = wxHtmlWindowPtr(htmlc.new_wxPreHtmlWindow(*_args,**_kwargs)) |
3e212503 RD |
646 | val.thisown = 1 |
647 | val._setOORInfo(val) | |
648 | return val | |
649 | ||
325274bb | 650 | |
9df61a29 | 651 | class wxHtmlDCRendererPtr(wxObjectPtr): |
dc2f8a65 RD |
652 | def __init__(self,this): |
653 | self.this = this | |
654 | self.thisown = 0 | |
b67a9327 RD |
655 | def __del__(self, delfunc=htmlc.delete_wxHtmlDCRenderer): |
656 | if self.thisown == 1: | |
657 | try: | |
658 | delfunc(self) | |
659 | except: | |
660 | pass | |
dc2f8a65 | 661 | def SetDC(self, *_args, **_kwargs): |
1fded56b | 662 | val = htmlc.wxHtmlDCRenderer_SetDC(self, *_args, **_kwargs) |
dc2f8a65 RD |
663 | return val |
664 | def SetSize(self, *_args, **_kwargs): | |
1fded56b | 665 | val = htmlc.wxHtmlDCRenderer_SetSize(self, *_args, **_kwargs) |
dc2f8a65 RD |
666 | return val |
667 | def SetHtmlText(self, *_args, **_kwargs): | |
1fded56b | 668 | val = htmlc.wxHtmlDCRenderer_SetHtmlText(self, *_args, **_kwargs) |
dc2f8a65 | 669 | return val |
3100de99 | 670 | def SetFonts(self, *_args, **_kwargs): |
1fded56b | 671 | val = htmlc.wxHtmlDCRenderer_SetFonts(self, *_args, **_kwargs) |
3100de99 | 672 | return val |
dc2f8a65 | 673 | def Render(self, *_args, **_kwargs): |
1fded56b | 674 | val = htmlc.wxHtmlDCRenderer_Render(self, *_args, **_kwargs) |
dc2f8a65 RD |
675 | return val |
676 | def GetTotalHeight(self, *_args, **_kwargs): | |
1fded56b | 677 | val = htmlc.wxHtmlDCRenderer_GetTotalHeight(self, *_args, **_kwargs) |
dc2f8a65 RD |
678 | return val |
679 | def __repr__(self): | |
1fded56b | 680 | return "<%s.%s instance; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
dc2f8a65 RD |
681 | class wxHtmlDCRenderer(wxHtmlDCRendererPtr): |
682 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 683 | self.this = htmlc.new_wxHtmlDCRenderer(*_args,**_kwargs) |
dc2f8a65 RD |
684 | self.thisown = 1 |
685 | ||
686 | ||
687 | ||
688 | ||
689 | class wxHtmlPrintoutPtr(wxPrintoutPtr): | |
690 | def __init__(self,this): | |
691 | self.this = this | |
692 | self.thisown = 0 | |
dc2f8a65 | 693 | def SetHtmlText(self, *_args, **_kwargs): |
1fded56b | 694 | val = htmlc.wxHtmlPrintout_SetHtmlText(self, *_args, **_kwargs) |
dc2f8a65 RD |
695 | return val |
696 | def SetHtmlFile(self, *_args, **_kwargs): | |
1fded56b | 697 | val = htmlc.wxHtmlPrintout_SetHtmlFile(self, *_args, **_kwargs) |
dc2f8a65 RD |
698 | return val |
699 | def SetHeader(self, *_args, **_kwargs): | |
1fded56b | 700 | val = htmlc.wxHtmlPrintout_SetHeader(self, *_args, **_kwargs) |
dc2f8a65 RD |
701 | return val |
702 | def SetFooter(self, *_args, **_kwargs): | |
1fded56b | 703 | val = htmlc.wxHtmlPrintout_SetFooter(self, *_args, **_kwargs) |
dc2f8a65 | 704 | return val |
3100de99 | 705 | def SetFonts(self, *_args, **_kwargs): |
1fded56b | 706 | val = htmlc.wxHtmlPrintout_SetFonts(self, *_args, **_kwargs) |
3100de99 | 707 | return val |
dc2f8a65 | 708 | def SetMargins(self, *_args, **_kwargs): |
1fded56b | 709 | val = htmlc.wxHtmlPrintout_SetMargins(self, *_args, **_kwargs) |
dc2f8a65 RD |
710 | return val |
711 | def __repr__(self): | |
1fded56b | 712 | return "<%s.%s instance; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
dc2f8a65 RD |
713 | class wxHtmlPrintout(wxHtmlPrintoutPtr): |
714 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 715 | self.this = htmlc.new_wxHtmlPrintout(*_args,**_kwargs) |
dc2f8a65 RD |
716 | self.thisown = 1 |
717 | ||
718 | ||
719 | ||
720 | ||
9df61a29 | 721 | class wxHtmlEasyPrintingPtr(wxObjectPtr): |
dc2f8a65 RD |
722 | def __init__(self,this): |
723 | self.this = this | |
724 | self.thisown = 0 | |
b67a9327 RD |
725 | def __del__(self, delfunc=htmlc.delete_wxHtmlEasyPrinting): |
726 | if self.thisown == 1: | |
727 | try: | |
728 | delfunc(self) | |
729 | except: | |
730 | pass | |
dc2f8a65 | 731 | def PreviewFile(self, *_args, **_kwargs): |
1fded56b | 732 | val = htmlc.wxHtmlEasyPrinting_PreviewFile(self, *_args, **_kwargs) |
dc2f8a65 RD |
733 | return val |
734 | def PreviewText(self, *_args, **_kwargs): | |
1fded56b | 735 | val = htmlc.wxHtmlEasyPrinting_PreviewText(self, *_args, **_kwargs) |
dc2f8a65 RD |
736 | return val |
737 | def PrintFile(self, *_args, **_kwargs): | |
1fded56b | 738 | val = htmlc.wxHtmlEasyPrinting_PrintFile(self, *_args, **_kwargs) |
dc2f8a65 RD |
739 | return val |
740 | def PrintText(self, *_args, **_kwargs): | |
1fded56b | 741 | val = htmlc.wxHtmlEasyPrinting_PrintText(self, *_args, **_kwargs) |
dc2f8a65 RD |
742 | return val |
743 | def PrinterSetup(self, *_args, **_kwargs): | |
1fded56b | 744 | val = htmlc.wxHtmlEasyPrinting_PrinterSetup(self, *_args, **_kwargs) |
dc2f8a65 RD |
745 | return val |
746 | def PageSetup(self, *_args, **_kwargs): | |
1fded56b | 747 | val = htmlc.wxHtmlEasyPrinting_PageSetup(self, *_args, **_kwargs) |
dc2f8a65 RD |
748 | return val |
749 | def SetHeader(self, *_args, **_kwargs): | |
1fded56b | 750 | val = htmlc.wxHtmlEasyPrinting_SetHeader(self, *_args, **_kwargs) |
dc2f8a65 RD |
751 | return val |
752 | def SetFooter(self, *_args, **_kwargs): | |
1fded56b | 753 | val = htmlc.wxHtmlEasyPrinting_SetFooter(self, *_args, **_kwargs) |
dc2f8a65 | 754 | return val |
3100de99 | 755 | def SetFonts(self, *_args, **_kwargs): |
1fded56b | 756 | val = htmlc.wxHtmlEasyPrinting_SetFonts(self, *_args, **_kwargs) |
3100de99 | 757 | return val |
dc2f8a65 | 758 | def GetPrintData(self, *_args, **_kwargs): |
1fded56b | 759 | val = htmlc.wxHtmlEasyPrinting_GetPrintData(self, *_args, **_kwargs) |
dc2f8a65 RD |
760 | if val: val = wxPrintDataPtr(val) |
761 | return val | |
762 | def GetPageSetupData(self, *_args, **_kwargs): | |
1fded56b | 763 | val = htmlc.wxHtmlEasyPrinting_GetPageSetupData(self, *_args, **_kwargs) |
dc2f8a65 RD |
764 | if val: val = wxPageSetupDialogDataPtr(val) |
765 | return val | |
766 | def __repr__(self): | |
1fded56b | 767 | return "<%s.%s instance; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
dc2f8a65 RD |
768 | class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr): |
769 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 770 | self.this = htmlc.new_wxHtmlEasyPrinting(*_args,**_kwargs) |
dc2f8a65 RD |
771 | self.thisown = 1 |
772 | ||
773 | ||
774 | ||
775 | ||
325274bb RD |
776 | |
777 | ||
778 | #-------------- FUNCTION WRAPPERS ------------------ | |
779 | ||
0f66a9f3 RD |
780 | wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler |
781 | ||
782 | wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter | |
783 | ||
325274bb RD |
784 | |
785 | ||
786 | #-------------- VARIABLE WRAPPERS ------------------ | |
787 | ||
9d8bd15f RD |
788 | wxHTML_ALIGN_LEFT = htmlc.wxHTML_ALIGN_LEFT |
789 | wxHTML_ALIGN_CENTER = htmlc.wxHTML_ALIGN_CENTER | |
790 | wxHTML_ALIGN_RIGHT = htmlc.wxHTML_ALIGN_RIGHT | |
791 | wxHTML_ALIGN_BOTTOM = htmlc.wxHTML_ALIGN_BOTTOM | |
792 | wxHTML_ALIGN_TOP = htmlc.wxHTML_ALIGN_TOP | |
793 | wxHTML_CLR_FOREGROUND = htmlc.wxHTML_CLR_FOREGROUND | |
794 | wxHTML_CLR_BACKGROUND = htmlc.wxHTML_CLR_BACKGROUND | |
795 | wxHTML_UNITS_PIXELS = htmlc.wxHTML_UNITS_PIXELS | |
796 | wxHTML_UNITS_PERCENT = htmlc.wxHTML_UNITS_PERCENT | |
797 | wxHTML_INDENT_LEFT = htmlc.wxHTML_INDENT_LEFT | |
798 | wxHTML_INDENT_RIGHT = htmlc.wxHTML_INDENT_RIGHT | |
799 | wxHTML_INDENT_TOP = htmlc.wxHTML_INDENT_TOP | |
800 | wxHTML_INDENT_BOTTOM = htmlc.wxHTML_INDENT_BOTTOM | |
801 | wxHTML_INDENT_HORIZONTAL = htmlc.wxHTML_INDENT_HORIZONTAL | |
802 | wxHTML_INDENT_VERTICAL = htmlc.wxHTML_INDENT_VERTICAL | |
803 | wxHTML_INDENT_ALL = htmlc.wxHTML_INDENT_ALL | |
804 | wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR | |
805 | wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP | |
806 | wxHTML_COND_USER = htmlc.wxHTML_COND_USER | |
5d413391 RD |
807 | wxHW_SCROLLBAR_NEVER = htmlc.wxHW_SCROLLBAR_NEVER |
808 | wxHW_SCROLLBAR_AUTO = htmlc.wxHW_SCROLLBAR_AUTO | |
809 | wxHTML_OPEN = htmlc.wxHTML_OPEN | |
810 | wxHTML_BLOCK = htmlc.wxHTML_BLOCK | |
811 | wxHTML_REDIRECT = htmlc.wxHTML_REDIRECT | |
812 | wxHTML_URL_PAGE = htmlc.wxHTML_URL_PAGE | |
813 | wxHTML_URL_IMAGE = htmlc.wxHTML_URL_IMAGE | |
814 | wxHTML_URL_OTHER = htmlc.wxHTML_URL_OTHER | |
dc2f8a65 RD |
815 | wxPAGE_ODD = htmlc.wxPAGE_ODD |
816 | wxPAGE_EVEN = htmlc.wxPAGE_EVEN | |
817 | wxPAGE_ALL = htmlc.wxPAGE_ALL | |
e166644c RD |
818 | |
819 | ||
820 | #-------------- USER INCLUDE ----------------------- | |
821 | ||
822 | ||
823 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
824 | import wx | |
b1462dfa | 825 | wx.wxHtmlTagPtr = wxHtmlTagPtr |
e166644c RD |
826 | wx.wxHtmlParserPtr = wxHtmlParserPtr |
827 | wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr | |
828 | wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr | |
829 | wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr | |
830 | wx.wxHtmlCellPtr = wxHtmlCellPtr | |
831 | wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr | |
832 | wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr | |
e166644c | 833 | wx.wxHtmlWindowPtr = wxHtmlWindowPtr |
95837b4d | 834 | wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr |
b67a9327 | 835 | wx.wxHtmlFilterPtr = wxHtmlFilterPtr |
059a841c | 836 |