+ def ScrollToAnchor(*args, **kwargs):
+ """ScrollToAnchor(self, String anchor) -> bool"""
+ return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs)
+
+ def HasAnchor(*args, **kwargs):
+ """HasAnchor(self, String anchor) -> bool"""
+ return _html.HtmlWindow_HasAnchor(*args, **kwargs)
+
+ def AddFilter(*args, **kwargs):
+ """AddFilter(HtmlFilter filter)"""
+ return _html.HtmlWindow_AddFilter(*args, **kwargs)
+
+ AddFilter = staticmethod(AddFilter)
+ def SelectWord(*args, **kwargs):
+ """SelectWord(self, Point pos)"""
+ return _html.HtmlWindow_SelectWord(*args, **kwargs)
+
+ def SelectLine(*args, **kwargs):
+ """SelectLine(self, Point pos)"""
+ return _html.HtmlWindow_SelectLine(*args, **kwargs)
+
+ def SelectAll(*args, **kwargs):
+ """SelectAll(self)"""
+ return _html.HtmlWindow_SelectAll(*args, **kwargs)
+
+ def SelectionToText(*args, **kwargs):
+ """SelectionToText(self) -> String"""
+ return _html.HtmlWindow_SelectionToText(*args, **kwargs)
+
+ def ToText(*args, **kwargs):
+ """ToText(self) -> String"""
+ return _html.HtmlWindow_ToText(*args, **kwargs)
+
+ def base_OnLinkClicked(*args, **kwargs):
+ """base_OnLinkClicked(self, HtmlLinkInfo link)"""
+ return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs)
+
+ def base_OnSetTitle(*args, **kwargs):
+ """base_OnSetTitle(self, String title)"""
+ return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs)
+
+ def base_OnCellMouseHover(*args, **kwargs):
+ """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
+ return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs)
+
+ def base_OnCellClicked(*args, **kwargs):
+ """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
+ return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs)
+
+ def GetClassDefaultAttributes(*args, **kwargs):
+ """
+ GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if you want
+ to use the same font or colour in your own control as in a standard
+ control -- which is a much better idea than hard coding specific
+ colours or fonts which might look completely out of place on the
+ user's system, especially if it uses themes.
+
+ The variant parameter is only relevant under Mac currently and is
+ ignore under other platforms. Under Mac, it will change the size of
+ the returned font. See `wx.Window.SetWindowVariant` for more about
+ this.
+ """
+ return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
+
+ GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+
+class HtmlWindowPtr(HtmlWindow):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlWindow
+_html.HtmlWindow_swigregister(HtmlWindowPtr)
+
+def PreHtmlWindow(*args, **kwargs):
+ """PreHtmlWindow() -> HtmlWindow"""
+ val = _html.new_PreHtmlWindow(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+def HtmlWindow_AddFilter(*args, **kwargs):
+ """HtmlWindow_AddFilter(HtmlFilter filter)"""
+ return _html.HtmlWindow_AddFilter(*args, **kwargs)
+
+def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
+ """
+ HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if you want
+ to use the same font or colour in your own control as in a standard
+ control -- which is a much better idea than hard coding specific
+ colours or fonts which might look completely out of place on the
+ user's system, especially if it uses themes.
+
+ The variant parameter is only relevant under Mac currently and is
+ ignore under other platforms. Under Mac, it will change the size of
+ the returned font. See `wx.Window.SetWindowVariant` for more about
+ this.
+ """
+ return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
+
+#---------------------------------------------------------------------------
+
+class HtmlDCRenderer(_core.Object):
+ """Proxy of C++ HtmlDCRenderer class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> HtmlDCRenderer"""
+ newobj = _html.new_HtmlDCRenderer(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_html.delete_HtmlDCRenderer):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def SetDC(*args, **kwargs):
+ """SetDC(self, DC dc, int maxwidth)"""
+ return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
+
+ def SetSize(*args, **kwargs):
+ """SetSize(self, int width, int height)"""
+ return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
+
+ def SetHtmlText(*args, **kwargs):
+ """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
+ return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
+
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
+
+ def Render(*args, **kwargs):
+ """
+ Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX,
+ int choices=None, int LCOUNT=0) -> int
+ """
+ return _html.HtmlDCRenderer_Render(*args, **kwargs)
+
+ def GetTotalHeight(*args, **kwargs):
+ """GetTotalHeight(self) -> int"""
+ return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
+
+
+class HtmlDCRendererPtr(HtmlDCRenderer):
+ def __init__(self, this):