+ def SetRelatedFrame(*args, **kwargs):
+ """SetRelatedFrame(Frame frame, String format)"""
+ return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs)
+
+ def GetRelatedFrame(*args, **kwargs):
+ """GetRelatedFrame() -> Frame"""
+ return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs)
+
+ def SetRelatedStatusBar(*args, **kwargs):
+ """SetRelatedStatusBar(int bar)"""
+ return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlWindow_SetFonts(*args, **kwargs)
+
+ def SetTitle(*args, **kwargs):
+ """SetTitle(String title)"""
+ return _html.HtmlWindow_SetTitle(*args, **kwargs)
+
+ def SetBorders(*args, **kwargs):
+ """SetBorders(int b)"""
+ return _html.HtmlWindow_SetBorders(*args, **kwargs)
+
+ def ReadCustomization(*args, **kwargs):
+ """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
+ return _html.HtmlWindow_ReadCustomization(*args, **kwargs)
+
+ def WriteCustomization(*args, **kwargs):
+ """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
+ return _html.HtmlWindow_WriteCustomization(*args, **kwargs)
+
+ def HistoryBack(*args, **kwargs):
+ """HistoryBack() -> bool"""
+ return _html.HtmlWindow_HistoryBack(*args, **kwargs)
+
+ def HistoryForward(*args, **kwargs):
+ """HistoryForward() -> bool"""
+ return _html.HtmlWindow_HistoryForward(*args, **kwargs)
+
+ def HistoryCanBack(*args, **kwargs):
+ """HistoryCanBack() -> bool"""
+ return _html.HtmlWindow_HistoryCanBack(*args, **kwargs)
+
+ def HistoryCanForward(*args, **kwargs):
+ """HistoryCanForward() -> bool"""
+ return _html.HtmlWindow_HistoryCanForward(*args, **kwargs)
+
+ def HistoryClear(*args, **kwargs):
+ """HistoryClear()"""
+ return _html.HtmlWindow_HistoryClear(*args, **kwargs)
+
+ def GetInternalRepresentation(*args, **kwargs):
+ """GetInternalRepresentation() -> HtmlContainerCell"""
+ return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs)
+
+ def GetParser(*args, **kwargs):
+ """GetParser() -> HtmlWinParser"""
+ return _html.HtmlWindow_GetParser(*args, **kwargs)
+
+ def ScrollToAnchor(*args, **kwargs):
+ """ScrollToAnchor(String anchor) -> bool"""
+ return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs)
+
+ def HasAnchor(*args, **kwargs):
+ """HasAnchor(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 base_OnLinkClicked(*args, **kwargs):
+ """base_OnLinkClicked(HtmlLinkInfo link)"""
+ return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs)
+
+ def base_OnSetTitle(*args, **kwargs):
+ """base_OnSetTitle(String title)"""
+ return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs)
+
+ def base_OnCellMouseHover(*args, **kwargs):
+ """base_OnCellMouseHover(HtmlCell cell, int x, int y)"""
+ return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs)
+
+ def base_OnCellClicked(*args, **kwargs):
+ """base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)"""
+ return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs)
+
+
+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)
+
+#---------------------------------------------------------------------------
+
+class HtmlDCRenderer(core.Object):
+ 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__() -> 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__()"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def SetDC(*args, **kwargs):
+ """SetDC(DC dc, int maxwidth)"""
+ return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
+
+ def SetSize(*args, **kwargs):
+ """SetSize(int width, int height)"""
+ return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
+
+ def SetHtmlText(*args, **kwargs):
+ """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
+ return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
+
+ def Render(*args, **kwargs):
+ """
+ Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
+ int choices=None, int LCOUNT=0) -> int
+ """
+ return _html.HtmlDCRenderer_Render(*args, **kwargs)
+
+ def GetTotalHeight(*args, **kwargs):
+ """GetTotalHeight() -> int"""
+ return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
+
+
+class HtmlDCRendererPtr(HtmlDCRenderer):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlDCRenderer
+_html.HtmlDCRenderer_swigregister(HtmlDCRendererPtr)
+
+PAGE_ODD = _html.PAGE_ODD
+PAGE_EVEN = _html.PAGE_EVEN
+PAGE_ALL = _html.PAGE_ALL
+class HtmlPrintout(windows.Printout):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
+ newobj = _html.new_HtmlPrintout(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def SetHtmlText(*args, **kwargs):
+ """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
+ return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
+
+ def SetHtmlFile(*args, **kwargs):
+ """SetHtmlFile(String htmlfile)"""
+ return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
+
+ def SetHeader(*args, **kwargs):
+ """SetHeader(String header, int pg=PAGE_ALL)"""
+ return _html.HtmlPrintout_SetHeader(*args, **kwargs)
+
+ def SetFooter(*args, **kwargs):
+ """SetFooter(String footer, int pg=PAGE_ALL)"""
+ return _html.HtmlPrintout_SetFooter(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlPrintout_SetFonts(*args, **kwargs)
+
+ def SetMargins(*args, **kwargs):
+ """
+ SetMargins(float top=25.2, float bottom=25.2, float left=25.2,
+ float right=25.2, float spaces=5)
+ """
+ return _html.HtmlPrintout_SetMargins(*args, **kwargs)
+
+ def AddFilter(*args, **kwargs):
+ """AddFilter(wxHtmlFilter filter)"""
+ return _html.HtmlPrintout_AddFilter(*args, **kwargs)
+
+ AddFilter = staticmethod(AddFilter)
+ def CleanUpStatics(*args, **kwargs):
+ """CleanUpStatics()"""
+ return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
+
+ CleanUpStatics = staticmethod(CleanUpStatics)
+
+class HtmlPrintoutPtr(HtmlPrintout):
+ def __init__(self, this):