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