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