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