1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 Classes for a simple HTML rendering window, HTML Help Window, etc.
13 __docfilter__
= wx
.__DocFilter
(globals())
14 #---------------------------------------------------------------------------
16 HTML_ALIGN_LEFT
= _html
.HTML_ALIGN_LEFT
17 HTML_ALIGN_CENTER
= _html
.HTML_ALIGN_CENTER
18 HTML_ALIGN_RIGHT
= _html
.HTML_ALIGN_RIGHT
19 HTML_ALIGN_BOTTOM
= _html
.HTML_ALIGN_BOTTOM
20 HTML_ALIGN_TOP
= _html
.HTML_ALIGN_TOP
21 HTML_CLR_FOREGROUND
= _html
.HTML_CLR_FOREGROUND
22 HTML_CLR_BACKGROUND
= _html
.HTML_CLR_BACKGROUND
23 HTML_UNITS_PIXELS
= _html
.HTML_UNITS_PIXELS
24 HTML_UNITS_PERCENT
= _html
.HTML_UNITS_PERCENT
25 HTML_INDENT_LEFT
= _html
.HTML_INDENT_LEFT
26 HTML_INDENT_RIGHT
= _html
.HTML_INDENT_RIGHT
27 HTML_INDENT_TOP
= _html
.HTML_INDENT_TOP
28 HTML_INDENT_BOTTOM
= _html
.HTML_INDENT_BOTTOM
29 HTML_INDENT_HORIZONTAL
= _html
.HTML_INDENT_HORIZONTAL
30 HTML_INDENT_VERTICAL
= _html
.HTML_INDENT_VERTICAL
31 HTML_INDENT_ALL
= _html
.HTML_INDENT_ALL
32 HTML_COND_ISANCHOR
= _html
.HTML_COND_ISANCHOR
33 HTML_COND_ISIMAGEMAP
= _html
.HTML_COND_ISIMAGEMAP
34 HTML_COND_USER
= _html
.HTML_COND_USER
35 HTML_FONT_SIZE_1
= _html
.HTML_FONT_SIZE_1
36 HTML_FONT_SIZE_2
= _html
.HTML_FONT_SIZE_2
37 HTML_FONT_SIZE_3
= _html
.HTML_FONT_SIZE_3
38 HTML_FONT_SIZE_4
= _html
.HTML_FONT_SIZE_4
39 HTML_FONT_SIZE_5
= _html
.HTML_FONT_SIZE_5
40 HTML_FONT_SIZE_6
= _html
.HTML_FONT_SIZE_6
41 HTML_FONT_SIZE_7
= _html
.HTML_FONT_SIZE_7
42 HW_SCROLLBAR_NEVER
= _html
.HW_SCROLLBAR_NEVER
43 HW_SCROLLBAR_AUTO
= _html
.HW_SCROLLBAR_AUTO
44 HW_NO_SELECTION
= _html
.HW_NO_SELECTION
45 HW_DEFAULT_STYLE
= _html
.HW_DEFAULT_STYLE
46 HTML_OPEN
= _html
.HTML_OPEN
47 HTML_BLOCK
= _html
.HTML_BLOCK
48 HTML_REDIRECT
= _html
.HTML_REDIRECT
49 HTML_URL_PAGE
= _html
.HTML_URL_PAGE
50 HTML_URL_IMAGE
= _html
.HTML_URL_IMAGE
51 HTML_URL_OTHER
= _html
.HTML_URL_OTHER
52 class HtmlLinkInfo(_core
.Object
):
54 return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
55 def __init__(self
, *args
, **kwargs
):
56 """__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo"""
57 newobj
= _html
.new_HtmlLinkInfo(*args
, **kwargs
)
58 self
.this
= newobj
.this
61 def GetHref(*args
, **kwargs
):
62 """GetHref(self) -> String"""
63 return _html
.HtmlLinkInfo_GetHref(*args
, **kwargs
)
65 def GetTarget(*args
, **kwargs
):
66 """GetTarget(self) -> String"""
67 return _html
.HtmlLinkInfo_GetTarget(*args
, **kwargs
)
69 def GetEvent(*args
, **kwargs
):
70 """GetEvent(self) -> MouseEvent"""
71 return _html
.HtmlLinkInfo_GetEvent(*args
, **kwargs
)
73 def GetHtmlCell(*args
, **kwargs
):
74 """GetHtmlCell(self) -> HtmlCell"""
75 return _html
.HtmlLinkInfo_GetHtmlCell(*args
, **kwargs
)
77 def SetEvent(*args
, **kwargs
):
78 """SetEvent(self, MouseEvent e)"""
79 return _html
.HtmlLinkInfo_SetEvent(*args
, **kwargs
)
81 def SetHtmlCell(*args
, **kwargs
):
82 """SetHtmlCell(self, HtmlCell e)"""
83 return _html
.HtmlLinkInfo_SetHtmlCell(*args
, **kwargs
)
86 class HtmlLinkInfoPtr(HtmlLinkInfo
):
87 def __init__(self
, this
):
89 if not hasattr(self
,"thisown"): self
.thisown
= 0
90 self
.__class
__ = HtmlLinkInfo
91 _html
.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr
)
93 HtmlWindowNameStr
= cvar
.HtmlWindowNameStr
94 HtmlPrintoutTitleStr
= cvar
.HtmlPrintoutTitleStr
95 HtmlPrintingTitleStr
= cvar
.HtmlPrintingTitleStr
97 class HtmlTag(_core
.Object
):
98 def __init__(self
): raise RuntimeError, "No constructor defined"
100 return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
101 def GetName(*args
, **kwargs
):
102 """GetName(self) -> String"""
103 return _html
.HtmlTag_GetName(*args
, **kwargs
)
105 def HasParam(*args
, **kwargs
):
106 """HasParam(self, String par) -> bool"""
107 return _html
.HtmlTag_HasParam(*args
, **kwargs
)
109 def GetParam(*args
, **kwargs
):
110 """GetParam(self, String par, int with_commas=False) -> String"""
111 return _html
.HtmlTag_GetParam(*args
, **kwargs
)
113 def GetAllParams(*args
, **kwargs
):
114 """GetAllParams(self) -> String"""
115 return _html
.HtmlTag_GetAllParams(*args
, **kwargs
)
117 def HasEnding(*args
, **kwargs
):
118 """HasEnding(self) -> bool"""
119 return _html
.HtmlTag_HasEnding(*args
, **kwargs
)
121 def GetBeginPos(*args
, **kwargs
):
122 """GetBeginPos(self) -> int"""
123 return _html
.HtmlTag_GetBeginPos(*args
, **kwargs
)
125 def GetEndPos1(*args
, **kwargs
):
126 """GetEndPos1(self) -> int"""
127 return _html
.HtmlTag_GetEndPos1(*args
, **kwargs
)
129 def GetEndPos2(*args
, **kwargs
):
130 """GetEndPos2(self) -> int"""
131 return _html
.HtmlTag_GetEndPos2(*args
, **kwargs
)
134 class HtmlTagPtr(HtmlTag
):
135 def __init__(self
, this
):
137 if not hasattr(self
,"thisown"): self
.thisown
= 0
138 self
.__class
__ = HtmlTag
139 _html
.HtmlTag_swigregister(HtmlTagPtr
)
141 class HtmlParser(_core
.Object
):
142 def __init__(self
): raise RuntimeError, "No constructor defined"
144 return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
145 def SetFS(*args
, **kwargs
):
146 """SetFS(self, FileSystem fs)"""
147 return _html
.HtmlParser_SetFS(*args
, **kwargs
)
149 def GetFS(*args
, **kwargs
):
150 """GetFS(self) -> FileSystem"""
151 return _html
.HtmlParser_GetFS(*args
, **kwargs
)
153 def Parse(*args
, **kwargs
):
154 """Parse(self, String source) -> Object"""
155 return _html
.HtmlParser_Parse(*args
, **kwargs
)
157 def InitParser(*args
, **kwargs
):
158 """InitParser(self, String source)"""
159 return _html
.HtmlParser_InitParser(*args
, **kwargs
)
161 def DoneParser(*args
, **kwargs
):
162 """DoneParser(self)"""
163 return _html
.HtmlParser_DoneParser(*args
, **kwargs
)
165 def DoParsing(*args
, **kwargs
):
166 """DoParsing(self, int begin_pos, int end_pos)"""
167 return _html
.HtmlParser_DoParsing(*args
, **kwargs
)
169 def StopParsing(*args
, **kwargs
):
170 """StopParsing(self)"""
171 return _html
.HtmlParser_StopParsing(*args
, **kwargs
)
173 def AddTagHandler(*args
, **kwargs
):
174 """AddTagHandler(self, HtmlTagHandler handler)"""
175 return _html
.HtmlParser_AddTagHandler(*args
, **kwargs
)
177 def GetSource(*args
, **kwargs
):
178 """GetSource(self) -> String"""
179 return _html
.HtmlParser_GetSource(*args
, **kwargs
)
181 def PushTagHandler(*args
, **kwargs
):
182 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
183 return _html
.HtmlParser_PushTagHandler(*args
, **kwargs
)
185 def PopTagHandler(*args
, **kwargs
):
186 """PopTagHandler(self)"""
187 return _html
.HtmlParser_PopTagHandler(*args
, **kwargs
)
190 class HtmlParserPtr(HtmlParser
):
191 def __init__(self
, this
):
193 if not hasattr(self
,"thisown"): self
.thisown
= 0
194 self
.__class
__ = HtmlParser
195 _html
.HtmlParser_swigregister(HtmlParserPtr
)
197 class HtmlWinParser(HtmlParser
):
199 return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
200 def __init__(self
, *args
, **kwargs
):
201 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
202 newobj
= _html
.new_HtmlWinParser(*args
, **kwargs
)
203 self
.this
= newobj
.this
206 def SetDC(*args
, **kwargs
):
207 """SetDC(self, DC dc)"""
208 return _html
.HtmlWinParser_SetDC(*args
, **kwargs
)
210 def GetDC(*args
, **kwargs
):
211 """GetDC(self) -> DC"""
212 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
214 def GetCharHeight(*args
, **kwargs
):
215 """GetCharHeight(self) -> int"""
216 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
218 def GetCharWidth(*args
, **kwargs
):
219 """GetCharWidth(self) -> int"""
220 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
222 def GetWindow(*args
, **kwargs
):
223 """GetWindow(self) -> HtmlWindow"""
224 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
226 def SetFonts(*args
, **kwargs
):
227 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
228 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
230 def GetContainer(*args
, **kwargs
):
231 """GetContainer(self) -> HtmlContainerCell"""
232 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
234 def OpenContainer(*args
, **kwargs
):
235 """OpenContainer(self) -> HtmlContainerCell"""
236 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
238 def SetContainer(*args
, **kwargs
):
239 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
240 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
242 def CloseContainer(*args
, **kwargs
):
243 """CloseContainer(self) -> HtmlContainerCell"""
244 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
246 def GetFontSize(*args
, **kwargs
):
247 """GetFontSize(self) -> int"""
248 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
250 def SetFontSize(*args
, **kwargs
):
251 """SetFontSize(self, int s)"""
252 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
254 def GetFontBold(*args
, **kwargs
):
255 """GetFontBold(self) -> int"""
256 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
258 def SetFontBold(*args
, **kwargs
):
259 """SetFontBold(self, int x)"""
260 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
262 def GetFontItalic(*args
, **kwargs
):
263 """GetFontItalic(self) -> int"""
264 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
266 def SetFontItalic(*args
, **kwargs
):
267 """SetFontItalic(self, int x)"""
268 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
270 def GetFontUnderlined(*args
, **kwargs
):
271 """GetFontUnderlined(self) -> int"""
272 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
274 def SetFontUnderlined(*args
, **kwargs
):
275 """SetFontUnderlined(self, int x)"""
276 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
278 def GetFontFixed(*args
, **kwargs
):
279 """GetFontFixed(self) -> int"""
280 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
282 def SetFontFixed(*args
, **kwargs
):
283 """SetFontFixed(self, int x)"""
284 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
286 def GetAlign(*args
, **kwargs
):
287 """GetAlign(self) -> int"""
288 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
290 def SetAlign(*args
, **kwargs
):
291 """SetAlign(self, int a)"""
292 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
294 def GetLinkColor(*args
, **kwargs
):
295 """GetLinkColor(self) -> Colour"""
296 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
298 def SetLinkColor(*args
, **kwargs
):
299 """SetLinkColor(self, Colour clr)"""
300 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
302 def GetActualColor(*args
, **kwargs
):
303 """GetActualColor(self) -> Colour"""
304 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
306 def SetActualColor(*args
, **kwargs
):
307 """SetActualColor(self, Colour clr)"""
308 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
310 def SetLink(*args
, **kwargs
):
311 """SetLink(self, String link)"""
312 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
314 def CreateCurrentFont(*args
, **kwargs
):
315 """CreateCurrentFont(self) -> Font"""
316 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
318 def GetLink(*args
, **kwargs
):
319 """GetLink(self) -> HtmlLinkInfo"""
320 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
323 class HtmlWinParserPtr(HtmlWinParser
):
324 def __init__(self
, this
):
326 if not hasattr(self
,"thisown"): self
.thisown
= 0
327 self
.__class
__ = HtmlWinParser
328 _html
.HtmlWinParser_swigregister(HtmlWinParserPtr
)
330 class HtmlTagHandler(_core
.Object
):
332 return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
333 def __init__(self
, *args
, **kwargs
):
334 """__init__(self) -> HtmlTagHandler"""
335 newobj
= _html
.new_HtmlTagHandler(*args
, **kwargs
)
336 self
.this
= newobj
.this
339 self
._setCallbackInfo
(self
, HtmlTagHandler
)
341 def _setCallbackInfo(*args
, **kwargs
):
342 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
343 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
345 def SetParser(*args
, **kwargs
):
346 """SetParser(self, HtmlParser parser)"""
347 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
349 def GetParser(*args
, **kwargs
):
350 """GetParser(self) -> HtmlParser"""
351 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
353 def ParseInner(*args
, **kwargs
):
354 """ParseInner(self, HtmlTag tag)"""
355 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
358 class HtmlTagHandlerPtr(HtmlTagHandler
):
359 def __init__(self
, this
):
361 if not hasattr(self
,"thisown"): self
.thisown
= 0
362 self
.__class
__ = HtmlTagHandler
363 _html
.HtmlTagHandler_swigregister(HtmlTagHandlerPtr
)
365 class HtmlWinTagHandler(HtmlTagHandler
):
367 return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
368 def __init__(self
, *args
, **kwargs
):
369 """__init__(self) -> HtmlWinTagHandler"""
370 newobj
= _html
.new_HtmlWinTagHandler(*args
, **kwargs
)
371 self
.this
= newobj
.this
374 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
376 def _setCallbackInfo(*args
, **kwargs
):
377 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
378 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
380 def SetParser(*args
, **kwargs
):
381 """SetParser(self, HtmlParser parser)"""
382 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
384 def GetParser(*args
, **kwargs
):
385 """GetParser(self) -> HtmlWinParser"""
386 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
388 def ParseInner(*args
, **kwargs
):
389 """ParseInner(self, HtmlTag tag)"""
390 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
393 class HtmlWinTagHandlerPtr(HtmlWinTagHandler
):
394 def __init__(self
, this
):
396 if not hasattr(self
,"thisown"): self
.thisown
= 0
397 self
.__class
__ = HtmlWinTagHandler
398 _html
.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr
)
401 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
402 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
403 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
404 #---------------------------------------------------------------------------
406 class HtmlSelection(object):
408 return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
409 def __init__(self
, *args
, **kwargs
):
410 """__init__(self) -> HtmlSelection"""
411 newobj
= _html
.new_HtmlSelection(*args
, **kwargs
)
412 self
.this
= newobj
.this
415 def __del__(self
, destroy
=_html
.delete_HtmlSelection
):
418 if self
.thisown
: destroy(self
)
421 def Set(*args
, **kwargs
):
422 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
423 return _html
.HtmlSelection_Set(*args
, **kwargs
)
425 def SetCells(*args
, **kwargs
):
426 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
427 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
429 def GetFromCell(*args
, **kwargs
):
430 """GetFromCell(self) -> HtmlCell"""
431 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
433 def GetToCell(*args
, **kwargs
):
434 """GetToCell(self) -> HtmlCell"""
435 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
437 def GetFromPos(*args
, **kwargs
):
438 """GetFromPos(self) -> Point"""
439 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
441 def GetToPos(*args
, **kwargs
):
442 """GetToPos(self) -> Point"""
443 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
445 def GetFromPrivPos(*args
, **kwargs
):
446 """GetFromPrivPos(self) -> Point"""
447 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
449 def GetToPrivPos(*args
, **kwargs
):
450 """GetToPrivPos(self) -> Point"""
451 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
453 def SetFromPrivPos(*args
, **kwargs
):
454 """SetFromPrivPos(self, Point pos)"""
455 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
457 def SetToPrivPos(*args
, **kwargs
):
458 """SetToPrivPos(self, Point pos)"""
459 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
461 def ClearPrivPos(*args
, **kwargs
):
462 """ClearPrivPos(self)"""
463 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
465 def IsEmpty(*args
, **kwargs
):
466 """IsEmpty(self) -> bool"""
467 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
470 class HtmlSelectionPtr(HtmlSelection
):
471 def __init__(self
, this
):
473 if not hasattr(self
,"thisown"): self
.thisown
= 0
474 self
.__class
__ = HtmlSelection
475 _html
.HtmlSelection_swigregister(HtmlSelectionPtr
)
477 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
478 HTML_SEL_IN
= _html
.HTML_SEL_IN
479 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
480 class HtmlRenderingState(object):
482 return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
483 def __init__(self
, *args
, **kwargs
):
484 """__init__(self) -> HtmlRenderingState"""
485 newobj
= _html
.new_HtmlRenderingState(*args
, **kwargs
)
486 self
.this
= newobj
.this
489 def __del__(self
, destroy
=_html
.delete_HtmlRenderingState
):
492 if self
.thisown
: destroy(self
)
495 def SetSelectionState(*args
, **kwargs
):
496 """SetSelectionState(self, int s)"""
497 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
499 def GetSelectionState(*args
, **kwargs
):
500 """GetSelectionState(self) -> int"""
501 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
503 def SetFgColour(*args
, **kwargs
):
504 """SetFgColour(self, Colour c)"""
505 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
507 def GetFgColour(*args
, **kwargs
):
508 """GetFgColour(self) -> Colour"""
509 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
511 def SetBgColour(*args
, **kwargs
):
512 """SetBgColour(self, Colour c)"""
513 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
515 def GetBgColour(*args
, **kwargs
):
516 """GetBgColour(self) -> Colour"""
517 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
520 class HtmlRenderingStatePtr(HtmlRenderingState
):
521 def __init__(self
, this
):
523 if not hasattr(self
,"thisown"): self
.thisown
= 0
524 self
.__class
__ = HtmlRenderingState
525 _html
.HtmlRenderingState_swigregister(HtmlRenderingStatePtr
)
527 class HtmlRenderingStyle(object):
528 def __init__(self
): raise RuntimeError, "No constructor defined"
530 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
531 def GetSelectedTextColour(*args
, **kwargs
):
532 """GetSelectedTextColour(self, Colour clr) -> Colour"""
533 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
535 def GetSelectedTextBgColour(*args
, **kwargs
):
536 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
537 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
540 class HtmlRenderingStylePtr(HtmlRenderingStyle
):
541 def __init__(self
, this
):
543 if not hasattr(self
,"thisown"): self
.thisown
= 0
544 self
.__class
__ = HtmlRenderingStyle
545 _html
.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr
)
547 class DefaultHtmlRenderingStyle(HtmlRenderingStyle
):
548 def __init__(self
): raise RuntimeError, "No constructor defined"
550 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
551 def GetSelectedTextColour(*args
, **kwargs
):
552 """GetSelectedTextColour(self, Colour clr) -> Colour"""
553 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
555 def GetSelectedTextBgColour(*args
, **kwargs
):
556 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
557 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
560 class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle
):
561 def __init__(self
, this
):
563 if not hasattr(self
,"thisown"): self
.thisown
= 0
564 self
.__class
__ = DefaultHtmlRenderingStyle
565 _html
.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr
)
567 class HtmlRenderingInfo(object):
569 return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
570 def __init__(self
, *args
, **kwargs
):
571 """__init__(self) -> HtmlRenderingInfo"""
572 newobj
= _html
.new_HtmlRenderingInfo(*args
, **kwargs
)
573 self
.this
= newobj
.this
576 def __del__(self
, destroy
=_html
.delete_HtmlRenderingInfo
):
579 if self
.thisown
: destroy(self
)
582 def SetSelection(*args
, **kwargs
):
583 """SetSelection(self, HtmlSelection s)"""
584 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
586 def GetSelection(*args
, **kwargs
):
587 """GetSelection(self) -> HtmlSelection"""
588 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
590 def SetStyle(*args
, **kwargs
):
591 """SetStyle(self, HtmlRenderingStyle style)"""
592 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
594 def GetStyle(*args
, **kwargs
):
595 """GetStyle(self) -> HtmlRenderingStyle"""
596 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
598 def GetState(*args
, **kwargs
):
599 """GetState(self) -> HtmlRenderingState"""
600 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
603 class HtmlRenderingInfoPtr(HtmlRenderingInfo
):
604 def __init__(self
, this
):
606 if not hasattr(self
,"thisown"): self
.thisown
= 0
607 self
.__class
__ = HtmlRenderingInfo
608 _html
.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr
)
610 #---------------------------------------------------------------------------
612 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
613 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
614 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
615 class HtmlCell(_core
.Object
):
617 return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
618 def __init__(self
, *args
, **kwargs
):
619 """__init__(self) -> HtmlCell"""
620 newobj
= _html
.new_HtmlCell(*args
, **kwargs
)
621 self
.this
= newobj
.this
624 def GetPosX(*args
, **kwargs
):
625 """GetPosX(self) -> int"""
626 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
628 def GetPosY(*args
, **kwargs
):
629 """GetPosY(self) -> int"""
630 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
632 def GetWidth(*args
, **kwargs
):
633 """GetWidth(self) -> int"""
634 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
636 def GetHeight(*args
, **kwargs
):
637 """GetHeight(self) -> int"""
638 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
640 def GetDescent(*args
, **kwargs
):
641 """GetDescent(self) -> int"""
642 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
644 def GetMaxTotalWidth(*args
, **kwargs
):
645 """GetMaxTotalWidth(self) -> int"""
646 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
648 def GetId(*args
, **kwargs
):
649 """GetId(self) -> String"""
650 return _html
.HtmlCell_GetId(*args
, **kwargs
)
652 def SetId(*args
, **kwargs
):
653 """SetId(self, String id)"""
654 return _html
.HtmlCell_SetId(*args
, **kwargs
)
656 def GetLink(*args
, **kwargs
):
657 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
658 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
660 def GetNext(*args
, **kwargs
):
661 """GetNext(self) -> HtmlCell"""
662 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
664 def GetParent(*args
, **kwargs
):
665 """GetParent(self) -> HtmlContainerCell"""
666 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
668 def GetFirstChild(*args
, **kwargs
):
669 """GetFirstChild(self) -> HtmlCell"""
670 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
672 def GetCursor(*args
, **kwargs
):
673 """GetCursor(self) -> Cursor"""
674 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
676 def IsFormattingCell(*args
, **kwargs
):
677 """IsFormattingCell(self) -> bool"""
678 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
680 def SetLink(*args
, **kwargs
):
681 """SetLink(self, HtmlLinkInfo link)"""
682 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
684 def SetNext(*args
, **kwargs
):
685 """SetNext(self, HtmlCell cell)"""
686 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
688 def SetParent(*args
, **kwargs
):
689 """SetParent(self, HtmlContainerCell p)"""
690 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
692 def SetPos(*args
, **kwargs
):
693 """SetPos(self, int x, int y)"""
694 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
696 def Layout(*args
, **kwargs
):
697 """Layout(self, int w)"""
698 return _html
.HtmlCell_Layout(*args
, **kwargs
)
700 def Draw(*args
, **kwargs
):
701 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
702 return _html
.HtmlCell_Draw(*args
, **kwargs
)
704 def DrawInvisible(*args
, **kwargs
):
705 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
706 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
708 def Find(*args
, **kwargs
):
709 """Find(self, int condition, void param) -> HtmlCell"""
710 return _html
.HtmlCell_Find(*args
, **kwargs
)
712 def AdjustPagebreak(*args
, **kwargs
):
713 """AdjustPagebreak(self, int INOUT) -> bool"""
714 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
716 def SetCanLiveOnPagebreak(*args
, **kwargs
):
717 """SetCanLiveOnPagebreak(self, bool can)"""
718 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
720 def IsLinebreakAllowed(*args
, **kwargs
):
721 """IsLinebreakAllowed(self) -> bool"""
722 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
724 def IsTerminalCell(*args
, **kwargs
):
725 """IsTerminalCell(self) -> bool"""
726 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
728 def FindCellByPos(*args
, **kwargs
):
729 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
730 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
732 def GetAbsPos(*args
, **kwargs
):
733 """GetAbsPos(self) -> Point"""
734 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
736 def GetFirstTerminal(*args
, **kwargs
):
737 """GetFirstTerminal(self) -> HtmlCell"""
738 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
740 def GetLastTerminal(*args
, **kwargs
):
741 """GetLastTerminal(self) -> HtmlCell"""
742 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
744 def GetDepth(*args
, **kwargs
):
745 """GetDepth(self) -> unsigned int"""
746 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
748 def IsBefore(*args
, **kwargs
):
749 """IsBefore(self, HtmlCell cell) -> bool"""
750 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
752 def ConvertToText(*args
, **kwargs
):
753 """ConvertToText(self, HtmlSelection sel) -> String"""
754 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
757 class HtmlCellPtr(HtmlCell
):
758 def __init__(self
, this
):
760 if not hasattr(self
,"thisown"): self
.thisown
= 0
761 self
.__class
__ = HtmlCell
762 _html
.HtmlCell_swigregister(HtmlCellPtr
)
764 class HtmlWordCell(HtmlCell
):
766 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
767 def __init__(self
, *args
, **kwargs
):
768 """__init__(self, String word, DC dc) -> HtmlWordCell"""
769 newobj
= _html
.new_HtmlWordCell(*args
, **kwargs
)
770 self
.this
= newobj
.this
774 class HtmlWordCellPtr(HtmlWordCell
):
775 def __init__(self
, this
):
777 if not hasattr(self
,"thisown"): self
.thisown
= 0
778 self
.__class
__ = HtmlWordCell
779 _html
.HtmlWordCell_swigregister(HtmlWordCellPtr
)
781 class HtmlContainerCell(HtmlCell
):
783 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
784 def __init__(self
, *args
, **kwargs
):
785 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
786 newobj
= _html
.new_HtmlContainerCell(*args
, **kwargs
)
787 self
.this
= newobj
.this
790 def InsertCell(*args
, **kwargs
):
791 """InsertCell(self, HtmlCell cell)"""
792 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
794 def SetAlignHor(*args
, **kwargs
):
795 """SetAlignHor(self, int al)"""
796 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
798 def GetAlignHor(*args
, **kwargs
):
799 """GetAlignHor(self) -> int"""
800 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
802 def SetAlignVer(*args
, **kwargs
):
803 """SetAlignVer(self, int al)"""
804 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
806 def GetAlignVer(*args
, **kwargs
):
807 """GetAlignVer(self) -> int"""
808 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
810 def SetIndent(*args
, **kwargs
):
811 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
812 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
814 def GetIndent(*args
, **kwargs
):
815 """GetIndent(self, int ind) -> int"""
816 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
818 def GetIndentUnits(*args
, **kwargs
):
819 """GetIndentUnits(self, int ind) -> int"""
820 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
822 def SetAlign(*args
, **kwargs
):
823 """SetAlign(self, HtmlTag tag)"""
824 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
826 def SetWidthFloat(*args
, **kwargs
):
827 """SetWidthFloat(self, int w, int units)"""
828 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
830 def SetWidthFloatFromTag(*args
, **kwargs
):
831 """SetWidthFloatFromTag(self, HtmlTag tag)"""
832 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
834 def SetMinHeight(*args
, **kwargs
):
835 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
836 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
838 def SetBackgroundColour(*args
, **kwargs
):
839 """SetBackgroundColour(self, Colour clr)"""
840 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
842 def GetBackgroundColour(*args
, **kwargs
):
843 """GetBackgroundColour(self) -> Colour"""
844 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
846 def SetBorder(*args
, **kwargs
):
847 """SetBorder(self, Colour clr1, Colour clr2)"""
848 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
850 def GetFirstChild(*args
, **kwargs
):
851 """GetFirstChild(self) -> HtmlCell"""
852 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
855 class HtmlContainerCellPtr(HtmlContainerCell
):
856 def __init__(self
, this
):
858 if not hasattr(self
,"thisown"): self
.thisown
= 0
859 self
.__class
__ = HtmlContainerCell
860 _html
.HtmlContainerCell_swigregister(HtmlContainerCellPtr
)
862 class HtmlColourCell(HtmlCell
):
864 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
865 def __init__(self
, *args
, **kwargs
):
866 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
867 newobj
= _html
.new_HtmlColourCell(*args
, **kwargs
)
868 self
.this
= newobj
.this
872 class HtmlColourCellPtr(HtmlColourCell
):
873 def __init__(self
, this
):
875 if not hasattr(self
,"thisown"): self
.thisown
= 0
876 self
.__class
__ = HtmlColourCell
877 _html
.HtmlColourCell_swigregister(HtmlColourCellPtr
)
879 class HtmlFontCell(HtmlCell
):
881 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
882 def __init__(self
, *args
, **kwargs
):
883 """__init__(self, Font font) -> HtmlFontCell"""
884 newobj
= _html
.new_HtmlFontCell(*args
, **kwargs
)
885 self
.this
= newobj
.this
889 class HtmlFontCellPtr(HtmlFontCell
):
890 def __init__(self
, this
):
892 if not hasattr(self
,"thisown"): self
.thisown
= 0
893 self
.__class
__ = HtmlFontCell
894 _html
.HtmlFontCell_swigregister(HtmlFontCellPtr
)
896 class HtmlWidgetCell(HtmlCell
):
898 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
899 def __init__(self
, *args
, **kwargs
):
900 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
901 newobj
= _html
.new_HtmlWidgetCell(*args
, **kwargs
)
902 self
.this
= newobj
.this
906 class HtmlWidgetCellPtr(HtmlWidgetCell
):
907 def __init__(self
, this
):
909 if not hasattr(self
,"thisown"): self
.thisown
= 0
910 self
.__class
__ = HtmlWidgetCell
911 _html
.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr
)
913 #---------------------------------------------------------------------------
915 class HtmlFilter(_core
.Object
):
917 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
918 def __init__(self
, *args
, **kwargs
):
919 """__init__(self) -> HtmlFilter"""
920 newobj
= _html
.new_HtmlFilter(*args
, **kwargs
)
921 self
.this
= newobj
.this
924 self
._setCallbackInfo
(self
, HtmlFilter
)
926 def _setCallbackInfo(*args
, **kwargs
):
927 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
928 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
931 class HtmlFilterPtr(HtmlFilter
):
932 def __init__(self
, this
):
934 if not hasattr(self
,"thisown"): self
.thisown
= 0
935 self
.__class
__ = HtmlFilter
936 _html
.HtmlFilter_swigregister(HtmlFilterPtr
)
938 #---------------------------------------------------------------------------
940 class HtmlWindow(_windows
.ScrolledWindow
):
942 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
943 def __init__(self
, *args
, **kwargs
):
945 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
946 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
947 String name=HtmlWindowNameStr) -> HtmlWindow
949 newobj
= _html
.new_HtmlWindow(*args
, **kwargs
)
950 self
.this
= newobj
.this
953 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
955 def Create(*args
, **kwargs
):
957 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
958 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
959 String name=HtmlWindowNameStr) -> bool
961 return _html
.HtmlWindow_Create(*args
, **kwargs
)
963 def _setCallbackInfo(*args
, **kwargs
):
964 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
965 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
967 def SetPage(*args
, **kwargs
):
968 """SetPage(self, String source) -> bool"""
969 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
971 def LoadPage(*args
, **kwargs
):
972 """LoadPage(self, String location) -> bool"""
973 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
975 def LoadFile(*args
, **kwargs
):
976 """LoadFile(self, String filename) -> bool"""
977 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
979 def AppendToPage(*args
, **kwargs
):
980 """AppendToPage(self, String source) -> bool"""
981 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
983 def GetOpenedPage(*args
, **kwargs
):
984 """GetOpenedPage(self) -> String"""
985 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
987 def GetOpenedAnchor(*args
, **kwargs
):
988 """GetOpenedAnchor(self) -> String"""
989 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
991 def GetOpenedPageTitle(*args
, **kwargs
):
992 """GetOpenedPageTitle(self) -> String"""
993 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
995 def SetRelatedFrame(*args
, **kwargs
):
996 """SetRelatedFrame(self, Frame frame, String format)"""
997 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
999 def GetRelatedFrame(*args
, **kwargs
):
1000 """GetRelatedFrame(self) -> Frame"""
1001 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
1003 def SetRelatedStatusBar(*args
, **kwargs
):
1004 """SetRelatedStatusBar(self, int bar)"""
1005 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
1007 def SetFonts(*args
, **kwargs
):
1008 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1009 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
1011 def SetTitle(*args
, **kwargs
):
1012 """SetTitle(self, String title)"""
1013 return _html
.HtmlWindow_SetTitle(*args
, **kwargs
)
1015 def SetBorders(*args
, **kwargs
):
1016 """SetBorders(self, int b)"""
1017 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
1019 def ReadCustomization(*args
, **kwargs
):
1020 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1021 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1023 def WriteCustomization(*args
, **kwargs
):
1024 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1025 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1027 def HistoryBack(*args
, **kwargs
):
1028 """HistoryBack(self) -> bool"""
1029 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1031 def HistoryForward(*args
, **kwargs
):
1032 """HistoryForward(self) -> bool"""
1033 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1035 def HistoryCanBack(*args
, **kwargs
):
1036 """HistoryCanBack(self) -> bool"""
1037 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1039 def HistoryCanForward(*args
, **kwargs
):
1040 """HistoryCanForward(self) -> bool"""
1041 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1043 def HistoryClear(*args
, **kwargs
):
1044 """HistoryClear(self)"""
1045 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1047 def GetInternalRepresentation(*args
, **kwargs
):
1048 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1049 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1051 def GetParser(*args
, **kwargs
):
1052 """GetParser(self) -> HtmlWinParser"""
1053 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1055 def ScrollToAnchor(*args
, **kwargs
):
1056 """ScrollToAnchor(self, String anchor) -> bool"""
1057 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1059 def HasAnchor(*args
, **kwargs
):
1060 """HasAnchor(self, String anchor) -> bool"""
1061 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1063 def AddFilter(*args
, **kwargs
):
1064 """AddFilter(HtmlFilter filter)"""
1065 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1067 AddFilter
= staticmethod(AddFilter
)
1068 def SelectWord(*args
, **kwargs
):
1069 """SelectWord(self, Point pos)"""
1070 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1072 def SelectLine(*args
, **kwargs
):
1073 """SelectLine(self, Point pos)"""
1074 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1076 def SelectAll(*args
, **kwargs
):
1077 """SelectAll(self)"""
1078 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1080 def SelectionToText(*args
, **kwargs
):
1081 """SelectionToText(self) -> String"""
1082 return _html
.HtmlWindow_SelectionToText(*args
, **kwargs
)
1084 def ToText(*args
, **kwargs
):
1085 """ToText(self) -> String"""
1086 return _html
.HtmlWindow_ToText(*args
, **kwargs
)
1088 def base_OnLinkClicked(*args
, **kwargs
):
1089 """base_OnLinkClicked(self, HtmlLinkInfo link)"""
1090 return _html
.HtmlWindow_base_OnLinkClicked(*args
, **kwargs
)
1092 def base_OnSetTitle(*args
, **kwargs
):
1093 """base_OnSetTitle(self, String title)"""
1094 return _html
.HtmlWindow_base_OnSetTitle(*args
, **kwargs
)
1096 def base_OnCellMouseHover(*args
, **kwargs
):
1097 """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1098 return _html
.HtmlWindow_base_OnCellMouseHover(*args
, **kwargs
)
1100 def base_OnCellClicked(*args
, **kwargs
):
1101 """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
1102 return _html
.HtmlWindow_base_OnCellClicked(*args
, **kwargs
)
1104 def GetClassDefaultAttributes(*args
, **kwargs
):
1106 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1108 Get the default attributes for this class. This is useful if you want
1109 to use the same font or colour in your own control as in a standard
1110 control -- which is a much better idea than hard coding specific
1111 colours or fonts which might look completely out of place on the
1112 user's system, especially if it uses themes.
1114 The variant parameter is only relevant under Mac currently and is
1115 ignore under other platforms. Under Mac, it will change the size of
1116 the returned font. See `wx.Window.SetWindowVariant` for more about
1119 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1121 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1123 class HtmlWindowPtr(HtmlWindow
):
1124 def __init__(self
, this
):
1126 if not hasattr(self
,"thisown"): self
.thisown
= 0
1127 self
.__class
__ = HtmlWindow
1128 _html
.HtmlWindow_swigregister(HtmlWindowPtr
)
1130 def PreHtmlWindow(*args
, **kwargs
):
1131 """PreHtmlWindow() -> HtmlWindow"""
1132 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1136 def HtmlWindow_AddFilter(*args
, **kwargs
):
1137 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1138 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1140 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1142 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1144 Get the default attributes for this class. This is useful if you want
1145 to use the same font or colour in your own control as in a standard
1146 control -- which is a much better idea than hard coding specific
1147 colours or fonts which might look completely out of place on the
1148 user's system, especially if it uses themes.
1150 The variant parameter is only relevant under Mac currently and is
1151 ignore under other platforms. Under Mac, it will change the size of
1152 the returned font. See `wx.Window.SetWindowVariant` for more about
1155 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1157 #---------------------------------------------------------------------------
1159 class HtmlDCRenderer(_core
.Object
):
1161 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1162 def __init__(self
, *args
, **kwargs
):
1163 """__init__(self) -> HtmlDCRenderer"""
1164 newobj
= _html
.new_HtmlDCRenderer(*args
, **kwargs
)
1165 self
.this
= newobj
.this
1168 def __del__(self
, destroy
=_html
.delete_HtmlDCRenderer
):
1171 if self
.thisown
: destroy(self
)
1174 def SetDC(*args
, **kwargs
):
1175 """SetDC(self, DC dc, int maxwidth)"""
1176 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1178 def SetSize(*args
, **kwargs
):
1179 """SetSize(self, int width, int height)"""
1180 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1182 def SetHtmlText(*args
, **kwargs
):
1183 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1184 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1186 def SetFonts(*args
, **kwargs
):
1187 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1188 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1190 def Render(*args
, **kwargs
):
1192 Render(self, int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
1193 int choices=None, int LCOUNT=0) -> int
1195 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1197 def GetTotalHeight(*args
, **kwargs
):
1198 """GetTotalHeight(self) -> int"""
1199 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1202 class HtmlDCRendererPtr(HtmlDCRenderer
):
1203 def __init__(self
, this
):
1205 if not hasattr(self
,"thisown"): self
.thisown
= 0
1206 self
.__class
__ = HtmlDCRenderer
1207 _html
.HtmlDCRenderer_swigregister(HtmlDCRendererPtr
)
1209 PAGE_ODD
= _html
.PAGE_ODD
1210 PAGE_EVEN
= _html
.PAGE_EVEN
1211 PAGE_ALL
= _html
.PAGE_ALL
1212 class HtmlPrintout(_windows
.Printout
):
1214 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1215 def __init__(self
, *args
, **kwargs
):
1216 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1217 newobj
= _html
.new_HtmlPrintout(*args
, **kwargs
)
1218 self
.this
= newobj
.this
1221 def SetHtmlText(*args
, **kwargs
):
1222 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1223 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1225 def SetHtmlFile(*args
, **kwargs
):
1226 """SetHtmlFile(self, String htmlfile)"""
1227 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1229 def SetHeader(*args
, **kwargs
):
1230 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1231 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1233 def SetFooter(*args
, **kwargs
):
1234 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1235 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1237 def SetFonts(*args
, **kwargs
):
1238 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1239 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1241 def SetMargins(*args
, **kwargs
):
1243 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1244 float right=25.2, float spaces=5)
1246 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1248 def AddFilter(*args
, **kwargs
):
1249 """AddFilter(wxHtmlFilter filter)"""
1250 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1252 AddFilter
= staticmethod(AddFilter
)
1253 def CleanUpStatics(*args
, **kwargs
):
1254 """CleanUpStatics()"""
1255 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1257 CleanUpStatics
= staticmethod(CleanUpStatics
)
1259 class HtmlPrintoutPtr(HtmlPrintout
):
1260 def __init__(self
, this
):
1262 if not hasattr(self
,"thisown"): self
.thisown
= 0
1263 self
.__class
__ = HtmlPrintout
1264 _html
.HtmlPrintout_swigregister(HtmlPrintoutPtr
)
1266 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1267 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1268 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1270 def HtmlPrintout_CleanUpStatics(*args
, **kwargs
):
1271 """HtmlPrintout_CleanUpStatics()"""
1272 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1274 class HtmlEasyPrinting(_core
.Object
):
1276 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1277 def __init__(self
, *args
, **kwargs
):
1278 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1279 newobj
= _html
.new_HtmlEasyPrinting(*args
, **kwargs
)
1280 self
.this
= newobj
.this
1283 def __del__(self
, destroy
=_html
.delete_HtmlEasyPrinting
):
1286 if self
.thisown
: destroy(self
)
1289 def PreviewFile(*args
, **kwargs
):
1290 """PreviewFile(self, String htmlfile)"""
1291 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1293 def PreviewText(*args
, **kwargs
):
1294 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1295 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1297 def PrintFile(*args
, **kwargs
):
1298 """PrintFile(self, String htmlfile)"""
1299 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1301 def PrintText(*args
, **kwargs
):
1302 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1303 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1305 def PrinterSetup(*args
, **kwargs
):
1306 """PrinterSetup(self)"""
1307 return _html
.HtmlEasyPrinting_PrinterSetup(*args
, **kwargs
)
1309 def PageSetup(*args
, **kwargs
):
1310 """PageSetup(self)"""
1311 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1313 def SetHeader(*args
, **kwargs
):
1314 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1315 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1317 def SetFooter(*args
, **kwargs
):
1318 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1319 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1321 def SetFonts(*args
, **kwargs
):
1322 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1323 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1325 def GetPrintData(*args
, **kwargs
):
1326 """GetPrintData(self) -> PrintData"""
1327 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1329 def GetPageSetupData(*args
, **kwargs
):
1330 """GetPageSetupData(self) -> PageSetupDialogData"""
1331 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1334 class HtmlEasyPrintingPtr(HtmlEasyPrinting
):
1335 def __init__(self
, this
):
1337 if not hasattr(self
,"thisown"): self
.thisown
= 0
1338 self
.__class
__ = HtmlEasyPrinting
1339 _html
.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr
)
1341 #---------------------------------------------------------------------------
1343 class HtmlBookRecord(object):
1345 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1346 def __init__(self
, *args
, **kwargs
):
1347 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1348 newobj
= _html
.new_HtmlBookRecord(*args
, **kwargs
)
1349 self
.this
= newobj
.this
1352 def GetBookFile(*args
, **kwargs
):
1353 """GetBookFile(self) -> String"""
1354 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1356 def GetTitle(*args
, **kwargs
):
1357 """GetTitle(self) -> String"""
1358 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1360 def GetStart(*args
, **kwargs
):
1361 """GetStart(self) -> String"""
1362 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1364 def GetBasePath(*args
, **kwargs
):
1365 """GetBasePath(self) -> String"""
1366 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1368 def SetContentsRange(*args
, **kwargs
):
1369 """SetContentsRange(self, int start, int end)"""
1370 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1372 def GetContentsStart(*args
, **kwargs
):
1373 """GetContentsStart(self) -> int"""
1374 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1376 def GetContentsEnd(*args
, **kwargs
):
1377 """GetContentsEnd(self) -> int"""
1378 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1380 def SetTitle(*args
, **kwargs
):
1381 """SetTitle(self, String title)"""
1382 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1384 def SetBasePath(*args
, **kwargs
):
1385 """SetBasePath(self, String path)"""
1386 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1388 def SetStart(*args
, **kwargs
):
1389 """SetStart(self, String start)"""
1390 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1392 def GetFullPath(*args
, **kwargs
):
1393 """GetFullPath(self, String page) -> String"""
1394 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1397 class HtmlBookRecordPtr(HtmlBookRecord
):
1398 def __init__(self
, this
):
1400 if not hasattr(self
,"thisown"): self
.thisown
= 0
1401 self
.__class
__ = HtmlBookRecord
1402 _html
.HtmlBookRecord_swigregister(HtmlBookRecordPtr
)
1404 class HtmlContentsItem(object):
1405 def __init__(self
): raise RuntimeError, "No constructor defined"
1407 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1408 def GetLevel(*args
, **kwargs
):
1409 """GetLevel(self) -> int"""
1410 return _html
.HtmlContentsItem_GetLevel(*args
, **kwargs
)
1412 def GetID(*args
, **kwargs
):
1413 """GetID(self) -> int"""
1414 return _html
.HtmlContentsItem_GetID(*args
, **kwargs
)
1416 def GetName(*args
, **kwargs
):
1417 """GetName(self) -> String"""
1418 return _html
.HtmlContentsItem_GetName(*args
, **kwargs
)
1420 def GetPage(*args
, **kwargs
):
1421 """GetPage(self) -> String"""
1422 return _html
.HtmlContentsItem_GetPage(*args
, **kwargs
)
1424 def GetBook(*args
, **kwargs
):
1425 """GetBook(self) -> HtmlBookRecord"""
1426 return _html
.HtmlContentsItem_GetBook(*args
, **kwargs
)
1429 class HtmlContentsItemPtr(HtmlContentsItem
):
1430 def __init__(self
, this
):
1432 if not hasattr(self
,"thisown"): self
.thisown
= 0
1433 self
.__class
__ = HtmlContentsItem
1434 _html
.HtmlContentsItem_swigregister(HtmlContentsItemPtr
)
1436 class HtmlSearchStatus(object):
1437 def __init__(self
): raise RuntimeError, "No constructor defined"
1439 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1440 def Search(*args
, **kwargs
):
1441 """Search(self) -> bool"""
1442 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1444 def IsActive(*args
, **kwargs
):
1445 """IsActive(self) -> bool"""
1446 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1448 def GetCurIndex(*args
, **kwargs
):
1449 """GetCurIndex(self) -> int"""
1450 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1452 def GetMaxIndex(*args
, **kwargs
):
1453 """GetMaxIndex(self) -> int"""
1454 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1456 def GetName(*args
, **kwargs
):
1457 """GetName(self) -> String"""
1458 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1460 def GetContentsItem(*args
, **kwargs
):
1461 """GetContentsItem(self) -> HtmlContentsItem"""
1462 return _html
.HtmlSearchStatus_GetContentsItem(*args
, **kwargs
)
1465 class HtmlSearchStatusPtr(HtmlSearchStatus
):
1466 def __init__(self
, this
):
1468 if not hasattr(self
,"thisown"): self
.thisown
= 0
1469 self
.__class
__ = HtmlSearchStatus
1470 _html
.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr
)
1472 class HtmlHelpData(object):
1474 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1475 def __init__(self
, *args
, **kwargs
):
1476 """__init__(self) -> HtmlHelpData"""
1477 newobj
= _html
.new_HtmlHelpData(*args
, **kwargs
)
1478 self
.this
= newobj
.this
1481 def __del__(self
, destroy
=_html
.delete_HtmlHelpData
):
1484 if self
.thisown
: destroy(self
)
1487 def SetTempDir(*args
, **kwargs
):
1488 """SetTempDir(self, String path)"""
1489 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1491 def AddBook(*args
, **kwargs
):
1492 """AddBook(self, String book) -> bool"""
1493 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1495 def FindPageByName(*args
, **kwargs
):
1496 """FindPageByName(self, String page) -> String"""
1497 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1499 def FindPageById(*args
, **kwargs
):
1500 """FindPageById(self, int id) -> String"""
1501 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1503 def GetBookRecArray(*args
, **kwargs
):
1504 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1505 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1507 def GetContents(*args
, **kwargs
):
1508 """GetContents(self) -> HtmlContentsItem"""
1509 return _html
.HtmlHelpData_GetContents(*args
, **kwargs
)
1511 def GetContentsCnt(*args
, **kwargs
):
1512 """GetContentsCnt(self) -> int"""
1513 return _html
.HtmlHelpData_GetContentsCnt(*args
, **kwargs
)
1515 def GetIndex(*args
, **kwargs
):
1516 """GetIndex(self) -> HtmlContentsItem"""
1517 return _html
.HtmlHelpData_GetIndex(*args
, **kwargs
)
1519 def GetIndexCnt(*args
, **kwargs
):
1520 """GetIndexCnt(self) -> int"""
1521 return _html
.HtmlHelpData_GetIndexCnt(*args
, **kwargs
)
1524 class HtmlHelpDataPtr(HtmlHelpData
):
1525 def __init__(self
, this
):
1527 if not hasattr(self
,"thisown"): self
.thisown
= 0
1528 self
.__class
__ = HtmlHelpData
1529 _html
.HtmlHelpData_swigregister(HtmlHelpDataPtr
)
1531 class HtmlHelpFrame(_windows
.Frame
):
1533 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1534 def __init__(self
, *args
, **kwargs
):
1536 __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1537 HtmlHelpData data=None) -> HtmlHelpFrame
1539 newobj
= _html
.new_HtmlHelpFrame(*args
, **kwargs
)
1540 self
.this
= newobj
.this
1543 self
._setOORInfo
(self
)
1545 def GetData(*args
, **kwargs
):
1546 """GetData(self) -> HtmlHelpData"""
1547 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1549 def SetTitleFormat(*args
, **kwargs
):
1550 """SetTitleFormat(self, String format)"""
1551 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1553 def Display(*args
, **kwargs
):
1554 """Display(self, String x)"""
1555 return _html
.HtmlHelpFrame_Display(*args
, **kwargs
)
1557 def DisplayID(*args
, **kwargs
):
1558 """DisplayID(self, int id)"""
1559 return _html
.HtmlHelpFrame_DisplayID(*args
, **kwargs
)
1561 def DisplayContents(*args
, **kwargs
):
1562 """DisplayContents(self)"""
1563 return _html
.HtmlHelpFrame_DisplayContents(*args
, **kwargs
)
1565 def DisplayIndex(*args
, **kwargs
):
1566 """DisplayIndex(self)"""
1567 return _html
.HtmlHelpFrame_DisplayIndex(*args
, **kwargs
)
1569 def KeywordSearch(*args
, **kwargs
):
1570 """KeywordSearch(self, String keyword) -> bool"""
1571 return _html
.HtmlHelpFrame_KeywordSearch(*args
, **kwargs
)
1573 def UseConfig(*args
, **kwargs
):
1574 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1575 return _html
.HtmlHelpFrame_UseConfig(*args
, **kwargs
)
1577 def ReadCustomization(*args
, **kwargs
):
1578 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1579 return _html
.HtmlHelpFrame_ReadCustomization(*args
, **kwargs
)
1581 def WriteCustomization(*args
, **kwargs
):
1582 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1583 return _html
.HtmlHelpFrame_WriteCustomization(*args
, **kwargs
)
1586 class HtmlHelpFramePtr(HtmlHelpFrame
):
1587 def __init__(self
, this
):
1589 if not hasattr(self
,"thisown"): self
.thisown
= 0
1590 self
.__class
__ = HtmlHelpFrame
1591 _html
.HtmlHelpFrame_swigregister(HtmlHelpFramePtr
)
1593 HF_TOOLBAR
= _html
.HF_TOOLBAR
1594 HF_FLATTOOLBAR
= _html
.HF_FLATTOOLBAR
1595 HF_CONTENTS
= _html
.HF_CONTENTS
1596 HF_INDEX
= _html
.HF_INDEX
1597 HF_SEARCH
= _html
.HF_SEARCH
1598 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1599 HF_OPENFILES
= _html
.HF_OPENFILES
1600 HF_PRINT
= _html
.HF_PRINT
1601 HF_DEFAULTSTYLE
= _html
.HF_DEFAULTSTYLE
1602 class HtmlHelpController(_core
.EvtHandler
):
1604 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1605 def __init__(self
, *args
, **kwargs
):
1606 """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
1607 newobj
= _html
.new_HtmlHelpController(*args
, **kwargs
)
1608 self
.this
= newobj
.this
1611 self
._setOORInfo
(self
)
1613 def __del__(self
, destroy
=_html
.delete_HtmlHelpController
):
1616 if self
.thisown
: destroy(self
)
1619 def SetTitleFormat(*args
, **kwargs
):
1620 """SetTitleFormat(self, String format)"""
1621 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1623 def SetTempDir(*args
, **kwargs
):
1624 """SetTempDir(self, String path)"""
1625 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1627 def AddBook(*args
, **kwargs
):
1628 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1629 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1631 def Display(*args
, **kwargs
):
1632 """Display(self, String x)"""
1633 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1635 def DisplayID(*args
, **kwargs
):
1636 """DisplayID(self, int id)"""
1637 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1639 def DisplayContents(*args
, **kwargs
):
1640 """DisplayContents(self)"""
1641 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1643 def DisplayIndex(*args
, **kwargs
):
1644 """DisplayIndex(self)"""
1645 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1647 def KeywordSearch(*args
, **kwargs
):
1648 """KeywordSearch(self, String keyword) -> bool"""
1649 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1651 def UseConfig(*args
, **kwargs
):
1652 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1653 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1655 def ReadCustomization(*args
, **kwargs
):
1656 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1657 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1659 def WriteCustomization(*args
, **kwargs
):
1660 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1661 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1663 def GetFrame(*args
, **kwargs
):
1664 """GetFrame(self) -> HtmlHelpFrame"""
1665 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1668 class HtmlHelpControllerPtr(HtmlHelpController
):
1669 def __init__(self
, this
):
1671 if not hasattr(self
,"thisown"): self
.thisown
= 0
1672 self
.__class
__ = HtmlHelpController
1673 _html
.HtmlHelpController_swigregister(HtmlHelpControllerPtr
)