]>
Commit | Line | Data |
---|---|---|
325274bb | 1 | # This file was created automatically by SWIG. |
d14a1e28 RD |
2 | # Don't modify this file, modify the SWIG interface instead. |
3 | ||
caef1a4d RD |
4 | """ |
5 | Classes for a simple HTML rendering window, HTML Help Window, etc. | |
6 | """ | |
7 | ||
d14a1e28 RD |
8 | import _html |
9 | ||
093d3ff1 RD |
10 | def _swig_setattr_nondynamic(self,class_type,name,value,static=1): |
11 | if (name == "this"): | |
12 | if isinstance(value, class_type): | |
13 | self.__dict__[name] = value.this | |
14 | if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown | |
15 | del value.thisown | |
16 | return | |
17 | method = class_type.__swig_setmethods__.get(name,None) | |
18 | if method: return method(self,value) | |
19 | if (not static) or hasattr(self,name) or (name == "thisown"): | |
20 | self.__dict__[name] = value | |
21 | else: | |
22 | raise AttributeError("You cannot add attributes to %s" % self) | |
23 | ||
24 | def _swig_setattr(self,class_type,name,value): | |
25 | return _swig_setattr_nondynamic(self,class_type,name,value,0) | |
26 | ||
27 | def _swig_getattr(self,class_type,name): | |
28 | method = class_type.__swig_getmethods__.get(name,None) | |
29 | if method: return method(self) | |
30 | raise AttributeError,name | |
31 | ||
32 | import types | |
33 | try: | |
34 | _object = types.ObjectType | |
35 | _newclass = 1 | |
36 | except AttributeError: | |
37 | class _object : pass | |
38 | _newclass = 0 | |
39 | del types | |
40 | ||
41 | ||
42 | def _swig_setattr_nondynamic_method(set): | |
43 | def set_attr(self,name,value): | |
44 | if hasattr(self,name) or (name in ("this", "thisown")): | |
45 | set(self,name,value) | |
46 | else: | |
47 | raise AttributeError("You cannot add attributes to %s" % self) | |
48 | return set_attr | |
49 | ||
50 | ||
d55e5bfc RD |
51 | import _windows |
52 | import _core | |
53 | wx = _core | |
c24da6d6 | 54 | __docfilter__ = wx.__DocFilter(globals()) |
d14a1e28 RD |
55 | #--------------------------------------------------------------------------- |
56 | ||
57 | HTML_ALIGN_LEFT = _html.HTML_ALIGN_LEFT | |
58 | HTML_ALIGN_CENTER = _html.HTML_ALIGN_CENTER | |
59 | HTML_ALIGN_RIGHT = _html.HTML_ALIGN_RIGHT | |
60 | HTML_ALIGN_BOTTOM = _html.HTML_ALIGN_BOTTOM | |
61 | HTML_ALIGN_TOP = _html.HTML_ALIGN_TOP | |
62 | HTML_CLR_FOREGROUND = _html.HTML_CLR_FOREGROUND | |
63 | HTML_CLR_BACKGROUND = _html.HTML_CLR_BACKGROUND | |
64 | HTML_UNITS_PIXELS = _html.HTML_UNITS_PIXELS | |
65 | HTML_UNITS_PERCENT = _html.HTML_UNITS_PERCENT | |
66 | HTML_INDENT_LEFT = _html.HTML_INDENT_LEFT | |
67 | HTML_INDENT_RIGHT = _html.HTML_INDENT_RIGHT | |
68 | HTML_INDENT_TOP = _html.HTML_INDENT_TOP | |
69 | HTML_INDENT_BOTTOM = _html.HTML_INDENT_BOTTOM | |
70 | HTML_INDENT_HORIZONTAL = _html.HTML_INDENT_HORIZONTAL | |
71 | HTML_INDENT_VERTICAL = _html.HTML_INDENT_VERTICAL | |
72 | HTML_INDENT_ALL = _html.HTML_INDENT_ALL | |
73 | HTML_COND_ISANCHOR = _html.HTML_COND_ISANCHOR | |
74 | HTML_COND_ISIMAGEMAP = _html.HTML_COND_ISIMAGEMAP | |
75 | HTML_COND_USER = _html.HTML_COND_USER | |
44127b65 RD |
76 | HTML_FONT_SIZE_1 = _html.HTML_FONT_SIZE_1 |
77 | HTML_FONT_SIZE_2 = _html.HTML_FONT_SIZE_2 | |
78 | HTML_FONT_SIZE_3 = _html.HTML_FONT_SIZE_3 | |
79 | HTML_FONT_SIZE_4 = _html.HTML_FONT_SIZE_4 | |
80 | HTML_FONT_SIZE_5 = _html.HTML_FONT_SIZE_5 | |
81 | HTML_FONT_SIZE_6 = _html.HTML_FONT_SIZE_6 | |
82 | HTML_FONT_SIZE_7 = _html.HTML_FONT_SIZE_7 | |
d14a1e28 RD |
83 | HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER |
84 | HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO | |
85 | HW_NO_SELECTION = _html.HW_NO_SELECTION | |
86 | HW_DEFAULT_STYLE = _html.HW_DEFAULT_STYLE | |
87 | HTML_OPEN = _html.HTML_OPEN | |
88 | HTML_BLOCK = _html.HTML_BLOCK | |
89 | HTML_REDIRECT = _html.HTML_REDIRECT | |
90 | HTML_URL_PAGE = _html.HTML_URL_PAGE | |
91 | HTML_URL_IMAGE = _html.HTML_URL_IMAGE | |
92 | HTML_URL_OTHER = _html.HTML_URL_OTHER | |
d55e5bfc | 93 | class HtmlLinkInfo(_core.Object): |
093d3ff1 | 94 | """Proxy of C++ HtmlLinkInfo class""" |
423f194a RD |
95 | def __repr__(self): |
96 | return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 97 | def __init__(self, *args, **kwargs): |
a95a7133 | 98 | """__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo""" |
d14a1e28 RD |
99 | newobj = _html.new_HtmlLinkInfo(*args, **kwargs) |
100 | self.this = newobj.this | |
101 | self.thisown = 1 | |
102 | del newobj.thisown | |
423f194a | 103 | def GetHref(*args, **kwargs): |
a95a7133 | 104 | """GetHref(self) -> String""" |
423f194a RD |
105 | return _html.HtmlLinkInfo_GetHref(*args, **kwargs) |
106 | ||
107 | def GetTarget(*args, **kwargs): | |
a95a7133 | 108 | """GetTarget(self) -> String""" |
423f194a RD |
109 | return _html.HtmlLinkInfo_GetTarget(*args, **kwargs) |
110 | ||
111 | def GetEvent(*args, **kwargs): | |
a95a7133 | 112 | """GetEvent(self) -> MouseEvent""" |
423f194a RD |
113 | return _html.HtmlLinkInfo_GetEvent(*args, **kwargs) |
114 | ||
115 | def GetHtmlCell(*args, **kwargs): | |
a95a7133 | 116 | """GetHtmlCell(self) -> HtmlCell""" |
423f194a RD |
117 | return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs) |
118 | ||
119 | def SetEvent(*args, **kwargs): | |
a95a7133 | 120 | """SetEvent(self, MouseEvent e)""" |
423f194a RD |
121 | return _html.HtmlLinkInfo_SetEvent(*args, **kwargs) |
122 | ||
123 | def SetHtmlCell(*args, **kwargs): | |
a95a7133 | 124 | """SetHtmlCell(self, HtmlCell e)""" |
423f194a RD |
125 | return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs) |
126 | ||
c368d904 | 127 | |
d14a1e28 RD |
128 | class HtmlLinkInfoPtr(HtmlLinkInfo): |
129 | def __init__(self, this): | |
9c00cfa3 | 130 | self.this = this |
d14a1e28 RD |
131 | if not hasattr(self,"thisown"): self.thisown = 0 |
132 | self.__class__ = HtmlLinkInfo | |
133 | _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) | |
d03fd34d RD |
134 | cvar = _html.cvar |
135 | HtmlWindowNameStr = cvar.HtmlWindowNameStr | |
136 | HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr | |
137 | HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr | |
d14a1e28 | 138 | |
d55e5bfc | 139 | class HtmlTag(_core.Object): |
093d3ff1 | 140 | """Proxy of C++ HtmlTag class""" |
d14a1e28 | 141 | def __init__(self): raise RuntimeError, "No constructor defined" |
9c00cfa3 | 142 | def __repr__(self): |
d14a1e28 | 143 | return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
423f194a | 144 | def GetName(*args, **kwargs): |
a95a7133 | 145 | """GetName(self) -> String""" |
423f194a RD |
146 | return _html.HtmlTag_GetName(*args, **kwargs) |
147 | ||
148 | def HasParam(*args, **kwargs): | |
a95a7133 | 149 | """HasParam(self, String par) -> bool""" |
423f194a RD |
150 | return _html.HtmlTag_HasParam(*args, **kwargs) |
151 | ||
152 | def GetParam(*args, **kwargs): | |
a95a7133 | 153 | """GetParam(self, String par, int with_commas=False) -> String""" |
423f194a RD |
154 | return _html.HtmlTag_GetParam(*args, **kwargs) |
155 | ||
156 | def GetAllParams(*args, **kwargs): | |
a95a7133 | 157 | """GetAllParams(self) -> String""" |
423f194a RD |
158 | return _html.HtmlTag_GetAllParams(*args, **kwargs) |
159 | ||
160 | def HasEnding(*args, **kwargs): | |
a95a7133 | 161 | """HasEnding(self) -> bool""" |
423f194a RD |
162 | return _html.HtmlTag_HasEnding(*args, **kwargs) |
163 | ||
164 | def GetBeginPos(*args, **kwargs): | |
a95a7133 | 165 | """GetBeginPos(self) -> int""" |
423f194a RD |
166 | return _html.HtmlTag_GetBeginPos(*args, **kwargs) |
167 | ||
168 | def GetEndPos1(*args, **kwargs): | |
a95a7133 | 169 | """GetEndPos1(self) -> int""" |
423f194a RD |
170 | return _html.HtmlTag_GetEndPos1(*args, **kwargs) |
171 | ||
172 | def GetEndPos2(*args, **kwargs): | |
a95a7133 | 173 | """GetEndPos2(self) -> int""" |
423f194a RD |
174 | return _html.HtmlTag_GetEndPos2(*args, **kwargs) |
175 | ||
9c00cfa3 | 176 | |
d14a1e28 RD |
177 | class HtmlTagPtr(HtmlTag): |
178 | def __init__(self, this): | |
0f66a9f3 | 179 | self.this = this |
d14a1e28 RD |
180 | if not hasattr(self,"thisown"): self.thisown = 0 |
181 | self.__class__ = HtmlTag | |
182 | _html.HtmlTag_swigregister(HtmlTagPtr) | |
183 | ||
d55e5bfc | 184 | class HtmlParser(_core.Object): |
093d3ff1 | 185 | """Proxy of C++ HtmlParser class""" |
d14a1e28 | 186 | def __init__(self): raise RuntimeError, "No constructor defined" |
0f66a9f3 | 187 | def __repr__(self): |
d14a1e28 | 188 | return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
423f194a | 189 | def SetFS(*args, **kwargs): |
a95a7133 | 190 | """SetFS(self, FileSystem fs)""" |
423f194a RD |
191 | return _html.HtmlParser_SetFS(*args, **kwargs) |
192 | ||
193 | def GetFS(*args, **kwargs): | |
a95a7133 | 194 | """GetFS(self) -> FileSystem""" |
423f194a RD |
195 | return _html.HtmlParser_GetFS(*args, **kwargs) |
196 | ||
197 | def Parse(*args, **kwargs): | |
a95a7133 | 198 | """Parse(self, String source) -> Object""" |
423f194a RD |
199 | return _html.HtmlParser_Parse(*args, **kwargs) |
200 | ||
201 | def InitParser(*args, **kwargs): | |
a95a7133 | 202 | """InitParser(self, String source)""" |
423f194a RD |
203 | return _html.HtmlParser_InitParser(*args, **kwargs) |
204 | ||
205 | def DoneParser(*args, **kwargs): | |
a95a7133 | 206 | """DoneParser(self)""" |
423f194a RD |
207 | return _html.HtmlParser_DoneParser(*args, **kwargs) |
208 | ||
209 | def DoParsing(*args, **kwargs): | |
a95a7133 | 210 | """DoParsing(self, int begin_pos, int end_pos)""" |
423f194a RD |
211 | return _html.HtmlParser_DoParsing(*args, **kwargs) |
212 | ||
213 | def StopParsing(*args, **kwargs): | |
a95a7133 | 214 | """StopParsing(self)""" |
423f194a RD |
215 | return _html.HtmlParser_StopParsing(*args, **kwargs) |
216 | ||
217 | def AddTagHandler(*args, **kwargs): | |
a95a7133 | 218 | """AddTagHandler(self, HtmlTagHandler handler)""" |
423f194a RD |
219 | return _html.HtmlParser_AddTagHandler(*args, **kwargs) |
220 | ||
221 | def GetSource(*args, **kwargs): | |
a95a7133 | 222 | """GetSource(self) -> String""" |
423f194a RD |
223 | return _html.HtmlParser_GetSource(*args, **kwargs) |
224 | ||
225 | def PushTagHandler(*args, **kwargs): | |
a95a7133 | 226 | """PushTagHandler(self, HtmlTagHandler handler, String tags)""" |
423f194a RD |
227 | return _html.HtmlParser_PushTagHandler(*args, **kwargs) |
228 | ||
229 | def PopTagHandler(*args, **kwargs): | |
a95a7133 | 230 | """PopTagHandler(self)""" |
423f194a RD |
231 | return _html.HtmlParser_PopTagHandler(*args, **kwargs) |
232 | ||
0f66a9f3 | 233 | |
d14a1e28 RD |
234 | class HtmlParserPtr(HtmlParser): |
235 | def __init__(self, this): | |
236 | self.this = this | |
237 | if not hasattr(self,"thisown"): self.thisown = 0 | |
238 | self.__class__ = HtmlParser | |
239 | _html.HtmlParser_swigregister(HtmlParserPtr) | |
240 | ||
241 | class HtmlWinParser(HtmlParser): | |
093d3ff1 | 242 | """Proxy of C++ HtmlWinParser class""" |
423f194a RD |
243 | def __repr__(self): |
244 | return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 245 | def __init__(self, *args, **kwargs): |
a95a7133 | 246 | """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser""" |
d14a1e28 RD |
247 | newobj = _html.new_HtmlWinParser(*args, **kwargs) |
248 | self.this = newobj.this | |
249 | self.thisown = 1 | |
250 | del newobj.thisown | |
423f194a | 251 | def SetDC(*args, **kwargs): |
a95a7133 | 252 | """SetDC(self, DC dc)""" |
423f194a RD |
253 | return _html.HtmlWinParser_SetDC(*args, **kwargs) |
254 | ||
255 | def GetDC(*args, **kwargs): | |
a95a7133 | 256 | """GetDC(self) -> DC""" |
423f194a RD |
257 | return _html.HtmlWinParser_GetDC(*args, **kwargs) |
258 | ||
259 | def GetCharHeight(*args, **kwargs): | |
a95a7133 | 260 | """GetCharHeight(self) -> int""" |
423f194a RD |
261 | return _html.HtmlWinParser_GetCharHeight(*args, **kwargs) |
262 | ||
263 | def GetCharWidth(*args, **kwargs): | |
a95a7133 | 264 | """GetCharWidth(self) -> int""" |
423f194a RD |
265 | return _html.HtmlWinParser_GetCharWidth(*args, **kwargs) |
266 | ||
267 | def GetWindow(*args, **kwargs): | |
a95a7133 | 268 | """GetWindow(self) -> HtmlWindow""" |
423f194a RD |
269 | return _html.HtmlWinParser_GetWindow(*args, **kwargs) |
270 | ||
271 | def SetFonts(*args, **kwargs): | |
a95a7133 | 272 | """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)""" |
423f194a RD |
273 | return _html.HtmlWinParser_SetFonts(*args, **kwargs) |
274 | ||
ae8162c8 RD |
275 | def SetStandardFonts(*args, **kwargs): |
276 | """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)""" | |
277 | return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs) | |
30ee79f7 | 278 | |
423f194a | 279 | def GetContainer(*args, **kwargs): |
a95a7133 | 280 | """GetContainer(self) -> HtmlContainerCell""" |
423f194a RD |
281 | return _html.HtmlWinParser_GetContainer(*args, **kwargs) |
282 | ||
283 | def OpenContainer(*args, **kwargs): | |
a95a7133 | 284 | """OpenContainer(self) -> HtmlContainerCell""" |
423f194a RD |
285 | return _html.HtmlWinParser_OpenContainer(*args, **kwargs) |
286 | ||
287 | def SetContainer(*args, **kwargs): | |
a95a7133 | 288 | """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell""" |
423f194a RD |
289 | return _html.HtmlWinParser_SetContainer(*args, **kwargs) |
290 | ||
291 | def CloseContainer(*args, **kwargs): | |
a95a7133 | 292 | """CloseContainer(self) -> HtmlContainerCell""" |
423f194a RD |
293 | return _html.HtmlWinParser_CloseContainer(*args, **kwargs) |
294 | ||
295 | def GetFontSize(*args, **kwargs): | |
a95a7133 | 296 | """GetFontSize(self) -> int""" |
423f194a RD |
297 | return _html.HtmlWinParser_GetFontSize(*args, **kwargs) |
298 | ||
299 | def SetFontSize(*args, **kwargs): | |
a95a7133 | 300 | """SetFontSize(self, int s)""" |
423f194a RD |
301 | return _html.HtmlWinParser_SetFontSize(*args, **kwargs) |
302 | ||
303 | def GetFontBold(*args, **kwargs): | |
a95a7133 | 304 | """GetFontBold(self) -> int""" |
423f194a RD |
305 | return _html.HtmlWinParser_GetFontBold(*args, **kwargs) |
306 | ||
307 | def SetFontBold(*args, **kwargs): | |
a95a7133 | 308 | """SetFontBold(self, int x)""" |
423f194a RD |
309 | return _html.HtmlWinParser_SetFontBold(*args, **kwargs) |
310 | ||
311 | def GetFontItalic(*args, **kwargs): | |
a95a7133 | 312 | """GetFontItalic(self) -> int""" |
423f194a RD |
313 | return _html.HtmlWinParser_GetFontItalic(*args, **kwargs) |
314 | ||
315 | def SetFontItalic(*args, **kwargs): | |
a95a7133 | 316 | """SetFontItalic(self, int x)""" |
423f194a RD |
317 | return _html.HtmlWinParser_SetFontItalic(*args, **kwargs) |
318 | ||
319 | def GetFontUnderlined(*args, **kwargs): | |
a95a7133 | 320 | """GetFontUnderlined(self) -> int""" |
423f194a RD |
321 | return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs) |
322 | ||
323 | def SetFontUnderlined(*args, **kwargs): | |
a95a7133 | 324 | """SetFontUnderlined(self, int x)""" |
423f194a RD |
325 | return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs) |
326 | ||
327 | def GetFontFixed(*args, **kwargs): | |
a95a7133 | 328 | """GetFontFixed(self) -> int""" |
423f194a RD |
329 | return _html.HtmlWinParser_GetFontFixed(*args, **kwargs) |
330 | ||
331 | def SetFontFixed(*args, **kwargs): | |
a95a7133 | 332 | """SetFontFixed(self, int x)""" |
423f194a RD |
333 | return _html.HtmlWinParser_SetFontFixed(*args, **kwargs) |
334 | ||
335 | def GetAlign(*args, **kwargs): | |
a95a7133 | 336 | """GetAlign(self) -> int""" |
423f194a RD |
337 | return _html.HtmlWinParser_GetAlign(*args, **kwargs) |
338 | ||
339 | def SetAlign(*args, **kwargs): | |
a95a7133 | 340 | """SetAlign(self, int a)""" |
423f194a RD |
341 | return _html.HtmlWinParser_SetAlign(*args, **kwargs) |
342 | ||
343 | def GetLinkColor(*args, **kwargs): | |
a95a7133 | 344 | """GetLinkColor(self) -> Colour""" |
423f194a RD |
345 | return _html.HtmlWinParser_GetLinkColor(*args, **kwargs) |
346 | ||
347 | def SetLinkColor(*args, **kwargs): | |
a95a7133 | 348 | """SetLinkColor(self, Colour clr)""" |
423f194a RD |
349 | return _html.HtmlWinParser_SetLinkColor(*args, **kwargs) |
350 | ||
351 | def GetActualColor(*args, **kwargs): | |
a95a7133 | 352 | """GetActualColor(self) -> Colour""" |
423f194a RD |
353 | return _html.HtmlWinParser_GetActualColor(*args, **kwargs) |
354 | ||
355 | def SetActualColor(*args, **kwargs): | |
a95a7133 | 356 | """SetActualColor(self, Colour clr)""" |
423f194a RD |
357 | return _html.HtmlWinParser_SetActualColor(*args, **kwargs) |
358 | ||
51b83b37 RD |
359 | GetActualColour = GetActualColor |
360 | SetActualColour = SetActualColor | |
361 | ||
423f194a | 362 | def SetLink(*args, **kwargs): |
a95a7133 | 363 | """SetLink(self, String link)""" |
423f194a RD |
364 | return _html.HtmlWinParser_SetLink(*args, **kwargs) |
365 | ||
366 | def CreateCurrentFont(*args, **kwargs): | |
a95a7133 | 367 | """CreateCurrentFont(self) -> Font""" |
423f194a RD |
368 | return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs) |
369 | ||
370 | def GetLink(*args, **kwargs): | |
a95a7133 | 371 | """GetLink(self) -> HtmlLinkInfo""" |
423f194a RD |
372 | return _html.HtmlWinParser_GetLink(*args, **kwargs) |
373 | ||
0f66a9f3 | 374 | |
d14a1e28 RD |
375 | class HtmlWinParserPtr(HtmlWinParser): |
376 | def __init__(self, this): | |
377 | self.this = this | |
378 | if not hasattr(self,"thisown"): self.thisown = 0 | |
379 | self.__class__ = HtmlWinParser | |
380 | _html.HtmlWinParser_swigregister(HtmlWinParserPtr) | |
381 | ||
d55e5bfc | 382 | class HtmlTagHandler(_core.Object): |
093d3ff1 | 383 | """Proxy of C++ HtmlTagHandler class""" |
423f194a RD |
384 | def __repr__(self): |
385 | return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 386 | def __init__(self, *args, **kwargs): |
a95a7133 | 387 | """__init__(self) -> HtmlTagHandler""" |
d14a1e28 RD |
388 | newobj = _html.new_HtmlTagHandler(*args, **kwargs) |
389 | self.this = newobj.this | |
390 | self.thisown = 1 | |
391 | del newobj.thisown | |
392 | self._setCallbackInfo(self, HtmlTagHandler) | |
423f194a RD |
393 | |
394 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 395 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
423f194a RD |
396 | return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs) |
397 | ||
398 | def SetParser(*args, **kwargs): | |
a95a7133 | 399 | """SetParser(self, HtmlParser parser)""" |
423f194a RD |
400 | return _html.HtmlTagHandler_SetParser(*args, **kwargs) |
401 | ||
402 | def GetParser(*args, **kwargs): | |
a95a7133 | 403 | """GetParser(self) -> HtmlParser""" |
423f194a RD |
404 | return _html.HtmlTagHandler_GetParser(*args, **kwargs) |
405 | ||
406 | def ParseInner(*args, **kwargs): | |
a95a7133 | 407 | """ParseInner(self, HtmlTag tag)""" |
423f194a RD |
408 | return _html.HtmlTagHandler_ParseInner(*args, **kwargs) |
409 | ||
0f66a9f3 | 410 | |
d14a1e28 RD |
411 | class HtmlTagHandlerPtr(HtmlTagHandler): |
412 | def __init__(self, this): | |
0f66a9f3 | 413 | self.this = this |
d14a1e28 RD |
414 | if not hasattr(self,"thisown"): self.thisown = 0 |
415 | self.__class__ = HtmlTagHandler | |
416 | _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) | |
417 | ||
418 | class HtmlWinTagHandler(HtmlTagHandler): | |
093d3ff1 | 419 | """Proxy of C++ HtmlWinTagHandler class""" |
423f194a RD |
420 | def __repr__(self): |
421 | return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 422 | def __init__(self, *args, **kwargs): |
a95a7133 | 423 | """__init__(self) -> HtmlWinTagHandler""" |
d14a1e28 RD |
424 | newobj = _html.new_HtmlWinTagHandler(*args, **kwargs) |
425 | self.this = newobj.this | |
426 | self.thisown = 1 | |
427 | del newobj.thisown | |
428 | self._setCallbackInfo(self, HtmlWinTagHandler) | |
423f194a RD |
429 | |
430 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 431 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
423f194a RD |
432 | return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs) |
433 | ||
434 | def SetParser(*args, **kwargs): | |
a95a7133 | 435 | """SetParser(self, HtmlParser parser)""" |
423f194a RD |
436 | return _html.HtmlWinTagHandler_SetParser(*args, **kwargs) |
437 | ||
438 | def GetParser(*args, **kwargs): | |
a95a7133 | 439 | """GetParser(self) -> HtmlWinParser""" |
423f194a RD |
440 | return _html.HtmlWinTagHandler_GetParser(*args, **kwargs) |
441 | ||
442 | def ParseInner(*args, **kwargs): | |
a95a7133 | 443 | """ParseInner(self, HtmlTag tag)""" |
423f194a RD |
444 | return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs) |
445 | ||
d14a1e28 RD |
446 | |
447 | class HtmlWinTagHandlerPtr(HtmlWinTagHandler): | |
448 | def __init__(self, this): | |
0f66a9f3 | 449 | self.this = this |
d14a1e28 RD |
450 | if not hasattr(self,"thisown"): self.thisown = 0 |
451 | self.__class__ = HtmlWinTagHandler | |
452 | _html.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr) | |
0f66a9f3 RD |
453 | |
454 | ||
423f194a RD |
455 | def HtmlWinParser_AddTagHandler(*args, **kwargs): |
456 | """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)""" | |
457 | return _html.HtmlWinParser_AddTagHandler(*args, **kwargs) | |
d14a1e28 | 458 | #--------------------------------------------------------------------------- |
0f66a9f3 | 459 | |
d14a1e28 | 460 | class HtmlSelection(object): |
093d3ff1 | 461 | """Proxy of C++ HtmlSelection class""" |
423f194a RD |
462 | def __repr__(self): |
463 | return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 464 | def __init__(self, *args, **kwargs): |
a95a7133 | 465 | """__init__(self) -> HtmlSelection""" |
d14a1e28 RD |
466 | newobj = _html.new_HtmlSelection(*args, **kwargs) |
467 | self.this = newobj.this | |
468 | self.thisown = 1 | |
469 | del newobj.thisown | |
470 | def __del__(self, destroy=_html.delete_HtmlSelection): | |
a95a7133 | 471 | """__del__(self)""" |
d14a1e28 RD |
472 | try: |
473 | if self.thisown: destroy(self) | |
474 | except: pass | |
423f194a RD |
475 | |
476 | def Set(*args, **kwargs): | |
a95a7133 | 477 | """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)""" |
423f194a RD |
478 | return _html.HtmlSelection_Set(*args, **kwargs) |
479 | ||
480 | def SetCells(*args, **kwargs): | |
a95a7133 | 481 | """SetCells(self, HtmlCell fromCell, HtmlCell toCell)""" |
423f194a RD |
482 | return _html.HtmlSelection_SetCells(*args, **kwargs) |
483 | ||
484 | def GetFromCell(*args, **kwargs): | |
a95a7133 | 485 | """GetFromCell(self) -> HtmlCell""" |
423f194a RD |
486 | return _html.HtmlSelection_GetFromCell(*args, **kwargs) |
487 | ||
488 | def GetToCell(*args, **kwargs): | |
a95a7133 | 489 | """GetToCell(self) -> HtmlCell""" |
423f194a RD |
490 | return _html.HtmlSelection_GetToCell(*args, **kwargs) |
491 | ||
492 | def GetFromPos(*args, **kwargs): | |
a95a7133 | 493 | """GetFromPos(self) -> Point""" |
423f194a RD |
494 | return _html.HtmlSelection_GetFromPos(*args, **kwargs) |
495 | ||
496 | def GetToPos(*args, **kwargs): | |
a95a7133 | 497 | """GetToPos(self) -> Point""" |
423f194a RD |
498 | return _html.HtmlSelection_GetToPos(*args, **kwargs) |
499 | ||
500 | def GetFromPrivPos(*args, **kwargs): | |
a95a7133 | 501 | """GetFromPrivPos(self) -> Point""" |
423f194a RD |
502 | return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs) |
503 | ||
504 | def GetToPrivPos(*args, **kwargs): | |
a95a7133 | 505 | """GetToPrivPos(self) -> Point""" |
423f194a RD |
506 | return _html.HtmlSelection_GetToPrivPos(*args, **kwargs) |
507 | ||
508 | def SetFromPrivPos(*args, **kwargs): | |
a95a7133 | 509 | """SetFromPrivPos(self, Point pos)""" |
423f194a RD |
510 | return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs) |
511 | ||
512 | def SetToPrivPos(*args, **kwargs): | |
a95a7133 | 513 | """SetToPrivPos(self, Point pos)""" |
423f194a RD |
514 | return _html.HtmlSelection_SetToPrivPos(*args, **kwargs) |
515 | ||
516 | def ClearPrivPos(*args, **kwargs): | |
a95a7133 | 517 | """ClearPrivPos(self)""" |
423f194a RD |
518 | return _html.HtmlSelection_ClearPrivPos(*args, **kwargs) |
519 | ||
520 | def IsEmpty(*args, **kwargs): | |
a95a7133 | 521 | """IsEmpty(self) -> bool""" |
423f194a RD |
522 | return _html.HtmlSelection_IsEmpty(*args, **kwargs) |
523 | ||
0f66a9f3 | 524 | |
d14a1e28 RD |
525 | class HtmlSelectionPtr(HtmlSelection): |
526 | def __init__(self, this): | |
0f66a9f3 | 527 | self.this = this |
d14a1e28 RD |
528 | if not hasattr(self,"thisown"): self.thisown = 0 |
529 | self.__class__ = HtmlSelection | |
530 | _html.HtmlSelection_swigregister(HtmlSelectionPtr) | |
531 | ||
532 | HTML_SEL_OUT = _html.HTML_SEL_OUT | |
533 | HTML_SEL_IN = _html.HTML_SEL_IN | |
534 | HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING | |
535 | class HtmlRenderingState(object): | |
093d3ff1 | 536 | """Proxy of C++ HtmlRenderingState class""" |
423f194a RD |
537 | def __repr__(self): |
538 | return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 539 | def __init__(self, *args, **kwargs): |
a95a7133 | 540 | """__init__(self) -> HtmlRenderingState""" |
d14a1e28 RD |
541 | newobj = _html.new_HtmlRenderingState(*args, **kwargs) |
542 | self.this = newobj.this | |
0f66a9f3 | 543 | self.thisown = 1 |
d14a1e28 RD |
544 | del newobj.thisown |
545 | def __del__(self, destroy=_html.delete_HtmlRenderingState): | |
a95a7133 | 546 | """__del__(self)""" |
d14a1e28 RD |
547 | try: |
548 | if self.thisown: destroy(self) | |
549 | except: pass | |
423f194a RD |
550 | |
551 | def SetSelectionState(*args, **kwargs): | |
a95a7133 | 552 | """SetSelectionState(self, int s)""" |
423f194a RD |
553 | return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs) |
554 | ||
555 | def GetSelectionState(*args, **kwargs): | |
a95a7133 | 556 | """GetSelectionState(self) -> int""" |
423f194a RD |
557 | return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs) |
558 | ||
559 | def SetFgColour(*args, **kwargs): | |
a95a7133 | 560 | """SetFgColour(self, Colour c)""" |
423f194a RD |
561 | return _html.HtmlRenderingState_SetFgColour(*args, **kwargs) |
562 | ||
563 | def GetFgColour(*args, **kwargs): | |
a95a7133 | 564 | """GetFgColour(self) -> Colour""" |
423f194a RD |
565 | return _html.HtmlRenderingState_GetFgColour(*args, **kwargs) |
566 | ||
567 | def SetBgColour(*args, **kwargs): | |
a95a7133 | 568 | """SetBgColour(self, Colour c)""" |
423f194a RD |
569 | return _html.HtmlRenderingState_SetBgColour(*args, **kwargs) |
570 | ||
571 | def GetBgColour(*args, **kwargs): | |
a95a7133 | 572 | """GetBgColour(self) -> Colour""" |
423f194a RD |
573 | return _html.HtmlRenderingState_GetBgColour(*args, **kwargs) |
574 | ||
0f66a9f3 | 575 | |
d14a1e28 RD |
576 | class HtmlRenderingStatePtr(HtmlRenderingState): |
577 | def __init__(self, this): | |
0f66a9f3 | 578 | self.this = this |
d14a1e28 RD |
579 | if not hasattr(self,"thisown"): self.thisown = 0 |
580 | self.__class__ = HtmlRenderingState | |
581 | _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) | |
582 | ||
583 | class HtmlRenderingStyle(object): | |
093d3ff1 | 584 | """Proxy of C++ HtmlRenderingStyle class""" |
d14a1e28 | 585 | def __init__(self): raise RuntimeError, "No constructor defined" |
0f66a9f3 | 586 | def __repr__(self): |
d14a1e28 | 587 | return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
423f194a | 588 | def GetSelectedTextColour(*args, **kwargs): |
a95a7133 | 589 | """GetSelectedTextColour(self, Colour clr) -> Colour""" |
423f194a RD |
590 | return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) |
591 | ||
592 | def GetSelectedTextBgColour(*args, **kwargs): | |
a95a7133 | 593 | """GetSelectedTextBgColour(self, Colour clr) -> Colour""" |
423f194a RD |
594 | return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) |
595 | ||
0f66a9f3 | 596 | |
d14a1e28 RD |
597 | class HtmlRenderingStylePtr(HtmlRenderingStyle): |
598 | def __init__(self, this): | |
0f66a9f3 | 599 | self.this = this |
d14a1e28 RD |
600 | if not hasattr(self,"thisown"): self.thisown = 0 |
601 | self.__class__ = HtmlRenderingStyle | |
602 | _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) | |
603 | ||
604 | class DefaultHtmlRenderingStyle(HtmlRenderingStyle): | |
093d3ff1 | 605 | """Proxy of C++ DefaultHtmlRenderingStyle class""" |
d14a1e28 | 606 | def __init__(self): raise RuntimeError, "No constructor defined" |
0f66a9f3 | 607 | def __repr__(self): |
d14a1e28 | 608 | return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
423f194a | 609 | def GetSelectedTextColour(*args, **kwargs): |
a95a7133 | 610 | """GetSelectedTextColour(self, Colour clr) -> Colour""" |
423f194a RD |
611 | return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) |
612 | ||
613 | def GetSelectedTextBgColour(*args, **kwargs): | |
a95a7133 | 614 | """GetSelectedTextBgColour(self, Colour clr) -> Colour""" |
423f194a RD |
615 | return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) |
616 | ||
0f66a9f3 | 617 | |
d14a1e28 RD |
618 | class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): |
619 | def __init__(self, this): | |
5a2a9da2 | 620 | self.this = this |
d14a1e28 RD |
621 | if not hasattr(self,"thisown"): self.thisown = 0 |
622 | self.__class__ = DefaultHtmlRenderingStyle | |
623 | _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) | |
624 | ||
625 | class HtmlRenderingInfo(object): | |
093d3ff1 | 626 | """Proxy of C++ HtmlRenderingInfo class""" |
423f194a RD |
627 | def __repr__(self): |
628 | return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 629 | def __init__(self, *args, **kwargs): |
a95a7133 | 630 | """__init__(self) -> HtmlRenderingInfo""" |
d14a1e28 RD |
631 | newobj = _html.new_HtmlRenderingInfo(*args, **kwargs) |
632 | self.this = newobj.this | |
5a2a9da2 | 633 | self.thisown = 1 |
d14a1e28 RD |
634 | del newobj.thisown |
635 | def __del__(self, destroy=_html.delete_HtmlRenderingInfo): | |
a95a7133 | 636 | """__del__(self)""" |
d14a1e28 RD |
637 | try: |
638 | if self.thisown: destroy(self) | |
639 | except: pass | |
423f194a RD |
640 | |
641 | def SetSelection(*args, **kwargs): | |
a95a7133 | 642 | """SetSelection(self, HtmlSelection s)""" |
423f194a RD |
643 | return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs) |
644 | ||
645 | def GetSelection(*args, **kwargs): | |
a95a7133 | 646 | """GetSelection(self) -> HtmlSelection""" |
423f194a RD |
647 | return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs) |
648 | ||
649 | def SetStyle(*args, **kwargs): | |
a95a7133 | 650 | """SetStyle(self, HtmlRenderingStyle style)""" |
423f194a RD |
651 | return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs) |
652 | ||
653 | def GetStyle(*args, **kwargs): | |
a95a7133 | 654 | """GetStyle(self) -> HtmlRenderingStyle""" |
423f194a RD |
655 | return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs) |
656 | ||
657 | def GetState(*args, **kwargs): | |
a95a7133 | 658 | """GetState(self) -> HtmlRenderingState""" |
423f194a RD |
659 | return _html.HtmlRenderingInfo_GetState(*args, **kwargs) |
660 | ||
5a2a9da2 | 661 | |
d14a1e28 RD |
662 | class HtmlRenderingInfoPtr(HtmlRenderingInfo): |
663 | def __init__(self, this): | |
5a2a9da2 | 664 | self.this = this |
d14a1e28 RD |
665 | if not hasattr(self,"thisown"): self.thisown = 0 |
666 | self.__class__ = HtmlRenderingInfo | |
667 | _html.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr) | |
668 | ||
669 | #--------------------------------------------------------------------------- | |
670 | ||
671 | HTML_FIND_EXACT = _html.HTML_FIND_EXACT | |
672 | HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE | |
673 | HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER | |
d55e5bfc | 674 | class HtmlCell(_core.Object): |
093d3ff1 | 675 | """Proxy of C++ HtmlCell class""" |
423f194a RD |
676 | def __repr__(self): |
677 | return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 678 | def __init__(self, *args, **kwargs): |
a95a7133 | 679 | """__init__(self) -> HtmlCell""" |
d14a1e28 RD |
680 | newobj = _html.new_HtmlCell(*args, **kwargs) |
681 | self.this = newobj.this | |
5a2a9da2 | 682 | self.thisown = 1 |
d14a1e28 | 683 | del newobj.thisown |
423f194a | 684 | def GetPosX(*args, **kwargs): |
a95a7133 | 685 | """GetPosX(self) -> int""" |
423f194a RD |
686 | return _html.HtmlCell_GetPosX(*args, **kwargs) |
687 | ||
688 | def GetPosY(*args, **kwargs): | |
a95a7133 | 689 | """GetPosY(self) -> int""" |
423f194a RD |
690 | return _html.HtmlCell_GetPosY(*args, **kwargs) |
691 | ||
692 | def GetWidth(*args, **kwargs): | |
a95a7133 | 693 | """GetWidth(self) -> int""" |
423f194a RD |
694 | return _html.HtmlCell_GetWidth(*args, **kwargs) |
695 | ||
696 | def GetHeight(*args, **kwargs): | |
a95a7133 | 697 | """GetHeight(self) -> int""" |
423f194a RD |
698 | return _html.HtmlCell_GetHeight(*args, **kwargs) |
699 | ||
700 | def GetDescent(*args, **kwargs): | |
a95a7133 | 701 | """GetDescent(self) -> int""" |
423f194a RD |
702 | return _html.HtmlCell_GetDescent(*args, **kwargs) |
703 | ||
d00d1b88 | 704 | def GetMaxTotalWidth(*args, **kwargs): |
a95a7133 | 705 | """GetMaxTotalWidth(self) -> int""" |
d00d1b88 RD |
706 | return _html.HtmlCell_GetMaxTotalWidth(*args, **kwargs) |
707 | ||
cbd72d4f | 708 | def GetId(*args, **kwargs): |
a95a7133 | 709 | """GetId(self) -> String""" |
cbd72d4f RD |
710 | return _html.HtmlCell_GetId(*args, **kwargs) |
711 | ||
712 | def SetId(*args, **kwargs): | |
a95a7133 | 713 | """SetId(self, String id)""" |
cbd72d4f RD |
714 | return _html.HtmlCell_SetId(*args, **kwargs) |
715 | ||
423f194a | 716 | def GetLink(*args, **kwargs): |
a95a7133 | 717 | """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo""" |
423f194a RD |
718 | return _html.HtmlCell_GetLink(*args, **kwargs) |
719 | ||
720 | def GetNext(*args, **kwargs): | |
a95a7133 | 721 | """GetNext(self) -> HtmlCell""" |
423f194a RD |
722 | return _html.HtmlCell_GetNext(*args, **kwargs) |
723 | ||
724 | def GetParent(*args, **kwargs): | |
a95a7133 | 725 | """GetParent(self) -> HtmlContainerCell""" |
423f194a RD |
726 | return _html.HtmlCell_GetParent(*args, **kwargs) |
727 | ||
728 | def GetFirstChild(*args, **kwargs): | |
a95a7133 | 729 | """GetFirstChild(self) -> HtmlCell""" |
423f194a RD |
730 | return _html.HtmlCell_GetFirstChild(*args, **kwargs) |
731 | ||
732 | def GetCursor(*args, **kwargs): | |
a95a7133 | 733 | """GetCursor(self) -> Cursor""" |
423f194a RD |
734 | return _html.HtmlCell_GetCursor(*args, **kwargs) |
735 | ||
736 | def IsFormattingCell(*args, **kwargs): | |
a95a7133 | 737 | """IsFormattingCell(self) -> bool""" |
423f194a RD |
738 | return _html.HtmlCell_IsFormattingCell(*args, **kwargs) |
739 | ||
740 | def SetLink(*args, **kwargs): | |
a95a7133 | 741 | """SetLink(self, HtmlLinkInfo link)""" |
423f194a RD |
742 | return _html.HtmlCell_SetLink(*args, **kwargs) |
743 | ||
744 | def SetNext(*args, **kwargs): | |
a95a7133 | 745 | """SetNext(self, HtmlCell cell)""" |
423f194a RD |
746 | return _html.HtmlCell_SetNext(*args, **kwargs) |
747 | ||
748 | def SetParent(*args, **kwargs): | |
a95a7133 | 749 | """SetParent(self, HtmlContainerCell p)""" |
423f194a RD |
750 | return _html.HtmlCell_SetParent(*args, **kwargs) |
751 | ||
752 | def SetPos(*args, **kwargs): | |
a95a7133 | 753 | """SetPos(self, int x, int y)""" |
423f194a RD |
754 | return _html.HtmlCell_SetPos(*args, **kwargs) |
755 | ||
756 | def Layout(*args, **kwargs): | |
a95a7133 | 757 | """Layout(self, int w)""" |
423f194a RD |
758 | return _html.HtmlCell_Layout(*args, **kwargs) |
759 | ||
760 | def Draw(*args, **kwargs): | |
a95a7133 | 761 | """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)""" |
423f194a RD |
762 | return _html.HtmlCell_Draw(*args, **kwargs) |
763 | ||
764 | def DrawInvisible(*args, **kwargs): | |
a95a7133 | 765 | """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)""" |
423f194a RD |
766 | return _html.HtmlCell_DrawInvisible(*args, **kwargs) |
767 | ||
768 | def Find(*args, **kwargs): | |
a95a7133 | 769 | """Find(self, int condition, void param) -> HtmlCell""" |
423f194a RD |
770 | return _html.HtmlCell_Find(*args, **kwargs) |
771 | ||
772 | def AdjustPagebreak(*args, **kwargs): | |
a95a7133 | 773 | """AdjustPagebreak(self, int INOUT) -> bool""" |
423f194a RD |
774 | return _html.HtmlCell_AdjustPagebreak(*args, **kwargs) |
775 | ||
776 | def SetCanLiveOnPagebreak(*args, **kwargs): | |
a95a7133 | 777 | """SetCanLiveOnPagebreak(self, bool can)""" |
423f194a RD |
778 | return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs) |
779 | ||
780 | def IsLinebreakAllowed(*args, **kwargs): | |
a95a7133 | 781 | """IsLinebreakAllowed(self) -> bool""" |
423f194a RD |
782 | return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs) |
783 | ||
784 | def IsTerminalCell(*args, **kwargs): | |
a95a7133 | 785 | """IsTerminalCell(self) -> bool""" |
423f194a RD |
786 | return _html.HtmlCell_IsTerminalCell(*args, **kwargs) |
787 | ||
788 | def FindCellByPos(*args, **kwargs): | |
a95a7133 | 789 | """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell""" |
423f194a RD |
790 | return _html.HtmlCell_FindCellByPos(*args, **kwargs) |
791 | ||
792 | def GetAbsPos(*args, **kwargs): | |
a95a7133 | 793 | """GetAbsPos(self) -> Point""" |
423f194a RD |
794 | return _html.HtmlCell_GetAbsPos(*args, **kwargs) |
795 | ||
796 | def GetFirstTerminal(*args, **kwargs): | |
a95a7133 | 797 | """GetFirstTerminal(self) -> HtmlCell""" |
423f194a RD |
798 | return _html.HtmlCell_GetFirstTerminal(*args, **kwargs) |
799 | ||
800 | def GetLastTerminal(*args, **kwargs): | |
a95a7133 | 801 | """GetLastTerminal(self) -> HtmlCell""" |
423f194a RD |
802 | return _html.HtmlCell_GetLastTerminal(*args, **kwargs) |
803 | ||
804 | def GetDepth(*args, **kwargs): | |
a95a7133 | 805 | """GetDepth(self) -> unsigned int""" |
423f194a RD |
806 | return _html.HtmlCell_GetDepth(*args, **kwargs) |
807 | ||
808 | def IsBefore(*args, **kwargs): | |
a95a7133 | 809 | """IsBefore(self, HtmlCell cell) -> bool""" |
423f194a RD |
810 | return _html.HtmlCell_IsBefore(*args, **kwargs) |
811 | ||
812 | def ConvertToText(*args, **kwargs): | |
a95a7133 | 813 | """ConvertToText(self, HtmlSelection sel) -> String""" |
423f194a RD |
814 | return _html.HtmlCell_ConvertToText(*args, **kwargs) |
815 | ||
5a2a9da2 | 816 | |
d14a1e28 RD |
817 | class HtmlCellPtr(HtmlCell): |
818 | def __init__(self, this): | |
5a2a9da2 | 819 | self.this = this |
d14a1e28 RD |
820 | if not hasattr(self,"thisown"): self.thisown = 0 |
821 | self.__class__ = HtmlCell | |
822 | _html.HtmlCell_swigregister(HtmlCellPtr) | |
823 | ||
824 | class HtmlWordCell(HtmlCell): | |
093d3ff1 | 825 | """Proxy of C++ HtmlWordCell class""" |
423f194a RD |
826 | def __repr__(self): |
827 | return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 828 | def __init__(self, *args, **kwargs): |
a95a7133 | 829 | """__init__(self, String word, DC dc) -> HtmlWordCell""" |
d14a1e28 RD |
830 | newobj = _html.new_HtmlWordCell(*args, **kwargs) |
831 | self.this = newobj.this | |
832 | self.thisown = 1 | |
833 | del newobj.thisown | |
5a2a9da2 | 834 | |
d14a1e28 RD |
835 | class HtmlWordCellPtr(HtmlWordCell): |
836 | def __init__(self, this): | |
5a2a9da2 | 837 | self.this = this |
d14a1e28 RD |
838 | if not hasattr(self,"thisown"): self.thisown = 0 |
839 | self.__class__ = HtmlWordCell | |
840 | _html.HtmlWordCell_swigregister(HtmlWordCellPtr) | |
841 | ||
842 | class HtmlContainerCell(HtmlCell): | |
093d3ff1 | 843 | """Proxy of C++ HtmlContainerCell class""" |
423f194a RD |
844 | def __repr__(self): |
845 | return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 846 | def __init__(self, *args, **kwargs): |
a95a7133 | 847 | """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell""" |
d14a1e28 RD |
848 | newobj = _html.new_HtmlContainerCell(*args, **kwargs) |
849 | self.this = newobj.this | |
850 | self.thisown = 1 | |
851 | del newobj.thisown | |
423f194a | 852 | def InsertCell(*args, **kwargs): |
a95a7133 | 853 | """InsertCell(self, HtmlCell cell)""" |
423f194a RD |
854 | return _html.HtmlContainerCell_InsertCell(*args, **kwargs) |
855 | ||
856 | def SetAlignHor(*args, **kwargs): | |
a95a7133 | 857 | """SetAlignHor(self, int al)""" |
423f194a RD |
858 | return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs) |
859 | ||
860 | def GetAlignHor(*args, **kwargs): | |
a95a7133 | 861 | """GetAlignHor(self) -> int""" |
423f194a RD |
862 | return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs) |
863 | ||
864 | def SetAlignVer(*args, **kwargs): | |
a95a7133 | 865 | """SetAlignVer(self, int al)""" |
423f194a RD |
866 | return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs) |
867 | ||
868 | def GetAlignVer(*args, **kwargs): | |
a95a7133 | 869 | """GetAlignVer(self) -> int""" |
423f194a RD |
870 | return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs) |
871 | ||
872 | def SetIndent(*args, **kwargs): | |
a95a7133 | 873 | """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)""" |
423f194a RD |
874 | return _html.HtmlContainerCell_SetIndent(*args, **kwargs) |
875 | ||
876 | def GetIndent(*args, **kwargs): | |
a95a7133 | 877 | """GetIndent(self, int ind) -> int""" |
423f194a RD |
878 | return _html.HtmlContainerCell_GetIndent(*args, **kwargs) |
879 | ||
880 | def GetIndentUnits(*args, **kwargs): | |
a95a7133 | 881 | """GetIndentUnits(self, int ind) -> int""" |
423f194a RD |
882 | return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs) |
883 | ||
884 | def SetAlign(*args, **kwargs): | |
a95a7133 | 885 | """SetAlign(self, HtmlTag tag)""" |
423f194a RD |
886 | return _html.HtmlContainerCell_SetAlign(*args, **kwargs) |
887 | ||
888 | def SetWidthFloat(*args, **kwargs): | |
a95a7133 | 889 | """SetWidthFloat(self, int w, int units)""" |
423f194a RD |
890 | return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs) |
891 | ||
892 | def SetWidthFloatFromTag(*args, **kwargs): | |
a95a7133 | 893 | """SetWidthFloatFromTag(self, HtmlTag tag)""" |
423f194a RD |
894 | return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs) |
895 | ||
896 | def SetMinHeight(*args, **kwargs): | |
a95a7133 | 897 | """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)""" |
423f194a RD |
898 | return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs) |
899 | ||
900 | def SetBackgroundColour(*args, **kwargs): | |
a95a7133 | 901 | """SetBackgroundColour(self, Colour clr)""" |
423f194a RD |
902 | return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs) |
903 | ||
904 | def GetBackgroundColour(*args, **kwargs): | |
a95a7133 | 905 | """GetBackgroundColour(self) -> Colour""" |
423f194a RD |
906 | return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs) |
907 | ||
908 | def SetBorder(*args, **kwargs): | |
a95a7133 | 909 | """SetBorder(self, Colour clr1, Colour clr2)""" |
423f194a RD |
910 | return _html.HtmlContainerCell_SetBorder(*args, **kwargs) |
911 | ||
912 | def GetFirstChild(*args, **kwargs): | |
a95a7133 | 913 | """GetFirstChild(self) -> HtmlCell""" |
423f194a RD |
914 | return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs) |
915 | ||
5a2a9da2 | 916 | |
d14a1e28 RD |
917 | class HtmlContainerCellPtr(HtmlContainerCell): |
918 | def __init__(self, this): | |
5a2a9da2 | 919 | self.this = this |
d14a1e28 RD |
920 | if not hasattr(self,"thisown"): self.thisown = 0 |
921 | self.__class__ = HtmlContainerCell | |
922 | _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) | |
923 | ||
924 | class HtmlColourCell(HtmlCell): | |
093d3ff1 | 925 | """Proxy of C++ HtmlColourCell class""" |
423f194a RD |
926 | def __repr__(self): |
927 | return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 928 | def __init__(self, *args, **kwargs): |
a95a7133 | 929 | """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell""" |
d14a1e28 RD |
930 | newobj = _html.new_HtmlColourCell(*args, **kwargs) |
931 | self.this = newobj.this | |
5a2a9da2 | 932 | self.thisown = 1 |
d14a1e28 | 933 | del newobj.thisown |
5a2a9da2 | 934 | |
d14a1e28 RD |
935 | class HtmlColourCellPtr(HtmlColourCell): |
936 | def __init__(self, this): | |
e166644c | 937 | self.this = this |
d14a1e28 RD |
938 | if not hasattr(self,"thisown"): self.thisown = 0 |
939 | self.__class__ = HtmlColourCell | |
940 | _html.HtmlColourCell_swigregister(HtmlColourCellPtr) | |
941 | ||
942 | class HtmlFontCell(HtmlCell): | |
093d3ff1 | 943 | """Proxy of C++ HtmlFontCell class""" |
423f194a RD |
944 | def __repr__(self): |
945 | return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 946 | def __init__(self, *args, **kwargs): |
a95a7133 | 947 | """__init__(self, Font font) -> HtmlFontCell""" |
d14a1e28 RD |
948 | newobj = _html.new_HtmlFontCell(*args, **kwargs) |
949 | self.this = newobj.this | |
e166644c | 950 | self.thisown = 1 |
d14a1e28 | 951 | del newobj.thisown |
e166644c | 952 | |
d14a1e28 RD |
953 | class HtmlFontCellPtr(HtmlFontCell): |
954 | def __init__(self, this): | |
9416aa89 | 955 | self.this = this |
d14a1e28 RD |
956 | if not hasattr(self,"thisown"): self.thisown = 0 |
957 | self.__class__ = HtmlFontCell | |
958 | _html.HtmlFontCell_swigregister(HtmlFontCellPtr) | |
959 | ||
960 | class HtmlWidgetCell(HtmlCell): | |
093d3ff1 | 961 | """Proxy of C++ HtmlWidgetCell class""" |
423f194a RD |
962 | def __repr__(self): |
963 | return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 964 | def __init__(self, *args, **kwargs): |
a95a7133 | 965 | """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell""" |
d14a1e28 RD |
966 | newobj = _html.new_HtmlWidgetCell(*args, **kwargs) |
967 | self.this = newobj.this | |
9416aa89 | 968 | self.thisown = 1 |
d14a1e28 | 969 | del newobj.thisown |
9416aa89 | 970 | |
d14a1e28 RD |
971 | class HtmlWidgetCellPtr(HtmlWidgetCell): |
972 | def __init__(self, this): | |
973 | self.this = this | |
974 | if not hasattr(self,"thisown"): self.thisown = 0 | |
975 | self.__class__ = HtmlWidgetCell | |
976 | _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) | |
9416aa89 | 977 | |
d14a1e28 | 978 | #--------------------------------------------------------------------------- |
9416aa89 | 979 | |
d55e5bfc | 980 | class HtmlFilter(_core.Object): |
093d3ff1 | 981 | """Proxy of C++ HtmlFilter class""" |
423f194a RD |
982 | def __repr__(self): |
983 | return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 984 | def __init__(self, *args, **kwargs): |
a95a7133 | 985 | """__init__(self) -> HtmlFilter""" |
d14a1e28 RD |
986 | newobj = _html.new_HtmlFilter(*args, **kwargs) |
987 | self.this = newobj.this | |
e166644c | 988 | self.thisown = 1 |
d14a1e28 RD |
989 | del newobj.thisown |
990 | self._setCallbackInfo(self, HtmlFilter) | |
423f194a RD |
991 | |
992 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 993 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
423f194a RD |
994 | return _html.HtmlFilter__setCallbackInfo(*args, **kwargs) |
995 | ||
e166644c | 996 | |
d14a1e28 RD |
997 | class HtmlFilterPtr(HtmlFilter): |
998 | def __init__(self, this): | |
999 | self.this = this | |
1000 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1001 | self.__class__ = HtmlFilter | |
1002 | _html.HtmlFilter_swigregister(HtmlFilterPtr) | |
e166644c | 1003 | |
d14a1e28 | 1004 | #--------------------------------------------------------------------------- |
e166644c | 1005 | |
d55e5bfc | 1006 | class HtmlWindow(_windows.ScrolledWindow): |
093d3ff1 | 1007 | """Proxy of C++ HtmlWindow class""" |
423f194a RD |
1008 | def __repr__(self): |
1009 | return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1010 | def __init__(self, *args, **kwargs): |
41f1cec7 | 1011 | """ |
a95a7133 | 1012 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 | 1013 | Size size=DefaultSize, int style=HW_DEFAULT_STYLE, |
d03fd34d | 1014 | String name=HtmlWindowNameStr) -> HtmlWindow |
41f1cec7 | 1015 | """ |
d14a1e28 RD |
1016 | newobj = _html.new_HtmlWindow(*args, **kwargs) |
1017 | self.this = newobj.this | |
1018 | self.thisown = 1 | |
1019 | del newobj.thisown | |
1020 | self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) | |
423f194a RD |
1021 | |
1022 | def Create(*args, **kwargs): | |
41f1cec7 | 1023 | """ |
a95a7133 | 1024 | Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
41f1cec7 | 1025 | Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, |
d03fd34d | 1026 | String name=HtmlWindowNameStr) -> bool |
41f1cec7 | 1027 | """ |
423f194a RD |
1028 | return _html.HtmlWindow_Create(*args, **kwargs) |
1029 | ||
1030 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 1031 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
423f194a RD |
1032 | return _html.HtmlWindow__setCallbackInfo(*args, **kwargs) |
1033 | ||
1034 | def SetPage(*args, **kwargs): | |
a95a7133 | 1035 | """SetPage(self, String source) -> bool""" |
423f194a RD |
1036 | return _html.HtmlWindow_SetPage(*args, **kwargs) |
1037 | ||
1038 | def LoadPage(*args, **kwargs): | |
a95a7133 | 1039 | """LoadPage(self, String location) -> bool""" |
423f194a RD |
1040 | return _html.HtmlWindow_LoadPage(*args, **kwargs) |
1041 | ||
1042 | def LoadFile(*args, **kwargs): | |
a95a7133 | 1043 | """LoadFile(self, String filename) -> bool""" |
423f194a RD |
1044 | return _html.HtmlWindow_LoadFile(*args, **kwargs) |
1045 | ||
1046 | def AppendToPage(*args, **kwargs): | |
a95a7133 | 1047 | """AppendToPage(self, String source) -> bool""" |
423f194a RD |
1048 | return _html.HtmlWindow_AppendToPage(*args, **kwargs) |
1049 | ||
1050 | def GetOpenedPage(*args, **kwargs): | |
a95a7133 | 1051 | """GetOpenedPage(self) -> String""" |
423f194a RD |
1052 | return _html.HtmlWindow_GetOpenedPage(*args, **kwargs) |
1053 | ||
1054 | def GetOpenedAnchor(*args, **kwargs): | |
a95a7133 | 1055 | """GetOpenedAnchor(self) -> String""" |
423f194a RD |
1056 | return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs) |
1057 | ||
1058 | def GetOpenedPageTitle(*args, **kwargs): | |
a95a7133 | 1059 | """GetOpenedPageTitle(self) -> String""" |
423f194a RD |
1060 | return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs) |
1061 | ||
1062 | def SetRelatedFrame(*args, **kwargs): | |
a95a7133 | 1063 | """SetRelatedFrame(self, Frame frame, String format)""" |
423f194a RD |
1064 | return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs) |
1065 | ||
1066 | def GetRelatedFrame(*args, **kwargs): | |
a95a7133 | 1067 | """GetRelatedFrame(self) -> Frame""" |
423f194a RD |
1068 | return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs) |
1069 | ||
1070 | def SetRelatedStatusBar(*args, **kwargs): | |
a95a7133 | 1071 | """SetRelatedStatusBar(self, int bar)""" |
423f194a RD |
1072 | return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs) |
1073 | ||
1074 | def SetFonts(*args, **kwargs): | |
a95a7133 | 1075 | """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)""" |
423f194a RD |
1076 | return _html.HtmlWindow_SetFonts(*args, **kwargs) |
1077 | ||
ae8162c8 RD |
1078 | def SetStandardFonts(*args, **kwargs): |
1079 | """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)""" | |
1080 | return _html.HtmlWindow_SetStandardFonts(*args, **kwargs) | |
30ee79f7 | 1081 | |
423f194a | 1082 | def SetTitle(*args, **kwargs): |
a95a7133 | 1083 | """SetTitle(self, String title)""" |
423f194a RD |
1084 | return _html.HtmlWindow_SetTitle(*args, **kwargs) |
1085 | ||
1086 | def SetBorders(*args, **kwargs): | |
a95a7133 | 1087 | """SetBorders(self, int b)""" |
423f194a RD |
1088 | return _html.HtmlWindow_SetBorders(*args, **kwargs) |
1089 | ||
1090 | def ReadCustomization(*args, **kwargs): | |
a95a7133 | 1091 | """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)""" |
423f194a RD |
1092 | return _html.HtmlWindow_ReadCustomization(*args, **kwargs) |
1093 | ||
1094 | def WriteCustomization(*args, **kwargs): | |
a95a7133 | 1095 | """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)""" |
423f194a RD |
1096 | return _html.HtmlWindow_WriteCustomization(*args, **kwargs) |
1097 | ||
1098 | def HistoryBack(*args, **kwargs): | |
a95a7133 | 1099 | """HistoryBack(self) -> bool""" |
423f194a RD |
1100 | return _html.HtmlWindow_HistoryBack(*args, **kwargs) |
1101 | ||
1102 | def HistoryForward(*args, **kwargs): | |
a95a7133 | 1103 | """HistoryForward(self) -> bool""" |
423f194a RD |
1104 | return _html.HtmlWindow_HistoryForward(*args, **kwargs) |
1105 | ||
1106 | def HistoryCanBack(*args, **kwargs): | |
a95a7133 | 1107 | """HistoryCanBack(self) -> bool""" |
423f194a RD |
1108 | return _html.HtmlWindow_HistoryCanBack(*args, **kwargs) |
1109 | ||
1110 | def HistoryCanForward(*args, **kwargs): | |
a95a7133 | 1111 | """HistoryCanForward(self) -> bool""" |
423f194a RD |
1112 | return _html.HtmlWindow_HistoryCanForward(*args, **kwargs) |
1113 | ||
1114 | def HistoryClear(*args, **kwargs): | |
a95a7133 | 1115 | """HistoryClear(self)""" |
423f194a RD |
1116 | return _html.HtmlWindow_HistoryClear(*args, **kwargs) |
1117 | ||
1118 | def GetInternalRepresentation(*args, **kwargs): | |
a95a7133 | 1119 | """GetInternalRepresentation(self) -> HtmlContainerCell""" |
423f194a RD |
1120 | return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs) |
1121 | ||
1122 | def GetParser(*args, **kwargs): | |
a95a7133 | 1123 | """GetParser(self) -> HtmlWinParser""" |
423f194a RD |
1124 | return _html.HtmlWindow_GetParser(*args, **kwargs) |
1125 | ||
1126 | def ScrollToAnchor(*args, **kwargs): | |
a95a7133 | 1127 | """ScrollToAnchor(self, String anchor) -> bool""" |
423f194a RD |
1128 | return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs) |
1129 | ||
1130 | def HasAnchor(*args, **kwargs): | |
a95a7133 | 1131 | """HasAnchor(self, String anchor) -> bool""" |
423f194a RD |
1132 | return _html.HtmlWindow_HasAnchor(*args, **kwargs) |
1133 | ||
1134 | def AddFilter(*args, **kwargs): | |
c24da6d6 | 1135 | """AddFilter(HtmlFilter filter)""" |
423f194a RD |
1136 | return _html.HtmlWindow_AddFilter(*args, **kwargs) |
1137 | ||
1138 | AddFilter = staticmethod(AddFilter) | |
db914595 | 1139 | def SelectWord(*args, **kwargs): |
a95a7133 | 1140 | """SelectWord(self, Point pos)""" |
db914595 RD |
1141 | return _html.HtmlWindow_SelectWord(*args, **kwargs) |
1142 | ||
1143 | def SelectLine(*args, **kwargs): | |
a95a7133 | 1144 | """SelectLine(self, Point pos)""" |
db914595 RD |
1145 | return _html.HtmlWindow_SelectLine(*args, **kwargs) |
1146 | ||
1147 | def SelectAll(*args, **kwargs): | |
a95a7133 | 1148 | """SelectAll(self)""" |
db914595 RD |
1149 | return _html.HtmlWindow_SelectAll(*args, **kwargs) |
1150 | ||
b0f7404b RD |
1151 | def SelectionToText(*args, **kwargs): |
1152 | """SelectionToText(self) -> String""" | |
1153 | return _html.HtmlWindow_SelectionToText(*args, **kwargs) | |
1154 | ||
1155 | def ToText(*args, **kwargs): | |
1156 | """ToText(self) -> String""" | |
1157 | return _html.HtmlWindow_ToText(*args, **kwargs) | |
1158 | ||
423f194a | 1159 | def base_OnLinkClicked(*args, **kwargs): |
a95a7133 | 1160 | """base_OnLinkClicked(self, HtmlLinkInfo link)""" |
423f194a RD |
1161 | return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) |
1162 | ||
1163 | def base_OnSetTitle(*args, **kwargs): | |
a95a7133 | 1164 | """base_OnSetTitle(self, String title)""" |
423f194a RD |
1165 | return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) |
1166 | ||
1167 | def base_OnCellMouseHover(*args, **kwargs): | |
a95a7133 | 1168 | """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)""" |
423f194a RD |
1169 | return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) |
1170 | ||
1171 | def base_OnCellClicked(*args, **kwargs): | |
a95a7133 | 1172 | """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)""" |
423f194a RD |
1173 | return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) |
1174 | ||
f20a2e1f RD |
1175 | def GetClassDefaultAttributes(*args, **kwargs): |
1176 | """ | |
1177 | GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes | |
1178 | ||
79fccf9d RD |
1179 | Get the default attributes for this class. This is useful if you want |
1180 | to use the same font or colour in your own control as in a standard | |
1181 | control -- which is a much better idea than hard coding specific | |
caef1a4d RD |
1182 | colours or fonts which might look completely out of place on the |
1183 | user's system, especially if it uses themes. | |
f20a2e1f RD |
1184 | |
1185 | The variant parameter is only relevant under Mac currently and is | |
79fccf9d | 1186 | ignore under other platforms. Under Mac, it will change the size of |
caef1a4d RD |
1187 | the returned font. See `wx.Window.SetWindowVariant` for more about |
1188 | this. | |
f20a2e1f RD |
1189 | """ |
1190 | return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs) | |
1191 | ||
1192 | GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes) | |
e166644c | 1193 | |
d14a1e28 RD |
1194 | class HtmlWindowPtr(HtmlWindow): |
1195 | def __init__(self, this): | |
9c00cfa3 | 1196 | self.this = this |
d14a1e28 RD |
1197 | if not hasattr(self,"thisown"): self.thisown = 0 |
1198 | self.__class__ = HtmlWindow | |
1199 | _html.HtmlWindow_swigregister(HtmlWindowPtr) | |
9c00cfa3 | 1200 | |
d14a1e28 | 1201 | def PreHtmlWindow(*args, **kwargs): |
423f194a | 1202 | """PreHtmlWindow() -> HtmlWindow""" |
d14a1e28 RD |
1203 | val = _html.new_PreHtmlWindow(*args, **kwargs) |
1204 | val.thisown = 1 | |
1205 | return val | |
9c00cfa3 | 1206 | |
423f194a RD |
1207 | def HtmlWindow_AddFilter(*args, **kwargs): |
1208 | """HtmlWindow_AddFilter(HtmlFilter filter)""" | |
1209 | return _html.HtmlWindow_AddFilter(*args, **kwargs) | |
9c00cfa3 | 1210 | |
f20a2e1f RD |
1211 | def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs): |
1212 | """ | |
1213 | HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes | |
1214 | ||
79fccf9d RD |
1215 | Get the default attributes for this class. This is useful if you want |
1216 | to use the same font or colour in your own control as in a standard | |
1217 | control -- which is a much better idea than hard coding specific | |
caef1a4d RD |
1218 | colours or fonts which might look completely out of place on the |
1219 | user's system, especially if it uses themes. | |
f20a2e1f RD |
1220 | |
1221 | The variant parameter is only relevant under Mac currently and is | |
79fccf9d | 1222 | ignore under other platforms. Under Mac, it will change the size of |
caef1a4d RD |
1223 | the returned font. See `wx.Window.SetWindowVariant` for more about |
1224 | this. | |
f20a2e1f RD |
1225 | """ |
1226 | return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs) | |
1227 | ||
d14a1e28 | 1228 | #--------------------------------------------------------------------------- |
9c00cfa3 | 1229 | |
d55e5bfc | 1230 | class HtmlDCRenderer(_core.Object): |
093d3ff1 | 1231 | """Proxy of C++ HtmlDCRenderer class""" |
423f194a RD |
1232 | def __repr__(self): |
1233 | return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1234 | def __init__(self, *args, **kwargs): |
a95a7133 | 1235 | """__init__(self) -> HtmlDCRenderer""" |
d14a1e28 RD |
1236 | newobj = _html.new_HtmlDCRenderer(*args, **kwargs) |
1237 | self.this = newobj.this | |
9416aa89 | 1238 | self.thisown = 1 |
d14a1e28 RD |
1239 | del newobj.thisown |
1240 | def __del__(self, destroy=_html.delete_HtmlDCRenderer): | |
a95a7133 | 1241 | """__del__(self)""" |
d14a1e28 RD |
1242 | try: |
1243 | if self.thisown: destroy(self) | |
1244 | except: pass | |
423f194a RD |
1245 | |
1246 | def SetDC(*args, **kwargs): | |
a95a7133 | 1247 | """SetDC(self, DC dc, int maxwidth)""" |
423f194a RD |
1248 | return _html.HtmlDCRenderer_SetDC(*args, **kwargs) |
1249 | ||
1250 | def SetSize(*args, **kwargs): | |
a95a7133 | 1251 | """SetSize(self, int width, int height)""" |
423f194a RD |
1252 | return _html.HtmlDCRenderer_SetSize(*args, **kwargs) |
1253 | ||
1254 | def SetHtmlText(*args, **kwargs): | |
a95a7133 | 1255 | """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)""" |
423f194a RD |
1256 | return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs) |
1257 | ||
1258 | def SetFonts(*args, **kwargs): | |
a95a7133 | 1259 | """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)""" |
423f194a RD |
1260 | return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) |
1261 | ||
ae8162c8 RD |
1262 | def SetStandardFonts(*args, **kwargs): |
1263 | """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)""" | |
1264 | return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs) | |
30ee79f7 | 1265 | |
423f194a | 1266 | def Render(*args, **kwargs): |
41f1cec7 | 1267 | """ |
f78cc896 | 1268 | Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX, |
41f1cec7 RD |
1269 | int choices=None, int LCOUNT=0) -> int |
1270 | """ | |
423f194a RD |
1271 | return _html.HtmlDCRenderer_Render(*args, **kwargs) |
1272 | ||
1273 | def GetTotalHeight(*args, **kwargs): | |
a95a7133 | 1274 | """GetTotalHeight(self) -> int""" |
423f194a RD |
1275 | return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs) |
1276 | ||
9416aa89 | 1277 | |
d14a1e28 RD |
1278 | class HtmlDCRendererPtr(HtmlDCRenderer): |
1279 | def __init__(self, this): | |
e166644c | 1280 | self.this = this |
d14a1e28 RD |
1281 | if not hasattr(self,"thisown"): self.thisown = 0 |
1282 | self.__class__ = HtmlDCRenderer | |
1283 | _html.HtmlDCRenderer_swigregister(HtmlDCRendererPtr) | |
1284 | ||
1285 | PAGE_ODD = _html.PAGE_ODD | |
1286 | PAGE_EVEN = _html.PAGE_EVEN | |
1287 | PAGE_ALL = _html.PAGE_ALL | |
d55e5bfc | 1288 | class HtmlPrintout(_windows.Printout): |
093d3ff1 | 1289 | """Proxy of C++ HtmlPrintout class""" |
423f194a RD |
1290 | def __repr__(self): |
1291 | return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1292 | def __init__(self, *args, **kwargs): |
a95a7133 | 1293 | """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout""" |
d14a1e28 RD |
1294 | newobj = _html.new_HtmlPrintout(*args, **kwargs) |
1295 | self.this = newobj.this | |
e166644c | 1296 | self.thisown = 1 |
d14a1e28 | 1297 | del newobj.thisown |
423f194a | 1298 | def SetHtmlText(*args, **kwargs): |
a95a7133 | 1299 | """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)""" |
423f194a RD |
1300 | return _html.HtmlPrintout_SetHtmlText(*args, **kwargs) |
1301 | ||
1302 | def SetHtmlFile(*args, **kwargs): | |
a95a7133 | 1303 | """SetHtmlFile(self, String htmlfile)""" |
423f194a RD |
1304 | return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs) |
1305 | ||
1306 | def SetHeader(*args, **kwargs): | |
a95a7133 | 1307 | """SetHeader(self, String header, int pg=PAGE_ALL)""" |
423f194a RD |
1308 | return _html.HtmlPrintout_SetHeader(*args, **kwargs) |
1309 | ||
1310 | def SetFooter(*args, **kwargs): | |
a95a7133 | 1311 | """SetFooter(self, String footer, int pg=PAGE_ALL)""" |
423f194a RD |
1312 | return _html.HtmlPrintout_SetFooter(*args, **kwargs) |
1313 | ||
1314 | def SetFonts(*args, **kwargs): | |
a95a7133 | 1315 | """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)""" |
423f194a RD |
1316 | return _html.HtmlPrintout_SetFonts(*args, **kwargs) |
1317 | ||
ae8162c8 RD |
1318 | def SetStandardFonts(*args, **kwargs): |
1319 | """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)""" | |
1320 | return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs) | |
30ee79f7 | 1321 | |
423f194a | 1322 | def SetMargins(*args, **kwargs): |
41f1cec7 | 1323 | """ |
a95a7133 | 1324 | SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2, |
41f1cec7 RD |
1325 | float right=25.2, float spaces=5) |
1326 | """ | |
423f194a RD |
1327 | return _html.HtmlPrintout_SetMargins(*args, **kwargs) |
1328 | ||
1329 | def AddFilter(*args, **kwargs): | |
c24da6d6 | 1330 | """AddFilter(wxHtmlFilter filter)""" |
423f194a RD |
1331 | return _html.HtmlPrintout_AddFilter(*args, **kwargs) |
1332 | ||
1333 | AddFilter = staticmethod(AddFilter) | |
1334 | def CleanUpStatics(*args, **kwargs): | |
c24da6d6 | 1335 | """CleanUpStatics()""" |
423f194a RD |
1336 | return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) |
1337 | ||
1338 | CleanUpStatics = staticmethod(CleanUpStatics) | |
e166644c | 1339 | |
d14a1e28 RD |
1340 | class HtmlPrintoutPtr(HtmlPrintout): |
1341 | def __init__(self, this): | |
1342 | self.this = this | |
1343 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1344 | self.__class__ = HtmlPrintout | |
1345 | _html.HtmlPrintout_swigregister(HtmlPrintoutPtr) | |
e166644c | 1346 | |
423f194a RD |
1347 | def HtmlPrintout_AddFilter(*args, **kwargs): |
1348 | """HtmlPrintout_AddFilter(wxHtmlFilter filter)""" | |
1349 | return _html.HtmlPrintout_AddFilter(*args, **kwargs) | |
e166644c | 1350 | |
423f194a RD |
1351 | def HtmlPrintout_CleanUpStatics(*args, **kwargs): |
1352 | """HtmlPrintout_CleanUpStatics()""" | |
1353 | return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs) | |
e166644c | 1354 | |
d55e5bfc | 1355 | class HtmlEasyPrinting(_core.Object): |
093d3ff1 | 1356 | """Proxy of C++ HtmlEasyPrinting class""" |
423f194a RD |
1357 | def __repr__(self): |
1358 | return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1359 | def __init__(self, *args, **kwargs): |
a95a7133 | 1360 | """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting""" |
d14a1e28 RD |
1361 | newobj = _html.new_HtmlEasyPrinting(*args, **kwargs) |
1362 | self.this = newobj.this | |
7e50db3f | 1363 | self.thisown = 1 |
d14a1e28 RD |
1364 | del newobj.thisown |
1365 | def __del__(self, destroy=_html.delete_HtmlEasyPrinting): | |
a95a7133 | 1366 | """__del__(self)""" |
d14a1e28 RD |
1367 | try: |
1368 | if self.thisown: destroy(self) | |
1369 | except: pass | |
423f194a RD |
1370 | |
1371 | def PreviewFile(*args, **kwargs): | |
a95a7133 | 1372 | """PreviewFile(self, String htmlfile)""" |
423f194a RD |
1373 | return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs) |
1374 | ||
1375 | def PreviewText(*args, **kwargs): | |
a95a7133 | 1376 | """PreviewText(self, String htmltext, String basepath=EmptyString)""" |
423f194a RD |
1377 | return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs) |
1378 | ||
1379 | def PrintFile(*args, **kwargs): | |
a95a7133 | 1380 | """PrintFile(self, String htmlfile)""" |
423f194a RD |
1381 | return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs) |
1382 | ||
1383 | def PrintText(*args, **kwargs): | |
a95a7133 | 1384 | """PrintText(self, String htmltext, String basepath=EmptyString)""" |
423f194a RD |
1385 | return _html.HtmlEasyPrinting_PrintText(*args, **kwargs) |
1386 | ||
423f194a | 1387 | def PageSetup(*args, **kwargs): |
a95a7133 | 1388 | """PageSetup(self)""" |
423f194a RD |
1389 | return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs) |
1390 | ||
1391 | def SetHeader(*args, **kwargs): | |
a95a7133 | 1392 | """SetHeader(self, String header, int pg=PAGE_ALL)""" |
423f194a RD |
1393 | return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs) |
1394 | ||
1395 | def SetFooter(*args, **kwargs): | |
a95a7133 | 1396 | """SetFooter(self, String footer, int pg=PAGE_ALL)""" |
423f194a RD |
1397 | return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs) |
1398 | ||
1399 | def SetFonts(*args, **kwargs): | |
a95a7133 | 1400 | """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)""" |
423f194a RD |
1401 | return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs) |
1402 | ||
ae8162c8 RD |
1403 | def SetStandardFonts(*args, **kwargs): |
1404 | """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)""" | |
1405 | return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs) | |
30ee79f7 | 1406 | |
423f194a | 1407 | def GetPrintData(*args, **kwargs): |
a95a7133 | 1408 | """GetPrintData(self) -> PrintData""" |
423f194a RD |
1409 | return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs) |
1410 | ||
1411 | def GetPageSetupData(*args, **kwargs): | |
a95a7133 | 1412 | """GetPageSetupData(self) -> PageSetupDialogData""" |
423f194a RD |
1413 | return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs) |
1414 | ||
7e50db3f | 1415 | |
d14a1e28 RD |
1416 | class HtmlEasyPrintingPtr(HtmlEasyPrinting): |
1417 | def __init__(self, this): | |
1418 | self.this = this | |
1419 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1420 | self.__class__ = HtmlEasyPrinting | |
1421 | _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) | |
7e50db3f | 1422 | |
d14a1e28 | 1423 | #--------------------------------------------------------------------------- |
7e50db3f | 1424 | |
d14a1e28 | 1425 | class HtmlBookRecord(object): |
093d3ff1 | 1426 | """Proxy of C++ HtmlBookRecord class""" |
423f194a RD |
1427 | def __repr__(self): |
1428 | return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1429 | def __init__(self, *args, **kwargs): |
a95a7133 | 1430 | """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord""" |
d14a1e28 RD |
1431 | newobj = _html.new_HtmlBookRecord(*args, **kwargs) |
1432 | self.this = newobj.this | |
1433 | self.thisown = 1 | |
1434 | del newobj.thisown | |
423f194a | 1435 | def GetBookFile(*args, **kwargs): |
a95a7133 | 1436 | """GetBookFile(self) -> String""" |
423f194a RD |
1437 | return _html.HtmlBookRecord_GetBookFile(*args, **kwargs) |
1438 | ||
1439 | def GetTitle(*args, **kwargs): | |
a95a7133 | 1440 | """GetTitle(self) -> String""" |
423f194a RD |
1441 | return _html.HtmlBookRecord_GetTitle(*args, **kwargs) |
1442 | ||
1443 | def GetStart(*args, **kwargs): | |
a95a7133 | 1444 | """GetStart(self) -> String""" |
423f194a RD |
1445 | return _html.HtmlBookRecord_GetStart(*args, **kwargs) |
1446 | ||
1447 | def GetBasePath(*args, **kwargs): | |
a95a7133 | 1448 | """GetBasePath(self) -> String""" |
423f194a RD |
1449 | return _html.HtmlBookRecord_GetBasePath(*args, **kwargs) |
1450 | ||
1451 | def SetContentsRange(*args, **kwargs): | |
a95a7133 | 1452 | """SetContentsRange(self, int start, int end)""" |
423f194a RD |
1453 | return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs) |
1454 | ||
1455 | def GetContentsStart(*args, **kwargs): | |
a95a7133 | 1456 | """GetContentsStart(self) -> int""" |
423f194a RD |
1457 | return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs) |
1458 | ||
1459 | def GetContentsEnd(*args, **kwargs): | |
a95a7133 | 1460 | """GetContentsEnd(self) -> int""" |
423f194a RD |
1461 | return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs) |
1462 | ||
1463 | def SetTitle(*args, **kwargs): | |
a95a7133 | 1464 | """SetTitle(self, String title)""" |
423f194a RD |
1465 | return _html.HtmlBookRecord_SetTitle(*args, **kwargs) |
1466 | ||
1467 | def SetBasePath(*args, **kwargs): | |
a95a7133 | 1468 | """SetBasePath(self, String path)""" |
423f194a RD |
1469 | return _html.HtmlBookRecord_SetBasePath(*args, **kwargs) |
1470 | ||
1471 | def SetStart(*args, **kwargs): | |
a95a7133 | 1472 | """SetStart(self, String start)""" |
423f194a RD |
1473 | return _html.HtmlBookRecord_SetStart(*args, **kwargs) |
1474 | ||
1475 | def GetFullPath(*args, **kwargs): | |
a95a7133 | 1476 | """GetFullPath(self, String page) -> String""" |
423f194a RD |
1477 | return _html.HtmlBookRecord_GetFullPath(*args, **kwargs) |
1478 | ||
7e50db3f | 1479 | |
d14a1e28 RD |
1480 | class HtmlBookRecordPtr(HtmlBookRecord): |
1481 | def __init__(self, this): | |
325274bb | 1482 | self.this = this |
d14a1e28 RD |
1483 | if not hasattr(self,"thisown"): self.thisown = 0 |
1484 | self.__class__ = HtmlBookRecord | |
1485 | _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) | |
1486 | ||
1487 | class HtmlContentsItem(object): | |
093d3ff1 | 1488 | """Proxy of C++ HtmlContentsItem class""" |
d14a1e28 | 1489 | def __init__(self): raise RuntimeError, "No constructor defined" |
325274bb | 1490 | def __repr__(self): |
d14a1e28 | 1491 | return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
423f194a | 1492 | def GetLevel(*args, **kwargs): |
a95a7133 | 1493 | """GetLevel(self) -> int""" |
423f194a RD |
1494 | return _html.HtmlContentsItem_GetLevel(*args, **kwargs) |
1495 | ||
1496 | def GetID(*args, **kwargs): | |
a95a7133 | 1497 | """GetID(self) -> int""" |
423f194a RD |
1498 | return _html.HtmlContentsItem_GetID(*args, **kwargs) |
1499 | ||
1500 | def GetName(*args, **kwargs): | |
a95a7133 | 1501 | """GetName(self) -> String""" |
423f194a RD |
1502 | return _html.HtmlContentsItem_GetName(*args, **kwargs) |
1503 | ||
1504 | def GetPage(*args, **kwargs): | |
a95a7133 | 1505 | """GetPage(self) -> String""" |
423f194a RD |
1506 | return _html.HtmlContentsItem_GetPage(*args, **kwargs) |
1507 | ||
1508 | def GetBook(*args, **kwargs): | |
a95a7133 | 1509 | """GetBook(self) -> HtmlBookRecord""" |
423f194a RD |
1510 | return _html.HtmlContentsItem_GetBook(*args, **kwargs) |
1511 | ||
325274bb | 1512 | |
d14a1e28 RD |
1513 | class HtmlContentsItemPtr(HtmlContentsItem): |
1514 | def __init__(self, this): | |
dc2f8a65 | 1515 | self.this = this |
d14a1e28 RD |
1516 | if not hasattr(self,"thisown"): self.thisown = 0 |
1517 | self.__class__ = HtmlContentsItem | |
1518 | _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) | |
1519 | ||
1520 | class HtmlSearchStatus(object): | |
093d3ff1 | 1521 | """Proxy of C++ HtmlSearchStatus class""" |
d14a1e28 | 1522 | def __init__(self): raise RuntimeError, "No constructor defined" |
dc2f8a65 | 1523 | def __repr__(self): |
d14a1e28 | 1524 | return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
423f194a | 1525 | def Search(*args, **kwargs): |
a95a7133 | 1526 | """Search(self) -> bool""" |
423f194a RD |
1527 | return _html.HtmlSearchStatus_Search(*args, **kwargs) |
1528 | ||
1529 | def IsActive(*args, **kwargs): | |
a95a7133 | 1530 | """IsActive(self) -> bool""" |
423f194a RD |
1531 | return _html.HtmlSearchStatus_IsActive(*args, **kwargs) |
1532 | ||
1533 | def GetCurIndex(*args, **kwargs): | |
a95a7133 | 1534 | """GetCurIndex(self) -> int""" |
423f194a RD |
1535 | return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs) |
1536 | ||
1537 | def GetMaxIndex(*args, **kwargs): | |
a95a7133 | 1538 | """GetMaxIndex(self) -> int""" |
423f194a RD |
1539 | return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs) |
1540 | ||
1541 | def GetName(*args, **kwargs): | |
a95a7133 | 1542 | """GetName(self) -> String""" |
423f194a RD |
1543 | return _html.HtmlSearchStatus_GetName(*args, **kwargs) |
1544 | ||
1545 | def GetContentsItem(*args, **kwargs): | |
a95a7133 | 1546 | """GetContentsItem(self) -> HtmlContentsItem""" |
423f194a RD |
1547 | return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs) |
1548 | ||
dc2f8a65 | 1549 | |
d14a1e28 RD |
1550 | class HtmlSearchStatusPtr(HtmlSearchStatus): |
1551 | def __init__(self, this): | |
dc2f8a65 | 1552 | self.this = this |
d14a1e28 RD |
1553 | if not hasattr(self,"thisown"): self.thisown = 0 |
1554 | self.__class__ = HtmlSearchStatus | |
1555 | _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) | |
1556 | ||
1557 | class HtmlHelpData(object): | |
093d3ff1 | 1558 | """Proxy of C++ HtmlHelpData class""" |
423f194a RD |
1559 | def __repr__(self): |
1560 | return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1561 | def __init__(self, *args, **kwargs): |
a95a7133 | 1562 | """__init__(self) -> HtmlHelpData""" |
d14a1e28 RD |
1563 | newobj = _html.new_HtmlHelpData(*args, **kwargs) |
1564 | self.this = newobj.this | |
dc2f8a65 | 1565 | self.thisown = 1 |
d14a1e28 RD |
1566 | del newobj.thisown |
1567 | def __del__(self, destroy=_html.delete_HtmlHelpData): | |
a95a7133 | 1568 | """__del__(self)""" |
d14a1e28 RD |
1569 | try: |
1570 | if self.thisown: destroy(self) | |
1571 | except: pass | |
423f194a RD |
1572 | |
1573 | def SetTempDir(*args, **kwargs): | |
a95a7133 | 1574 | """SetTempDir(self, String path)""" |
423f194a RD |
1575 | return _html.HtmlHelpData_SetTempDir(*args, **kwargs) |
1576 | ||
1577 | def AddBook(*args, **kwargs): | |
a95a7133 | 1578 | """AddBook(self, String book) -> bool""" |
423f194a RD |
1579 | return _html.HtmlHelpData_AddBook(*args, **kwargs) |
1580 | ||
1581 | def FindPageByName(*args, **kwargs): | |
a95a7133 | 1582 | """FindPageByName(self, String page) -> String""" |
423f194a RD |
1583 | return _html.HtmlHelpData_FindPageByName(*args, **kwargs) |
1584 | ||
1585 | def FindPageById(*args, **kwargs): | |
a95a7133 | 1586 | """FindPageById(self, int id) -> String""" |
423f194a RD |
1587 | return _html.HtmlHelpData_FindPageById(*args, **kwargs) |
1588 | ||
1589 | def GetBookRecArray(*args, **kwargs): | |
a95a7133 | 1590 | """GetBookRecArray(self) -> wxHtmlBookRecArray""" |
423f194a RD |
1591 | return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs) |
1592 | ||
1593 | def GetContents(*args, **kwargs): | |
a95a7133 | 1594 | """GetContents(self) -> HtmlContentsItem""" |
423f194a RD |
1595 | return _html.HtmlHelpData_GetContents(*args, **kwargs) |
1596 | ||
1597 | def GetContentsCnt(*args, **kwargs): | |
a95a7133 | 1598 | """GetContentsCnt(self) -> int""" |
423f194a RD |
1599 | return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs) |
1600 | ||
1601 | def GetIndex(*args, **kwargs): | |
a95a7133 | 1602 | """GetIndex(self) -> HtmlContentsItem""" |
423f194a RD |
1603 | return _html.HtmlHelpData_GetIndex(*args, **kwargs) |
1604 | ||
1605 | def GetIndexCnt(*args, **kwargs): | |
a95a7133 | 1606 | """GetIndexCnt(self) -> int""" |
423f194a RD |
1607 | return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs) |
1608 | ||
dc2f8a65 | 1609 | |
d14a1e28 RD |
1610 | class HtmlHelpDataPtr(HtmlHelpData): |
1611 | def __init__(self, this): | |
dc2f8a65 | 1612 | self.this = this |
d14a1e28 RD |
1613 | if not hasattr(self,"thisown"): self.thisown = 0 |
1614 | self.__class__ = HtmlHelpData | |
1615 | _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) | |
1616 | ||
d55e5bfc | 1617 | class HtmlHelpFrame(_windows.Frame): |
093d3ff1 | 1618 | """Proxy of C++ HtmlHelpFrame class""" |
423f194a RD |
1619 | def __repr__(self): |
1620 | return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1621 | def __init__(self, *args, **kwargs): |
41f1cec7 | 1622 | """ |
a95a7133 | 1623 | __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, |
d03fd34d | 1624 | HtmlHelpData data=None) -> HtmlHelpFrame |
41f1cec7 | 1625 | """ |
d14a1e28 RD |
1626 | newobj = _html.new_HtmlHelpFrame(*args, **kwargs) |
1627 | self.this = newobj.this | |
dc2f8a65 | 1628 | self.thisown = 1 |
d14a1e28 RD |
1629 | del newobj.thisown |
1630 | self._setOORInfo(self) | |
423f194a RD |
1631 | |
1632 | def GetData(*args, **kwargs): | |
a95a7133 | 1633 | """GetData(self) -> HtmlHelpData""" |
423f194a RD |
1634 | return _html.HtmlHelpFrame_GetData(*args, **kwargs) |
1635 | ||
1636 | def SetTitleFormat(*args, **kwargs): | |
a95a7133 | 1637 | """SetTitleFormat(self, String format)""" |
423f194a RD |
1638 | return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) |
1639 | ||
1640 | def Display(*args, **kwargs): | |
a95a7133 | 1641 | """Display(self, String x)""" |
423f194a RD |
1642 | return _html.HtmlHelpFrame_Display(*args, **kwargs) |
1643 | ||
1644 | def DisplayID(*args, **kwargs): | |
a95a7133 | 1645 | """DisplayID(self, int id)""" |
423f194a RD |
1646 | return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) |
1647 | ||
1648 | def DisplayContents(*args, **kwargs): | |
a95a7133 | 1649 | """DisplayContents(self)""" |
423f194a RD |
1650 | return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) |
1651 | ||
1652 | def DisplayIndex(*args, **kwargs): | |
a95a7133 | 1653 | """DisplayIndex(self)""" |
423f194a RD |
1654 | return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) |
1655 | ||
1656 | def KeywordSearch(*args, **kwargs): | |
a95a7133 | 1657 | """KeywordSearch(self, String keyword) -> bool""" |
423f194a RD |
1658 | return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) |
1659 | ||
1660 | def UseConfig(*args, **kwargs): | |
a95a7133 | 1661 | """UseConfig(self, ConfigBase config, String rootpath=EmptyString)""" |
423f194a RD |
1662 | return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) |
1663 | ||
1664 | def ReadCustomization(*args, **kwargs): | |
a95a7133 | 1665 | """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)""" |
423f194a RD |
1666 | return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) |
1667 | ||
1668 | def WriteCustomization(*args, **kwargs): | |
a95a7133 | 1669 | """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)""" |
423f194a RD |
1670 | return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) |
1671 | ||
dc2f8a65 | 1672 | |
d14a1e28 RD |
1673 | class HtmlHelpFramePtr(HtmlHelpFrame): |
1674 | def __init__(self, this): | |
1675 | self.this = this | |
1676 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1677 | self.__class__ = HtmlHelpFrame | |
1678 | _html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr) | |
1679 | ||
1680 | HF_TOOLBAR = _html.HF_TOOLBAR | |
1681 | HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR | |
1682 | HF_CONTENTS = _html.HF_CONTENTS | |
1683 | HF_INDEX = _html.HF_INDEX | |
1684 | HF_SEARCH = _html.HF_SEARCH | |
1685 | HF_BOOKMARKS = _html.HF_BOOKMARKS | |
1686 | HF_OPENFILES = _html.HF_OPENFILES | |
1687 | HF_PRINT = _html.HF_PRINT | |
1688 | HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE | |
8fb0e70a | 1689 | class HtmlHelpController(_core.Object): |
093d3ff1 | 1690 | """Proxy of C++ HtmlHelpController class""" |
423f194a RD |
1691 | def __repr__(self): |
1692 | return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1693 | def __init__(self, *args, **kwargs): |
a95a7133 | 1694 | """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController""" |
d14a1e28 RD |
1695 | newobj = _html.new_HtmlHelpController(*args, **kwargs) |
1696 | self.this = newobj.this | |
1697 | self.thisown = 1 | |
1698 | del newobj.thisown | |
d14a1e28 | 1699 | def __del__(self, destroy=_html.delete_HtmlHelpController): |
a95a7133 | 1700 | """__del__(self)""" |
d14a1e28 RD |
1701 | try: |
1702 | if self.thisown: destroy(self) | |
1703 | except: pass | |
423f194a RD |
1704 | |
1705 | def SetTitleFormat(*args, **kwargs): | |
a95a7133 | 1706 | """SetTitleFormat(self, String format)""" |
423f194a RD |
1707 | return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) |
1708 | ||
1709 | def SetTempDir(*args, **kwargs): | |
a95a7133 | 1710 | """SetTempDir(self, String path)""" |
423f194a RD |
1711 | return _html.HtmlHelpController_SetTempDir(*args, **kwargs) |
1712 | ||
1713 | def AddBook(*args, **kwargs): | |
a95a7133 | 1714 | """AddBook(self, String book, int show_wait_msg=False) -> bool""" |
423f194a RD |
1715 | return _html.HtmlHelpController_AddBook(*args, **kwargs) |
1716 | ||
1717 | def Display(*args, **kwargs): | |
a95a7133 | 1718 | """Display(self, String x)""" |
423f194a RD |
1719 | return _html.HtmlHelpController_Display(*args, **kwargs) |
1720 | ||
1721 | def DisplayID(*args, **kwargs): | |
a95a7133 | 1722 | """DisplayID(self, int id)""" |
423f194a RD |
1723 | return _html.HtmlHelpController_DisplayID(*args, **kwargs) |
1724 | ||
1725 | def DisplayContents(*args, **kwargs): | |
a95a7133 | 1726 | """DisplayContents(self)""" |
423f194a RD |
1727 | return _html.HtmlHelpController_DisplayContents(*args, **kwargs) |
1728 | ||
1729 | def DisplayIndex(*args, **kwargs): | |
a95a7133 | 1730 | """DisplayIndex(self)""" |
423f194a RD |
1731 | return _html.HtmlHelpController_DisplayIndex(*args, **kwargs) |
1732 | ||
1733 | def KeywordSearch(*args, **kwargs): | |
a95a7133 | 1734 | """KeywordSearch(self, String keyword) -> bool""" |
423f194a RD |
1735 | return _html.HtmlHelpController_KeywordSearch(*args, **kwargs) |
1736 | ||
1737 | def UseConfig(*args, **kwargs): | |
a95a7133 | 1738 | """UseConfig(self, ConfigBase config, String rootpath=EmptyString)""" |
423f194a RD |
1739 | return _html.HtmlHelpController_UseConfig(*args, **kwargs) |
1740 | ||
1741 | def ReadCustomization(*args, **kwargs): | |
a95a7133 | 1742 | """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)""" |
423f194a RD |
1743 | return _html.HtmlHelpController_ReadCustomization(*args, **kwargs) |
1744 | ||
1745 | def WriteCustomization(*args, **kwargs): | |
a95a7133 | 1746 | """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)""" |
423f194a RD |
1747 | return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) |
1748 | ||
1749 | def GetFrame(*args, **kwargs): | |
a95a7133 | 1750 | """GetFrame(self) -> HtmlHelpFrame""" |
423f194a RD |
1751 | return _html.HtmlHelpController_GetFrame(*args, **kwargs) |
1752 | ||
dc2f8a65 | 1753 | |
d14a1e28 RD |
1754 | class HtmlHelpControllerPtr(HtmlHelpController): |
1755 | def __init__(self, this): | |
1756 | self.this = this | |
1757 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1758 | self.__class__ = HtmlHelpController | |
1759 | _html.HtmlHelpController_swigregister(HtmlHelpControllerPtr) | |
dc2f8a65 RD |
1760 | |
1761 |