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.
10 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
12 if isinstance(value
, class_type
):
13 self
.__dict
__[name
] = value
.this
14 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
17 method
= class_type
.__swig
_setmethods
__.get(name
,None)
18 if method
: return method(self
,value
)
19 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
20 self
.__dict
__[name
] = value
22 raise AttributeError("You cannot add attributes to %s" % self
)
24 def _swig_setattr(self
,class_type
,name
,value
):
25 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
27 def _swig_getattr(self
,class_type
,name
):
28 method
= class_type
.__swig
_getmethods
__.get(name
,None)
29 if method
: return method(self
)
30 raise AttributeError,name
34 _object
= types
.ObjectType
36 except AttributeError:
42 def _swig_setattr_nondynamic_method(set):
43 def set_attr(self
,name
,value
):
44 if hasattr(self
,name
) or (name
in ("this", "thisown")):
47 raise AttributeError("You cannot add attributes to %s" % self
)
54 __docfilter__
= wx
.__DocFilter
(globals())
55 #---------------------------------------------------------------------------
57 HTML_ALIGN_LEFT
= _html
.HTML_ALIGN_LEFT
58 HTML_ALIGN_CENTER
= _html
.HTML_ALIGN_CENTER
59 HTML_ALIGN_RIGHT
= _html
.HTML_ALIGN_RIGHT
60 HTML_ALIGN_BOTTOM
= _html
.HTML_ALIGN_BOTTOM
61 HTML_ALIGN_TOP
= _html
.HTML_ALIGN_TOP
62 HTML_CLR_FOREGROUND
= _html
.HTML_CLR_FOREGROUND
63 HTML_CLR_BACKGROUND
= _html
.HTML_CLR_BACKGROUND
64 HTML_UNITS_PIXELS
= _html
.HTML_UNITS_PIXELS
65 HTML_UNITS_PERCENT
= _html
.HTML_UNITS_PERCENT
66 HTML_INDENT_LEFT
= _html
.HTML_INDENT_LEFT
67 HTML_INDENT_RIGHT
= _html
.HTML_INDENT_RIGHT
68 HTML_INDENT_TOP
= _html
.HTML_INDENT_TOP
69 HTML_INDENT_BOTTOM
= _html
.HTML_INDENT_BOTTOM
70 HTML_INDENT_HORIZONTAL
= _html
.HTML_INDENT_HORIZONTAL
71 HTML_INDENT_VERTICAL
= _html
.HTML_INDENT_VERTICAL
72 HTML_INDENT_ALL
= _html
.HTML_INDENT_ALL
73 HTML_COND_ISANCHOR
= _html
.HTML_COND_ISANCHOR
74 HTML_COND_ISIMAGEMAP
= _html
.HTML_COND_ISIMAGEMAP
75 HTML_COND_USER
= _html
.HTML_COND_USER
76 HTML_FONT_SIZE_1
= _html
.HTML_FONT_SIZE_1
77 HTML_FONT_SIZE_2
= _html
.HTML_FONT_SIZE_2
78 HTML_FONT_SIZE_3
= _html
.HTML_FONT_SIZE_3
79 HTML_FONT_SIZE_4
= _html
.HTML_FONT_SIZE_4
80 HTML_FONT_SIZE_5
= _html
.HTML_FONT_SIZE_5
81 HTML_FONT_SIZE_6
= _html
.HTML_FONT_SIZE_6
82 HTML_FONT_SIZE_7
= _html
.HTML_FONT_SIZE_7
83 HW_SCROLLBAR_NEVER
= _html
.HW_SCROLLBAR_NEVER
84 HW_SCROLLBAR_AUTO
= _html
.HW_SCROLLBAR_AUTO
85 HW_NO_SELECTION
= _html
.HW_NO_SELECTION
86 HW_DEFAULT_STYLE
= _html
.HW_DEFAULT_STYLE
87 HTML_OPEN
= _html
.HTML_OPEN
88 HTML_BLOCK
= _html
.HTML_BLOCK
89 HTML_REDIRECT
= _html
.HTML_REDIRECT
90 HTML_URL_PAGE
= _html
.HTML_URL_PAGE
91 HTML_URL_IMAGE
= _html
.HTML_URL_IMAGE
92 HTML_URL_OTHER
= _html
.HTML_URL_OTHER
93 class HtmlLinkInfo(_core
.Object
):
94 """Proxy of C++ HtmlLinkInfo class"""
96 return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
97 def __init__(self
, *args
, **kwargs
):
98 """__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo"""
99 newobj
= _html
.new_HtmlLinkInfo(*args
, **kwargs
)
100 self
.this
= newobj
.this
103 def GetHref(*args
, **kwargs
):
104 """GetHref(self) -> String"""
105 return _html
.HtmlLinkInfo_GetHref(*args
, **kwargs
)
107 def GetTarget(*args
, **kwargs
):
108 """GetTarget(self) -> String"""
109 return _html
.HtmlLinkInfo_GetTarget(*args
, **kwargs
)
111 def GetEvent(*args
, **kwargs
):
112 """GetEvent(self) -> MouseEvent"""
113 return _html
.HtmlLinkInfo_GetEvent(*args
, **kwargs
)
115 def GetHtmlCell(*args
, **kwargs
):
116 """GetHtmlCell(self) -> HtmlCell"""
117 return _html
.HtmlLinkInfo_GetHtmlCell(*args
, **kwargs
)
119 def SetEvent(*args
, **kwargs
):
120 """SetEvent(self, MouseEvent e)"""
121 return _html
.HtmlLinkInfo_SetEvent(*args
, **kwargs
)
123 def SetHtmlCell(*args
, **kwargs
):
124 """SetHtmlCell(self, HtmlCell e)"""
125 return _html
.HtmlLinkInfo_SetHtmlCell(*args
, **kwargs
)
128 class HtmlLinkInfoPtr(HtmlLinkInfo
):
129 def __init__(self
, this
):
131 if not hasattr(self
,"thisown"): self
.thisown
= 0
132 self
.__class
__ = HtmlLinkInfo
133 _html
.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr
)
135 HtmlWindowNameStr
= cvar
.HtmlWindowNameStr
136 HtmlPrintoutTitleStr
= cvar
.HtmlPrintoutTitleStr
137 HtmlPrintingTitleStr
= cvar
.HtmlPrintingTitleStr
139 class HtmlTag(_core
.Object
):
140 """Proxy of C++ HtmlTag class"""
141 def __init__(self
): raise RuntimeError, "No constructor defined"
143 return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
144 def GetName(*args
, **kwargs
):
145 """GetName(self) -> String"""
146 return _html
.HtmlTag_GetName(*args
, **kwargs
)
148 def HasParam(*args
, **kwargs
):
149 """HasParam(self, String par) -> bool"""
150 return _html
.HtmlTag_HasParam(*args
, **kwargs
)
152 def GetParam(*args
, **kwargs
):
153 """GetParam(self, String par, int with_commas=False) -> String"""
154 return _html
.HtmlTag_GetParam(*args
, **kwargs
)
156 def GetAllParams(*args
, **kwargs
):
157 """GetAllParams(self) -> String"""
158 return _html
.HtmlTag_GetAllParams(*args
, **kwargs
)
160 def HasEnding(*args
, **kwargs
):
161 """HasEnding(self) -> bool"""
162 return _html
.HtmlTag_HasEnding(*args
, **kwargs
)
164 def GetBeginPos(*args
, **kwargs
):
165 """GetBeginPos(self) -> int"""
166 return _html
.HtmlTag_GetBeginPos(*args
, **kwargs
)
168 def GetEndPos1(*args
, **kwargs
):
169 """GetEndPos1(self) -> int"""
170 return _html
.HtmlTag_GetEndPos1(*args
, **kwargs
)
172 def GetEndPos2(*args
, **kwargs
):
173 """GetEndPos2(self) -> int"""
174 return _html
.HtmlTag_GetEndPos2(*args
, **kwargs
)
177 class HtmlTagPtr(HtmlTag
):
178 def __init__(self
, this
):
180 if not hasattr(self
,"thisown"): self
.thisown
= 0
181 self
.__class
__ = HtmlTag
182 _html
.HtmlTag_swigregister(HtmlTagPtr
)
184 class HtmlParser(_core
.Object
):
185 """Proxy of C++ HtmlParser class"""
186 def __init__(self
): raise RuntimeError, "No constructor defined"
188 return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
189 def SetFS(*args
, **kwargs
):
190 """SetFS(self, FileSystem fs)"""
191 return _html
.HtmlParser_SetFS(*args
, **kwargs
)
193 def GetFS(*args
, **kwargs
):
194 """GetFS(self) -> FileSystem"""
195 return _html
.HtmlParser_GetFS(*args
, **kwargs
)
197 def Parse(*args
, **kwargs
):
198 """Parse(self, String source) -> Object"""
199 return _html
.HtmlParser_Parse(*args
, **kwargs
)
201 def InitParser(*args
, **kwargs
):
202 """InitParser(self, String source)"""
203 return _html
.HtmlParser_InitParser(*args
, **kwargs
)
205 def DoneParser(*args
, **kwargs
):
206 """DoneParser(self)"""
207 return _html
.HtmlParser_DoneParser(*args
, **kwargs
)
209 def DoParsing(*args
, **kwargs
):
210 """DoParsing(self, int begin_pos, int end_pos)"""
211 return _html
.HtmlParser_DoParsing(*args
, **kwargs
)
213 def StopParsing(*args
, **kwargs
):
214 """StopParsing(self)"""
215 return _html
.HtmlParser_StopParsing(*args
, **kwargs
)
217 def AddTagHandler(*args
, **kwargs
):
218 """AddTagHandler(self, HtmlTagHandler handler)"""
219 return _html
.HtmlParser_AddTagHandler(*args
, **kwargs
)
221 def GetSource(*args
, **kwargs
):
222 """GetSource(self) -> String"""
223 return _html
.HtmlParser_GetSource(*args
, **kwargs
)
225 def PushTagHandler(*args
, **kwargs
):
226 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
227 return _html
.HtmlParser_PushTagHandler(*args
, **kwargs
)
229 def PopTagHandler(*args
, **kwargs
):
230 """PopTagHandler(self)"""
231 return _html
.HtmlParser_PopTagHandler(*args
, **kwargs
)
234 class HtmlParserPtr(HtmlParser
):
235 def __init__(self
, this
):
237 if not hasattr(self
,"thisown"): self
.thisown
= 0
238 self
.__class
__ = HtmlParser
239 _html
.HtmlParser_swigregister(HtmlParserPtr
)
241 class HtmlWinParser(HtmlParser
):
242 """Proxy of C++ HtmlWinParser class"""
244 return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
245 def __init__(self
, *args
, **kwargs
):
246 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
247 newobj
= _html
.new_HtmlWinParser(*args
, **kwargs
)
248 self
.this
= newobj
.this
251 def SetDC(*args
, **kwargs
):
252 """SetDC(self, DC dc)"""
253 return _html
.HtmlWinParser_SetDC(*args
, **kwargs
)
255 def GetDC(*args
, **kwargs
):
256 """GetDC(self) -> DC"""
257 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
259 def GetCharHeight(*args
, **kwargs
):
260 """GetCharHeight(self) -> int"""
261 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
263 def GetCharWidth(*args
, **kwargs
):
264 """GetCharWidth(self) -> int"""
265 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
267 def GetWindow(*args
, **kwargs
):
268 """GetWindow(self) -> HtmlWindow"""
269 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
271 def SetFonts(*args
, **kwargs
):
272 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
273 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
275 def SetStandardFonts(*args
, **kwargs
):
276 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
277 return _html
.HtmlWinParser_SetStandardFonts(*args
, **kwargs
)
279 def GetContainer(*args
, **kwargs
):
280 """GetContainer(self) -> HtmlContainerCell"""
281 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
283 def OpenContainer(*args
, **kwargs
):
284 """OpenContainer(self) -> HtmlContainerCell"""
285 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
287 def SetContainer(*args
, **kwargs
):
288 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
289 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
291 def CloseContainer(*args
, **kwargs
):
292 """CloseContainer(self) -> HtmlContainerCell"""
293 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
295 def GetFontSize(*args
, **kwargs
):
296 """GetFontSize(self) -> int"""
297 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
299 def SetFontSize(*args
, **kwargs
):
300 """SetFontSize(self, int s)"""
301 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
303 def GetFontBold(*args
, **kwargs
):
304 """GetFontBold(self) -> int"""
305 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
307 def SetFontBold(*args
, **kwargs
):
308 """SetFontBold(self, int x)"""
309 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
311 def GetFontItalic(*args
, **kwargs
):
312 """GetFontItalic(self) -> int"""
313 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
315 def SetFontItalic(*args
, **kwargs
):
316 """SetFontItalic(self, int x)"""
317 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
319 def GetFontUnderlined(*args
, **kwargs
):
320 """GetFontUnderlined(self) -> int"""
321 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
323 def SetFontUnderlined(*args
, **kwargs
):
324 """SetFontUnderlined(self, int x)"""
325 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
327 def GetFontFixed(*args
, **kwargs
):
328 """GetFontFixed(self) -> int"""
329 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
331 def SetFontFixed(*args
, **kwargs
):
332 """SetFontFixed(self, int x)"""
333 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
335 def GetAlign(*args
, **kwargs
):
336 """GetAlign(self) -> int"""
337 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
339 def SetAlign(*args
, **kwargs
):
340 """SetAlign(self, int a)"""
341 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
343 def GetLinkColor(*args
, **kwargs
):
344 """GetLinkColor(self) -> Colour"""
345 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
347 def SetLinkColor(*args
, **kwargs
):
348 """SetLinkColor(self, Colour clr)"""
349 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
351 def GetActualColor(*args
, **kwargs
):
352 """GetActualColor(self) -> Colour"""
353 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
355 def SetActualColor(*args
, **kwargs
):
356 """SetActualColor(self, Colour clr)"""
357 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
359 GetActualColour
= GetActualColor
360 SetActualColour
= SetActualColor
362 def SetLink(*args
, **kwargs
):
363 """SetLink(self, String link)"""
364 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
366 def CreateCurrentFont(*args
, **kwargs
):
367 """CreateCurrentFont(self) -> Font"""
368 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
370 def GetLink(*args
, **kwargs
):
371 """GetLink(self) -> HtmlLinkInfo"""
372 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
375 class HtmlWinParserPtr(HtmlWinParser
):
376 def __init__(self
, this
):
378 if not hasattr(self
,"thisown"): self
.thisown
= 0
379 self
.__class
__ = HtmlWinParser
380 _html
.HtmlWinParser_swigregister(HtmlWinParserPtr
)
382 class HtmlTagHandler(_core
.Object
):
383 """Proxy of C++ HtmlTagHandler class"""
385 return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
386 def __init__(self
, *args
, **kwargs
):
387 """__init__(self) -> HtmlTagHandler"""
388 newobj
= _html
.new_HtmlTagHandler(*args
, **kwargs
)
389 self
.this
= newobj
.this
392 self
._setCallbackInfo
(self
, HtmlTagHandler
)
394 def _setCallbackInfo(*args
, **kwargs
):
395 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
396 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
398 def SetParser(*args
, **kwargs
):
399 """SetParser(self, HtmlParser parser)"""
400 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
402 def GetParser(*args
, **kwargs
):
403 """GetParser(self) -> HtmlParser"""
404 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
406 def ParseInner(*args
, **kwargs
):
407 """ParseInner(self, HtmlTag tag)"""
408 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
411 class HtmlTagHandlerPtr(HtmlTagHandler
):
412 def __init__(self
, this
):
414 if not hasattr(self
,"thisown"): self
.thisown
= 0
415 self
.__class
__ = HtmlTagHandler
416 _html
.HtmlTagHandler_swigregister(HtmlTagHandlerPtr
)
418 class HtmlWinTagHandler(HtmlTagHandler
):
419 """Proxy of C++ HtmlWinTagHandler class"""
421 return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
422 def __init__(self
, *args
, **kwargs
):
423 """__init__(self) -> HtmlWinTagHandler"""
424 newobj
= _html
.new_HtmlWinTagHandler(*args
, **kwargs
)
425 self
.this
= newobj
.this
428 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
430 def _setCallbackInfo(*args
, **kwargs
):
431 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
432 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
434 def SetParser(*args
, **kwargs
):
435 """SetParser(self, HtmlParser parser)"""
436 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
438 def GetParser(*args
, **kwargs
):
439 """GetParser(self) -> HtmlWinParser"""
440 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
442 def ParseInner(*args
, **kwargs
):
443 """ParseInner(self, HtmlTag tag)"""
444 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
447 class HtmlWinTagHandlerPtr(HtmlWinTagHandler
):
448 def __init__(self
, this
):
450 if not hasattr(self
,"thisown"): self
.thisown
= 0
451 self
.__class
__ = HtmlWinTagHandler
452 _html
.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr
)
455 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
456 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
457 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
458 #---------------------------------------------------------------------------
460 class HtmlSelection(object):
461 """Proxy of C++ HtmlSelection class"""
463 return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
464 def __init__(self
, *args
, **kwargs
):
465 """__init__(self) -> HtmlSelection"""
466 newobj
= _html
.new_HtmlSelection(*args
, **kwargs
)
467 self
.this
= newobj
.this
470 def __del__(self
, destroy
=_html
.delete_HtmlSelection
):
473 if self
.thisown
: destroy(self
)
476 def Set(*args
, **kwargs
):
477 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
478 return _html
.HtmlSelection_Set(*args
, **kwargs
)
480 def SetCells(*args
, **kwargs
):
481 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
482 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
484 def GetFromCell(*args
, **kwargs
):
485 """GetFromCell(self) -> HtmlCell"""
486 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
488 def GetToCell(*args
, **kwargs
):
489 """GetToCell(self) -> HtmlCell"""
490 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
492 def GetFromPos(*args
, **kwargs
):
493 """GetFromPos(self) -> Point"""
494 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
496 def GetToPos(*args
, **kwargs
):
497 """GetToPos(self) -> Point"""
498 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
500 def GetFromPrivPos(*args
, **kwargs
):
501 """GetFromPrivPos(self) -> Point"""
502 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
504 def GetToPrivPos(*args
, **kwargs
):
505 """GetToPrivPos(self) -> Point"""
506 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
508 def SetFromPrivPos(*args
, **kwargs
):
509 """SetFromPrivPos(self, Point pos)"""
510 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
512 def SetToPrivPos(*args
, **kwargs
):
513 """SetToPrivPos(self, Point pos)"""
514 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
516 def ClearPrivPos(*args
, **kwargs
):
517 """ClearPrivPos(self)"""
518 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
520 def IsEmpty(*args
, **kwargs
):
521 """IsEmpty(self) -> bool"""
522 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
525 class HtmlSelectionPtr(HtmlSelection
):
526 def __init__(self
, this
):
528 if not hasattr(self
,"thisown"): self
.thisown
= 0
529 self
.__class
__ = HtmlSelection
530 _html
.HtmlSelection_swigregister(HtmlSelectionPtr
)
532 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
533 HTML_SEL_IN
= _html
.HTML_SEL_IN
534 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
535 class HtmlRenderingState(object):
536 """Proxy of C++ HtmlRenderingState class"""
538 return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
539 def __init__(self
, *args
, **kwargs
):
540 """__init__(self) -> HtmlRenderingState"""
541 newobj
= _html
.new_HtmlRenderingState(*args
, **kwargs
)
542 self
.this
= newobj
.this
545 def __del__(self
, destroy
=_html
.delete_HtmlRenderingState
):
548 if self
.thisown
: destroy(self
)
551 def SetSelectionState(*args
, **kwargs
):
552 """SetSelectionState(self, int s)"""
553 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
555 def GetSelectionState(*args
, **kwargs
):
556 """GetSelectionState(self) -> int"""
557 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
559 def SetFgColour(*args
, **kwargs
):
560 """SetFgColour(self, Colour c)"""
561 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
563 def GetFgColour(*args
, **kwargs
):
564 """GetFgColour(self) -> Colour"""
565 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
567 def SetBgColour(*args
, **kwargs
):
568 """SetBgColour(self, Colour c)"""
569 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
571 def GetBgColour(*args
, **kwargs
):
572 """GetBgColour(self) -> Colour"""
573 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
576 class HtmlRenderingStatePtr(HtmlRenderingState
):
577 def __init__(self
, this
):
579 if not hasattr(self
,"thisown"): self
.thisown
= 0
580 self
.__class
__ = HtmlRenderingState
581 _html
.HtmlRenderingState_swigregister(HtmlRenderingStatePtr
)
583 class HtmlRenderingStyle(object):
584 """Proxy of C++ HtmlRenderingStyle class"""
585 def __init__(self
): raise RuntimeError, "No constructor defined"
587 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
588 def GetSelectedTextColour(*args
, **kwargs
):
589 """GetSelectedTextColour(self, Colour clr) -> Colour"""
590 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
592 def GetSelectedTextBgColour(*args
, **kwargs
):
593 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
594 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
597 class HtmlRenderingStylePtr(HtmlRenderingStyle
):
598 def __init__(self
, this
):
600 if not hasattr(self
,"thisown"): self
.thisown
= 0
601 self
.__class
__ = HtmlRenderingStyle
602 _html
.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr
)
604 class DefaultHtmlRenderingStyle(HtmlRenderingStyle
):
605 """Proxy of C++ DefaultHtmlRenderingStyle class"""
606 def __init__(self
): raise RuntimeError, "No constructor defined"
608 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
609 def GetSelectedTextColour(*args
, **kwargs
):
610 """GetSelectedTextColour(self, Colour clr) -> Colour"""
611 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
613 def GetSelectedTextBgColour(*args
, **kwargs
):
614 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
615 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
618 class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle
):
619 def __init__(self
, this
):
621 if not hasattr(self
,"thisown"): self
.thisown
= 0
622 self
.__class
__ = DefaultHtmlRenderingStyle
623 _html
.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr
)
625 class HtmlRenderingInfo(object):
626 """Proxy of C++ HtmlRenderingInfo class"""
628 return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
629 def __init__(self
, *args
, **kwargs
):
630 """__init__(self) -> HtmlRenderingInfo"""
631 newobj
= _html
.new_HtmlRenderingInfo(*args
, **kwargs
)
632 self
.this
= newobj
.this
635 def __del__(self
, destroy
=_html
.delete_HtmlRenderingInfo
):
638 if self
.thisown
: destroy(self
)
641 def SetSelection(*args
, **kwargs
):
642 """SetSelection(self, HtmlSelection s)"""
643 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
645 def GetSelection(*args
, **kwargs
):
646 """GetSelection(self) -> HtmlSelection"""
647 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
649 def SetStyle(*args
, **kwargs
):
650 """SetStyle(self, HtmlRenderingStyle style)"""
651 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
653 def GetStyle(*args
, **kwargs
):
654 """GetStyle(self) -> HtmlRenderingStyle"""
655 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
657 def GetState(*args
, **kwargs
):
658 """GetState(self) -> HtmlRenderingState"""
659 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
662 class HtmlRenderingInfoPtr(HtmlRenderingInfo
):
663 def __init__(self
, this
):
665 if not hasattr(self
,"thisown"): self
.thisown
= 0
666 self
.__class
__ = HtmlRenderingInfo
667 _html
.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr
)
669 #---------------------------------------------------------------------------
671 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
672 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
673 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
674 class HtmlCell(_core
.Object
):
675 """Proxy of C++ HtmlCell class"""
677 return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
678 def __init__(self
, *args
, **kwargs
):
679 """__init__(self) -> HtmlCell"""
680 newobj
= _html
.new_HtmlCell(*args
, **kwargs
)
681 self
.this
= newobj
.this
684 def GetPosX(*args
, **kwargs
):
685 """GetPosX(self) -> int"""
686 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
688 def GetPosY(*args
, **kwargs
):
689 """GetPosY(self) -> int"""
690 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
692 def GetWidth(*args
, **kwargs
):
693 """GetWidth(self) -> int"""
694 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
696 def GetHeight(*args
, **kwargs
):
697 """GetHeight(self) -> int"""
698 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
700 def GetDescent(*args
, **kwargs
):
701 """GetDescent(self) -> int"""
702 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
704 def GetMaxTotalWidth(*args
, **kwargs
):
705 """GetMaxTotalWidth(self) -> int"""
706 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
708 def GetId(*args
, **kwargs
):
709 """GetId(self) -> String"""
710 return _html
.HtmlCell_GetId(*args
, **kwargs
)
712 def SetId(*args
, **kwargs
):
713 """SetId(self, String id)"""
714 return _html
.HtmlCell_SetId(*args
, **kwargs
)
716 def GetLink(*args
, **kwargs
):
717 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
718 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
720 def GetNext(*args
, **kwargs
):
721 """GetNext(self) -> HtmlCell"""
722 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
724 def GetParent(*args
, **kwargs
):
725 """GetParent(self) -> HtmlContainerCell"""
726 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
728 def GetFirstChild(*args
, **kwargs
):
729 """GetFirstChild(self) -> HtmlCell"""
730 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
732 def GetCursor(*args
, **kwargs
):
733 """GetCursor(self) -> Cursor"""
734 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
736 def IsFormattingCell(*args
, **kwargs
):
737 """IsFormattingCell(self) -> bool"""
738 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
740 def SetLink(*args
, **kwargs
):
741 """SetLink(self, HtmlLinkInfo link)"""
742 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
744 def SetNext(*args
, **kwargs
):
745 """SetNext(self, HtmlCell cell)"""
746 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
748 def SetParent(*args
, **kwargs
):
749 """SetParent(self, HtmlContainerCell p)"""
750 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
752 def SetPos(*args
, **kwargs
):
753 """SetPos(self, int x, int y)"""
754 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
756 def Layout(*args
, **kwargs
):
757 """Layout(self, int w)"""
758 return _html
.HtmlCell_Layout(*args
, **kwargs
)
760 def Draw(*args
, **kwargs
):
761 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
762 return _html
.HtmlCell_Draw(*args
, **kwargs
)
764 def DrawInvisible(*args
, **kwargs
):
765 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
766 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
768 def Find(*args
, **kwargs
):
769 """Find(self, int condition, void param) -> HtmlCell"""
770 return _html
.HtmlCell_Find(*args
, **kwargs
)
772 def AdjustPagebreak(*args
, **kwargs
):
773 """AdjustPagebreak(self, int INOUT) -> bool"""
774 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
776 def SetCanLiveOnPagebreak(*args
, **kwargs
):
777 """SetCanLiveOnPagebreak(self, bool can)"""
778 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
780 def IsLinebreakAllowed(*args
, **kwargs
):
781 """IsLinebreakAllowed(self) -> bool"""
782 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
784 def IsTerminalCell(*args
, **kwargs
):
785 """IsTerminalCell(self) -> bool"""
786 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
788 def FindCellByPos(*args
, **kwargs
):
789 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
790 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
792 def GetAbsPos(*args
, **kwargs
):
793 """GetAbsPos(self) -> Point"""
794 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
796 def GetFirstTerminal(*args
, **kwargs
):
797 """GetFirstTerminal(self) -> HtmlCell"""
798 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
800 def GetLastTerminal(*args
, **kwargs
):
801 """GetLastTerminal(self) -> HtmlCell"""
802 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
804 def GetDepth(*args
, **kwargs
):
805 """GetDepth(self) -> unsigned int"""
806 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
808 def IsBefore(*args
, **kwargs
):
809 """IsBefore(self, HtmlCell cell) -> bool"""
810 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
812 def ConvertToText(*args
, **kwargs
):
813 """ConvertToText(self, HtmlSelection sel) -> String"""
814 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
817 class HtmlCellPtr(HtmlCell
):
818 def __init__(self
, this
):
820 if not hasattr(self
,"thisown"): self
.thisown
= 0
821 self
.__class
__ = HtmlCell
822 _html
.HtmlCell_swigregister(HtmlCellPtr
)
824 class HtmlWordCell(HtmlCell
):
825 """Proxy of C++ HtmlWordCell class"""
827 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
828 def __init__(self
, *args
, **kwargs
):
829 """__init__(self, String word, DC dc) -> HtmlWordCell"""
830 newobj
= _html
.new_HtmlWordCell(*args
, **kwargs
)
831 self
.this
= newobj
.this
835 class HtmlWordCellPtr(HtmlWordCell
):
836 def __init__(self
, this
):
838 if not hasattr(self
,"thisown"): self
.thisown
= 0
839 self
.__class
__ = HtmlWordCell
840 _html
.HtmlWordCell_swigregister(HtmlWordCellPtr
)
842 class HtmlContainerCell(HtmlCell
):
843 """Proxy of C++ HtmlContainerCell class"""
845 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
846 def __init__(self
, *args
, **kwargs
):
847 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
848 newobj
= _html
.new_HtmlContainerCell(*args
, **kwargs
)
849 self
.this
= newobj
.this
852 def InsertCell(*args
, **kwargs
):
853 """InsertCell(self, HtmlCell cell)"""
854 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
856 def SetAlignHor(*args
, **kwargs
):
857 """SetAlignHor(self, int al)"""
858 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
860 def GetAlignHor(*args
, **kwargs
):
861 """GetAlignHor(self) -> int"""
862 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
864 def SetAlignVer(*args
, **kwargs
):
865 """SetAlignVer(self, int al)"""
866 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
868 def GetAlignVer(*args
, **kwargs
):
869 """GetAlignVer(self) -> int"""
870 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
872 def SetIndent(*args
, **kwargs
):
873 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
874 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
876 def GetIndent(*args
, **kwargs
):
877 """GetIndent(self, int ind) -> int"""
878 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
880 def GetIndentUnits(*args
, **kwargs
):
881 """GetIndentUnits(self, int ind) -> int"""
882 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
884 def SetAlign(*args
, **kwargs
):
885 """SetAlign(self, HtmlTag tag)"""
886 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
888 def SetWidthFloat(*args
, **kwargs
):
889 """SetWidthFloat(self, int w, int units)"""
890 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
892 def SetWidthFloatFromTag(*args
, **kwargs
):
893 """SetWidthFloatFromTag(self, HtmlTag tag)"""
894 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
896 def SetMinHeight(*args
, **kwargs
):
897 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
898 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
900 def SetBackgroundColour(*args
, **kwargs
):
901 """SetBackgroundColour(self, Colour clr)"""
902 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
904 def GetBackgroundColour(*args
, **kwargs
):
905 """GetBackgroundColour(self) -> Colour"""
906 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
908 def SetBorder(*args
, **kwargs
):
909 """SetBorder(self, Colour clr1, Colour clr2)"""
910 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
912 def GetFirstChild(*args
, **kwargs
):
913 """GetFirstChild(self) -> HtmlCell"""
914 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
917 class HtmlContainerCellPtr(HtmlContainerCell
):
918 def __init__(self
, this
):
920 if not hasattr(self
,"thisown"): self
.thisown
= 0
921 self
.__class
__ = HtmlContainerCell
922 _html
.HtmlContainerCell_swigregister(HtmlContainerCellPtr
)
924 class HtmlColourCell(HtmlCell
):
925 """Proxy of C++ HtmlColourCell class"""
927 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
928 def __init__(self
, *args
, **kwargs
):
929 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
930 newobj
= _html
.new_HtmlColourCell(*args
, **kwargs
)
931 self
.this
= newobj
.this
935 class HtmlColourCellPtr(HtmlColourCell
):
936 def __init__(self
, this
):
938 if not hasattr(self
,"thisown"): self
.thisown
= 0
939 self
.__class
__ = HtmlColourCell
940 _html
.HtmlColourCell_swigregister(HtmlColourCellPtr
)
942 class HtmlFontCell(HtmlCell
):
943 """Proxy of C++ HtmlFontCell class"""
945 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
946 def __init__(self
, *args
, **kwargs
):
947 """__init__(self, Font font) -> HtmlFontCell"""
948 newobj
= _html
.new_HtmlFontCell(*args
, **kwargs
)
949 self
.this
= newobj
.this
953 class HtmlFontCellPtr(HtmlFontCell
):
954 def __init__(self
, this
):
956 if not hasattr(self
,"thisown"): self
.thisown
= 0
957 self
.__class
__ = HtmlFontCell
958 _html
.HtmlFontCell_swigregister(HtmlFontCellPtr
)
960 class HtmlWidgetCell(HtmlCell
):
961 """Proxy of C++ HtmlWidgetCell class"""
963 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
964 def __init__(self
, *args
, **kwargs
):
965 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
966 newobj
= _html
.new_HtmlWidgetCell(*args
, **kwargs
)
967 self
.this
= newobj
.this
971 class HtmlWidgetCellPtr(HtmlWidgetCell
):
972 def __init__(self
, this
):
974 if not hasattr(self
,"thisown"): self
.thisown
= 0
975 self
.__class
__ = HtmlWidgetCell
976 _html
.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr
)
978 #---------------------------------------------------------------------------
980 class HtmlFilter(_core
.Object
):
981 """Proxy of C++ HtmlFilter class"""
983 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
984 def __init__(self
, *args
, **kwargs
):
985 """__init__(self) -> HtmlFilter"""
986 newobj
= _html
.new_HtmlFilter(*args
, **kwargs
)
987 self
.this
= newobj
.this
990 self
._setCallbackInfo
(self
, HtmlFilter
)
992 def _setCallbackInfo(*args
, **kwargs
):
993 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
994 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
997 class HtmlFilterPtr(HtmlFilter
):
998 def __init__(self
, this
):
1000 if not hasattr(self
,"thisown"): self
.thisown
= 0
1001 self
.__class
__ = HtmlFilter
1002 _html
.HtmlFilter_swigregister(HtmlFilterPtr
)
1004 #---------------------------------------------------------------------------
1006 class HtmlWindow(_windows
.ScrolledWindow
):
1007 """Proxy of C++ HtmlWindow class"""
1009 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1010 def __init__(self
, *args
, **kwargs
):
1012 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1013 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
1014 String name=HtmlWindowNameStr) -> HtmlWindow
1016 newobj
= _html
.new_HtmlWindow(*args
, **kwargs
)
1017 self
.this
= newobj
.this
1020 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
1022 def Create(*args
, **kwargs
):
1024 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1025 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
1026 String name=HtmlWindowNameStr) -> bool
1028 return _html
.HtmlWindow_Create(*args
, **kwargs
)
1030 def _setCallbackInfo(*args
, **kwargs
):
1031 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1032 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
1034 def SetPage(*args
, **kwargs
):
1035 """SetPage(self, String source) -> bool"""
1036 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
1038 def LoadPage(*args
, **kwargs
):
1039 """LoadPage(self, String location) -> bool"""
1040 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
1042 def LoadFile(*args
, **kwargs
):
1043 """LoadFile(self, String filename) -> bool"""
1044 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
1046 def AppendToPage(*args
, **kwargs
):
1047 """AppendToPage(self, String source) -> bool"""
1048 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
1050 def GetOpenedPage(*args
, **kwargs
):
1051 """GetOpenedPage(self) -> String"""
1052 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
1054 def GetOpenedAnchor(*args
, **kwargs
):
1055 """GetOpenedAnchor(self) -> String"""
1056 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
1058 def GetOpenedPageTitle(*args
, **kwargs
):
1059 """GetOpenedPageTitle(self) -> String"""
1060 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
1062 def SetRelatedFrame(*args
, **kwargs
):
1063 """SetRelatedFrame(self, Frame frame, String format)"""
1064 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
1066 def GetRelatedFrame(*args
, **kwargs
):
1067 """GetRelatedFrame(self) -> Frame"""
1068 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
1070 def SetRelatedStatusBar(*args
, **kwargs
):
1071 """SetRelatedStatusBar(self, int bar)"""
1072 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
1074 def SetFonts(*args
, **kwargs
):
1075 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1076 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
1078 def SetStandardFonts(*args
, **kwargs
):
1079 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1080 return _html
.HtmlWindow_SetStandardFonts(*args
, **kwargs
)
1082 def SetTitle(*args
, **kwargs
):
1083 """SetTitle(self, String title)"""
1084 return _html
.HtmlWindow_SetTitle(*args
, **kwargs
)
1086 def SetBorders(*args
, **kwargs
):
1087 """SetBorders(self, int b)"""
1088 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
1090 def SetBackgroundImage(*args
, **kwargs
):
1091 """SetBackgroundImage(self, Bitmap bmpBg)"""
1092 return _html
.HtmlWindow_SetBackgroundImage(*args
, **kwargs
)
1094 def ReadCustomization(*args
, **kwargs
):
1095 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1096 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1098 def WriteCustomization(*args
, **kwargs
):
1099 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1100 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1102 def HistoryBack(*args
, **kwargs
):
1103 """HistoryBack(self) -> bool"""
1104 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1106 def HistoryForward(*args
, **kwargs
):
1107 """HistoryForward(self) -> bool"""
1108 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1110 def HistoryCanBack(*args
, **kwargs
):
1111 """HistoryCanBack(self) -> bool"""
1112 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1114 def HistoryCanForward(*args
, **kwargs
):
1115 """HistoryCanForward(self) -> bool"""
1116 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1118 def HistoryClear(*args
, **kwargs
):
1119 """HistoryClear(self)"""
1120 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1122 def GetInternalRepresentation(*args
, **kwargs
):
1123 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1124 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1126 def GetParser(*args
, **kwargs
):
1127 """GetParser(self) -> HtmlWinParser"""
1128 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1130 def ScrollToAnchor(*args
, **kwargs
):
1131 """ScrollToAnchor(self, String anchor) -> bool"""
1132 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1134 def HasAnchor(*args
, **kwargs
):
1135 """HasAnchor(self, String anchor) -> bool"""
1136 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1138 def AddFilter(*args
, **kwargs
):
1139 """AddFilter(HtmlFilter filter)"""
1140 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1142 AddFilter
= staticmethod(AddFilter
)
1143 def SelectWord(*args
, **kwargs
):
1144 """SelectWord(self, Point pos)"""
1145 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1147 def SelectLine(*args
, **kwargs
):
1148 """SelectLine(self, Point pos)"""
1149 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1151 def SelectAll(*args
, **kwargs
):
1152 """SelectAll(self)"""
1153 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1155 def SelectionToText(*args
, **kwargs
):
1156 """SelectionToText(self) -> String"""
1157 return _html
.HtmlWindow_SelectionToText(*args
, **kwargs
)
1159 def ToText(*args
, **kwargs
):
1160 """ToText(self) -> String"""
1161 return _html
.HtmlWindow_ToText(*args
, **kwargs
)
1163 def base_OnLinkClicked(*args
, **kwargs
):
1164 """base_OnLinkClicked(self, HtmlLinkInfo link)"""
1165 return _html
.HtmlWindow_base_OnLinkClicked(*args
, **kwargs
)
1167 def base_OnSetTitle(*args
, **kwargs
):
1168 """base_OnSetTitle(self, String title)"""
1169 return _html
.HtmlWindow_base_OnSetTitle(*args
, **kwargs
)
1171 def base_OnCellMouseHover(*args
, **kwargs
):
1172 """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1173 return _html
.HtmlWindow_base_OnCellMouseHover(*args
, **kwargs
)
1175 def base_OnCellClicked(*args
, **kwargs
):
1176 """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
1177 return _html
.HtmlWindow_base_OnCellClicked(*args
, **kwargs
)
1179 def GetClassDefaultAttributes(*args
, **kwargs
):
1181 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1183 Get the default attributes for this class. This is useful if you want
1184 to use the same font or colour in your own control as in a standard
1185 control -- which is a much better idea than hard coding specific
1186 colours or fonts which might look completely out of place on the
1187 user's system, especially if it uses themes.
1189 The variant parameter is only relevant under Mac currently and is
1190 ignore under other platforms. Under Mac, it will change the size of
1191 the returned font. See `wx.Window.SetWindowVariant` for more about
1194 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1196 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1198 class HtmlWindowPtr(HtmlWindow
):
1199 def __init__(self
, this
):
1201 if not hasattr(self
,"thisown"): self
.thisown
= 0
1202 self
.__class
__ = HtmlWindow
1203 _html
.HtmlWindow_swigregister(HtmlWindowPtr
)
1205 def PreHtmlWindow(*args
, **kwargs
):
1206 """PreHtmlWindow() -> HtmlWindow"""
1207 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1211 def HtmlWindow_AddFilter(*args
, **kwargs
):
1212 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1213 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1215 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1217 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1219 Get the default attributes for this class. This is useful if you want
1220 to use the same font or colour in your own control as in a standard
1221 control -- which is a much better idea than hard coding specific
1222 colours or fonts which might look completely out of place on the
1223 user's system, especially if it uses themes.
1225 The variant parameter is only relevant under Mac currently and is
1226 ignore under other platforms. Under Mac, it will change the size of
1227 the returned font. See `wx.Window.SetWindowVariant` for more about
1230 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1232 #---------------------------------------------------------------------------
1234 class HtmlDCRenderer(_core
.Object
):
1235 """Proxy of C++ HtmlDCRenderer class"""
1237 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1238 def __init__(self
, *args
, **kwargs
):
1239 """__init__(self) -> HtmlDCRenderer"""
1240 newobj
= _html
.new_HtmlDCRenderer(*args
, **kwargs
)
1241 self
.this
= newobj
.this
1244 def __del__(self
, destroy
=_html
.delete_HtmlDCRenderer
):
1247 if self
.thisown
: destroy(self
)
1250 def SetDC(*args
, **kwargs
):
1251 """SetDC(self, DC dc, int maxwidth)"""
1252 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1254 def SetSize(*args
, **kwargs
):
1255 """SetSize(self, int width, int height)"""
1256 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1258 def SetHtmlText(*args
, **kwargs
):
1259 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1260 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1262 def SetFonts(*args
, **kwargs
):
1263 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1264 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1266 def SetStandardFonts(*args
, **kwargs
):
1267 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1268 return _html
.HtmlDCRenderer_SetStandardFonts(*args
, **kwargs
)
1270 def Render(*args
, **kwargs
):
1272 Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX,
1273 int choices=None, int LCOUNT=0) -> int
1275 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1277 def GetTotalHeight(*args
, **kwargs
):
1278 """GetTotalHeight(self) -> int"""
1279 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1282 class HtmlDCRendererPtr(HtmlDCRenderer
):
1283 def __init__(self
, this
):
1285 if not hasattr(self
,"thisown"): self
.thisown
= 0
1286 self
.__class
__ = HtmlDCRenderer
1287 _html
.HtmlDCRenderer_swigregister(HtmlDCRendererPtr
)
1289 PAGE_ODD
= _html
.PAGE_ODD
1290 PAGE_EVEN
= _html
.PAGE_EVEN
1291 PAGE_ALL
= _html
.PAGE_ALL
1292 class HtmlPrintout(_windows
.Printout
):
1293 """Proxy of C++ HtmlPrintout class"""
1295 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1296 def __init__(self
, *args
, **kwargs
):
1297 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1298 newobj
= _html
.new_HtmlPrintout(*args
, **kwargs
)
1299 self
.this
= newobj
.this
1302 def SetHtmlText(*args
, **kwargs
):
1303 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1304 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1306 def SetHtmlFile(*args
, **kwargs
):
1307 """SetHtmlFile(self, String htmlfile)"""
1308 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1310 def SetHeader(*args
, **kwargs
):
1311 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1312 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1314 def SetFooter(*args
, **kwargs
):
1315 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1316 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1318 def SetFonts(*args
, **kwargs
):
1319 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1320 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1322 def SetStandardFonts(*args
, **kwargs
):
1323 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1324 return _html
.HtmlPrintout_SetStandardFonts(*args
, **kwargs
)
1326 def SetMargins(*args
, **kwargs
):
1328 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1329 float right=25.2, float spaces=5)
1331 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1333 def AddFilter(*args
, **kwargs
):
1334 """AddFilter(wxHtmlFilter filter)"""
1335 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1337 AddFilter
= staticmethod(AddFilter
)
1338 def CleanUpStatics(*args
, **kwargs
):
1339 """CleanUpStatics()"""
1340 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1342 CleanUpStatics
= staticmethod(CleanUpStatics
)
1344 class HtmlPrintoutPtr(HtmlPrintout
):
1345 def __init__(self
, this
):
1347 if not hasattr(self
,"thisown"): self
.thisown
= 0
1348 self
.__class
__ = HtmlPrintout
1349 _html
.HtmlPrintout_swigregister(HtmlPrintoutPtr
)
1351 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1352 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1353 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1355 def HtmlPrintout_CleanUpStatics(*args
, **kwargs
):
1356 """HtmlPrintout_CleanUpStatics()"""
1357 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1359 class HtmlEasyPrinting(_core
.Object
):
1360 """Proxy of C++ HtmlEasyPrinting class"""
1362 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1363 def __init__(self
, *args
, **kwargs
):
1364 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1365 newobj
= _html
.new_HtmlEasyPrinting(*args
, **kwargs
)
1366 self
.this
= newobj
.this
1369 def __del__(self
, destroy
=_html
.delete_HtmlEasyPrinting
):
1372 if self
.thisown
: destroy(self
)
1375 def PreviewFile(*args
, **kwargs
):
1376 """PreviewFile(self, String htmlfile)"""
1377 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1379 def PreviewText(*args
, **kwargs
):
1380 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1381 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1383 def PrintFile(*args
, **kwargs
):
1384 """PrintFile(self, String htmlfile)"""
1385 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1387 def PrintText(*args
, **kwargs
):
1388 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1389 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1391 def PageSetup(*args
, **kwargs
):
1392 """PageSetup(self)"""
1393 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1395 def SetHeader(*args
, **kwargs
):
1396 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1397 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1399 def SetFooter(*args
, **kwargs
):
1400 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1401 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1403 def SetFonts(*args
, **kwargs
):
1404 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1405 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1407 def SetStandardFonts(*args
, **kwargs
):
1408 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1409 return _html
.HtmlEasyPrinting_SetStandardFonts(*args
, **kwargs
)
1411 def GetPrintData(*args
, **kwargs
):
1412 """GetPrintData(self) -> PrintData"""
1413 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1415 def GetPageSetupData(*args
, **kwargs
):
1416 """GetPageSetupData(self) -> PageSetupDialogData"""
1417 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1420 class HtmlEasyPrintingPtr(HtmlEasyPrinting
):
1421 def __init__(self
, this
):
1423 if not hasattr(self
,"thisown"): self
.thisown
= 0
1424 self
.__class
__ = HtmlEasyPrinting
1425 _html
.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr
)
1427 #---------------------------------------------------------------------------
1429 class HtmlBookRecord(object):
1430 """Proxy of C++ HtmlBookRecord class"""
1432 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1433 def __init__(self
, *args
, **kwargs
):
1434 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1435 newobj
= _html
.new_HtmlBookRecord(*args
, **kwargs
)
1436 self
.this
= newobj
.this
1439 def GetBookFile(*args
, **kwargs
):
1440 """GetBookFile(self) -> String"""
1441 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1443 def GetTitle(*args
, **kwargs
):
1444 """GetTitle(self) -> String"""
1445 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1447 def GetStart(*args
, **kwargs
):
1448 """GetStart(self) -> String"""
1449 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1451 def GetBasePath(*args
, **kwargs
):
1452 """GetBasePath(self) -> String"""
1453 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1455 def SetContentsRange(*args
, **kwargs
):
1456 """SetContentsRange(self, int start, int end)"""
1457 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1459 def GetContentsStart(*args
, **kwargs
):
1460 """GetContentsStart(self) -> int"""
1461 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1463 def GetContentsEnd(*args
, **kwargs
):
1464 """GetContentsEnd(self) -> int"""
1465 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1467 def SetTitle(*args
, **kwargs
):
1468 """SetTitle(self, String title)"""
1469 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1471 def SetBasePath(*args
, **kwargs
):
1472 """SetBasePath(self, String path)"""
1473 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1475 def SetStart(*args
, **kwargs
):
1476 """SetStart(self, String start)"""
1477 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1479 def GetFullPath(*args
, **kwargs
):
1480 """GetFullPath(self, String page) -> String"""
1481 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1484 class HtmlBookRecordPtr(HtmlBookRecord
):
1485 def __init__(self
, this
):
1487 if not hasattr(self
,"thisown"): self
.thisown
= 0
1488 self
.__class
__ = HtmlBookRecord
1489 _html
.HtmlBookRecord_swigregister(HtmlBookRecordPtr
)
1491 class HtmlContentsItem(object):
1492 """Proxy of C++ HtmlContentsItem class"""
1493 def __init__(self
): raise RuntimeError, "No constructor defined"
1495 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1496 def GetLevel(*args
, **kwargs
):
1497 """GetLevel(self) -> int"""
1498 return _html
.HtmlContentsItem_GetLevel(*args
, **kwargs
)
1500 def GetID(*args
, **kwargs
):
1501 """GetID(self) -> int"""
1502 return _html
.HtmlContentsItem_GetID(*args
, **kwargs
)
1504 def GetName(*args
, **kwargs
):
1505 """GetName(self) -> String"""
1506 return _html
.HtmlContentsItem_GetName(*args
, **kwargs
)
1508 def GetPage(*args
, **kwargs
):
1509 """GetPage(self) -> String"""
1510 return _html
.HtmlContentsItem_GetPage(*args
, **kwargs
)
1512 def GetBook(*args
, **kwargs
):
1513 """GetBook(self) -> HtmlBookRecord"""
1514 return _html
.HtmlContentsItem_GetBook(*args
, **kwargs
)
1517 class HtmlContentsItemPtr(HtmlContentsItem
):
1518 def __init__(self
, this
):
1520 if not hasattr(self
,"thisown"): self
.thisown
= 0
1521 self
.__class
__ = HtmlContentsItem
1522 _html
.HtmlContentsItem_swigregister(HtmlContentsItemPtr
)
1524 class HtmlSearchStatus(object):
1525 """Proxy of C++ HtmlSearchStatus class"""
1526 def __init__(self
): raise RuntimeError, "No constructor defined"
1528 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1529 def Search(*args
, **kwargs
):
1530 """Search(self) -> bool"""
1531 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1533 def IsActive(*args
, **kwargs
):
1534 """IsActive(self) -> bool"""
1535 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1537 def GetCurIndex(*args
, **kwargs
):
1538 """GetCurIndex(self) -> int"""
1539 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1541 def GetMaxIndex(*args
, **kwargs
):
1542 """GetMaxIndex(self) -> int"""
1543 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1545 def GetName(*args
, **kwargs
):
1546 """GetName(self) -> String"""
1547 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1549 def GetContentsItem(*args
, **kwargs
):
1550 """GetContentsItem(self) -> HtmlContentsItem"""
1551 return _html
.HtmlSearchStatus_GetContentsItem(*args
, **kwargs
)
1554 class HtmlSearchStatusPtr(HtmlSearchStatus
):
1555 def __init__(self
, this
):
1557 if not hasattr(self
,"thisown"): self
.thisown
= 0
1558 self
.__class
__ = HtmlSearchStatus
1559 _html
.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr
)
1561 class HtmlHelpData(object):
1562 """Proxy of C++ HtmlHelpData class"""
1564 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1565 def __init__(self
, *args
, **kwargs
):
1566 """__init__(self) -> HtmlHelpData"""
1567 newobj
= _html
.new_HtmlHelpData(*args
, **kwargs
)
1568 self
.this
= newobj
.this
1571 def __del__(self
, destroy
=_html
.delete_HtmlHelpData
):
1574 if self
.thisown
: destroy(self
)
1577 def SetTempDir(*args
, **kwargs
):
1578 """SetTempDir(self, String path)"""
1579 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1581 def AddBook(*args
, **kwargs
):
1582 """AddBook(self, String book) -> bool"""
1583 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1585 def FindPageByName(*args
, **kwargs
):
1586 """FindPageByName(self, String page) -> String"""
1587 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1589 def FindPageById(*args
, **kwargs
):
1590 """FindPageById(self, int id) -> String"""
1591 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1593 def GetBookRecArray(*args
, **kwargs
):
1594 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1595 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1597 def GetContents(*args
, **kwargs
):
1598 """GetContents(self) -> HtmlContentsItem"""
1599 return _html
.HtmlHelpData_GetContents(*args
, **kwargs
)
1601 def GetContentsCnt(*args
, **kwargs
):
1602 """GetContentsCnt(self) -> int"""
1603 return _html
.HtmlHelpData_GetContentsCnt(*args
, **kwargs
)
1605 def GetIndex(*args
, **kwargs
):
1606 """GetIndex(self) -> HtmlContentsItem"""
1607 return _html
.HtmlHelpData_GetIndex(*args
, **kwargs
)
1609 def GetIndexCnt(*args
, **kwargs
):
1610 """GetIndexCnt(self) -> int"""
1611 return _html
.HtmlHelpData_GetIndexCnt(*args
, **kwargs
)
1614 class HtmlHelpDataPtr(HtmlHelpData
):
1615 def __init__(self
, this
):
1617 if not hasattr(self
,"thisown"): self
.thisown
= 0
1618 self
.__class
__ = HtmlHelpData
1619 _html
.HtmlHelpData_swigregister(HtmlHelpDataPtr
)
1621 class HtmlHelpFrame(_windows
.Frame
):
1622 """Proxy of C++ HtmlHelpFrame class"""
1624 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1625 def __init__(self
, *args
, **kwargs
):
1627 __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1628 HtmlHelpData data=None) -> HtmlHelpFrame
1630 newobj
= _html
.new_HtmlHelpFrame(*args
, **kwargs
)
1631 self
.this
= newobj
.this
1634 self
._setOORInfo
(self
)
1636 def GetData(*args
, **kwargs
):
1637 """GetData(self) -> HtmlHelpData"""
1638 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1640 def SetTitleFormat(*args
, **kwargs
):
1641 """SetTitleFormat(self, String format)"""
1642 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1644 def Display(*args
, **kwargs
):
1645 """Display(self, String x)"""
1646 return _html
.HtmlHelpFrame_Display(*args
, **kwargs
)
1648 def DisplayID(*args
, **kwargs
):
1649 """DisplayID(self, int id)"""
1650 return _html
.HtmlHelpFrame_DisplayID(*args
, **kwargs
)
1652 def DisplayContents(*args
, **kwargs
):
1653 """DisplayContents(self)"""
1654 return _html
.HtmlHelpFrame_DisplayContents(*args
, **kwargs
)
1656 def DisplayIndex(*args
, **kwargs
):
1657 """DisplayIndex(self)"""
1658 return _html
.HtmlHelpFrame_DisplayIndex(*args
, **kwargs
)
1660 def KeywordSearch(*args
, **kwargs
):
1661 """KeywordSearch(self, String keyword) -> bool"""
1662 return _html
.HtmlHelpFrame_KeywordSearch(*args
, **kwargs
)
1664 def UseConfig(*args
, **kwargs
):
1665 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1666 return _html
.HtmlHelpFrame_UseConfig(*args
, **kwargs
)
1668 def ReadCustomization(*args
, **kwargs
):
1669 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1670 return _html
.HtmlHelpFrame_ReadCustomization(*args
, **kwargs
)
1672 def WriteCustomization(*args
, **kwargs
):
1673 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1674 return _html
.HtmlHelpFrame_WriteCustomization(*args
, **kwargs
)
1677 class HtmlHelpFramePtr(HtmlHelpFrame
):
1678 def __init__(self
, this
):
1680 if not hasattr(self
,"thisown"): self
.thisown
= 0
1681 self
.__class
__ = HtmlHelpFrame
1682 _html
.HtmlHelpFrame_swigregister(HtmlHelpFramePtr
)
1684 HF_TOOLBAR
= _html
.HF_TOOLBAR
1685 HF_FLATTOOLBAR
= _html
.HF_FLATTOOLBAR
1686 HF_CONTENTS
= _html
.HF_CONTENTS
1687 HF_INDEX
= _html
.HF_INDEX
1688 HF_SEARCH
= _html
.HF_SEARCH
1689 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1690 HF_OPENFILES
= _html
.HF_OPENFILES
1691 HF_PRINT
= _html
.HF_PRINT
1692 HF_DEFAULTSTYLE
= _html
.HF_DEFAULTSTYLE
1693 class HtmlHelpController(_core
.Object
):
1694 """Proxy of C++ HtmlHelpController class"""
1696 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1697 def __init__(self
, *args
, **kwargs
):
1698 """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
1699 newobj
= _html
.new_HtmlHelpController(*args
, **kwargs
)
1700 self
.this
= newobj
.this
1703 def __del__(self
, destroy
=_html
.delete_HtmlHelpController
):
1706 if self
.thisown
: destroy(self
)
1709 def SetTitleFormat(*args
, **kwargs
):
1710 """SetTitleFormat(self, String format)"""
1711 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1713 def SetTempDir(*args
, **kwargs
):
1714 """SetTempDir(self, String path)"""
1715 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1717 def AddBook(*args
, **kwargs
):
1718 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1719 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1721 def Display(*args
, **kwargs
):
1722 """Display(self, String x)"""
1723 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1725 def DisplayID(*args
, **kwargs
):
1726 """DisplayID(self, int id)"""
1727 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1729 def DisplayContents(*args
, **kwargs
):
1730 """DisplayContents(self)"""
1731 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1733 def DisplayIndex(*args
, **kwargs
):
1734 """DisplayIndex(self)"""
1735 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1737 def KeywordSearch(*args
, **kwargs
):
1738 """KeywordSearch(self, String keyword) -> bool"""
1739 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1741 def UseConfig(*args
, **kwargs
):
1742 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1743 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1745 def ReadCustomization(*args
, **kwargs
):
1746 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1747 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1749 def WriteCustomization(*args
, **kwargs
):
1750 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1751 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1753 def GetFrame(*args
, **kwargs
):
1754 """GetFrame(self) -> HtmlHelpFrame"""
1755 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1757 def Destroy(self
): pass
1759 class HtmlHelpControllerPtr(HtmlHelpController
):
1760 def __init__(self
, this
):
1762 if not hasattr(self
,"thisown"): self
.thisown
= 0
1763 self
.__class
__ = HtmlHelpController
1764 _html
.HtmlHelpController_swigregister(HtmlHelpControllerPtr
)