]>
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 | ||
68bc8549 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 | ||
181526ac 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 |
9416aa89 | 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): | |
5a2a9da2 | 51 | val = htmlc.wxHtmlLinkInfo_GetHref(self, *_args, **_kwargs) |
9c00cfa3 RD |
52 | return val |
53 | def GetTarget(self, *_args, **_kwargs): | |
5a2a9da2 | 54 | val = htmlc.wxHtmlLinkInfo_GetTarget(self, *_args, **_kwargs) |
9c00cfa3 | 55 | return val |
e02c03a4 | 56 | def GetEvent(self, *_args, **_kwargs): |
5a2a9da2 | 57 | val = htmlc.wxHtmlLinkInfo_GetEvent(self, *_args, **_kwargs) |
e02c03a4 RD |
58 | return val |
59 | def GetHtmlCell(self, *_args, **_kwargs): | |
5a2a9da2 | 60 | val = htmlc.wxHtmlLinkInfo_GetHtmlCell(self, *_args, **_kwargs) |
e02c03a4 RD |
61 | if val: val = wxHtmlCellPtr(val) |
62 | return val | |
794c5cb1 | 63 | def SetEvent(self, *_args, **_kwargs): |
5a2a9da2 | 64 | val = htmlc.wxHtmlLinkInfo_SetEvent(self, *_args, **_kwargs) |
794c5cb1 RD |
65 | return val |
66 | def SetHtmlCell(self, *_args, **_kwargs): | |
5a2a9da2 | 67 | val = htmlc.wxHtmlLinkInfo_SetHtmlCell(self, *_args, **_kwargs) |
794c5cb1 | 68 | return val |
9c00cfa3 | 69 | def __repr__(self): |
5a2a9da2 | 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): | |
5a2a9da2 | 73 | self.this = htmlc.new_wxHtmlLinkInfo(*_args,**_kwargs) |
9c00cfa3 RD |
74 | self.thisown = 1 |
75 | ||
76 | ||
77 | ||
78 | ||
9416aa89 | 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): | |
5a2a9da2 | 84 | val = htmlc.wxHtmlTag_GetName(self, *_args, **_kwargs) |
0f66a9f3 RD |
85 | return val |
86 | def HasParam(self, *_args, **_kwargs): | |
5a2a9da2 | 87 | val = htmlc.wxHtmlTag_HasParam(self, *_args, **_kwargs) |
0f66a9f3 RD |
88 | return val |
89 | def GetParam(self, *_args, **_kwargs): | |
5a2a9da2 | 90 | val = htmlc.wxHtmlTag_GetParam(self, *_args, **_kwargs) |
0f66a9f3 RD |
91 | return val |
92 | def GetAllParams(self, *_args, **_kwargs): | |
5a2a9da2 | 93 | val = htmlc.wxHtmlTag_GetAllParams(self, *_args, **_kwargs) |
0f66a9f3 | 94 | return val |
0f66a9f3 | 95 | def HasEnding(self, *_args, **_kwargs): |
5a2a9da2 | 96 | val = htmlc.wxHtmlTag_HasEnding(self, *_args, **_kwargs) |
0f66a9f3 RD |
97 | return val |
98 | def GetBeginPos(self, *_args, **_kwargs): | |
5a2a9da2 | 99 | val = htmlc.wxHtmlTag_GetBeginPos(self, *_args, **_kwargs) |
0f66a9f3 RD |
100 | return val |
101 | def GetEndPos1(self, *_args, **_kwargs): | |
5a2a9da2 | 102 | val = htmlc.wxHtmlTag_GetEndPos1(self, *_args, **_kwargs) |
0f66a9f3 RD |
103 | return val |
104 | def GetEndPos2(self, *_args, **_kwargs): | |
5a2a9da2 | 105 | val = htmlc.wxHtmlTag_GetEndPos2(self, *_args, **_kwargs) |
0f66a9f3 RD |
106 | return val |
107 | def __repr__(self): | |
5a2a9da2 | 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 | ||
9416aa89 | 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): | |
5a2a9da2 | 121 | val = htmlc.wxHtmlParser_SetFS(self, *_args, **_kwargs) |
0f66a9f3 RD |
122 | return val |
123 | def GetFS(self, *_args, **_kwargs): | |
5a2a9da2 | 124 | val = htmlc.wxHtmlParser_GetFS(self, *_args, **_kwargs) |
0f66a9f3 RD |
125 | return val |
126 | def Parse(self, *_args, **_kwargs): | |
5a2a9da2 | 127 | val = htmlc.wxHtmlParser_Parse(self, *_args, **_kwargs) |
0f66a9f3 RD |
128 | return val |
129 | def InitParser(self, *_args, **_kwargs): | |
5a2a9da2 | 130 | val = htmlc.wxHtmlParser_InitParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
131 | return val |
132 | def DoneParser(self, *_args, **_kwargs): | |
5a2a9da2 | 133 | val = htmlc.wxHtmlParser_DoneParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
134 | return val |
135 | def DoParsing(self, *_args, **_kwargs): | |
5a2a9da2 | 136 | val = htmlc.wxHtmlParser_DoParsing(self, *_args, **_kwargs) |
0f66a9f3 | 137 | return val |
7e50db3f | 138 | def StopParsing(self, *_args, **_kwargs): |
5a2a9da2 | 139 | val = htmlc.wxHtmlParser_StopParsing(self, *_args, **_kwargs) |
7e50db3f | 140 | return val |
0f66a9f3 | 141 | def AddTagHandler(self, *_args, **_kwargs): |
5a2a9da2 | 142 | val = htmlc.wxHtmlParser_AddTagHandler(self, *_args, **_kwargs) |
0f66a9f3 RD |
143 | return val |
144 | def GetSource(self, *_args, **_kwargs): | |
5a2a9da2 | 145 | val = htmlc.wxHtmlParser_GetSource(self, *_args, **_kwargs) |
0f66a9f3 | 146 | return val |
dc2f8a65 | 147 | def PushTagHandler(self, *_args, **_kwargs): |
5a2a9da2 | 148 | val = htmlc.wxHtmlParser_PushTagHandler(self, *_args, **_kwargs) |
dc2f8a65 RD |
149 | return val |
150 | def PopTagHandler(self, *_args, **_kwargs): | |
5a2a9da2 | 151 | val = htmlc.wxHtmlParser_PopTagHandler(self, *_args, **_kwargs) |
dc2f8a65 | 152 | return val |
0f66a9f3 | 153 | def __repr__(self): |
5a2a9da2 | 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): | |
5a2a9da2 | 167 | val = htmlc.wxHtmlWinParser_SetDC(self, *_args, **_kwargs) |
0f66a9f3 RD |
168 | return val |
169 | def GetDC(self, *_args, **_kwargs): | |
5a2a9da2 | 170 | val = htmlc.wxHtmlWinParser_GetDC(self, *_args, **_kwargs) |
0f66a9f3 RD |
171 | return val |
172 | def GetCharHeight(self, *_args, **_kwargs): | |
5a2a9da2 | 173 | val = htmlc.wxHtmlWinParser_GetCharHeight(self, *_args, **_kwargs) |
0f66a9f3 RD |
174 | return val |
175 | def GetCharWidth(self, *_args, **_kwargs): | |
5a2a9da2 | 176 | val = htmlc.wxHtmlWinParser_GetCharWidth(self, *_args, **_kwargs) |
0f66a9f3 RD |
177 | return val |
178 | def GetWindow(self, *_args, **_kwargs): | |
5a2a9da2 | 179 | val = htmlc.wxHtmlWinParser_GetWindow(self, *_args, **_kwargs) |
0f66a9f3 RD |
180 | return val |
181 | def SetFonts(self, *_args, **_kwargs): | |
5a2a9da2 | 182 | val = htmlc.wxHtmlWinParser_SetFonts(self, *_args, **_kwargs) |
0f66a9f3 RD |
183 | return val |
184 | def GetContainer(self, *_args, **_kwargs): | |
5a2a9da2 | 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): | |
5a2a9da2 | 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): |
5a2a9da2 | 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): |
5a2a9da2 | 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): | |
5a2a9da2 | 201 | val = htmlc.wxHtmlWinParser_GetFontSize(self, *_args, **_kwargs) |
0f66a9f3 RD |
202 | return val |
203 | def SetFontSize(self, *_args, **_kwargs): | |
5a2a9da2 | 204 | val = htmlc.wxHtmlWinParser_SetFontSize(self, *_args, **_kwargs) |
0f66a9f3 RD |
205 | return val |
206 | def GetFontBold(self, *_args, **_kwargs): | |
5a2a9da2 | 207 | val = htmlc.wxHtmlWinParser_GetFontBold(self, *_args, **_kwargs) |
0f66a9f3 RD |
208 | return val |
209 | def SetFontBold(self, *_args, **_kwargs): | |
5a2a9da2 | 210 | val = htmlc.wxHtmlWinParser_SetFontBold(self, *_args, **_kwargs) |
0f66a9f3 RD |
211 | return val |
212 | def GetFontItalic(self, *_args, **_kwargs): | |
5a2a9da2 | 213 | val = htmlc.wxHtmlWinParser_GetFontItalic(self, *_args, **_kwargs) |
0f66a9f3 RD |
214 | return val |
215 | def SetFontItalic(self, *_args, **_kwargs): | |
5a2a9da2 | 216 | val = htmlc.wxHtmlWinParser_SetFontItalic(self, *_args, **_kwargs) |
0f66a9f3 RD |
217 | return val |
218 | def GetFontUnderlined(self, *_args, **_kwargs): | |
5a2a9da2 | 219 | val = htmlc.wxHtmlWinParser_GetFontUnderlined(self, *_args, **_kwargs) |
0f66a9f3 RD |
220 | return val |
221 | def SetFontUnderlined(self, *_args, **_kwargs): | |
5a2a9da2 | 222 | val = htmlc.wxHtmlWinParser_SetFontUnderlined(self, *_args, **_kwargs) |
0f66a9f3 RD |
223 | return val |
224 | def GetFontFixed(self, *_args, **_kwargs): | |
5a2a9da2 | 225 | val = htmlc.wxHtmlWinParser_GetFontFixed(self, *_args, **_kwargs) |
0f66a9f3 RD |
226 | return val |
227 | def SetFontFixed(self, *_args, **_kwargs): | |
5a2a9da2 | 228 | val = htmlc.wxHtmlWinParser_SetFontFixed(self, *_args, **_kwargs) |
0f66a9f3 RD |
229 | return val |
230 | def GetAlign(self, *_args, **_kwargs): | |
5a2a9da2 | 231 | val = htmlc.wxHtmlWinParser_GetAlign(self, *_args, **_kwargs) |
0f66a9f3 RD |
232 | return val |
233 | def SetAlign(self, *_args, **_kwargs): | |
5a2a9da2 | 234 | val = htmlc.wxHtmlWinParser_SetAlign(self, *_args, **_kwargs) |
0f66a9f3 RD |
235 | return val |
236 | def GetLinkColor(self, *_args, **_kwargs): | |
5a2a9da2 | 237 | val = htmlc.wxHtmlWinParser_GetLinkColor(self, *_args, **_kwargs) |
c5943253 | 238 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
0f66a9f3 RD |
239 | return val |
240 | def SetLinkColor(self, *_args, **_kwargs): | |
5a2a9da2 | 241 | val = htmlc.wxHtmlWinParser_SetLinkColor(self, *_args, **_kwargs) |
0f66a9f3 RD |
242 | return val |
243 | def GetActualColor(self, *_args, **_kwargs): | |
5a2a9da2 | 244 | val = htmlc.wxHtmlWinParser_GetActualColor(self, *_args, **_kwargs) |
c5943253 | 245 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
0f66a9f3 RD |
246 | return val |
247 | def SetActualColor(self, *_args, **_kwargs): | |
5a2a9da2 | 248 | val = htmlc.wxHtmlWinParser_SetActualColor(self, *_args, **_kwargs) |
0f66a9f3 | 249 | return val |
0f66a9f3 | 250 | def SetLink(self, *_args, **_kwargs): |
5a2a9da2 | 251 | val = htmlc.wxHtmlWinParser_SetLink(self, *_args, **_kwargs) |
0f66a9f3 RD |
252 | return val |
253 | def CreateCurrentFont(self, *_args, **_kwargs): | |
5a2a9da2 | 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): |
5a2a9da2 | 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): |
5a2a9da2 | 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): | |
5a2a9da2 | 265 | self.this = htmlc.new_wxHtmlWinParser(*_args,**_kwargs) |
0f66a9f3 RD |
266 | self.thisown = 1 |
267 | ||
268 | ||
269 | ||
270 | ||
9416aa89 | 271 | class wxHtmlTagHandlerPtr(wxObjectPtr): |
0f66a9f3 RD |
272 | def __init__(self,this): |
273 | self.this = this | |
274 | self.thisown = 0 | |
0122b7e3 | 275 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 276 | val = htmlc.wxHtmlTagHandler__setCallbackInfo(self, *_args, **_kwargs) |
0f66a9f3 RD |
277 | return val |
278 | def SetParser(self, *_args, **_kwargs): | |
5a2a9da2 | 279 | val = htmlc.wxHtmlTagHandler_SetParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
280 | return val |
281 | def GetParser(self, *_args, **_kwargs): | |
5a2a9da2 | 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): | |
5a2a9da2 | 286 | val = htmlc.wxHtmlTagHandler_ParseInner(self, *_args, **_kwargs) |
0f66a9f3 RD |
287 | return val |
288 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 292 | self.this = htmlc.new_wxHtmlTagHandler(*_args,**_kwargs) |
0f66a9f3 | 293 | self.thisown = 1 |
0122b7e3 | 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 | |
0122b7e3 | 303 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 304 | val = htmlc.wxHtmlWinTagHandler__setCallbackInfo(self, *_args, **_kwargs) |
0f66a9f3 RD |
305 | return val |
306 | def SetParser(self, *_args, **_kwargs): | |
5a2a9da2 | 307 | val = htmlc.wxHtmlWinTagHandler_SetParser(self, *_args, **_kwargs) |
0f66a9f3 RD |
308 | return val |
309 | def GetParser(self, *_args, **_kwargs): | |
5a2a9da2 | 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): | |
5a2a9da2 | 314 | val = htmlc.wxHtmlWinTagHandler_ParseInner(self, *_args, **_kwargs) |
0f66a9f3 RD |
315 | return val |
316 | def __repr__(self): | |
5a2a9da2 | 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): | |
5a2a9da2 | 320 | self.this = htmlc.new_wxHtmlWinTagHandler(*_args,**_kwargs) |
0f66a9f3 | 321 | self.thisown = 1 |
0122b7e3 | 322 | self._setCallbackInfo(self, wxHtmlWinTagHandler) |
0f66a9f3 RD |
323 | |
324 | ||
325 | ||
326 | ||
5a2a9da2 RD |
327 | class wxHtmlSelectionPtr : |
328 | def __init__(self,this): | |
329 | self.this = this | |
330 | self.thisown = 0 | |
331 | def __del__(self, delfunc=htmlc.delete_wxHtmlSelection): | |
332 | if self.thisown == 1: | |
333 | try: | |
334 | delfunc(self) | |
335 | except: | |
336 | pass | |
337 | def Set(self, *_args, **_kwargs): | |
338 | val = htmlc.wxHtmlSelection_Set(self, *_args, **_kwargs) | |
339 | return val | |
340 | def SetCells(self, *_args, **_kwargs): | |
341 | val = htmlc.wxHtmlSelection_SetCells(self, *_args, **_kwargs) | |
342 | return val | |
343 | def GetFromCell(self, *_args, **_kwargs): | |
344 | val = htmlc.wxHtmlSelection_GetFromCell(self, *_args, **_kwargs) | |
345 | if val: val = wxHtmlCellPtr(val) | |
346 | return val | |
347 | def GetToCell(self, *_args, **_kwargs): | |
348 | val = htmlc.wxHtmlSelection_GetToCell(self, *_args, **_kwargs) | |
349 | if val: val = wxHtmlCellPtr(val) | |
350 | return val | |
351 | def GetFromPos(self, *_args, **_kwargs): | |
352 | val = htmlc.wxHtmlSelection_GetFromPos(self, *_args, **_kwargs) | |
353 | if val: val = wxPointPtr(val) | |
354 | return val | |
355 | def GetToPos(self, *_args, **_kwargs): | |
356 | val = htmlc.wxHtmlSelection_GetToPos(self, *_args, **_kwargs) | |
357 | if val: val = wxPointPtr(val) | |
358 | return val | |
359 | def GetFromPrivPos(self, *_args, **_kwargs): | |
360 | val = htmlc.wxHtmlSelection_GetFromPrivPos(self, *_args, **_kwargs) | |
361 | if val: val = wxPointPtr(val) | |
362 | return val | |
363 | def GetToPrivPos(self, *_args, **_kwargs): | |
364 | val = htmlc.wxHtmlSelection_GetToPrivPos(self, *_args, **_kwargs) | |
365 | if val: val = wxPointPtr(val) | |
366 | return val | |
367 | def SetFromPrivPos(self, *_args, **_kwargs): | |
368 | val = htmlc.wxHtmlSelection_SetFromPrivPos(self, *_args, **_kwargs) | |
369 | return val | |
370 | def SetToPrivPos(self, *_args, **_kwargs): | |
371 | val = htmlc.wxHtmlSelection_SetToPrivPos(self, *_args, **_kwargs) | |
372 | return val | |
373 | def ClearPrivPos(self, *_args, **_kwargs): | |
374 | val = htmlc.wxHtmlSelection_ClearPrivPos(self, *_args, **_kwargs) | |
375 | return val | |
376 | def IsEmpty(self, *_args, **_kwargs): | |
377 | val = htmlc.wxHtmlSelection_IsEmpty(self, *_args, **_kwargs) | |
378 | return val | |
379 | def __repr__(self): | |
380 | return "<%s.%s instance; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
381 | class wxHtmlSelection(wxHtmlSelectionPtr): | |
382 | def __init__(self,*_args,**_kwargs): | |
383 | self.this = htmlc.new_wxHtmlSelection(*_args,**_kwargs) | |
384 | self.thisown = 1 | |
385 | ||
386 | ||
387 | ||
388 | ||
389 | class wxHtmlRenderingStatePtr : | |
390 | def __init__(self,this): | |
391 | self.this = this | |
392 | self.thisown = 0 | |
393 | def __del__(self, delfunc=htmlc.delete_wxHtmlRenderingState): | |
394 | if self.thisown == 1: | |
395 | try: | |
396 | delfunc(self) | |
397 | except: | |
398 | pass | |
399 | def SetSelectionState(self, *_args, **_kwargs): | |
400 | val = htmlc.wxHtmlRenderingState_SetSelectionState(self, *_args, **_kwargs) | |
401 | return val | |
402 | def GetSelectionState(self, *_args, **_kwargs): | |
403 | val = htmlc.wxHtmlRenderingState_GetSelectionState(self, *_args, **_kwargs) | |
404 | return val | |
405 | def SetFgColour(self, *_args, **_kwargs): | |
406 | val = htmlc.wxHtmlRenderingState_SetFgColour(self, *_args, **_kwargs) | |
407 | return val | |
408 | def GetFgColour(self, *_args, **_kwargs): | |
409 | val = htmlc.wxHtmlRenderingState_GetFgColour(self, *_args, **_kwargs) | |
410 | if val: val = wxColourPtr(val) | |
411 | return val | |
412 | def SetBgColour(self, *_args, **_kwargs): | |
413 | val = htmlc.wxHtmlRenderingState_SetBgColour(self, *_args, **_kwargs) | |
414 | return val | |
415 | def GetBgColour(self, *_args, **_kwargs): | |
416 | val = htmlc.wxHtmlRenderingState_GetBgColour(self, *_args, **_kwargs) | |
417 | if val: val = wxColourPtr(val) | |
418 | return val | |
419 | def __repr__(self): | |
420 | return "<%s.%s instance; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
421 | class wxHtmlRenderingState(wxHtmlRenderingStatePtr): | |
422 | def __init__(self,*_args,**_kwargs): | |
423 | self.this = htmlc.new_wxHtmlRenderingState(*_args,**_kwargs) | |
424 | self.thisown = 1 | |
425 | ||
426 | ||
427 | ||
428 | ||
429 | class wxHtmlRenderingStylePtr : | |
430 | def __init__(self,this): | |
431 | self.this = this | |
432 | self.thisown = 0 | |
433 | def GetSelectedTextColour(self, *_args, **_kwargs): | |
434 | val = htmlc.wxHtmlRenderingStyle_GetSelectedTextColour(self, *_args, **_kwargs) | |
435 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
436 | return val | |
437 | def GetSelectedTextBgColour(self, *_args, **_kwargs): | |
438 | val = htmlc.wxHtmlRenderingStyle_GetSelectedTextBgColour(self, *_args, **_kwargs) | |
439 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
440 | return val | |
441 | def __repr__(self): | |
442 | return "<%s.%s instance; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
443 | class wxHtmlRenderingStyle(wxHtmlRenderingStylePtr): | |
444 | def __init__(self,this): | |
445 | self.this = this | |
446 | ||
447 | ||
448 | ||
449 | ||
450 | class wxDefaultHtmlRenderingStylePtr(wxHtmlRenderingStylePtr): | |
451 | def __init__(self,this): | |
452 | self.this = this | |
453 | self.thisown = 0 | |
454 | def GetSelectedTextColour(self, *_args, **_kwargs): | |
455 | val = htmlc.wxDefaultHtmlRenderingStyle_GetSelectedTextColour(self, *_args, **_kwargs) | |
456 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
457 | return val | |
458 | def GetSelectedTextBgColour(self, *_args, **_kwargs): | |
459 | val = htmlc.wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(self, *_args, **_kwargs) | |
460 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
461 | return val | |
462 | def __repr__(self): | |
463 | return "<%s.%s instance; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
464 | class wxDefaultHtmlRenderingStyle(wxDefaultHtmlRenderingStylePtr): | |
465 | def __init__(self,this): | |
466 | self.this = this | |
467 | ||
468 | ||
469 | ||
470 | ||
471 | class wxHtmlRenderingInfoPtr : | |
472 | def __init__(self,this): | |
473 | self.this = this | |
474 | self.thisown = 0 | |
475 | def __del__(self, delfunc=htmlc.delete_wxHtmlRenderingInfo): | |
476 | if self.thisown == 1: | |
477 | try: | |
478 | delfunc(self) | |
479 | except: | |
480 | pass | |
481 | def SetSelection(self, *_args, **_kwargs): | |
482 | val = htmlc.wxHtmlRenderingInfo_SetSelection(self, *_args, **_kwargs) | |
483 | return val | |
484 | def GetSelection(self, *_args, **_kwargs): | |
485 | val = htmlc.wxHtmlRenderingInfo_GetSelection(self, *_args, **_kwargs) | |
486 | if val: val = wxHtmlSelectionPtr(val) | |
487 | return val | |
488 | def SetStyle(self, *_args, **_kwargs): | |
489 | val = htmlc.wxHtmlRenderingInfo_SetStyle(self, *_args, **_kwargs) | |
490 | return val | |
491 | def GetStyle(self, *_args, **_kwargs): | |
492 | val = htmlc.wxHtmlRenderingInfo_GetStyle(self, *_args, **_kwargs) | |
493 | if val: val = wxHtmlRenderingStylePtr(val) | |
494 | return val | |
495 | def GetState(self, *_args, **_kwargs): | |
496 | val = htmlc.wxHtmlRenderingInfo_GetState(self, *_args, **_kwargs) | |
497 | if val: val = wxHtmlRenderingStatePtr(val) | |
498 | return val | |
499 | def __repr__(self): | |
500 | return "<%s.%s instance; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
501 | class wxHtmlRenderingInfo(wxHtmlRenderingInfoPtr): | |
502 | def __init__(self,*_args,**_kwargs): | |
503 | self.this = htmlc.new_wxHtmlRenderingInfo(*_args,**_kwargs) | |
504 | self.thisown = 1 | |
505 | ||
506 | ||
507 | ||
508 | ||
9416aa89 | 509 | class wxHtmlCellPtr(wxObjectPtr): |
e166644c RD |
510 | def __init__(self,this): |
511 | self.this = this | |
512 | self.thisown = 0 | |
e166644c | 513 | def GetPosX(self, *_args, **_kwargs): |
5a2a9da2 | 514 | val = htmlc.wxHtmlCell_GetPosX(self, *_args, **_kwargs) |
e166644c RD |
515 | return val |
516 | def GetPosY(self, *_args, **_kwargs): | |
5a2a9da2 | 517 | val = htmlc.wxHtmlCell_GetPosY(self, *_args, **_kwargs) |
e166644c RD |
518 | return val |
519 | def GetWidth(self, *_args, **_kwargs): | |
5a2a9da2 | 520 | val = htmlc.wxHtmlCell_GetWidth(self, *_args, **_kwargs) |
e166644c RD |
521 | return val |
522 | def GetHeight(self, *_args, **_kwargs): | |
5a2a9da2 | 523 | val = htmlc.wxHtmlCell_GetHeight(self, *_args, **_kwargs) |
e166644c RD |
524 | return val |
525 | def GetDescent(self, *_args, **_kwargs): | |
5a2a9da2 | 526 | val = htmlc.wxHtmlCell_GetDescent(self, *_args, **_kwargs) |
e166644c RD |
527 | return val |
528 | def GetLink(self, *_args, **_kwargs): | |
5a2a9da2 | 529 | val = htmlc.wxHtmlCell_GetLink(self, *_args, **_kwargs) |
9c00cfa3 | 530 | if val: val = wxHtmlLinkInfoPtr(val) |
e166644c RD |
531 | return val |
532 | def GetNext(self, *_args, **_kwargs): | |
5a2a9da2 | 533 | val = htmlc.wxHtmlCell_GetNext(self, *_args, **_kwargs) |
e166644c RD |
534 | if val: val = wxHtmlCellPtr(val) |
535 | return val | |
9c00cfa3 | 536 | def GetParent(self, *_args, **_kwargs): |
5a2a9da2 | 537 | val = htmlc.wxHtmlCell_GetParent(self, *_args, **_kwargs) |
9c00cfa3 | 538 | if val: val = wxHtmlContainerCellPtr(val) |
e166644c | 539 | return val |
5a2a9da2 RD |
540 | def GetFirstChild(self, *_args, **_kwargs): |
541 | val = htmlc.wxHtmlCell_GetFirstChild(self, *_args, **_kwargs) | |
542 | if val: val = wxHtmlCellPtr(val) | |
543 | return val | |
544 | def GetCursor(self, *_args, **_kwargs): | |
545 | val = htmlc.wxHtmlCell_GetCursor(self, *_args, **_kwargs) | |
546 | if val: val = wxCursorPtr(val) ; val.thisown = 1 | |
547 | return val | |
548 | def IsFormattingCell(self, *_args, **_kwargs): | |
549 | val = htmlc.wxHtmlCell_IsFormattingCell(self, *_args, **_kwargs) | |
550 | return val | |
e166644c | 551 | def SetLink(self, *_args, **_kwargs): |
5a2a9da2 | 552 | val = htmlc.wxHtmlCell_SetLink(self, *_args, **_kwargs) |
e166644c RD |
553 | return val |
554 | def SetNext(self, *_args, **_kwargs): | |
5a2a9da2 | 555 | val = htmlc.wxHtmlCell_SetNext(self, *_args, **_kwargs) |
e166644c | 556 | return val |
9c00cfa3 | 557 | def SetParent(self, *_args, **_kwargs): |
5a2a9da2 | 558 | val = htmlc.wxHtmlCell_SetParent(self, *_args, **_kwargs) |
9c00cfa3 RD |
559 | return val |
560 | def SetPos(self, *_args, **_kwargs): | |
5a2a9da2 | 561 | val = htmlc.wxHtmlCell_SetPos(self, *_args, **_kwargs) |
9c00cfa3 | 562 | return val |
e166644c | 563 | def Layout(self, *_args, **_kwargs): |
5a2a9da2 | 564 | val = htmlc.wxHtmlCell_Layout(self, *_args, **_kwargs) |
e166644c RD |
565 | return val |
566 | def Draw(self, *_args, **_kwargs): | |
5a2a9da2 | 567 | val = htmlc.wxHtmlCell_Draw(self, *_args, **_kwargs) |
e166644c RD |
568 | return val |
569 | def DrawInvisible(self, *_args, **_kwargs): | |
5a2a9da2 | 570 | val = htmlc.wxHtmlCell_DrawInvisible(self, *_args, **_kwargs) |
e166644c RD |
571 | return val |
572 | def Find(self, *_args, **_kwargs): | |
5a2a9da2 | 573 | val = htmlc.wxHtmlCell_Find(self, *_args, **_kwargs) |
e166644c RD |
574 | if val: val = wxHtmlCellPtr(val) |
575 | return val | |
dc2f8a65 | 576 | def AdjustPagebreak(self, *_args, **_kwargs): |
5a2a9da2 | 577 | val = htmlc.wxHtmlCell_AdjustPagebreak(self, *_args, **_kwargs) |
dc2f8a65 RD |
578 | return val |
579 | def SetCanLiveOnPagebreak(self, *_args, **_kwargs): | |
5a2a9da2 RD |
580 | val = htmlc.wxHtmlCell_SetCanLiveOnPagebreak(self, *_args, **_kwargs) |
581 | return val | |
582 | def IsLinebreakAllowed(self, *_args, **_kwargs): | |
583 | val = htmlc.wxHtmlCell_IsLinebreakAllowed(self, *_args, **_kwargs) | |
584 | return val | |
585 | def IsTerminalCell(self, *_args, **_kwargs): | |
586 | val = htmlc.wxHtmlCell_IsTerminalCell(self, *_args, **_kwargs) | |
587 | return val | |
588 | def FindCellByPos(self, *_args, **_kwargs): | |
589 | val = htmlc.wxHtmlCell_FindCellByPos(self, *_args, **_kwargs) | |
590 | if val: val = wxHtmlCellPtr(val) | |
591 | return val | |
592 | def GetAbsPos(self, *_args, **_kwargs): | |
593 | val = htmlc.wxHtmlCell_GetAbsPos(self, *_args, **_kwargs) | |
594 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
595 | return val | |
596 | def GetFirstTerminal(self, *_args, **_kwargs): | |
597 | val = htmlc.wxHtmlCell_GetFirstTerminal(self, *_args, **_kwargs) | |
598 | if val: val = wxHtmlCellPtr(val) | |
599 | return val | |
600 | def GetLastTerminal(self, *_args, **_kwargs): | |
601 | val = htmlc.wxHtmlCell_GetLastTerminal(self, *_args, **_kwargs) | |
602 | if val: val = wxHtmlCellPtr(val) | |
603 | return val | |
604 | def GetDepth(self, *_args, **_kwargs): | |
605 | val = htmlc.wxHtmlCell_GetDepth(self, *_args, **_kwargs) | |
606 | return val | |
607 | def IsBefore(self, *_args, **_kwargs): | |
608 | val = htmlc.wxHtmlCell_IsBefore(self, *_args, **_kwargs) | |
609 | return val | |
610 | def ConvertToText(self, *_args, **_kwargs): | |
611 | val = htmlc.wxHtmlCell_ConvertToText(self, *_args, **_kwargs) | |
dc2f8a65 | 612 | return val |
e166644c | 613 | def __repr__(self): |
5a2a9da2 | 614 | return "<%s.%s instance; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e166644c RD |
615 | class wxHtmlCell(wxHtmlCellPtr): |
616 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 617 | self.this = htmlc.new_wxHtmlCell(*_args,**_kwargs) |
e166644c RD |
618 | self.thisown = 1 |
619 | ||
620 | ||
621 | ||
622 | ||
9416aa89 RD |
623 | class wxHtmlWordCellPtr(wxHtmlCellPtr): |
624 | def __init__(self,this): | |
625 | self.this = this | |
626 | self.thisown = 0 | |
627 | def __repr__(self): | |
5a2a9da2 | 628 | return "<%s.%s instance; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9416aa89 RD |
629 | class wxHtmlWordCell(wxHtmlWordCellPtr): |
630 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 631 | self.this = htmlc.new_wxHtmlWordCell(*_args,**_kwargs) |
9416aa89 RD |
632 | self.thisown = 1 |
633 | ||
634 | ||
635 | ||
636 | ||
e166644c RD |
637 | class wxHtmlContainerCellPtr(wxHtmlCellPtr): |
638 | def __init__(self,this): | |
639 | self.this = this | |
640 | self.thisown = 0 | |
641 | def InsertCell(self, *_args, **_kwargs): | |
5a2a9da2 | 642 | val = htmlc.wxHtmlContainerCell_InsertCell(self, *_args, **_kwargs) |
e166644c RD |
643 | return val |
644 | def SetAlignHor(self, *_args, **_kwargs): | |
5a2a9da2 | 645 | val = htmlc.wxHtmlContainerCell_SetAlignHor(self, *_args, **_kwargs) |
e166644c RD |
646 | return val |
647 | def GetAlignHor(self, *_args, **_kwargs): | |
5a2a9da2 | 648 | val = htmlc.wxHtmlContainerCell_GetAlignHor(self, *_args, **_kwargs) |
e166644c RD |
649 | return val |
650 | def SetAlignVer(self, *_args, **_kwargs): | |
5a2a9da2 | 651 | val = htmlc.wxHtmlContainerCell_SetAlignVer(self, *_args, **_kwargs) |
e166644c RD |
652 | return val |
653 | def GetAlignVer(self, *_args, **_kwargs): | |
5a2a9da2 | 654 | val = htmlc.wxHtmlContainerCell_GetAlignVer(self, *_args, **_kwargs) |
e166644c RD |
655 | return val |
656 | def SetIndent(self, *_args, **_kwargs): | |
5a2a9da2 | 657 | val = htmlc.wxHtmlContainerCell_SetIndent(self, *_args, **_kwargs) |
e166644c RD |
658 | return val |
659 | def GetIndent(self, *_args, **_kwargs): | |
5a2a9da2 | 660 | val = htmlc.wxHtmlContainerCell_GetIndent(self, *_args, **_kwargs) |
e166644c RD |
661 | return val |
662 | def GetIndentUnits(self, *_args, **_kwargs): | |
5a2a9da2 | 663 | val = htmlc.wxHtmlContainerCell_GetIndentUnits(self, *_args, **_kwargs) |
e166644c RD |
664 | return val |
665 | def SetAlign(self, *_args, **_kwargs): | |
5a2a9da2 | 666 | val = htmlc.wxHtmlContainerCell_SetAlign(self, *_args, **_kwargs) |
e166644c RD |
667 | return val |
668 | def SetWidthFloat(self, *_args, **_kwargs): | |
5a2a9da2 | 669 | val = htmlc.wxHtmlContainerCell_SetWidthFloat(self, *_args, **_kwargs) |
e166644c RD |
670 | return val |
671 | def SetWidthFloatFromTag(self, *_args, **_kwargs): | |
5a2a9da2 | 672 | val = htmlc.wxHtmlContainerCell_SetWidthFloatFromTag(self, *_args, **_kwargs) |
e166644c RD |
673 | return val |
674 | def SetMinHeight(self, *_args, **_kwargs): | |
5a2a9da2 | 675 | val = htmlc.wxHtmlContainerCell_SetMinHeight(self, *_args, **_kwargs) |
e166644c | 676 | return val |
e166644c | 677 | def SetBackgroundColour(self, *_args, **_kwargs): |
5a2a9da2 | 678 | val = htmlc.wxHtmlContainerCell_SetBackgroundColour(self, *_args, **_kwargs) |
e166644c | 679 | return val |
7e50db3f | 680 | def GetBackgroundColour(self, *_args, **_kwargs): |
5a2a9da2 | 681 | val = htmlc.wxHtmlContainerCell_GetBackgroundColour(self, *_args, **_kwargs) |
7e50db3f RD |
682 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
683 | return val | |
e166644c | 684 | def SetBorder(self, *_args, **_kwargs): |
5a2a9da2 | 685 | val = htmlc.wxHtmlContainerCell_SetBorder(self, *_args, **_kwargs) |
e166644c | 686 | return val |
5a2a9da2 RD |
687 | def GetFirstChild(self, *_args, **_kwargs): |
688 | val = htmlc.wxHtmlContainerCell_GetFirstChild(self, *_args, **_kwargs) | |
e166644c RD |
689 | if val: val = wxHtmlCellPtr(val) |
690 | return val | |
691 | def __repr__(self): | |
5a2a9da2 RD |
692 | return "<%s.%s instance; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
693 | GetFirstCell = GetFirstChild | |
e166644c RD |
694 | class wxHtmlContainerCell(wxHtmlContainerCellPtr): |
695 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 696 | self.this = htmlc.new_wxHtmlContainerCell(*_args,**_kwargs) |
e166644c RD |
697 | self.thisown = 1 |
698 | ||
699 | ||
700 | ||
701 | ||
9c00cfa3 RD |
702 | class wxHtmlColourCellPtr(wxHtmlCellPtr): |
703 | def __init__(self,this): | |
704 | self.this = this | |
705 | self.thisown = 0 | |
706 | def __repr__(self): | |
5a2a9da2 | 707 | return "<%s.%s instance; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9c00cfa3 RD |
708 | class wxHtmlColourCell(wxHtmlColourCellPtr): |
709 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 710 | self.this = htmlc.new_wxHtmlColourCell(*_args,**_kwargs) |
9c00cfa3 RD |
711 | self.thisown = 1 |
712 | ||
713 | ||
714 | ||
715 | ||
9416aa89 RD |
716 | class wxHtmlFontCellPtr(wxHtmlCellPtr): |
717 | def __init__(self,this): | |
718 | self.this = this | |
719 | self.thisown = 0 | |
720 | def __repr__(self): | |
5a2a9da2 | 721 | return "<%s.%s instance; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9416aa89 RD |
722 | class wxHtmlFontCell(wxHtmlFontCellPtr): |
723 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 724 | self.this = htmlc.new_wxHtmlFontCell(*_args,**_kwargs) |
9416aa89 RD |
725 | self.thisown = 1 |
726 | ||
727 | ||
728 | ||
729 | ||
e166644c RD |
730 | class wxHtmlWidgetCellPtr(wxHtmlCellPtr): |
731 | def __init__(self,this): | |
732 | self.this = this | |
733 | self.thisown = 0 | |
734 | def __repr__(self): | |
5a2a9da2 | 735 | return "<%s.%s instance; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e166644c RD |
736 | class wxHtmlWidgetCell(wxHtmlWidgetCellPtr): |
737 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 738 | self.this = htmlc.new_wxHtmlWidgetCell(*_args,**_kwargs) |
e166644c RD |
739 | self.thisown = 1 |
740 | ||
741 | ||
742 | ||
743 | ||
7e50db3f RD |
744 | class wxHtmlFilterPtr(wxObjectPtr): |
745 | def __init__(self,this): | |
746 | self.this = this | |
747 | self.thisown = 0 | |
748 | def _setCallbackInfo(self, *_args, **_kwargs): | |
5a2a9da2 | 749 | val = htmlc.wxHtmlFilter__setCallbackInfo(self, *_args, **_kwargs) |
7e50db3f RD |
750 | return val |
751 | def __repr__(self): | |
5a2a9da2 | 752 | return "<%s.%s instance; proxy of C++ wxHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
7e50db3f RD |
753 | class wxHtmlFilter(wxHtmlFilterPtr): |
754 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 755 | self.this = htmlc.new_wxHtmlFilter(*_args,**_kwargs) |
7e50db3f RD |
756 | self.thisown = 1 |
757 | self._setCallbackInfo(self, wxHtmlFilter) | |
758 | ||
759 | ||
760 | ||
761 | ||
325274bb RD |
762 | class wxHtmlWindowPtr(wxScrolledWindowPtr): |
763 | def __init__(self,this): | |
764 | self.this = this | |
765 | self.thisown = 0 | |
7b7ac0ab | 766 | def Create(self, *_args, **_kwargs): |
5a2a9da2 | 767 | val = htmlc.wxHtmlWindow_Create(self, *_args, **_kwargs) |
7b7ac0ab | 768 | return val |
0122b7e3 | 769 | def _setCallbackInfo(self, *_args, **_kwargs): |
5a2a9da2 | 770 | val = htmlc.wxHtmlWindow__setCallbackInfo(self, *_args, **_kwargs) |
0f66a9f3 | 771 | return val |
325274bb | 772 | def SetPage(self, *_args, **_kwargs): |
5a2a9da2 | 773 | val = htmlc.wxHtmlWindow_SetPage(self, *_args, **_kwargs) |
325274bb RD |
774 | return val |
775 | def LoadPage(self, *_args, **_kwargs): | |
5a2a9da2 RD |
776 | val = htmlc.wxHtmlWindow_LoadPage(self, *_args, **_kwargs) |
777 | return val | |
778 | def LoadFile(self, *_args, **_kwargs): | |
779 | val = htmlc.wxHtmlWindow_LoadFile(self, *_args, **_kwargs) | |
325274bb | 780 | return val |
de112a55 | 781 | def AppendToPage(self, *_args, **_kwargs): |
5a2a9da2 | 782 | val = htmlc.wxHtmlWindow_AppendToPage(self, *_args, **_kwargs) |
de112a55 | 783 | return val |
325274bb | 784 | def GetOpenedPage(self, *_args, **_kwargs): |
5a2a9da2 | 785 | val = htmlc.wxHtmlWindow_GetOpenedPage(self, *_args, **_kwargs) |
325274bb | 786 | return val |
794c5cb1 | 787 | def GetOpenedAnchor(self, *_args, **_kwargs): |
5a2a9da2 | 788 | val = htmlc.wxHtmlWindow_GetOpenedAnchor(self, *_args, **_kwargs) |
794c5cb1 RD |
789 | return val |
790 | def GetOpenedPageTitle(self, *_args, **_kwargs): | |
5a2a9da2 | 791 | val = htmlc.wxHtmlWindow_GetOpenedPageTitle(self, *_args, **_kwargs) |
794c5cb1 | 792 | return val |
325274bb | 793 | def SetRelatedFrame(self, *_args, **_kwargs): |
5a2a9da2 | 794 | val = htmlc.wxHtmlWindow_SetRelatedFrame(self, *_args, **_kwargs) |
325274bb RD |
795 | return val |
796 | def GetRelatedFrame(self, *_args, **_kwargs): | |
5a2a9da2 | 797 | val = htmlc.wxHtmlWindow_GetRelatedFrame(self, *_args, **_kwargs) |
325274bb RD |
798 | return val |
799 | def SetRelatedStatusBar(self, *_args, **_kwargs): | |
5a2a9da2 | 800 | val = htmlc.wxHtmlWindow_SetRelatedStatusBar(self, *_args, **_kwargs) |
325274bb RD |
801 | return val |
802 | def SetFonts(self, *_args, **_kwargs): | |
5a2a9da2 | 803 | val = htmlc.wxHtmlWindow_SetFonts(self, *_args, **_kwargs) |
325274bb RD |
804 | return val |
805 | def SetTitle(self, *_args, **_kwargs): | |
5a2a9da2 | 806 | val = htmlc.wxHtmlWindow_SetTitle(self, *_args, **_kwargs) |
325274bb RD |
807 | return val |
808 | def SetBorders(self, *_args, **_kwargs): | |
5a2a9da2 | 809 | val = htmlc.wxHtmlWindow_SetBorders(self, *_args, **_kwargs) |
325274bb | 810 | return val |
0f66a9f3 | 811 | def ReadCustomization(self, *_args, **_kwargs): |
5a2a9da2 | 812 | val = htmlc.wxHtmlWindow_ReadCustomization(self, *_args, **_kwargs) |
0f66a9f3 RD |
813 | return val |
814 | def WriteCustomization(self, *_args, **_kwargs): | |
5a2a9da2 | 815 | val = htmlc.wxHtmlWindow_WriteCustomization(self, *_args, **_kwargs) |
0f66a9f3 | 816 | return val |
325274bb | 817 | def HistoryBack(self, *_args, **_kwargs): |
5a2a9da2 | 818 | val = htmlc.wxHtmlWindow_HistoryBack(self, *_args, **_kwargs) |
325274bb RD |
819 | return val |
820 | def HistoryForward(self, *_args, **_kwargs): | |
5a2a9da2 | 821 | val = htmlc.wxHtmlWindow_HistoryForward(self, *_args, **_kwargs) |
325274bb | 822 | return val |
794c5cb1 | 823 | def HistoryCanBack(self, *_args, **_kwargs): |
5a2a9da2 | 824 | val = htmlc.wxHtmlWindow_HistoryCanBack(self, *_args, **_kwargs) |
794c5cb1 RD |
825 | return val |
826 | def HistoryCanForward(self, *_args, **_kwargs): | |
5a2a9da2 | 827 | val = htmlc.wxHtmlWindow_HistoryCanForward(self, *_args, **_kwargs) |
794c5cb1 | 828 | return val |
325274bb | 829 | def HistoryClear(self, *_args, **_kwargs): |
5a2a9da2 | 830 | val = htmlc.wxHtmlWindow_HistoryClear(self, *_args, **_kwargs) |
325274bb | 831 | return val |
a65c6e14 | 832 | def GetInternalRepresentation(self, *_args, **_kwargs): |
5a2a9da2 | 833 | val = htmlc.wxHtmlWindow_GetInternalRepresentation(self, *_args, **_kwargs) |
e166644c RD |
834 | if val: val = wxHtmlContainerCellPtr(val) |
835 | return val | |
836 | def GetParser(self, *_args, **_kwargs): | |
5a2a9da2 | 837 | val = htmlc.wxHtmlWindow_GetParser(self, *_args, **_kwargs) |
e166644c | 838 | if val: val = wxHtmlWinParserPtr(val) |
a65c6e14 | 839 | return val |
7d0180d4 | 840 | def ScrollToAnchor(self, *_args, **_kwargs): |
5a2a9da2 | 841 | val = htmlc.wxHtmlWindow_ScrollToAnchor(self, *_args, **_kwargs) |
7d0180d4 RD |
842 | return val |
843 | def HasAnchor(self, *_args, **_kwargs): | |
5a2a9da2 | 844 | val = htmlc.wxHtmlWindow_HasAnchor(self, *_args, **_kwargs) |
7d0180d4 | 845 | return val |
95837b4d | 846 | def base_OnLinkClicked(self, *_args, **_kwargs): |
5a2a9da2 | 847 | val = htmlc.wxHtmlWindow_base_OnLinkClicked(self, *_args, **_kwargs) |
95837b4d | 848 | return val |
9c00cfa3 | 849 | def base_OnSetTitle(self, *_args, **_kwargs): |
5a2a9da2 | 850 | val = htmlc.wxHtmlWindow_base_OnSetTitle(self, *_args, **_kwargs) |
0f66a9f3 | 851 | return val |
0122b7e3 | 852 | def base_OnCellMouseHover(self, *_args, **_kwargs): |
5a2a9da2 | 853 | val = htmlc.wxHtmlWindow_base_OnCellMouseHover(self, *_args, **_kwargs) |
0122b7e3 RD |
854 | return val |
855 | def base_OnCellClicked(self, *_args, **_kwargs): | |
5a2a9da2 | 856 | val = htmlc.wxHtmlWindow_base_OnCellClicked(self, *_args, **_kwargs) |
0122b7e3 | 857 | return val |
325274bb | 858 | def __repr__(self): |
5a2a9da2 | 859 | return "<%s.%s instance; proxy of C++ wxHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
325274bb RD |
860 | class wxHtmlWindow(wxHtmlWindowPtr): |
861 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 862 | self.this = htmlc.new_wxHtmlWindow(*_args,**_kwargs) |
325274bb | 863 | self.thisown = 1 |
0122b7e3 RD |
864 | self._setCallbackInfo(self, wxHtmlWindow) |
865 | self._setOORInfo(self) | |
325274bb RD |
866 | |
867 | ||
868 | ||
7b7ac0ab | 869 | def wxPreHtmlWindow(*_args,**_kwargs): |
5a2a9da2 | 870 | val = wxHtmlWindowPtr(htmlc.new_wxPreHtmlWindow(*_args,**_kwargs)) |
7b7ac0ab RD |
871 | val.thisown = 1 |
872 | val._setOORInfo(val) | |
873 | return val | |
874 | ||
325274bb | 875 | |
9416aa89 | 876 | class wxHtmlDCRendererPtr(wxObjectPtr): |
dc2f8a65 RD |
877 | def __init__(self,this): |
878 | self.this = this | |
879 | self.thisown = 0 | |
7e50db3f RD |
880 | def __del__(self, delfunc=htmlc.delete_wxHtmlDCRenderer): |
881 | if self.thisown == 1: | |
882 | try: | |
883 | delfunc(self) | |
884 | except: | |
885 | pass | |
dc2f8a65 | 886 | def SetDC(self, *_args, **_kwargs): |
5a2a9da2 | 887 | val = htmlc.wxHtmlDCRenderer_SetDC(self, *_args, **_kwargs) |
dc2f8a65 RD |
888 | return val |
889 | def SetSize(self, *_args, **_kwargs): | |
5a2a9da2 | 890 | val = htmlc.wxHtmlDCRenderer_SetSize(self, *_args, **_kwargs) |
dc2f8a65 RD |
891 | return val |
892 | def SetHtmlText(self, *_args, **_kwargs): | |
5a2a9da2 | 893 | val = htmlc.wxHtmlDCRenderer_SetHtmlText(self, *_args, **_kwargs) |
dc2f8a65 | 894 | return val |
3856ee0b | 895 | def SetFonts(self, *_args, **_kwargs): |
5a2a9da2 | 896 | val = htmlc.wxHtmlDCRenderer_SetFonts(self, *_args, **_kwargs) |
3856ee0b | 897 | return val |
dc2f8a65 | 898 | def Render(self, *_args, **_kwargs): |
5a2a9da2 | 899 | val = htmlc.wxHtmlDCRenderer_Render(self, *_args, **_kwargs) |
dc2f8a65 RD |
900 | return val |
901 | def GetTotalHeight(self, *_args, **_kwargs): | |
5a2a9da2 | 902 | val = htmlc.wxHtmlDCRenderer_GetTotalHeight(self, *_args, **_kwargs) |
dc2f8a65 RD |
903 | return val |
904 | def __repr__(self): | |
5a2a9da2 | 905 | return "<%s.%s instance; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
dc2f8a65 RD |
906 | class wxHtmlDCRenderer(wxHtmlDCRendererPtr): |
907 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 908 | self.this = htmlc.new_wxHtmlDCRenderer(*_args,**_kwargs) |
dc2f8a65 RD |
909 | self.thisown = 1 |
910 | ||
911 | ||
912 | ||
913 | ||
914 | class wxHtmlPrintoutPtr(wxPrintoutPtr): | |
915 | def __init__(self,this): | |
916 | self.this = this | |
917 | self.thisown = 0 | |
dc2f8a65 | 918 | def SetHtmlText(self, *_args, **_kwargs): |
5a2a9da2 | 919 | val = htmlc.wxHtmlPrintout_SetHtmlText(self, *_args, **_kwargs) |
dc2f8a65 RD |
920 | return val |
921 | def SetHtmlFile(self, *_args, **_kwargs): | |
5a2a9da2 | 922 | val = htmlc.wxHtmlPrintout_SetHtmlFile(self, *_args, **_kwargs) |
dc2f8a65 RD |
923 | return val |
924 | def SetHeader(self, *_args, **_kwargs): | |
5a2a9da2 | 925 | val = htmlc.wxHtmlPrintout_SetHeader(self, *_args, **_kwargs) |
dc2f8a65 RD |
926 | return val |
927 | def SetFooter(self, *_args, **_kwargs): | |
5a2a9da2 | 928 | val = htmlc.wxHtmlPrintout_SetFooter(self, *_args, **_kwargs) |
dc2f8a65 | 929 | return val |
3856ee0b | 930 | def SetFonts(self, *_args, **_kwargs): |
5a2a9da2 | 931 | val = htmlc.wxHtmlPrintout_SetFonts(self, *_args, **_kwargs) |
3856ee0b | 932 | return val |
dc2f8a65 | 933 | def SetMargins(self, *_args, **_kwargs): |
5a2a9da2 | 934 | val = htmlc.wxHtmlPrintout_SetMargins(self, *_args, **_kwargs) |
dc2f8a65 RD |
935 | return val |
936 | def __repr__(self): | |
5a2a9da2 | 937 | return "<%s.%s instance; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
dc2f8a65 RD |
938 | class wxHtmlPrintout(wxHtmlPrintoutPtr): |
939 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 940 | self.this = htmlc.new_wxHtmlPrintout(*_args,**_kwargs) |
dc2f8a65 RD |
941 | self.thisown = 1 |
942 | ||
943 | ||
944 | ||
945 | ||
9416aa89 | 946 | class wxHtmlEasyPrintingPtr(wxObjectPtr): |
dc2f8a65 RD |
947 | def __init__(self,this): |
948 | self.this = this | |
949 | self.thisown = 0 | |
7e50db3f RD |
950 | def __del__(self, delfunc=htmlc.delete_wxHtmlEasyPrinting): |
951 | if self.thisown == 1: | |
952 | try: | |
953 | delfunc(self) | |
954 | except: | |
955 | pass | |
dc2f8a65 | 956 | def PreviewFile(self, *_args, **_kwargs): |
5a2a9da2 | 957 | val = htmlc.wxHtmlEasyPrinting_PreviewFile(self, *_args, **_kwargs) |
dc2f8a65 RD |
958 | return val |
959 | def PreviewText(self, *_args, **_kwargs): | |
5a2a9da2 | 960 | val = htmlc.wxHtmlEasyPrinting_PreviewText(self, *_args, **_kwargs) |
dc2f8a65 RD |
961 | return val |
962 | def PrintFile(self, *_args, **_kwargs): | |
5a2a9da2 | 963 | val = htmlc.wxHtmlEasyPrinting_PrintFile(self, *_args, **_kwargs) |
dc2f8a65 RD |
964 | return val |
965 | def PrintText(self, *_args, **_kwargs): | |
5a2a9da2 | 966 | val = htmlc.wxHtmlEasyPrinting_PrintText(self, *_args, **_kwargs) |
dc2f8a65 RD |
967 | return val |
968 | def PrinterSetup(self, *_args, **_kwargs): | |
5a2a9da2 | 969 | val = htmlc.wxHtmlEasyPrinting_PrinterSetup(self, *_args, **_kwargs) |
dc2f8a65 RD |
970 | return val |
971 | def PageSetup(self, *_args, **_kwargs): | |
5a2a9da2 | 972 | val = htmlc.wxHtmlEasyPrinting_PageSetup(self, *_args, **_kwargs) |
dc2f8a65 RD |
973 | return val |
974 | def SetHeader(self, *_args, **_kwargs): | |
5a2a9da2 | 975 | val = htmlc.wxHtmlEasyPrinting_SetHeader(self, *_args, **_kwargs) |
dc2f8a65 RD |
976 | return val |
977 | def SetFooter(self, *_args, **_kwargs): | |
5a2a9da2 | 978 | val = htmlc.wxHtmlEasyPrinting_SetFooter(self, *_args, **_kwargs) |
dc2f8a65 | 979 | return val |
3856ee0b | 980 | def SetFonts(self, *_args, **_kwargs): |
5a2a9da2 | 981 | val = htmlc.wxHtmlEasyPrinting_SetFonts(self, *_args, **_kwargs) |
3856ee0b | 982 | return val |
dc2f8a65 | 983 | def GetPrintData(self, *_args, **_kwargs): |
5a2a9da2 | 984 | val = htmlc.wxHtmlEasyPrinting_GetPrintData(self, *_args, **_kwargs) |
dc2f8a65 RD |
985 | if val: val = wxPrintDataPtr(val) |
986 | return val | |
987 | def GetPageSetupData(self, *_args, **_kwargs): | |
5a2a9da2 | 988 | val = htmlc.wxHtmlEasyPrinting_GetPageSetupData(self, *_args, **_kwargs) |
dc2f8a65 RD |
989 | if val: val = wxPageSetupDialogDataPtr(val) |
990 | return val | |
991 | def __repr__(self): | |
5a2a9da2 | 992 | return "<%s.%s instance; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
dc2f8a65 RD |
993 | class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr): |
994 | def __init__(self,*_args,**_kwargs): | |
5a2a9da2 | 995 | self.this = htmlc.new_wxHtmlEasyPrinting(*_args,**_kwargs) |
dc2f8a65 RD |
996 | self.thisown = 1 |
997 | ||
998 | ||
999 | ||
1000 | ||
325274bb RD |
1001 | |
1002 | ||
1003 | #-------------- FUNCTION WRAPPERS ------------------ | |
1004 | ||
0f66a9f3 RD |
1005 | wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler |
1006 | ||
1007 | wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter | |
1008 | ||
5a2a9da2 RD |
1009 | wxHtmlPrintout_AddFilter = htmlc.wxHtmlPrintout_AddFilter |
1010 | ||
1011 | wxHtmlPrintout_CleanUpStatics = htmlc.wxHtmlPrintout_CleanUpStatics | |
1012 | ||
325274bb RD |
1013 | |
1014 | ||
1015 | #-------------- VARIABLE WRAPPERS ------------------ | |
1016 | ||
9d8bd15f RD |
1017 | wxHTML_ALIGN_LEFT = htmlc.wxHTML_ALIGN_LEFT |
1018 | wxHTML_ALIGN_CENTER = htmlc.wxHTML_ALIGN_CENTER | |
1019 | wxHTML_ALIGN_RIGHT = htmlc.wxHTML_ALIGN_RIGHT | |
1020 | wxHTML_ALIGN_BOTTOM = htmlc.wxHTML_ALIGN_BOTTOM | |
1021 | wxHTML_ALIGN_TOP = htmlc.wxHTML_ALIGN_TOP | |
1022 | wxHTML_CLR_FOREGROUND = htmlc.wxHTML_CLR_FOREGROUND | |
1023 | wxHTML_CLR_BACKGROUND = htmlc.wxHTML_CLR_BACKGROUND | |
1024 | wxHTML_UNITS_PIXELS = htmlc.wxHTML_UNITS_PIXELS | |
1025 | wxHTML_UNITS_PERCENT = htmlc.wxHTML_UNITS_PERCENT | |
1026 | wxHTML_INDENT_LEFT = htmlc.wxHTML_INDENT_LEFT | |
1027 | wxHTML_INDENT_RIGHT = htmlc.wxHTML_INDENT_RIGHT | |
1028 | wxHTML_INDENT_TOP = htmlc.wxHTML_INDENT_TOP | |
1029 | wxHTML_INDENT_BOTTOM = htmlc.wxHTML_INDENT_BOTTOM | |
1030 | wxHTML_INDENT_HORIZONTAL = htmlc.wxHTML_INDENT_HORIZONTAL | |
1031 | wxHTML_INDENT_VERTICAL = htmlc.wxHTML_INDENT_VERTICAL | |
1032 | wxHTML_INDENT_ALL = htmlc.wxHTML_INDENT_ALL | |
1033 | wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR | |
1034 | wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP | |
1035 | wxHTML_COND_USER = htmlc.wxHTML_COND_USER | |
c6c593e8 RD |
1036 | wxHW_SCROLLBAR_NEVER = htmlc.wxHW_SCROLLBAR_NEVER |
1037 | wxHW_SCROLLBAR_AUTO = htmlc.wxHW_SCROLLBAR_AUTO | |
5a2a9da2 RD |
1038 | wxHW_NO_SELECTION = htmlc.wxHW_NO_SELECTION |
1039 | wxHW_DEFAULT_STYLE = htmlc.wxHW_DEFAULT_STYLE | |
c6c593e8 RD |
1040 | wxHTML_OPEN = htmlc.wxHTML_OPEN |
1041 | wxHTML_BLOCK = htmlc.wxHTML_BLOCK | |
1042 | wxHTML_REDIRECT = htmlc.wxHTML_REDIRECT | |
1043 | wxHTML_URL_PAGE = htmlc.wxHTML_URL_PAGE | |
1044 | wxHTML_URL_IMAGE = htmlc.wxHTML_URL_IMAGE | |
1045 | wxHTML_URL_OTHER = htmlc.wxHTML_URL_OTHER | |
5a2a9da2 RD |
1046 | wxHTML_SEL_OUT = htmlc.wxHTML_SEL_OUT |
1047 | wxHTML_SEL_IN = htmlc.wxHTML_SEL_IN | |
1048 | wxHTML_SEL_CHANGING = htmlc.wxHTML_SEL_CHANGING | |
1049 | wxHTML_FIND_EXACT = htmlc.wxHTML_FIND_EXACT | |
1050 | wxHTML_FIND_NEAREST_BEFORE = htmlc.wxHTML_FIND_NEAREST_BEFORE | |
1051 | wxHTML_FIND_NEAREST_AFTER = htmlc.wxHTML_FIND_NEAREST_AFTER | |
dc2f8a65 RD |
1052 | wxPAGE_ODD = htmlc.wxPAGE_ODD |
1053 | wxPAGE_EVEN = htmlc.wxPAGE_EVEN | |
1054 | wxPAGE_ALL = htmlc.wxPAGE_ALL | |
e166644c RD |
1055 | |
1056 | ||
1057 | #-------------- USER INCLUDE ----------------------- | |
1058 | ||
1059 | ||
1060 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
1061 | import wx | |
b1462dfa | 1062 | wx.wxHtmlTagPtr = wxHtmlTagPtr |
e166644c RD |
1063 | wx.wxHtmlParserPtr = wxHtmlParserPtr |
1064 | wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr | |
1065 | wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr | |
1066 | wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr | |
1067 | wx.wxHtmlCellPtr = wxHtmlCellPtr | |
1068 | wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr | |
1069 | wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr | |
e166644c | 1070 | wx.wxHtmlWindowPtr = wxHtmlWindowPtr |
95837b4d | 1071 | wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr |
7e50db3f | 1072 | wx.wxHtmlFilterPtr = wxHtmlFilterPtr |
cdf14688 | 1073 |