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 SetStandardFonts(*args
, **kwargs
):
231 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
232 return _html
.HtmlWinParser_SetStandardFonts(*args
, **kwargs
)
234 def GetContainer(*args
, **kwargs
):
235 """GetContainer(self) -> HtmlContainerCell"""
236 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
238 def OpenContainer(*args
, **kwargs
):
239 """OpenContainer(self) -> HtmlContainerCell"""
240 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
242 def SetContainer(*args
, **kwargs
):
243 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
244 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
246 def CloseContainer(*args
, **kwargs
):
247 """CloseContainer(self) -> HtmlContainerCell"""
248 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
250 def GetFontSize(*args
, **kwargs
):
251 """GetFontSize(self) -> int"""
252 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
254 def SetFontSize(*args
, **kwargs
):
255 """SetFontSize(self, int s)"""
256 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
258 def GetFontBold(*args
, **kwargs
):
259 """GetFontBold(self) -> int"""
260 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
262 def SetFontBold(*args
, **kwargs
):
263 """SetFontBold(self, int x)"""
264 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
266 def GetFontItalic(*args
, **kwargs
):
267 """GetFontItalic(self) -> int"""
268 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
270 def SetFontItalic(*args
, **kwargs
):
271 """SetFontItalic(self, int x)"""
272 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
274 def GetFontUnderlined(*args
, **kwargs
):
275 """GetFontUnderlined(self) -> int"""
276 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
278 def SetFontUnderlined(*args
, **kwargs
):
279 """SetFontUnderlined(self, int x)"""
280 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
282 def GetFontFixed(*args
, **kwargs
):
283 """GetFontFixed(self) -> int"""
284 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
286 def SetFontFixed(*args
, **kwargs
):
287 """SetFontFixed(self, int x)"""
288 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
290 def GetAlign(*args
, **kwargs
):
291 """GetAlign(self) -> int"""
292 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
294 def SetAlign(*args
, **kwargs
):
295 """SetAlign(self, int a)"""
296 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
298 def GetLinkColor(*args
, **kwargs
):
299 """GetLinkColor(self) -> Colour"""
300 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
302 def SetLinkColor(*args
, **kwargs
):
303 """SetLinkColor(self, Colour clr)"""
304 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
306 def GetActualColor(*args
, **kwargs
):
307 """GetActualColor(self) -> Colour"""
308 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
310 def SetActualColor(*args
, **kwargs
):
311 """SetActualColor(self, Colour clr)"""
312 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
314 def SetLink(*args
, **kwargs
):
315 """SetLink(self, String link)"""
316 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
318 def CreateCurrentFont(*args
, **kwargs
):
319 """CreateCurrentFont(self) -> Font"""
320 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
322 def GetLink(*args
, **kwargs
):
323 """GetLink(self) -> HtmlLinkInfo"""
324 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
327 class HtmlWinParserPtr(HtmlWinParser
):
328 def __init__(self
, this
):
330 if not hasattr(self
,"thisown"): self
.thisown
= 0
331 self
.__class
__ = HtmlWinParser
332 _html
.HtmlWinParser_swigregister(HtmlWinParserPtr
)
334 class HtmlTagHandler(_core
.Object
):
336 return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
337 def __init__(self
, *args
, **kwargs
):
338 """__init__(self) -> HtmlTagHandler"""
339 newobj
= _html
.new_HtmlTagHandler(*args
, **kwargs
)
340 self
.this
= newobj
.this
343 self
._setCallbackInfo
(self
, HtmlTagHandler
)
345 def _setCallbackInfo(*args
, **kwargs
):
346 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
347 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
349 def SetParser(*args
, **kwargs
):
350 """SetParser(self, HtmlParser parser)"""
351 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
353 def GetParser(*args
, **kwargs
):
354 """GetParser(self) -> HtmlParser"""
355 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
357 def ParseInner(*args
, **kwargs
):
358 """ParseInner(self, HtmlTag tag)"""
359 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
362 class HtmlTagHandlerPtr(HtmlTagHandler
):
363 def __init__(self
, this
):
365 if not hasattr(self
,"thisown"): self
.thisown
= 0
366 self
.__class
__ = HtmlTagHandler
367 _html
.HtmlTagHandler_swigregister(HtmlTagHandlerPtr
)
369 class HtmlWinTagHandler(HtmlTagHandler
):
371 return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
372 def __init__(self
, *args
, **kwargs
):
373 """__init__(self) -> HtmlWinTagHandler"""
374 newobj
= _html
.new_HtmlWinTagHandler(*args
, **kwargs
)
375 self
.this
= newobj
.this
378 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
380 def _setCallbackInfo(*args
, **kwargs
):
381 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
382 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
384 def SetParser(*args
, **kwargs
):
385 """SetParser(self, HtmlParser parser)"""
386 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
388 def GetParser(*args
, **kwargs
):
389 """GetParser(self) -> HtmlWinParser"""
390 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
392 def ParseInner(*args
, **kwargs
):
393 """ParseInner(self, HtmlTag tag)"""
394 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
397 class HtmlWinTagHandlerPtr(HtmlWinTagHandler
):
398 def __init__(self
, this
):
400 if not hasattr(self
,"thisown"): self
.thisown
= 0
401 self
.__class
__ = HtmlWinTagHandler
402 _html
.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr
)
405 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
406 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
407 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
408 #---------------------------------------------------------------------------
410 class HtmlSelection(object):
412 return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
413 def __init__(self
, *args
, **kwargs
):
414 """__init__(self) -> HtmlSelection"""
415 newobj
= _html
.new_HtmlSelection(*args
, **kwargs
)
416 self
.this
= newobj
.this
419 def __del__(self
, destroy
=_html
.delete_HtmlSelection
):
422 if self
.thisown
: destroy(self
)
425 def Set(*args
, **kwargs
):
426 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
427 return _html
.HtmlSelection_Set(*args
, **kwargs
)
429 def SetCells(*args
, **kwargs
):
430 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
431 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
433 def GetFromCell(*args
, **kwargs
):
434 """GetFromCell(self) -> HtmlCell"""
435 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
437 def GetToCell(*args
, **kwargs
):
438 """GetToCell(self) -> HtmlCell"""
439 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
441 def GetFromPos(*args
, **kwargs
):
442 """GetFromPos(self) -> Point"""
443 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
445 def GetToPos(*args
, **kwargs
):
446 """GetToPos(self) -> Point"""
447 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
449 def GetFromPrivPos(*args
, **kwargs
):
450 """GetFromPrivPos(self) -> Point"""
451 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
453 def GetToPrivPos(*args
, **kwargs
):
454 """GetToPrivPos(self) -> Point"""
455 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
457 def SetFromPrivPos(*args
, **kwargs
):
458 """SetFromPrivPos(self, Point pos)"""
459 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
461 def SetToPrivPos(*args
, **kwargs
):
462 """SetToPrivPos(self, Point pos)"""
463 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
465 def ClearPrivPos(*args
, **kwargs
):
466 """ClearPrivPos(self)"""
467 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
469 def IsEmpty(*args
, **kwargs
):
470 """IsEmpty(self) -> bool"""
471 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
474 class HtmlSelectionPtr(HtmlSelection
):
475 def __init__(self
, this
):
477 if not hasattr(self
,"thisown"): self
.thisown
= 0
478 self
.__class
__ = HtmlSelection
479 _html
.HtmlSelection_swigregister(HtmlSelectionPtr
)
481 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
482 HTML_SEL_IN
= _html
.HTML_SEL_IN
483 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
484 class HtmlRenderingState(object):
486 return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
487 def __init__(self
, *args
, **kwargs
):
488 """__init__(self) -> HtmlRenderingState"""
489 newobj
= _html
.new_HtmlRenderingState(*args
, **kwargs
)
490 self
.this
= newobj
.this
493 def __del__(self
, destroy
=_html
.delete_HtmlRenderingState
):
496 if self
.thisown
: destroy(self
)
499 def SetSelectionState(*args
, **kwargs
):
500 """SetSelectionState(self, int s)"""
501 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
503 def GetSelectionState(*args
, **kwargs
):
504 """GetSelectionState(self) -> int"""
505 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
507 def SetFgColour(*args
, **kwargs
):
508 """SetFgColour(self, Colour c)"""
509 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
511 def GetFgColour(*args
, **kwargs
):
512 """GetFgColour(self) -> Colour"""
513 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
515 def SetBgColour(*args
, **kwargs
):
516 """SetBgColour(self, Colour c)"""
517 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
519 def GetBgColour(*args
, **kwargs
):
520 """GetBgColour(self) -> Colour"""
521 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
524 class HtmlRenderingStatePtr(HtmlRenderingState
):
525 def __init__(self
, this
):
527 if not hasattr(self
,"thisown"): self
.thisown
= 0
528 self
.__class
__ = HtmlRenderingState
529 _html
.HtmlRenderingState_swigregister(HtmlRenderingStatePtr
)
531 class HtmlRenderingStyle(object):
532 def __init__(self
): raise RuntimeError, "No constructor defined"
534 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
535 def GetSelectedTextColour(*args
, **kwargs
):
536 """GetSelectedTextColour(self, Colour clr) -> Colour"""
537 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
539 def GetSelectedTextBgColour(*args
, **kwargs
):
540 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
541 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
544 class HtmlRenderingStylePtr(HtmlRenderingStyle
):
545 def __init__(self
, this
):
547 if not hasattr(self
,"thisown"): self
.thisown
= 0
548 self
.__class
__ = HtmlRenderingStyle
549 _html
.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr
)
551 class DefaultHtmlRenderingStyle(HtmlRenderingStyle
):
552 def __init__(self
): raise RuntimeError, "No constructor defined"
554 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
555 def GetSelectedTextColour(*args
, **kwargs
):
556 """GetSelectedTextColour(self, Colour clr) -> Colour"""
557 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
559 def GetSelectedTextBgColour(*args
, **kwargs
):
560 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
561 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
564 class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle
):
565 def __init__(self
, this
):
567 if not hasattr(self
,"thisown"): self
.thisown
= 0
568 self
.__class
__ = DefaultHtmlRenderingStyle
569 _html
.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr
)
571 class HtmlRenderingInfo(object):
573 return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
574 def __init__(self
, *args
, **kwargs
):
575 """__init__(self) -> HtmlRenderingInfo"""
576 newobj
= _html
.new_HtmlRenderingInfo(*args
, **kwargs
)
577 self
.this
= newobj
.this
580 def __del__(self
, destroy
=_html
.delete_HtmlRenderingInfo
):
583 if self
.thisown
: destroy(self
)
586 def SetSelection(*args
, **kwargs
):
587 """SetSelection(self, HtmlSelection s)"""
588 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
590 def GetSelection(*args
, **kwargs
):
591 """GetSelection(self) -> HtmlSelection"""
592 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
594 def SetStyle(*args
, **kwargs
):
595 """SetStyle(self, HtmlRenderingStyle style)"""
596 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
598 def GetStyle(*args
, **kwargs
):
599 """GetStyle(self) -> HtmlRenderingStyle"""
600 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
602 def GetState(*args
, **kwargs
):
603 """GetState(self) -> HtmlRenderingState"""
604 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
607 class HtmlRenderingInfoPtr(HtmlRenderingInfo
):
608 def __init__(self
, this
):
610 if not hasattr(self
,"thisown"): self
.thisown
= 0
611 self
.__class
__ = HtmlRenderingInfo
612 _html
.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr
)
614 #---------------------------------------------------------------------------
616 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
617 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
618 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
619 class HtmlCell(_core
.Object
):
621 return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
622 def __init__(self
, *args
, **kwargs
):
623 """__init__(self) -> HtmlCell"""
624 newobj
= _html
.new_HtmlCell(*args
, **kwargs
)
625 self
.this
= newobj
.this
628 def GetPosX(*args
, **kwargs
):
629 """GetPosX(self) -> int"""
630 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
632 def GetPosY(*args
, **kwargs
):
633 """GetPosY(self) -> int"""
634 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
636 def GetWidth(*args
, **kwargs
):
637 """GetWidth(self) -> int"""
638 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
640 def GetHeight(*args
, **kwargs
):
641 """GetHeight(self) -> int"""
642 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
644 def GetDescent(*args
, **kwargs
):
645 """GetDescent(self) -> int"""
646 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
648 def GetMaxTotalWidth(*args
, **kwargs
):
649 """GetMaxTotalWidth(self) -> int"""
650 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
652 def GetId(*args
, **kwargs
):
653 """GetId(self) -> String"""
654 return _html
.HtmlCell_GetId(*args
, **kwargs
)
656 def SetId(*args
, **kwargs
):
657 """SetId(self, String id)"""
658 return _html
.HtmlCell_SetId(*args
, **kwargs
)
660 def GetLink(*args
, **kwargs
):
661 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
662 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
664 def GetNext(*args
, **kwargs
):
665 """GetNext(self) -> HtmlCell"""
666 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
668 def GetParent(*args
, **kwargs
):
669 """GetParent(self) -> HtmlContainerCell"""
670 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
672 def GetFirstChild(*args
, **kwargs
):
673 """GetFirstChild(self) -> HtmlCell"""
674 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
676 def GetCursor(*args
, **kwargs
):
677 """GetCursor(self) -> Cursor"""
678 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
680 def IsFormattingCell(*args
, **kwargs
):
681 """IsFormattingCell(self) -> bool"""
682 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
684 def SetLink(*args
, **kwargs
):
685 """SetLink(self, HtmlLinkInfo link)"""
686 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
688 def SetNext(*args
, **kwargs
):
689 """SetNext(self, HtmlCell cell)"""
690 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
692 def SetParent(*args
, **kwargs
):
693 """SetParent(self, HtmlContainerCell p)"""
694 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
696 def SetPos(*args
, **kwargs
):
697 """SetPos(self, int x, int y)"""
698 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
700 def Layout(*args
, **kwargs
):
701 """Layout(self, int w)"""
702 return _html
.HtmlCell_Layout(*args
, **kwargs
)
704 def Draw(*args
, **kwargs
):
705 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
706 return _html
.HtmlCell_Draw(*args
, **kwargs
)
708 def DrawInvisible(*args
, **kwargs
):
709 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
710 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
712 def Find(*args
, **kwargs
):
713 """Find(self, int condition, void param) -> HtmlCell"""
714 return _html
.HtmlCell_Find(*args
, **kwargs
)
716 def AdjustPagebreak(*args
, **kwargs
):
717 """AdjustPagebreak(self, int INOUT) -> bool"""
718 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
720 def SetCanLiveOnPagebreak(*args
, **kwargs
):
721 """SetCanLiveOnPagebreak(self, bool can)"""
722 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
724 def IsLinebreakAllowed(*args
, **kwargs
):
725 """IsLinebreakAllowed(self) -> bool"""
726 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
728 def IsTerminalCell(*args
, **kwargs
):
729 """IsTerminalCell(self) -> bool"""
730 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
732 def FindCellByPos(*args
, **kwargs
):
733 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
734 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
736 def GetAbsPos(*args
, **kwargs
):
737 """GetAbsPos(self) -> Point"""
738 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
740 def GetFirstTerminal(*args
, **kwargs
):
741 """GetFirstTerminal(self) -> HtmlCell"""
742 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
744 def GetLastTerminal(*args
, **kwargs
):
745 """GetLastTerminal(self) -> HtmlCell"""
746 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
748 def GetDepth(*args
, **kwargs
):
749 """GetDepth(self) -> unsigned int"""
750 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
752 def IsBefore(*args
, **kwargs
):
753 """IsBefore(self, HtmlCell cell) -> bool"""
754 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
756 def ConvertToText(*args
, **kwargs
):
757 """ConvertToText(self, HtmlSelection sel) -> String"""
758 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
761 class HtmlCellPtr(HtmlCell
):
762 def __init__(self
, this
):
764 if not hasattr(self
,"thisown"): self
.thisown
= 0
765 self
.__class
__ = HtmlCell
766 _html
.HtmlCell_swigregister(HtmlCellPtr
)
768 class HtmlWordCell(HtmlCell
):
770 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
771 def __init__(self
, *args
, **kwargs
):
772 """__init__(self, String word, DC dc) -> HtmlWordCell"""
773 newobj
= _html
.new_HtmlWordCell(*args
, **kwargs
)
774 self
.this
= newobj
.this
778 class HtmlWordCellPtr(HtmlWordCell
):
779 def __init__(self
, this
):
781 if not hasattr(self
,"thisown"): self
.thisown
= 0
782 self
.__class
__ = HtmlWordCell
783 _html
.HtmlWordCell_swigregister(HtmlWordCellPtr
)
785 class HtmlContainerCell(HtmlCell
):
787 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
788 def __init__(self
, *args
, **kwargs
):
789 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
790 newobj
= _html
.new_HtmlContainerCell(*args
, **kwargs
)
791 self
.this
= newobj
.this
794 def InsertCell(*args
, **kwargs
):
795 """InsertCell(self, HtmlCell cell)"""
796 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
798 def SetAlignHor(*args
, **kwargs
):
799 """SetAlignHor(self, int al)"""
800 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
802 def GetAlignHor(*args
, **kwargs
):
803 """GetAlignHor(self) -> int"""
804 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
806 def SetAlignVer(*args
, **kwargs
):
807 """SetAlignVer(self, int al)"""
808 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
810 def GetAlignVer(*args
, **kwargs
):
811 """GetAlignVer(self) -> int"""
812 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
814 def SetIndent(*args
, **kwargs
):
815 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
816 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
818 def GetIndent(*args
, **kwargs
):
819 """GetIndent(self, int ind) -> int"""
820 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
822 def GetIndentUnits(*args
, **kwargs
):
823 """GetIndentUnits(self, int ind) -> int"""
824 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
826 def SetAlign(*args
, **kwargs
):
827 """SetAlign(self, HtmlTag tag)"""
828 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
830 def SetWidthFloat(*args
, **kwargs
):
831 """SetWidthFloat(self, int w, int units)"""
832 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
834 def SetWidthFloatFromTag(*args
, **kwargs
):
835 """SetWidthFloatFromTag(self, HtmlTag tag)"""
836 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
838 def SetMinHeight(*args
, **kwargs
):
839 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
840 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
842 def SetBackgroundColour(*args
, **kwargs
):
843 """SetBackgroundColour(self, Colour clr)"""
844 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
846 def GetBackgroundColour(*args
, **kwargs
):
847 """GetBackgroundColour(self) -> Colour"""
848 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
850 def SetBorder(*args
, **kwargs
):
851 """SetBorder(self, Colour clr1, Colour clr2)"""
852 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
854 def GetFirstChild(*args
, **kwargs
):
855 """GetFirstChild(self) -> HtmlCell"""
856 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
859 class HtmlContainerCellPtr(HtmlContainerCell
):
860 def __init__(self
, this
):
862 if not hasattr(self
,"thisown"): self
.thisown
= 0
863 self
.__class
__ = HtmlContainerCell
864 _html
.HtmlContainerCell_swigregister(HtmlContainerCellPtr
)
866 class HtmlColourCell(HtmlCell
):
868 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
869 def __init__(self
, *args
, **kwargs
):
870 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
871 newobj
= _html
.new_HtmlColourCell(*args
, **kwargs
)
872 self
.this
= newobj
.this
876 class HtmlColourCellPtr(HtmlColourCell
):
877 def __init__(self
, this
):
879 if not hasattr(self
,"thisown"): self
.thisown
= 0
880 self
.__class
__ = HtmlColourCell
881 _html
.HtmlColourCell_swigregister(HtmlColourCellPtr
)
883 class HtmlFontCell(HtmlCell
):
885 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
886 def __init__(self
, *args
, **kwargs
):
887 """__init__(self, Font font) -> HtmlFontCell"""
888 newobj
= _html
.new_HtmlFontCell(*args
, **kwargs
)
889 self
.this
= newobj
.this
893 class HtmlFontCellPtr(HtmlFontCell
):
894 def __init__(self
, this
):
896 if not hasattr(self
,"thisown"): self
.thisown
= 0
897 self
.__class
__ = HtmlFontCell
898 _html
.HtmlFontCell_swigregister(HtmlFontCellPtr
)
900 class HtmlWidgetCell(HtmlCell
):
902 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
903 def __init__(self
, *args
, **kwargs
):
904 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
905 newobj
= _html
.new_HtmlWidgetCell(*args
, **kwargs
)
906 self
.this
= newobj
.this
910 class HtmlWidgetCellPtr(HtmlWidgetCell
):
911 def __init__(self
, this
):
913 if not hasattr(self
,"thisown"): self
.thisown
= 0
914 self
.__class
__ = HtmlWidgetCell
915 _html
.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr
)
917 #---------------------------------------------------------------------------
919 class HtmlFilter(_core
.Object
):
921 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
922 def __init__(self
, *args
, **kwargs
):
923 """__init__(self) -> HtmlFilter"""
924 newobj
= _html
.new_HtmlFilter(*args
, **kwargs
)
925 self
.this
= newobj
.this
928 self
._setCallbackInfo
(self
, HtmlFilter
)
930 def _setCallbackInfo(*args
, **kwargs
):
931 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
932 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
935 class HtmlFilterPtr(HtmlFilter
):
936 def __init__(self
, this
):
938 if not hasattr(self
,"thisown"): self
.thisown
= 0
939 self
.__class
__ = HtmlFilter
940 _html
.HtmlFilter_swigregister(HtmlFilterPtr
)
942 #---------------------------------------------------------------------------
944 class HtmlWindow(_windows
.ScrolledWindow
):
946 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
947 def __init__(self
, *args
, **kwargs
):
949 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
950 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
951 String name=HtmlWindowNameStr) -> HtmlWindow
953 newobj
= _html
.new_HtmlWindow(*args
, **kwargs
)
954 self
.this
= newobj
.this
957 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
959 def Create(*args
, **kwargs
):
961 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
962 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
963 String name=HtmlWindowNameStr) -> bool
965 return _html
.HtmlWindow_Create(*args
, **kwargs
)
967 def _setCallbackInfo(*args
, **kwargs
):
968 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
969 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
971 def SetPage(*args
, **kwargs
):
972 """SetPage(self, String source) -> bool"""
973 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
975 def LoadPage(*args
, **kwargs
):
976 """LoadPage(self, String location) -> bool"""
977 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
979 def LoadFile(*args
, **kwargs
):
980 """LoadFile(self, String filename) -> bool"""
981 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
983 def AppendToPage(*args
, **kwargs
):
984 """AppendToPage(self, String source) -> bool"""
985 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
987 def GetOpenedPage(*args
, **kwargs
):
988 """GetOpenedPage(self) -> String"""
989 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
991 def GetOpenedAnchor(*args
, **kwargs
):
992 """GetOpenedAnchor(self) -> String"""
993 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
995 def GetOpenedPageTitle(*args
, **kwargs
):
996 """GetOpenedPageTitle(self) -> String"""
997 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
999 def SetRelatedFrame(*args
, **kwargs
):
1000 """SetRelatedFrame(self, Frame frame, String format)"""
1001 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
1003 def GetRelatedFrame(*args
, **kwargs
):
1004 """GetRelatedFrame(self) -> Frame"""
1005 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
1007 def SetRelatedStatusBar(*args
, **kwargs
):
1008 """SetRelatedStatusBar(self, int bar)"""
1009 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
1011 def SetFonts(*args
, **kwargs
):
1012 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1013 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
1015 def SetStandardFonts(*args
, **kwargs
):
1016 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1017 return _html
.HtmlWindow_SetStandardFonts(*args
, **kwargs
)
1019 def SetTitle(*args
, **kwargs
):
1020 """SetTitle(self, String title)"""
1021 return _html
.HtmlWindow_SetTitle(*args
, **kwargs
)
1023 def SetBorders(*args
, **kwargs
):
1024 """SetBorders(self, int b)"""
1025 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
1027 def ReadCustomization(*args
, **kwargs
):
1028 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1029 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1031 def WriteCustomization(*args
, **kwargs
):
1032 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1033 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1035 def HistoryBack(*args
, **kwargs
):
1036 """HistoryBack(self) -> bool"""
1037 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1039 def HistoryForward(*args
, **kwargs
):
1040 """HistoryForward(self) -> bool"""
1041 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1043 def HistoryCanBack(*args
, **kwargs
):
1044 """HistoryCanBack(self) -> bool"""
1045 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1047 def HistoryCanForward(*args
, **kwargs
):
1048 """HistoryCanForward(self) -> bool"""
1049 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1051 def HistoryClear(*args
, **kwargs
):
1052 """HistoryClear(self)"""
1053 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1055 def GetInternalRepresentation(*args
, **kwargs
):
1056 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1057 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1059 def GetParser(*args
, **kwargs
):
1060 """GetParser(self) -> HtmlWinParser"""
1061 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1063 def ScrollToAnchor(*args
, **kwargs
):
1064 """ScrollToAnchor(self, String anchor) -> bool"""
1065 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1067 def HasAnchor(*args
, **kwargs
):
1068 """HasAnchor(self, String anchor) -> bool"""
1069 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1071 def AddFilter(*args
, **kwargs
):
1072 """AddFilter(HtmlFilter filter)"""
1073 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1075 AddFilter
= staticmethod(AddFilter
)
1076 def SelectWord(*args
, **kwargs
):
1077 """SelectWord(self, Point pos)"""
1078 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1080 def SelectLine(*args
, **kwargs
):
1081 """SelectLine(self, Point pos)"""
1082 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1084 def SelectAll(*args
, **kwargs
):
1085 """SelectAll(self)"""
1086 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1088 def SelectionToText(*args
, **kwargs
):
1089 """SelectionToText(self) -> String"""
1090 return _html
.HtmlWindow_SelectionToText(*args
, **kwargs
)
1092 def ToText(*args
, **kwargs
):
1093 """ToText(self) -> String"""
1094 return _html
.HtmlWindow_ToText(*args
, **kwargs
)
1096 def base_OnLinkClicked(*args
, **kwargs
):
1097 """base_OnLinkClicked(self, HtmlLinkInfo link)"""
1098 return _html
.HtmlWindow_base_OnLinkClicked(*args
, **kwargs
)
1100 def base_OnSetTitle(*args
, **kwargs
):
1101 """base_OnSetTitle(self, String title)"""
1102 return _html
.HtmlWindow_base_OnSetTitle(*args
, **kwargs
)
1104 def base_OnCellMouseHover(*args
, **kwargs
):
1105 """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1106 return _html
.HtmlWindow_base_OnCellMouseHover(*args
, **kwargs
)
1108 def base_OnCellClicked(*args
, **kwargs
):
1109 """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
1110 return _html
.HtmlWindow_base_OnCellClicked(*args
, **kwargs
)
1112 def GetClassDefaultAttributes(*args
, **kwargs
):
1114 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1116 Get the default attributes for this class. This is useful if you want
1117 to use the same font or colour in your own control as in a standard
1118 control -- which is a much better idea than hard coding specific
1119 colours or fonts which might look completely out of place on the
1120 user's system, especially if it uses themes.
1122 The variant parameter is only relevant under Mac currently and is
1123 ignore under other platforms. Under Mac, it will change the size of
1124 the returned font. See `wx.Window.SetWindowVariant` for more about
1127 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1129 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1131 class HtmlWindowPtr(HtmlWindow
):
1132 def __init__(self
, this
):
1134 if not hasattr(self
,"thisown"): self
.thisown
= 0
1135 self
.__class
__ = HtmlWindow
1136 _html
.HtmlWindow_swigregister(HtmlWindowPtr
)
1138 def PreHtmlWindow(*args
, **kwargs
):
1139 """PreHtmlWindow() -> HtmlWindow"""
1140 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1144 def HtmlWindow_AddFilter(*args
, **kwargs
):
1145 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1146 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1148 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1150 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1152 Get the default attributes for this class. This is useful if you want
1153 to use the same font or colour in your own control as in a standard
1154 control -- which is a much better idea than hard coding specific
1155 colours or fonts which might look completely out of place on the
1156 user's system, especially if it uses themes.
1158 The variant parameter is only relevant under Mac currently and is
1159 ignore under other platforms. Under Mac, it will change the size of
1160 the returned font. See `wx.Window.SetWindowVariant` for more about
1163 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1165 #---------------------------------------------------------------------------
1167 class HtmlDCRenderer(_core
.Object
):
1169 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1170 def __init__(self
, *args
, **kwargs
):
1171 """__init__(self) -> HtmlDCRenderer"""
1172 newobj
= _html
.new_HtmlDCRenderer(*args
, **kwargs
)
1173 self
.this
= newobj
.this
1176 def __del__(self
, destroy
=_html
.delete_HtmlDCRenderer
):
1179 if self
.thisown
: destroy(self
)
1182 def SetDC(*args
, **kwargs
):
1183 """SetDC(self, DC dc, int maxwidth)"""
1184 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1186 def SetSize(*args
, **kwargs
):
1187 """SetSize(self, int width, int height)"""
1188 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1190 def SetHtmlText(*args
, **kwargs
):
1191 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1192 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1194 def SetFonts(*args
, **kwargs
):
1195 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1196 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1198 def SetStandardFonts(*args
, **kwargs
):
1199 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1200 return _html
.HtmlDCRenderer_SetStandardFonts(*args
, **kwargs
)
1202 def Render(*args
, **kwargs
):
1204 Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX,
1205 int choices=None, int LCOUNT=0) -> int
1207 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1209 def GetTotalHeight(*args
, **kwargs
):
1210 """GetTotalHeight(self) -> int"""
1211 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1214 class HtmlDCRendererPtr(HtmlDCRenderer
):
1215 def __init__(self
, this
):
1217 if not hasattr(self
,"thisown"): self
.thisown
= 0
1218 self
.__class
__ = HtmlDCRenderer
1219 _html
.HtmlDCRenderer_swigregister(HtmlDCRendererPtr
)
1221 PAGE_ODD
= _html
.PAGE_ODD
1222 PAGE_EVEN
= _html
.PAGE_EVEN
1223 PAGE_ALL
= _html
.PAGE_ALL
1224 class HtmlPrintout(_windows
.Printout
):
1226 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1227 def __init__(self
, *args
, **kwargs
):
1228 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1229 newobj
= _html
.new_HtmlPrintout(*args
, **kwargs
)
1230 self
.this
= newobj
.this
1233 def SetHtmlText(*args
, **kwargs
):
1234 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1235 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1237 def SetHtmlFile(*args
, **kwargs
):
1238 """SetHtmlFile(self, String htmlfile)"""
1239 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1241 def SetHeader(*args
, **kwargs
):
1242 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1243 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1245 def SetFooter(*args
, **kwargs
):
1246 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1247 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1249 def SetFonts(*args
, **kwargs
):
1250 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1251 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1253 def SetStandardFonts(*args
, **kwargs
):
1254 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1255 return _html
.HtmlPrintout_SetStandardFonts(*args
, **kwargs
)
1257 def SetMargins(*args
, **kwargs
):
1259 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1260 float right=25.2, float spaces=5)
1262 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1264 def AddFilter(*args
, **kwargs
):
1265 """AddFilter(wxHtmlFilter filter)"""
1266 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1268 AddFilter
= staticmethod(AddFilter
)
1269 def CleanUpStatics(*args
, **kwargs
):
1270 """CleanUpStatics()"""
1271 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1273 CleanUpStatics
= staticmethod(CleanUpStatics
)
1275 class HtmlPrintoutPtr(HtmlPrintout
):
1276 def __init__(self
, this
):
1278 if not hasattr(self
,"thisown"): self
.thisown
= 0
1279 self
.__class
__ = HtmlPrintout
1280 _html
.HtmlPrintout_swigregister(HtmlPrintoutPtr
)
1282 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1283 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1284 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1286 def HtmlPrintout_CleanUpStatics(*args
, **kwargs
):
1287 """HtmlPrintout_CleanUpStatics()"""
1288 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1290 class HtmlEasyPrinting(_core
.Object
):
1292 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1293 def __init__(self
, *args
, **kwargs
):
1294 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1295 newobj
= _html
.new_HtmlEasyPrinting(*args
, **kwargs
)
1296 self
.this
= newobj
.this
1299 def __del__(self
, destroy
=_html
.delete_HtmlEasyPrinting
):
1302 if self
.thisown
: destroy(self
)
1305 def PreviewFile(*args
, **kwargs
):
1306 """PreviewFile(self, String htmlfile)"""
1307 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1309 def PreviewText(*args
, **kwargs
):
1310 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1311 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1313 def PrintFile(*args
, **kwargs
):
1314 """PrintFile(self, String htmlfile)"""
1315 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1317 def PrintText(*args
, **kwargs
):
1318 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1319 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1321 def PageSetup(*args
, **kwargs
):
1322 """PageSetup(self)"""
1323 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1325 def SetHeader(*args
, **kwargs
):
1326 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1327 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1329 def SetFooter(*args
, **kwargs
):
1330 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1331 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1333 def SetFonts(*args
, **kwargs
):
1334 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1335 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1337 def SetStandardFonts(*args
, **kwargs
):
1338 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1339 return _html
.HtmlEasyPrinting_SetStandardFonts(*args
, **kwargs
)
1341 def GetPrintData(*args
, **kwargs
):
1342 """GetPrintData(self) -> PrintData"""
1343 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1345 def GetPageSetupData(*args
, **kwargs
):
1346 """GetPageSetupData(self) -> PageSetupDialogData"""
1347 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1350 class HtmlEasyPrintingPtr(HtmlEasyPrinting
):
1351 def __init__(self
, this
):
1353 if not hasattr(self
,"thisown"): self
.thisown
= 0
1354 self
.__class
__ = HtmlEasyPrinting
1355 _html
.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr
)
1357 #---------------------------------------------------------------------------
1359 class HtmlBookRecord(object):
1361 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1362 def __init__(self
, *args
, **kwargs
):
1363 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1364 newobj
= _html
.new_HtmlBookRecord(*args
, **kwargs
)
1365 self
.this
= newobj
.this
1368 def GetBookFile(*args
, **kwargs
):
1369 """GetBookFile(self) -> String"""
1370 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1372 def GetTitle(*args
, **kwargs
):
1373 """GetTitle(self) -> String"""
1374 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1376 def GetStart(*args
, **kwargs
):
1377 """GetStart(self) -> String"""
1378 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1380 def GetBasePath(*args
, **kwargs
):
1381 """GetBasePath(self) -> String"""
1382 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1384 def SetContentsRange(*args
, **kwargs
):
1385 """SetContentsRange(self, int start, int end)"""
1386 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1388 def GetContentsStart(*args
, **kwargs
):
1389 """GetContentsStart(self) -> int"""
1390 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1392 def GetContentsEnd(*args
, **kwargs
):
1393 """GetContentsEnd(self) -> int"""
1394 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1396 def SetTitle(*args
, **kwargs
):
1397 """SetTitle(self, String title)"""
1398 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1400 def SetBasePath(*args
, **kwargs
):
1401 """SetBasePath(self, String path)"""
1402 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1404 def SetStart(*args
, **kwargs
):
1405 """SetStart(self, String start)"""
1406 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1408 def GetFullPath(*args
, **kwargs
):
1409 """GetFullPath(self, String page) -> String"""
1410 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1413 class HtmlBookRecordPtr(HtmlBookRecord
):
1414 def __init__(self
, this
):
1416 if not hasattr(self
,"thisown"): self
.thisown
= 0
1417 self
.__class
__ = HtmlBookRecord
1418 _html
.HtmlBookRecord_swigregister(HtmlBookRecordPtr
)
1420 class HtmlContentsItem(object):
1421 def __init__(self
): raise RuntimeError, "No constructor defined"
1423 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1424 def GetLevel(*args
, **kwargs
):
1425 """GetLevel(self) -> int"""
1426 return _html
.HtmlContentsItem_GetLevel(*args
, **kwargs
)
1428 def GetID(*args
, **kwargs
):
1429 """GetID(self) -> int"""
1430 return _html
.HtmlContentsItem_GetID(*args
, **kwargs
)
1432 def GetName(*args
, **kwargs
):
1433 """GetName(self) -> String"""
1434 return _html
.HtmlContentsItem_GetName(*args
, **kwargs
)
1436 def GetPage(*args
, **kwargs
):
1437 """GetPage(self) -> String"""
1438 return _html
.HtmlContentsItem_GetPage(*args
, **kwargs
)
1440 def GetBook(*args
, **kwargs
):
1441 """GetBook(self) -> HtmlBookRecord"""
1442 return _html
.HtmlContentsItem_GetBook(*args
, **kwargs
)
1445 class HtmlContentsItemPtr(HtmlContentsItem
):
1446 def __init__(self
, this
):
1448 if not hasattr(self
,"thisown"): self
.thisown
= 0
1449 self
.__class
__ = HtmlContentsItem
1450 _html
.HtmlContentsItem_swigregister(HtmlContentsItemPtr
)
1452 class HtmlSearchStatus(object):
1453 def __init__(self
): raise RuntimeError, "No constructor defined"
1455 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1456 def Search(*args
, **kwargs
):
1457 """Search(self) -> bool"""
1458 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1460 def IsActive(*args
, **kwargs
):
1461 """IsActive(self) -> bool"""
1462 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1464 def GetCurIndex(*args
, **kwargs
):
1465 """GetCurIndex(self) -> int"""
1466 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1468 def GetMaxIndex(*args
, **kwargs
):
1469 """GetMaxIndex(self) -> int"""
1470 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1472 def GetName(*args
, **kwargs
):
1473 """GetName(self) -> String"""
1474 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1476 def GetContentsItem(*args
, **kwargs
):
1477 """GetContentsItem(self) -> HtmlContentsItem"""
1478 return _html
.HtmlSearchStatus_GetContentsItem(*args
, **kwargs
)
1481 class HtmlSearchStatusPtr(HtmlSearchStatus
):
1482 def __init__(self
, this
):
1484 if not hasattr(self
,"thisown"): self
.thisown
= 0
1485 self
.__class
__ = HtmlSearchStatus
1486 _html
.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr
)
1488 class HtmlHelpData(object):
1490 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1491 def __init__(self
, *args
, **kwargs
):
1492 """__init__(self) -> HtmlHelpData"""
1493 newobj
= _html
.new_HtmlHelpData(*args
, **kwargs
)
1494 self
.this
= newobj
.this
1497 def __del__(self
, destroy
=_html
.delete_HtmlHelpData
):
1500 if self
.thisown
: destroy(self
)
1503 def SetTempDir(*args
, **kwargs
):
1504 """SetTempDir(self, String path)"""
1505 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1507 def AddBook(*args
, **kwargs
):
1508 """AddBook(self, String book) -> bool"""
1509 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1511 def FindPageByName(*args
, **kwargs
):
1512 """FindPageByName(self, String page) -> String"""
1513 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1515 def FindPageById(*args
, **kwargs
):
1516 """FindPageById(self, int id) -> String"""
1517 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1519 def GetBookRecArray(*args
, **kwargs
):
1520 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1521 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1523 def GetContents(*args
, **kwargs
):
1524 """GetContents(self) -> HtmlContentsItem"""
1525 return _html
.HtmlHelpData_GetContents(*args
, **kwargs
)
1527 def GetContentsCnt(*args
, **kwargs
):
1528 """GetContentsCnt(self) -> int"""
1529 return _html
.HtmlHelpData_GetContentsCnt(*args
, **kwargs
)
1531 def GetIndex(*args
, **kwargs
):
1532 """GetIndex(self) -> HtmlContentsItem"""
1533 return _html
.HtmlHelpData_GetIndex(*args
, **kwargs
)
1535 def GetIndexCnt(*args
, **kwargs
):
1536 """GetIndexCnt(self) -> int"""
1537 return _html
.HtmlHelpData_GetIndexCnt(*args
, **kwargs
)
1540 class HtmlHelpDataPtr(HtmlHelpData
):
1541 def __init__(self
, this
):
1543 if not hasattr(self
,"thisown"): self
.thisown
= 0
1544 self
.__class
__ = HtmlHelpData
1545 _html
.HtmlHelpData_swigregister(HtmlHelpDataPtr
)
1547 class HtmlHelpFrame(_windows
.Frame
):
1549 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1550 def __init__(self
, *args
, **kwargs
):
1552 __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1553 HtmlHelpData data=None) -> HtmlHelpFrame
1555 newobj
= _html
.new_HtmlHelpFrame(*args
, **kwargs
)
1556 self
.this
= newobj
.this
1559 self
._setOORInfo
(self
)
1561 def GetData(*args
, **kwargs
):
1562 """GetData(self) -> HtmlHelpData"""
1563 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1565 def SetTitleFormat(*args
, **kwargs
):
1566 """SetTitleFormat(self, String format)"""
1567 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1569 def Display(*args
, **kwargs
):
1570 """Display(self, String x)"""
1571 return _html
.HtmlHelpFrame_Display(*args
, **kwargs
)
1573 def DisplayID(*args
, **kwargs
):
1574 """DisplayID(self, int id)"""
1575 return _html
.HtmlHelpFrame_DisplayID(*args
, **kwargs
)
1577 def DisplayContents(*args
, **kwargs
):
1578 """DisplayContents(self)"""
1579 return _html
.HtmlHelpFrame_DisplayContents(*args
, **kwargs
)
1581 def DisplayIndex(*args
, **kwargs
):
1582 """DisplayIndex(self)"""
1583 return _html
.HtmlHelpFrame_DisplayIndex(*args
, **kwargs
)
1585 def KeywordSearch(*args
, **kwargs
):
1586 """KeywordSearch(self, String keyword) -> bool"""
1587 return _html
.HtmlHelpFrame_KeywordSearch(*args
, **kwargs
)
1589 def UseConfig(*args
, **kwargs
):
1590 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1591 return _html
.HtmlHelpFrame_UseConfig(*args
, **kwargs
)
1593 def ReadCustomization(*args
, **kwargs
):
1594 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1595 return _html
.HtmlHelpFrame_ReadCustomization(*args
, **kwargs
)
1597 def WriteCustomization(*args
, **kwargs
):
1598 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1599 return _html
.HtmlHelpFrame_WriteCustomization(*args
, **kwargs
)
1602 class HtmlHelpFramePtr(HtmlHelpFrame
):
1603 def __init__(self
, this
):
1605 if not hasattr(self
,"thisown"): self
.thisown
= 0
1606 self
.__class
__ = HtmlHelpFrame
1607 _html
.HtmlHelpFrame_swigregister(HtmlHelpFramePtr
)
1609 HF_TOOLBAR
= _html
.HF_TOOLBAR
1610 HF_FLATTOOLBAR
= _html
.HF_FLATTOOLBAR
1611 HF_CONTENTS
= _html
.HF_CONTENTS
1612 HF_INDEX
= _html
.HF_INDEX
1613 HF_SEARCH
= _html
.HF_SEARCH
1614 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1615 HF_OPENFILES
= _html
.HF_OPENFILES
1616 HF_PRINT
= _html
.HF_PRINT
1617 HF_DEFAULTSTYLE
= _html
.HF_DEFAULTSTYLE
1618 class HtmlHelpController(_core
.Object
):
1620 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1621 def __init__(self
, *args
, **kwargs
):
1622 """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
1623 newobj
= _html
.new_HtmlHelpController(*args
, **kwargs
)
1624 self
.this
= newobj
.this
1627 def __del__(self
, destroy
=_html
.delete_HtmlHelpController
):
1630 if self
.thisown
: destroy(self
)
1633 def SetTitleFormat(*args
, **kwargs
):
1634 """SetTitleFormat(self, String format)"""
1635 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1637 def SetTempDir(*args
, **kwargs
):
1638 """SetTempDir(self, String path)"""
1639 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1641 def AddBook(*args
, **kwargs
):
1642 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1643 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1645 def Display(*args
, **kwargs
):
1646 """Display(self, String x)"""
1647 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1649 def DisplayID(*args
, **kwargs
):
1650 """DisplayID(self, int id)"""
1651 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1653 def DisplayContents(*args
, **kwargs
):
1654 """DisplayContents(self)"""
1655 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1657 def DisplayIndex(*args
, **kwargs
):
1658 """DisplayIndex(self)"""
1659 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1661 def KeywordSearch(*args
, **kwargs
):
1662 """KeywordSearch(self, String keyword) -> bool"""
1663 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1665 def UseConfig(*args
, **kwargs
):
1666 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1667 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1669 def ReadCustomization(*args
, **kwargs
):
1670 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1671 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1673 def WriteCustomization(*args
, **kwargs
):
1674 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1675 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1677 def GetFrame(*args
, **kwargs
):
1678 """GetFrame(self) -> HtmlHelpFrame"""
1679 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1682 class HtmlHelpControllerPtr(HtmlHelpController
):
1683 def __init__(self
, this
):
1685 if not hasattr(self
,"thisown"): self
.thisown
= 0
1686 self
.__class
__ = HtmlHelpController
1687 _html
.HtmlHelpController_swigregister(HtmlHelpControllerPtr
)