1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
9 #---------------------------------------------------------------------------
11 HTML_ALIGN_LEFT
= _html
.HTML_ALIGN_LEFT
12 HTML_ALIGN_CENTER
= _html
.HTML_ALIGN_CENTER
13 HTML_ALIGN_RIGHT
= _html
.HTML_ALIGN_RIGHT
14 HTML_ALIGN_BOTTOM
= _html
.HTML_ALIGN_BOTTOM
15 HTML_ALIGN_TOP
= _html
.HTML_ALIGN_TOP
16 HTML_CLR_FOREGROUND
= _html
.HTML_CLR_FOREGROUND
17 HTML_CLR_BACKGROUND
= _html
.HTML_CLR_BACKGROUND
18 HTML_UNITS_PIXELS
= _html
.HTML_UNITS_PIXELS
19 HTML_UNITS_PERCENT
= _html
.HTML_UNITS_PERCENT
20 HTML_INDENT_LEFT
= _html
.HTML_INDENT_LEFT
21 HTML_INDENT_RIGHT
= _html
.HTML_INDENT_RIGHT
22 HTML_INDENT_TOP
= _html
.HTML_INDENT_TOP
23 HTML_INDENT_BOTTOM
= _html
.HTML_INDENT_BOTTOM
24 HTML_INDENT_HORIZONTAL
= _html
.HTML_INDENT_HORIZONTAL
25 HTML_INDENT_VERTICAL
= _html
.HTML_INDENT_VERTICAL
26 HTML_INDENT_ALL
= _html
.HTML_INDENT_ALL
27 HTML_COND_ISANCHOR
= _html
.HTML_COND_ISANCHOR
28 HTML_COND_ISIMAGEMAP
= _html
.HTML_COND_ISIMAGEMAP
29 HTML_COND_USER
= _html
.HTML_COND_USER
30 HTML_FONT_SIZE_1
= _html
.HTML_FONT_SIZE_1
31 HTML_FONT_SIZE_2
= _html
.HTML_FONT_SIZE_2
32 HTML_FONT_SIZE_3
= _html
.HTML_FONT_SIZE_3
33 HTML_FONT_SIZE_4
= _html
.HTML_FONT_SIZE_4
34 HTML_FONT_SIZE_5
= _html
.HTML_FONT_SIZE_5
35 HTML_FONT_SIZE_6
= _html
.HTML_FONT_SIZE_6
36 HTML_FONT_SIZE_7
= _html
.HTML_FONT_SIZE_7
37 HW_SCROLLBAR_NEVER
= _html
.HW_SCROLLBAR_NEVER
38 HW_SCROLLBAR_AUTO
= _html
.HW_SCROLLBAR_AUTO
39 HW_NO_SELECTION
= _html
.HW_NO_SELECTION
40 HW_DEFAULT_STYLE
= _html
.HW_DEFAULT_STYLE
41 HTML_OPEN
= _html
.HTML_OPEN
42 HTML_BLOCK
= _html
.HTML_BLOCK
43 HTML_REDIRECT
= _html
.HTML_REDIRECT
44 HTML_URL_PAGE
= _html
.HTML_URL_PAGE
45 HTML_URL_IMAGE
= _html
.HTML_URL_IMAGE
46 HTML_URL_OTHER
= _html
.HTML_URL_OTHER
47 class HtmlLinkInfo(core
.Object
):
49 return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
50 def __init__(self
, *args
, **kwargs
):
51 """__init__(String href, String target=EmptyString) -> HtmlLinkInfo"""
52 newobj
= _html
.new_HtmlLinkInfo(*args
, **kwargs
)
53 self
.this
= newobj
.this
56 def GetHref(*args
, **kwargs
):
57 """GetHref() -> String"""
58 return _html
.HtmlLinkInfo_GetHref(*args
, **kwargs
)
60 def GetTarget(*args
, **kwargs
):
61 """GetTarget() -> String"""
62 return _html
.HtmlLinkInfo_GetTarget(*args
, **kwargs
)
64 def GetEvent(*args
, **kwargs
):
65 """GetEvent() -> MouseEvent"""
66 return _html
.HtmlLinkInfo_GetEvent(*args
, **kwargs
)
68 def GetHtmlCell(*args
, **kwargs
):
69 """GetHtmlCell() -> HtmlCell"""
70 return _html
.HtmlLinkInfo_GetHtmlCell(*args
, **kwargs
)
72 def SetEvent(*args
, **kwargs
):
73 """SetEvent(MouseEvent e)"""
74 return _html
.HtmlLinkInfo_SetEvent(*args
, **kwargs
)
76 def SetHtmlCell(*args
, **kwargs
):
77 """SetHtmlCell(HtmlCell e)"""
78 return _html
.HtmlLinkInfo_SetHtmlCell(*args
, **kwargs
)
81 class HtmlLinkInfoPtr(HtmlLinkInfo
):
82 def __init__(self
, this
):
84 if not hasattr(self
,"thisown"): self
.thisown
= 0
85 self
.__class
__ = HtmlLinkInfo
86 _html
.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr
)
88 HtmlWindowNameStr
= cvar
.HtmlWindowNameStr
89 HtmlPrintoutTitleStr
= cvar
.HtmlPrintoutTitleStr
90 HtmlPrintingTitleStr
= cvar
.HtmlPrintingTitleStr
92 class HtmlTag(core
.Object
):
93 def __init__(self
): raise RuntimeError, "No constructor defined"
95 return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
96 def GetName(*args
, **kwargs
):
97 """GetName() -> String"""
98 return _html
.HtmlTag_GetName(*args
, **kwargs
)
100 def HasParam(*args
, **kwargs
):
101 """HasParam(String par) -> bool"""
102 return _html
.HtmlTag_HasParam(*args
, **kwargs
)
104 def GetParam(*args
, **kwargs
):
105 """GetParam(String par, int with_commas=False) -> String"""
106 return _html
.HtmlTag_GetParam(*args
, **kwargs
)
108 def GetAllParams(*args
, **kwargs
):
109 """GetAllParams() -> String"""
110 return _html
.HtmlTag_GetAllParams(*args
, **kwargs
)
112 def HasEnding(*args
, **kwargs
):
113 """HasEnding() -> bool"""
114 return _html
.HtmlTag_HasEnding(*args
, **kwargs
)
116 def GetBeginPos(*args
, **kwargs
):
117 """GetBeginPos() -> int"""
118 return _html
.HtmlTag_GetBeginPos(*args
, **kwargs
)
120 def GetEndPos1(*args
, **kwargs
):
121 """GetEndPos1() -> int"""
122 return _html
.HtmlTag_GetEndPos1(*args
, **kwargs
)
124 def GetEndPos2(*args
, **kwargs
):
125 """GetEndPos2() -> int"""
126 return _html
.HtmlTag_GetEndPos2(*args
, **kwargs
)
129 class HtmlTagPtr(HtmlTag
):
130 def __init__(self
, this
):
132 if not hasattr(self
,"thisown"): self
.thisown
= 0
133 self
.__class
__ = HtmlTag
134 _html
.HtmlTag_swigregister(HtmlTagPtr
)
136 class HtmlParser(core
.Object
):
137 def __init__(self
): raise RuntimeError, "No constructor defined"
139 return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
140 def SetFS(*args
, **kwargs
):
141 """SetFS(FileSystem fs)"""
142 return _html
.HtmlParser_SetFS(*args
, **kwargs
)
144 def GetFS(*args
, **kwargs
):
145 """GetFS() -> FileSystem"""
146 return _html
.HtmlParser_GetFS(*args
, **kwargs
)
148 def Parse(*args
, **kwargs
):
149 """Parse(String source) -> Object"""
150 return _html
.HtmlParser_Parse(*args
, **kwargs
)
152 def InitParser(*args
, **kwargs
):
153 """InitParser(String source)"""
154 return _html
.HtmlParser_InitParser(*args
, **kwargs
)
156 def DoneParser(*args
, **kwargs
):
158 return _html
.HtmlParser_DoneParser(*args
, **kwargs
)
160 def DoParsing(*args
, **kwargs
):
161 """DoParsing(int begin_pos, int end_pos)"""
162 return _html
.HtmlParser_DoParsing(*args
, **kwargs
)
164 def StopParsing(*args
, **kwargs
):
166 return _html
.HtmlParser_StopParsing(*args
, **kwargs
)
168 def AddTagHandler(*args
, **kwargs
):
169 """AddTagHandler(HtmlTagHandler handler)"""
170 return _html
.HtmlParser_AddTagHandler(*args
, **kwargs
)
172 def GetSource(*args
, **kwargs
):
173 """GetSource() -> String"""
174 return _html
.HtmlParser_GetSource(*args
, **kwargs
)
176 def PushTagHandler(*args
, **kwargs
):
177 """PushTagHandler(HtmlTagHandler handler, String tags)"""
178 return _html
.HtmlParser_PushTagHandler(*args
, **kwargs
)
180 def PopTagHandler(*args
, **kwargs
):
181 """PopTagHandler()"""
182 return _html
.HtmlParser_PopTagHandler(*args
, **kwargs
)
185 class HtmlParserPtr(HtmlParser
):
186 def __init__(self
, this
):
188 if not hasattr(self
,"thisown"): self
.thisown
= 0
189 self
.__class
__ = HtmlParser
190 _html
.HtmlParser_swigregister(HtmlParserPtr
)
192 class HtmlWinParser(HtmlParser
):
194 return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
195 def __init__(self
, *args
, **kwargs
):
196 """__init__(HtmlWindow wnd=None) -> HtmlWinParser"""
197 newobj
= _html
.new_HtmlWinParser(*args
, **kwargs
)
198 self
.this
= newobj
.this
201 def SetDC(*args
, **kwargs
):
203 return _html
.HtmlWinParser_SetDC(*args
, **kwargs
)
205 def GetDC(*args
, **kwargs
):
207 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
209 def GetCharHeight(*args
, **kwargs
):
210 """GetCharHeight() -> int"""
211 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
213 def GetCharWidth(*args
, **kwargs
):
214 """GetCharWidth() -> int"""
215 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
217 def GetWindow(*args
, **kwargs
):
218 """GetWindow() -> HtmlWindow"""
219 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
221 def SetFonts(*args
, **kwargs
):
222 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
223 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
225 def GetContainer(*args
, **kwargs
):
226 """GetContainer() -> HtmlContainerCell"""
227 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
229 def OpenContainer(*args
, **kwargs
):
230 """OpenContainer() -> HtmlContainerCell"""
231 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
233 def SetContainer(*args
, **kwargs
):
234 """SetContainer(HtmlContainerCell c) -> HtmlContainerCell"""
235 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
237 def CloseContainer(*args
, **kwargs
):
238 """CloseContainer() -> HtmlContainerCell"""
239 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
241 def GetFontSize(*args
, **kwargs
):
242 """GetFontSize() -> int"""
243 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
245 def SetFontSize(*args
, **kwargs
):
246 """SetFontSize(int s)"""
247 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
249 def GetFontBold(*args
, **kwargs
):
250 """GetFontBold() -> int"""
251 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
253 def SetFontBold(*args
, **kwargs
):
254 """SetFontBold(int x)"""
255 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
257 def GetFontItalic(*args
, **kwargs
):
258 """GetFontItalic() -> int"""
259 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
261 def SetFontItalic(*args
, **kwargs
):
262 """SetFontItalic(int x)"""
263 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
265 def GetFontUnderlined(*args
, **kwargs
):
266 """GetFontUnderlined() -> int"""
267 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
269 def SetFontUnderlined(*args
, **kwargs
):
270 """SetFontUnderlined(int x)"""
271 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
273 def GetFontFixed(*args
, **kwargs
):
274 """GetFontFixed() -> int"""
275 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
277 def SetFontFixed(*args
, **kwargs
):
278 """SetFontFixed(int x)"""
279 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
281 def GetAlign(*args
, **kwargs
):
282 """GetAlign() -> int"""
283 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
285 def SetAlign(*args
, **kwargs
):
286 """SetAlign(int a)"""
287 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
289 def GetLinkColor(*args
, **kwargs
):
290 """GetLinkColor() -> Colour"""
291 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
293 def SetLinkColor(*args
, **kwargs
):
294 """SetLinkColor(Colour clr)"""
295 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
297 def GetActualColor(*args
, **kwargs
):
298 """GetActualColor() -> Colour"""
299 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
301 def SetActualColor(*args
, **kwargs
):
302 """SetActualColor(Colour clr)"""
303 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
305 def SetLink(*args
, **kwargs
):
306 """SetLink(String link)"""
307 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
309 def CreateCurrentFont(*args
, **kwargs
):
310 """CreateCurrentFont() -> Font"""
311 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
313 def GetLink(*args
, **kwargs
):
314 """GetLink() -> HtmlLinkInfo"""
315 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
318 class HtmlWinParserPtr(HtmlWinParser
):
319 def __init__(self
, this
):
321 if not hasattr(self
,"thisown"): self
.thisown
= 0
322 self
.__class
__ = HtmlWinParser
323 _html
.HtmlWinParser_swigregister(HtmlWinParserPtr
)
325 class HtmlTagHandler(core
.Object
):
327 return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
328 def __init__(self
, *args
, **kwargs
):
329 """__init__() -> HtmlTagHandler"""
330 newobj
= _html
.new_HtmlTagHandler(*args
, **kwargs
)
331 self
.this
= newobj
.this
334 self
._setCallbackInfo
(self
, HtmlTagHandler
)
336 def _setCallbackInfo(*args
, **kwargs
):
337 """_setCallbackInfo(PyObject self, PyObject _class)"""
338 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
340 def SetParser(*args
, **kwargs
):
341 """SetParser(HtmlParser parser)"""
342 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
344 def GetParser(*args
, **kwargs
):
345 """GetParser() -> HtmlParser"""
346 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
348 def ParseInner(*args
, **kwargs
):
349 """ParseInner(HtmlTag tag)"""
350 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
353 class HtmlTagHandlerPtr(HtmlTagHandler
):
354 def __init__(self
, this
):
356 if not hasattr(self
,"thisown"): self
.thisown
= 0
357 self
.__class
__ = HtmlTagHandler
358 _html
.HtmlTagHandler_swigregister(HtmlTagHandlerPtr
)
360 class HtmlWinTagHandler(HtmlTagHandler
):
362 return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
363 def __init__(self
, *args
, **kwargs
):
364 """__init__() -> HtmlWinTagHandler"""
365 newobj
= _html
.new_HtmlWinTagHandler(*args
, **kwargs
)
366 self
.this
= newobj
.this
369 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
371 def _setCallbackInfo(*args
, **kwargs
):
372 """_setCallbackInfo(PyObject self, PyObject _class)"""
373 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
375 def SetParser(*args
, **kwargs
):
376 """SetParser(HtmlParser parser)"""
377 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
379 def GetParser(*args
, **kwargs
):
380 """GetParser() -> HtmlWinParser"""
381 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
383 def ParseInner(*args
, **kwargs
):
384 """ParseInner(HtmlTag tag)"""
385 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
388 class HtmlWinTagHandlerPtr(HtmlWinTagHandler
):
389 def __init__(self
, this
):
391 if not hasattr(self
,"thisown"): self
.thisown
= 0
392 self
.__class
__ = HtmlWinTagHandler
393 _html
.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr
)
396 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
397 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
398 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
399 #---------------------------------------------------------------------------
401 class HtmlSelection(object):
403 return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
404 def __init__(self
, *args
, **kwargs
):
405 """__init__() -> HtmlSelection"""
406 newobj
= _html
.new_HtmlSelection(*args
, **kwargs
)
407 self
.this
= newobj
.this
410 def __del__(self
, destroy
=_html
.delete_HtmlSelection
):
413 if self
.thisown
: destroy(self
)
416 def Set(*args
, **kwargs
):
417 """Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
418 return _html
.HtmlSelection_Set(*args
, **kwargs
)
420 def SetCells(*args
, **kwargs
):
421 """SetCells(HtmlCell fromCell, HtmlCell toCell)"""
422 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
424 def GetFromCell(*args
, **kwargs
):
425 """GetFromCell() -> HtmlCell"""
426 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
428 def GetToCell(*args
, **kwargs
):
429 """GetToCell() -> HtmlCell"""
430 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
432 def GetFromPos(*args
, **kwargs
):
433 """GetFromPos() -> Point"""
434 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
436 def GetToPos(*args
, **kwargs
):
437 """GetToPos() -> Point"""
438 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
440 def GetFromPrivPos(*args
, **kwargs
):
441 """GetFromPrivPos() -> Point"""
442 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
444 def GetToPrivPos(*args
, **kwargs
):
445 """GetToPrivPos() -> Point"""
446 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
448 def SetFromPrivPos(*args
, **kwargs
):
449 """SetFromPrivPos(Point pos)"""
450 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
452 def SetToPrivPos(*args
, **kwargs
):
453 """SetToPrivPos(Point pos)"""
454 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
456 def ClearPrivPos(*args
, **kwargs
):
458 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
460 def IsEmpty(*args
, **kwargs
):
461 """IsEmpty() -> bool"""
462 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
465 class HtmlSelectionPtr(HtmlSelection
):
466 def __init__(self
, this
):
468 if not hasattr(self
,"thisown"): self
.thisown
= 0
469 self
.__class
__ = HtmlSelection
470 _html
.HtmlSelection_swigregister(HtmlSelectionPtr
)
472 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
473 HTML_SEL_IN
= _html
.HTML_SEL_IN
474 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
475 class HtmlRenderingState(object):
477 return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
478 def __init__(self
, *args
, **kwargs
):
479 """__init__() -> HtmlRenderingState"""
480 newobj
= _html
.new_HtmlRenderingState(*args
, **kwargs
)
481 self
.this
= newobj
.this
484 def __del__(self
, destroy
=_html
.delete_HtmlRenderingState
):
487 if self
.thisown
: destroy(self
)
490 def SetSelectionState(*args
, **kwargs
):
491 """SetSelectionState(int s)"""
492 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
494 def GetSelectionState(*args
, **kwargs
):
495 """GetSelectionState() -> int"""
496 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
498 def SetFgColour(*args
, **kwargs
):
499 """SetFgColour(Colour c)"""
500 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
502 def GetFgColour(*args
, **kwargs
):
503 """GetFgColour() -> Colour"""
504 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
506 def SetBgColour(*args
, **kwargs
):
507 """SetBgColour(Colour c)"""
508 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
510 def GetBgColour(*args
, **kwargs
):
511 """GetBgColour() -> Colour"""
512 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
515 class HtmlRenderingStatePtr(HtmlRenderingState
):
516 def __init__(self
, this
):
518 if not hasattr(self
,"thisown"): self
.thisown
= 0
519 self
.__class
__ = HtmlRenderingState
520 _html
.HtmlRenderingState_swigregister(HtmlRenderingStatePtr
)
522 class HtmlRenderingStyle(object):
523 def __init__(self
): raise RuntimeError, "No constructor defined"
525 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
526 def GetSelectedTextColour(*args
, **kwargs
):
527 """GetSelectedTextColour(Colour clr) -> Colour"""
528 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
530 def GetSelectedTextBgColour(*args
, **kwargs
):
531 """GetSelectedTextBgColour(Colour clr) -> Colour"""
532 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
535 class HtmlRenderingStylePtr(HtmlRenderingStyle
):
536 def __init__(self
, this
):
538 if not hasattr(self
,"thisown"): self
.thisown
= 0
539 self
.__class
__ = HtmlRenderingStyle
540 _html
.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr
)
542 class DefaultHtmlRenderingStyle(HtmlRenderingStyle
):
543 def __init__(self
): raise RuntimeError, "No constructor defined"
545 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
546 def GetSelectedTextColour(*args
, **kwargs
):
547 """GetSelectedTextColour(Colour clr) -> Colour"""
548 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
550 def GetSelectedTextBgColour(*args
, **kwargs
):
551 """GetSelectedTextBgColour(Colour clr) -> Colour"""
552 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
555 class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle
):
556 def __init__(self
, this
):
558 if not hasattr(self
,"thisown"): self
.thisown
= 0
559 self
.__class
__ = DefaultHtmlRenderingStyle
560 _html
.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr
)
562 class HtmlRenderingInfo(object):
564 return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
565 def __init__(self
, *args
, **kwargs
):
566 """__init__() -> HtmlRenderingInfo"""
567 newobj
= _html
.new_HtmlRenderingInfo(*args
, **kwargs
)
568 self
.this
= newobj
.this
571 def __del__(self
, destroy
=_html
.delete_HtmlRenderingInfo
):
574 if self
.thisown
: destroy(self
)
577 def SetSelection(*args
, **kwargs
):
578 """SetSelection(HtmlSelection s)"""
579 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
581 def GetSelection(*args
, **kwargs
):
582 """GetSelection() -> HtmlSelection"""
583 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
585 def SetStyle(*args
, **kwargs
):
586 """SetStyle(HtmlRenderingStyle style)"""
587 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
589 def GetStyle(*args
, **kwargs
):
590 """GetStyle() -> HtmlRenderingStyle"""
591 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
593 def GetState(*args
, **kwargs
):
594 """GetState() -> HtmlRenderingState"""
595 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
598 class HtmlRenderingInfoPtr(HtmlRenderingInfo
):
599 def __init__(self
, this
):
601 if not hasattr(self
,"thisown"): self
.thisown
= 0
602 self
.__class
__ = HtmlRenderingInfo
603 _html
.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr
)
605 #---------------------------------------------------------------------------
607 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
608 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
609 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
610 class HtmlCell(core
.Object
):
612 return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
613 def __init__(self
, *args
, **kwargs
):
614 """__init__() -> HtmlCell"""
615 newobj
= _html
.new_HtmlCell(*args
, **kwargs
)
616 self
.this
= newobj
.this
619 def GetPosX(*args
, **kwargs
):
620 """GetPosX() -> int"""
621 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
623 def GetPosY(*args
, **kwargs
):
624 """GetPosY() -> int"""
625 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
627 def GetWidth(*args
, **kwargs
):
628 """GetWidth() -> int"""
629 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
631 def GetHeight(*args
, **kwargs
):
632 """GetHeight() -> int"""
633 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
635 def GetDescent(*args
, **kwargs
):
636 """GetDescent() -> int"""
637 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
639 def GetId(*args
, **kwargs
):
640 """GetId() -> String"""
641 return _html
.HtmlCell_GetId(*args
, **kwargs
)
643 def SetId(*args
, **kwargs
):
644 """SetId(String id)"""
645 return _html
.HtmlCell_SetId(*args
, **kwargs
)
647 def GetLink(*args
, **kwargs
):
648 """GetLink(int x=0, int y=0) -> HtmlLinkInfo"""
649 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
651 def GetNext(*args
, **kwargs
):
652 """GetNext() -> HtmlCell"""
653 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
655 def GetParent(*args
, **kwargs
):
656 """GetParent() -> HtmlContainerCell"""
657 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
659 def GetFirstChild(*args
, **kwargs
):
660 """GetFirstChild() -> HtmlCell"""
661 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
663 def GetCursor(*args
, **kwargs
):
664 """GetCursor() -> Cursor"""
665 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
667 def IsFormattingCell(*args
, **kwargs
):
668 """IsFormattingCell() -> bool"""
669 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
671 def SetLink(*args
, **kwargs
):
672 """SetLink(HtmlLinkInfo link)"""
673 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
675 def SetNext(*args
, **kwargs
):
676 """SetNext(HtmlCell cell)"""
677 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
679 def SetParent(*args
, **kwargs
):
680 """SetParent(HtmlContainerCell p)"""
681 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
683 def SetPos(*args
, **kwargs
):
684 """SetPos(int x, int y)"""
685 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
687 def Layout(*args
, **kwargs
):
689 return _html
.HtmlCell_Layout(*args
, **kwargs
)
691 def Draw(*args
, **kwargs
):
692 """Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
693 return _html
.HtmlCell_Draw(*args
, **kwargs
)
695 def DrawInvisible(*args
, **kwargs
):
696 """DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info)"""
697 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
699 def Find(*args
, **kwargs
):
700 """Find(int condition, void param) -> HtmlCell"""
701 return _html
.HtmlCell_Find(*args
, **kwargs
)
703 def AdjustPagebreak(*args
, **kwargs
):
704 """AdjustPagebreak(int INOUT) -> bool"""
705 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
707 def SetCanLiveOnPagebreak(*args
, **kwargs
):
708 """SetCanLiveOnPagebreak(bool can)"""
709 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
711 def IsLinebreakAllowed(*args
, **kwargs
):
712 """IsLinebreakAllowed() -> bool"""
713 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
715 def IsTerminalCell(*args
, **kwargs
):
716 """IsTerminalCell() -> bool"""
717 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
719 def FindCellByPos(*args
, **kwargs
):
720 """FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
721 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
723 def GetAbsPos(*args
, **kwargs
):
724 """GetAbsPos() -> Point"""
725 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
727 def GetFirstTerminal(*args
, **kwargs
):
728 """GetFirstTerminal() -> HtmlCell"""
729 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
731 def GetLastTerminal(*args
, **kwargs
):
732 """GetLastTerminal() -> HtmlCell"""
733 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
735 def GetDepth(*args
, **kwargs
):
736 """GetDepth() -> unsigned int"""
737 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
739 def IsBefore(*args
, **kwargs
):
740 """IsBefore(HtmlCell cell) -> bool"""
741 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
743 def ConvertToText(*args
, **kwargs
):
744 """ConvertToText(HtmlSelection sel) -> String"""
745 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
748 class HtmlCellPtr(HtmlCell
):
749 def __init__(self
, this
):
751 if not hasattr(self
,"thisown"): self
.thisown
= 0
752 self
.__class
__ = HtmlCell
753 _html
.HtmlCell_swigregister(HtmlCellPtr
)
755 class HtmlWordCell(HtmlCell
):
757 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
758 def __init__(self
, *args
, **kwargs
):
759 """__init__(String word, DC dc) -> HtmlWordCell"""
760 newobj
= _html
.new_HtmlWordCell(*args
, **kwargs
)
761 self
.this
= newobj
.this
765 class HtmlWordCellPtr(HtmlWordCell
):
766 def __init__(self
, this
):
768 if not hasattr(self
,"thisown"): self
.thisown
= 0
769 self
.__class
__ = HtmlWordCell
770 _html
.HtmlWordCell_swigregister(HtmlWordCellPtr
)
772 class HtmlContainerCell(HtmlCell
):
774 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
775 def __init__(self
, *args
, **kwargs
):
776 """__init__(HtmlContainerCell parent) -> HtmlContainerCell"""
777 newobj
= _html
.new_HtmlContainerCell(*args
, **kwargs
)
778 self
.this
= newobj
.this
781 def InsertCell(*args
, **kwargs
):
782 """InsertCell(HtmlCell cell)"""
783 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
785 def SetAlignHor(*args
, **kwargs
):
786 """SetAlignHor(int al)"""
787 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
789 def GetAlignHor(*args
, **kwargs
):
790 """GetAlignHor() -> int"""
791 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
793 def SetAlignVer(*args
, **kwargs
):
794 """SetAlignVer(int al)"""
795 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
797 def GetAlignVer(*args
, **kwargs
):
798 """GetAlignVer() -> int"""
799 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
801 def SetIndent(*args
, **kwargs
):
802 """SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)"""
803 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
805 def GetIndent(*args
, **kwargs
):
806 """GetIndent(int ind) -> int"""
807 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
809 def GetIndentUnits(*args
, **kwargs
):
810 """GetIndentUnits(int ind) -> int"""
811 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
813 def SetAlign(*args
, **kwargs
):
814 """SetAlign(HtmlTag tag)"""
815 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
817 def SetWidthFloat(*args
, **kwargs
):
818 """SetWidthFloat(int w, int units)"""
819 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
821 def SetWidthFloatFromTag(*args
, **kwargs
):
822 """SetWidthFloatFromTag(HtmlTag tag)"""
823 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
825 def SetMinHeight(*args
, **kwargs
):
826 """SetMinHeight(int h, int align=HTML_ALIGN_TOP)"""
827 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
829 def SetBackgroundColour(*args
, **kwargs
):
830 """SetBackgroundColour(Colour clr)"""
831 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
833 def GetBackgroundColour(*args
, **kwargs
):
834 """GetBackgroundColour() -> Colour"""
835 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
837 def SetBorder(*args
, **kwargs
):
838 """SetBorder(Colour clr1, Colour clr2)"""
839 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
841 def GetFirstChild(*args
, **kwargs
):
842 """GetFirstChild() -> HtmlCell"""
843 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
846 class HtmlContainerCellPtr(HtmlContainerCell
):
847 def __init__(self
, this
):
849 if not hasattr(self
,"thisown"): self
.thisown
= 0
850 self
.__class
__ = HtmlContainerCell
851 _html
.HtmlContainerCell_swigregister(HtmlContainerCellPtr
)
853 class HtmlColourCell(HtmlCell
):
855 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
856 def __init__(self
, *args
, **kwargs
):
857 """__init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
858 newobj
= _html
.new_HtmlColourCell(*args
, **kwargs
)
859 self
.this
= newobj
.this
863 class HtmlColourCellPtr(HtmlColourCell
):
864 def __init__(self
, this
):
866 if not hasattr(self
,"thisown"): self
.thisown
= 0
867 self
.__class
__ = HtmlColourCell
868 _html
.HtmlColourCell_swigregister(HtmlColourCellPtr
)
870 class HtmlFontCell(HtmlCell
):
872 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
873 def __init__(self
, *args
, **kwargs
):
874 """__init__(Font font) -> HtmlFontCell"""
875 newobj
= _html
.new_HtmlFontCell(*args
, **kwargs
)
876 self
.this
= newobj
.this
880 class HtmlFontCellPtr(HtmlFontCell
):
881 def __init__(self
, this
):
883 if not hasattr(self
,"thisown"): self
.thisown
= 0
884 self
.__class
__ = HtmlFontCell
885 _html
.HtmlFontCell_swigregister(HtmlFontCellPtr
)
887 class HtmlWidgetCell(HtmlCell
):
889 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
890 def __init__(self
, *args
, **kwargs
):
891 """__init__(Window wnd, int w=0) -> HtmlWidgetCell"""
892 newobj
= _html
.new_HtmlWidgetCell(*args
, **kwargs
)
893 self
.this
= newobj
.this
897 class HtmlWidgetCellPtr(HtmlWidgetCell
):
898 def __init__(self
, this
):
900 if not hasattr(self
,"thisown"): self
.thisown
= 0
901 self
.__class
__ = HtmlWidgetCell
902 _html
.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr
)
904 #---------------------------------------------------------------------------
906 class HtmlFilter(core
.Object
):
908 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
909 def __init__(self
, *args
, **kwargs
):
910 """__init__() -> HtmlFilter"""
911 newobj
= _html
.new_HtmlFilter(*args
, **kwargs
)
912 self
.this
= newobj
.this
915 self
._setCallbackInfo
(self
, HtmlFilter
)
917 def _setCallbackInfo(*args
, **kwargs
):
918 """_setCallbackInfo(PyObject self, PyObject _class)"""
919 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
922 class HtmlFilterPtr(HtmlFilter
):
923 def __init__(self
, this
):
925 if not hasattr(self
,"thisown"): self
.thisown
= 0
926 self
.__class
__ = HtmlFilter
927 _html
.HtmlFilter_swigregister(HtmlFilterPtr
)
929 #---------------------------------------------------------------------------
931 class HtmlWindow(windows
.ScrolledWindow
):
933 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
934 def __init__(self
, *args
, **kwargs
):
936 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
937 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
938 String name=HtmlWindowNameStr) -> HtmlWindow
940 newobj
= _html
.new_HtmlWindow(*args
, **kwargs
)
941 self
.this
= newobj
.this
944 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
946 def Create(*args
, **kwargs
):
948 Create(Window parent, int id=-1, Point pos=DefaultPosition,
949 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
950 String name=HtmlWindowNameStr) -> bool
952 return _html
.HtmlWindow_Create(*args
, **kwargs
)
954 def _setCallbackInfo(*args
, **kwargs
):
955 """_setCallbackInfo(PyObject self, PyObject _class)"""
956 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
958 def SetPage(*args
, **kwargs
):
959 """SetPage(String source) -> bool"""
960 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
962 def LoadPage(*args
, **kwargs
):
963 """LoadPage(String location) -> bool"""
964 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
966 def LoadFile(*args
, **kwargs
):
967 """LoadFile(String filename) -> bool"""
968 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
970 def AppendToPage(*args
, **kwargs
):
971 """AppendToPage(String source) -> bool"""
972 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
974 def GetOpenedPage(*args
, **kwargs
):
975 """GetOpenedPage() -> String"""
976 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
978 def GetOpenedAnchor(*args
, **kwargs
):
979 """GetOpenedAnchor() -> String"""
980 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
982 def GetOpenedPageTitle(*args
, **kwargs
):
983 """GetOpenedPageTitle() -> String"""
984 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
986 def SetRelatedFrame(*args
, **kwargs
):
987 """SetRelatedFrame(Frame frame, String format)"""
988 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
990 def GetRelatedFrame(*args
, **kwargs
):
991 """GetRelatedFrame() -> Frame"""
992 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
994 def SetRelatedStatusBar(*args
, **kwargs
):
995 """SetRelatedStatusBar(int bar)"""
996 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
998 def SetFonts(*args
, **kwargs
):
999 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
1000 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
1002 def SetTitle(*args
, **kwargs
):
1004 SetTitle(String title)
1006 Sets the window's title. Applicable only to frames and dialogs.
1008 return _html
.HtmlWindow_SetTitle(*args
, **kwargs
)
1010 def SetBorders(*args
, **kwargs
):
1011 """SetBorders(int b)"""
1012 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
1014 def ReadCustomization(*args
, **kwargs
):
1015 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
1016 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1018 def WriteCustomization(*args
, **kwargs
):
1019 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
1020 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1022 def HistoryBack(*args
, **kwargs
):
1023 """HistoryBack() -> bool"""
1024 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1026 def HistoryForward(*args
, **kwargs
):
1027 """HistoryForward() -> bool"""
1028 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1030 def HistoryCanBack(*args
, **kwargs
):
1031 """HistoryCanBack() -> bool"""
1032 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1034 def HistoryCanForward(*args
, **kwargs
):
1035 """HistoryCanForward() -> bool"""
1036 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1038 def HistoryClear(*args
, **kwargs
):
1039 """HistoryClear()"""
1040 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1042 def GetInternalRepresentation(*args
, **kwargs
):
1043 """GetInternalRepresentation() -> HtmlContainerCell"""
1044 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1046 def GetParser(*args
, **kwargs
):
1047 """GetParser() -> HtmlWinParser"""
1048 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1050 def ScrollToAnchor(*args
, **kwargs
):
1051 """ScrollToAnchor(String anchor) -> bool"""
1052 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1054 def HasAnchor(*args
, **kwargs
):
1055 """HasAnchor(String anchor) -> bool"""
1056 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1058 def AddFilter(*args
, **kwargs
):
1059 """AddFilter(HtmlFilter filter)"""
1060 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1062 AddFilter
= staticmethod(AddFilter
)
1063 def SelectWord(*args
, **kwargs
):
1064 """SelectWord(Point pos)"""
1065 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1067 def SelectLine(*args
, **kwargs
):
1068 """SelectLine(Point pos)"""
1069 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1071 def SelectAll(*args
, **kwargs
):
1073 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1075 def base_OnLinkClicked(*args
, **kwargs
):
1076 """base_OnLinkClicked(HtmlLinkInfo link)"""
1077 return _html
.HtmlWindow_base_OnLinkClicked(*args
, **kwargs
)
1079 def base_OnSetTitle(*args
, **kwargs
):
1080 """base_OnSetTitle(String title)"""
1081 return _html
.HtmlWindow_base_OnSetTitle(*args
, **kwargs
)
1083 def base_OnCellMouseHover(*args
, **kwargs
):
1084 """base_OnCellMouseHover(HtmlCell cell, int x, int y)"""
1085 return _html
.HtmlWindow_base_OnCellMouseHover(*args
, **kwargs
)
1087 def base_OnCellClicked(*args
, **kwargs
):
1088 """base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)"""
1089 return _html
.HtmlWindow_base_OnCellClicked(*args
, **kwargs
)
1092 class HtmlWindowPtr(HtmlWindow
):
1093 def __init__(self
, this
):
1095 if not hasattr(self
,"thisown"): self
.thisown
= 0
1096 self
.__class
__ = HtmlWindow
1097 _html
.HtmlWindow_swigregister(HtmlWindowPtr
)
1099 def PreHtmlWindow(*args
, **kwargs
):
1100 """PreHtmlWindow() -> HtmlWindow"""
1101 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1105 def HtmlWindow_AddFilter(*args
, **kwargs
):
1106 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1107 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1109 #---------------------------------------------------------------------------
1111 class HtmlDCRenderer(core
.Object
):
1113 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1114 def __init__(self
, *args
, **kwargs
):
1115 """__init__() -> HtmlDCRenderer"""
1116 newobj
= _html
.new_HtmlDCRenderer(*args
, **kwargs
)
1117 self
.this
= newobj
.this
1120 def __del__(self
, destroy
=_html
.delete_HtmlDCRenderer
):
1123 if self
.thisown
: destroy(self
)
1126 def SetDC(*args
, **kwargs
):
1127 """SetDC(DC dc, int maxwidth)"""
1128 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1130 def SetSize(*args
, **kwargs
):
1131 """SetSize(int width, int height)"""
1132 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1134 def SetHtmlText(*args
, **kwargs
):
1135 """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
1136 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1138 def SetFonts(*args
, **kwargs
):
1139 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
1140 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1142 def Render(*args
, **kwargs
):
1144 Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
1145 int choices=None, int LCOUNT=0) -> int
1147 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1149 def GetTotalHeight(*args
, **kwargs
):
1150 """GetTotalHeight() -> int"""
1151 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1154 class HtmlDCRendererPtr(HtmlDCRenderer
):
1155 def __init__(self
, this
):
1157 if not hasattr(self
,"thisown"): self
.thisown
= 0
1158 self
.__class
__ = HtmlDCRenderer
1159 _html
.HtmlDCRenderer_swigregister(HtmlDCRendererPtr
)
1161 PAGE_ODD
= _html
.PAGE_ODD
1162 PAGE_EVEN
= _html
.PAGE_EVEN
1163 PAGE_ALL
= _html
.PAGE_ALL
1164 class HtmlPrintout(windows
.Printout
):
1166 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1167 def __init__(self
, *args
, **kwargs
):
1168 """__init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1169 newobj
= _html
.new_HtmlPrintout(*args
, **kwargs
)
1170 self
.this
= newobj
.this
1173 def SetHtmlText(*args
, **kwargs
):
1174 """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
1175 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1177 def SetHtmlFile(*args
, **kwargs
):
1178 """SetHtmlFile(String htmlfile)"""
1179 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1181 def SetHeader(*args
, **kwargs
):
1182 """SetHeader(String header, int pg=PAGE_ALL)"""
1183 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1185 def SetFooter(*args
, **kwargs
):
1186 """SetFooter(String footer, int pg=PAGE_ALL)"""
1187 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1189 def SetFonts(*args
, **kwargs
):
1190 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
1191 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1193 def SetMargins(*args
, **kwargs
):
1195 SetMargins(float top=25.2, float bottom=25.2, float left=25.2,
1196 float right=25.2, float spaces=5)
1198 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1200 def AddFilter(*args
, **kwargs
):
1201 """AddFilter(wxHtmlFilter filter)"""
1202 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1204 AddFilter
= staticmethod(AddFilter
)
1205 def CleanUpStatics(*args
, **kwargs
):
1206 """CleanUpStatics()"""
1207 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1209 CleanUpStatics
= staticmethod(CleanUpStatics
)
1211 class HtmlPrintoutPtr(HtmlPrintout
):
1212 def __init__(self
, this
):
1214 if not hasattr(self
,"thisown"): self
.thisown
= 0
1215 self
.__class
__ = HtmlPrintout
1216 _html
.HtmlPrintout_swigregister(HtmlPrintoutPtr
)
1218 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1219 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1220 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1222 def HtmlPrintout_CleanUpStatics(*args
, **kwargs
):
1223 """HtmlPrintout_CleanUpStatics()"""
1224 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1226 class HtmlEasyPrinting(core
.Object
):
1228 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1229 def __init__(self
, *args
, **kwargs
):
1230 """__init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1231 newobj
= _html
.new_HtmlEasyPrinting(*args
, **kwargs
)
1232 self
.this
= newobj
.this
1235 def __del__(self
, destroy
=_html
.delete_HtmlEasyPrinting
):
1238 if self
.thisown
: destroy(self
)
1241 def PreviewFile(*args
, **kwargs
):
1242 """PreviewFile(String htmlfile)"""
1243 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1245 def PreviewText(*args
, **kwargs
):
1246 """PreviewText(String htmltext, String basepath=EmptyString)"""
1247 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1249 def PrintFile(*args
, **kwargs
):
1250 """PrintFile(String htmlfile)"""
1251 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1253 def PrintText(*args
, **kwargs
):
1254 """PrintText(String htmltext, String basepath=EmptyString)"""
1255 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1257 def PrinterSetup(*args
, **kwargs
):
1258 """PrinterSetup()"""
1259 return _html
.HtmlEasyPrinting_PrinterSetup(*args
, **kwargs
)
1261 def PageSetup(*args
, **kwargs
):
1263 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1265 def SetHeader(*args
, **kwargs
):
1266 """SetHeader(String header, int pg=PAGE_ALL)"""
1267 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1269 def SetFooter(*args
, **kwargs
):
1270 """SetFooter(String footer, int pg=PAGE_ALL)"""
1271 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1273 def SetFonts(*args
, **kwargs
):
1274 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
1275 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1277 def GetPrintData(*args
, **kwargs
):
1278 """GetPrintData() -> PrintData"""
1279 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1281 def GetPageSetupData(*args
, **kwargs
):
1282 """GetPageSetupData() -> PageSetupDialogData"""
1283 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1286 class HtmlEasyPrintingPtr(HtmlEasyPrinting
):
1287 def __init__(self
, this
):
1289 if not hasattr(self
,"thisown"): self
.thisown
= 0
1290 self
.__class
__ = HtmlEasyPrinting
1291 _html
.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr
)
1293 #---------------------------------------------------------------------------
1295 class HtmlBookRecord(object):
1297 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1298 def __init__(self
, *args
, **kwargs
):
1299 """__init__(String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1300 newobj
= _html
.new_HtmlBookRecord(*args
, **kwargs
)
1301 self
.this
= newobj
.this
1304 def GetBookFile(*args
, **kwargs
):
1305 """GetBookFile() -> String"""
1306 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1308 def GetTitle(*args
, **kwargs
):
1309 """GetTitle() -> String"""
1310 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1312 def GetStart(*args
, **kwargs
):
1313 """GetStart() -> String"""
1314 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1316 def GetBasePath(*args
, **kwargs
):
1317 """GetBasePath() -> String"""
1318 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1320 def SetContentsRange(*args
, **kwargs
):
1321 """SetContentsRange(int start, int end)"""
1322 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1324 def GetContentsStart(*args
, **kwargs
):
1325 """GetContentsStart() -> int"""
1326 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1328 def GetContentsEnd(*args
, **kwargs
):
1329 """GetContentsEnd() -> int"""
1330 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1332 def SetTitle(*args
, **kwargs
):
1333 """SetTitle(String title)"""
1334 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1336 def SetBasePath(*args
, **kwargs
):
1337 """SetBasePath(String path)"""
1338 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1340 def SetStart(*args
, **kwargs
):
1341 """SetStart(String start)"""
1342 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1344 def GetFullPath(*args
, **kwargs
):
1345 """GetFullPath(String page) -> String"""
1346 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1349 class HtmlBookRecordPtr(HtmlBookRecord
):
1350 def __init__(self
, this
):
1352 if not hasattr(self
,"thisown"): self
.thisown
= 0
1353 self
.__class
__ = HtmlBookRecord
1354 _html
.HtmlBookRecord_swigregister(HtmlBookRecordPtr
)
1356 class HtmlContentsItem(object):
1357 def __init__(self
): raise RuntimeError, "No constructor defined"
1359 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1360 def GetLevel(*args
, **kwargs
):
1361 """GetLevel() -> int"""
1362 return _html
.HtmlContentsItem_GetLevel(*args
, **kwargs
)
1364 def GetID(*args
, **kwargs
):
1365 """GetID() -> int"""
1366 return _html
.HtmlContentsItem_GetID(*args
, **kwargs
)
1368 def GetName(*args
, **kwargs
):
1369 """GetName() -> String"""
1370 return _html
.HtmlContentsItem_GetName(*args
, **kwargs
)
1372 def GetPage(*args
, **kwargs
):
1373 """GetPage() -> String"""
1374 return _html
.HtmlContentsItem_GetPage(*args
, **kwargs
)
1376 def GetBook(*args
, **kwargs
):
1377 """GetBook() -> HtmlBookRecord"""
1378 return _html
.HtmlContentsItem_GetBook(*args
, **kwargs
)
1381 class HtmlContentsItemPtr(HtmlContentsItem
):
1382 def __init__(self
, this
):
1384 if not hasattr(self
,"thisown"): self
.thisown
= 0
1385 self
.__class
__ = HtmlContentsItem
1386 _html
.HtmlContentsItem_swigregister(HtmlContentsItemPtr
)
1388 class HtmlSearchStatus(object):
1389 def __init__(self
): raise RuntimeError, "No constructor defined"
1391 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1392 def Search(*args
, **kwargs
):
1393 """Search() -> bool"""
1394 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1396 def IsActive(*args
, **kwargs
):
1397 """IsActive() -> bool"""
1398 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1400 def GetCurIndex(*args
, **kwargs
):
1401 """GetCurIndex() -> int"""
1402 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1404 def GetMaxIndex(*args
, **kwargs
):
1405 """GetMaxIndex() -> int"""
1406 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1408 def GetName(*args
, **kwargs
):
1409 """GetName() -> String"""
1410 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1412 def GetContentsItem(*args
, **kwargs
):
1413 """GetContentsItem() -> HtmlContentsItem"""
1414 return _html
.HtmlSearchStatus_GetContentsItem(*args
, **kwargs
)
1417 class HtmlSearchStatusPtr(HtmlSearchStatus
):
1418 def __init__(self
, this
):
1420 if not hasattr(self
,"thisown"): self
.thisown
= 0
1421 self
.__class
__ = HtmlSearchStatus
1422 _html
.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr
)
1424 class HtmlHelpData(object):
1426 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1427 def __init__(self
, *args
, **kwargs
):
1428 """__init__() -> HtmlHelpData"""
1429 newobj
= _html
.new_HtmlHelpData(*args
, **kwargs
)
1430 self
.this
= newobj
.this
1433 def __del__(self
, destroy
=_html
.delete_HtmlHelpData
):
1436 if self
.thisown
: destroy(self
)
1439 def SetTempDir(*args
, **kwargs
):
1440 """SetTempDir(String path)"""
1441 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1443 def AddBook(*args
, **kwargs
):
1444 """AddBook(String book) -> bool"""
1445 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1447 def FindPageByName(*args
, **kwargs
):
1448 """FindPageByName(String page) -> String"""
1449 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1451 def FindPageById(*args
, **kwargs
):
1452 """FindPageById(int id) -> String"""
1453 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1455 def GetBookRecArray(*args
, **kwargs
):
1456 """GetBookRecArray() -> wxHtmlBookRecArray"""
1457 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1459 def GetContents(*args
, **kwargs
):
1460 """GetContents() -> HtmlContentsItem"""
1461 return _html
.HtmlHelpData_GetContents(*args
, **kwargs
)
1463 def GetContentsCnt(*args
, **kwargs
):
1464 """GetContentsCnt() -> int"""
1465 return _html
.HtmlHelpData_GetContentsCnt(*args
, **kwargs
)
1467 def GetIndex(*args
, **kwargs
):
1468 """GetIndex() -> HtmlContentsItem"""
1469 return _html
.HtmlHelpData_GetIndex(*args
, **kwargs
)
1471 def GetIndexCnt(*args
, **kwargs
):
1472 """GetIndexCnt() -> int"""
1473 return _html
.HtmlHelpData_GetIndexCnt(*args
, **kwargs
)
1476 class HtmlHelpDataPtr(HtmlHelpData
):
1477 def __init__(self
, this
):
1479 if not hasattr(self
,"thisown"): self
.thisown
= 0
1480 self
.__class
__ = HtmlHelpData
1481 _html
.HtmlHelpData_swigregister(HtmlHelpDataPtr
)
1483 class HtmlHelpFrame(windows
.Frame
):
1485 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1486 def __init__(self
, *args
, **kwargs
):
1488 __init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1489 HtmlHelpData data=None) -> HtmlHelpFrame
1491 newobj
= _html
.new_HtmlHelpFrame(*args
, **kwargs
)
1492 self
.this
= newobj
.this
1495 self
._setOORInfo
(self
)
1497 def GetData(*args
, **kwargs
):
1498 """GetData() -> HtmlHelpData"""
1499 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1501 def SetTitleFormat(*args
, **kwargs
):
1502 """SetTitleFormat(String format)"""
1503 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1505 def Display(*args
, **kwargs
):
1506 """Display(String x)"""
1507 return _html
.HtmlHelpFrame_Display(*args
, **kwargs
)
1509 def DisplayID(*args
, **kwargs
):
1510 """DisplayID(int id)"""
1511 return _html
.HtmlHelpFrame_DisplayID(*args
, **kwargs
)
1513 def DisplayContents(*args
, **kwargs
):
1514 """DisplayContents()"""
1515 return _html
.HtmlHelpFrame_DisplayContents(*args
, **kwargs
)
1517 def DisplayIndex(*args
, **kwargs
):
1518 """DisplayIndex()"""
1519 return _html
.HtmlHelpFrame_DisplayIndex(*args
, **kwargs
)
1521 def KeywordSearch(*args
, **kwargs
):
1522 """KeywordSearch(String keyword) -> bool"""
1523 return _html
.HtmlHelpFrame_KeywordSearch(*args
, **kwargs
)
1525 def UseConfig(*args
, **kwargs
):
1526 """UseConfig(ConfigBase config, String rootpath=EmptyString)"""
1527 return _html
.HtmlHelpFrame_UseConfig(*args
, **kwargs
)
1529 def ReadCustomization(*args
, **kwargs
):
1530 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
1531 return _html
.HtmlHelpFrame_ReadCustomization(*args
, **kwargs
)
1533 def WriteCustomization(*args
, **kwargs
):
1534 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
1535 return _html
.HtmlHelpFrame_WriteCustomization(*args
, **kwargs
)
1538 class HtmlHelpFramePtr(HtmlHelpFrame
):
1539 def __init__(self
, this
):
1541 if not hasattr(self
,"thisown"): self
.thisown
= 0
1542 self
.__class
__ = HtmlHelpFrame
1543 _html
.HtmlHelpFrame_swigregister(HtmlHelpFramePtr
)
1545 HF_TOOLBAR
= _html
.HF_TOOLBAR
1546 HF_FLATTOOLBAR
= _html
.HF_FLATTOOLBAR
1547 HF_CONTENTS
= _html
.HF_CONTENTS
1548 HF_INDEX
= _html
.HF_INDEX
1549 HF_SEARCH
= _html
.HF_SEARCH
1550 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1551 HF_OPENFILES
= _html
.HF_OPENFILES
1552 HF_PRINT
= _html
.HF_PRINT
1553 HF_DEFAULTSTYLE
= _html
.HF_DEFAULTSTYLE
1554 class HtmlHelpController(core
.EvtHandler
):
1556 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1557 def __init__(self
, *args
, **kwargs
):
1558 """__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
1559 newobj
= _html
.new_HtmlHelpController(*args
, **kwargs
)
1560 self
.this
= newobj
.this
1563 self
._setOORInfo
(self
)
1565 def __del__(self
, destroy
=_html
.delete_HtmlHelpController
):
1568 if self
.thisown
: destroy(self
)
1571 def SetTitleFormat(*args
, **kwargs
):
1572 """SetTitleFormat(String format)"""
1573 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1575 def SetTempDir(*args
, **kwargs
):
1576 """SetTempDir(String path)"""
1577 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1579 def AddBook(*args
, **kwargs
):
1580 """AddBook(String book, int show_wait_msg=False) -> bool"""
1581 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1583 def Display(*args
, **kwargs
):
1584 """Display(String x)"""
1585 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1587 def DisplayID(*args
, **kwargs
):
1588 """DisplayID(int id)"""
1589 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1591 def DisplayContents(*args
, **kwargs
):
1592 """DisplayContents()"""
1593 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1595 def DisplayIndex(*args
, **kwargs
):
1596 """DisplayIndex()"""
1597 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1599 def KeywordSearch(*args
, **kwargs
):
1600 """KeywordSearch(String keyword) -> bool"""
1601 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1603 def UseConfig(*args
, **kwargs
):
1604 """UseConfig(ConfigBase config, String rootpath=EmptyString)"""
1605 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1607 def ReadCustomization(*args
, **kwargs
):
1608 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
1609 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1611 def WriteCustomization(*args
, **kwargs
):
1612 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
1613 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1615 def GetFrame(*args
, **kwargs
):
1616 """GetFrame() -> HtmlHelpFrame"""
1617 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1620 class HtmlHelpControllerPtr(HtmlHelpController
):
1621 def __init__(self
, this
):
1623 if not hasattr(self
,"thisown"): self
.thisown
= 0
1624 self
.__class
__ = HtmlHelpController
1625 _html
.HtmlHelpController_swigregister(HtmlHelpControllerPtr
)