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