+ def SetWidthFloat(*args, **kwargs):
+ """SetWidthFloat(self, int w, int units)"""
+ return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs)
+
+ def SetWidthFloatFromTag(*args, **kwargs):
+ """SetWidthFloatFromTag(self, HtmlTag tag)"""
+ return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs)
+
+ def SetMinHeight(*args, **kwargs):
+ """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
+ return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs)
+
+ def SetBackgroundColour(*args, **kwargs):
+ """SetBackgroundColour(self, Colour clr)"""
+ return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs)
+
+ def GetBackgroundColour(*args, **kwargs):
+ """GetBackgroundColour(self) -> Colour"""
+ return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs)
+
+ def SetBorder(*args, **kwargs):
+ """SetBorder(self, Colour clr1, Colour clr2)"""
+ return _html.HtmlContainerCell_SetBorder(*args, **kwargs)
+
+ def GetFirstChild(*args, **kwargs):
+ """GetFirstChild(self) -> HtmlCell"""
+ return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
+
+
+class HtmlContainerCellPtr(HtmlContainerCell):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlContainerCell
+_html.HtmlContainerCell_swigregister(HtmlContainerCellPtr)
+
+class HtmlColourCell(HtmlCell):
+ """Proxy of C++ HtmlColourCell class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
+ newobj = _html.new_HtmlColourCell(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+
+class HtmlColourCellPtr(HtmlColourCell):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlColourCell
+_html.HtmlColourCell_swigregister(HtmlColourCellPtr)
+
+class HtmlFontCell(HtmlCell):
+ """Proxy of C++ HtmlFontCell class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, Font font) -> HtmlFontCell"""
+ newobj = _html.new_HtmlFontCell(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+
+class HtmlFontCellPtr(HtmlFontCell):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlFontCell
+_html.HtmlFontCell_swigregister(HtmlFontCellPtr)
+
+class HtmlWidgetCell(HtmlCell):
+ """Proxy of C++ HtmlWidgetCell class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
+ newobj = _html.new_HtmlWidgetCell(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+
+class HtmlWidgetCellPtr(HtmlWidgetCell):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlWidgetCell
+_html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr)
+
+#---------------------------------------------------------------------------
+
+class HtmlFilter(_core.Object):
+ """Proxy of C++ HtmlFilter class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> HtmlFilter"""
+ newobj = _html.new_HtmlFilter(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, HtmlFilter)
+
+ def _setCallbackInfo(*args, **kwargs):
+ """_setCallbackInfo(self, PyObject self, PyObject _class)"""
+ return _html.HtmlFilter__setCallbackInfo(*args, **kwargs)
+
+
+class HtmlFilterPtr(HtmlFilter):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlFilter
+_html.HtmlFilter_swigregister(HtmlFilterPtr)
+
+#---------------------------------------------------------------------------
+
+class HtmlWindow(_windows.ScrolledWindow):
+ """Proxy of C++ HtmlWindow class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
+ String name=HtmlWindowNameStr) -> HtmlWindow
+ """
+ newobj = _html.new_HtmlWindow(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self)
+
+ def Create(*args, **kwargs):
+ """
+ Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
+ String name=HtmlWindowNameStr) -> bool
+ """
+ return _html.HtmlWindow_Create(*args, **kwargs)
+
+ def _setCallbackInfo(*args, **kwargs):
+ """_setCallbackInfo(self, PyObject self, PyObject _class)"""
+ return _html.HtmlWindow__setCallbackInfo(*args, **kwargs)
+
+ def SetPage(*args, **kwargs):
+ """SetPage(self, String source) -> bool"""
+ return _html.HtmlWindow_SetPage(*args, **kwargs)
+
+ def LoadPage(*args, **kwargs):
+ """LoadPage(self, String location) -> bool"""
+ return _html.HtmlWindow_LoadPage(*args, **kwargs)
+
+ def LoadFile(*args, **kwargs):
+ """LoadFile(self, String filename) -> bool"""
+ return _html.HtmlWindow_LoadFile(*args, **kwargs)
+
+ def AppendToPage(*args, **kwargs):
+ """AppendToPage(self, String source) -> bool"""
+ return _html.HtmlWindow_AppendToPage(*args, **kwargs)
+
+ def GetOpenedPage(*args, **kwargs):
+ """GetOpenedPage(self) -> String"""
+ return _html.HtmlWindow_GetOpenedPage(*args, **kwargs)
+
+ def GetOpenedAnchor(*args, **kwargs):
+ """GetOpenedAnchor(self) -> String"""
+ return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs)
+
+ def GetOpenedPageTitle(*args, **kwargs):
+ """GetOpenedPageTitle(self) -> String"""
+ return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs)
+
+ def SetRelatedFrame(*args, **kwargs):
+ """SetRelatedFrame(self, Frame frame, String format)"""
+ return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs)
+
+ def GetRelatedFrame(*args, **kwargs):
+ """GetRelatedFrame(self) -> Frame"""
+ return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs)
+
+ def SetRelatedStatusBar(*args, **kwargs):
+ """SetRelatedStatusBar(self, int bar)"""
+ return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlWindow_SetFonts(*args, **kwargs)
+
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
+
+ def SetLabel(*args, **kwargs):
+ """SetLabel(self, String title)"""
+ return _html.HtmlWindow_SetLabel(*args, **kwargs)
+
+ def SetBorders(*args, **kwargs):
+ """SetBorders(self, int b)"""
+ return _html.HtmlWindow_SetBorders(*args, **kwargs)
+
+ def SetBackgroundImage(*args, **kwargs):
+ """SetBackgroundImage(self, Bitmap bmpBg)"""
+ return _html.HtmlWindow_SetBackgroundImage(*args, **kwargs)
+
+ def ReadCustomization(*args, **kwargs):
+ """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
+ return _html.HtmlWindow_ReadCustomization(*args, **kwargs)
+
+ def WriteCustomization(*args, **kwargs):
+ """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
+ return _html.HtmlWindow_WriteCustomization(*args, **kwargs)
+
+ def HistoryBack(*args, **kwargs):
+ """HistoryBack(self) -> bool"""
+ return _html.HtmlWindow_HistoryBack(*args, **kwargs)
+
+ def HistoryForward(*args, **kwargs):
+ """HistoryForward(self) -> bool"""
+ return _html.HtmlWindow_HistoryForward(*args, **kwargs)
+
+ def HistoryCanBack(*args, **kwargs):
+ """HistoryCanBack(self) -> bool"""
+ return _html.HtmlWindow_HistoryCanBack(*args, **kwargs)
+
+ def HistoryCanForward(*args, **kwargs):
+ """HistoryCanForward(self) -> bool"""
+ return _html.HtmlWindow_HistoryCanForward(*args, **kwargs)
+
+ def HistoryClear(*args, **kwargs):
+ """HistoryClear(self)"""
+ return _html.HtmlWindow_HistoryClear(*args, **kwargs)
+
+ def GetInternalRepresentation(*args, **kwargs):
+ """GetInternalRepresentation(self) -> HtmlContainerCell"""
+ return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs)
+
+ def GetParser(*args, **kwargs):
+ """GetParser(self) -> HtmlWinParser"""
+ return _html.HtmlWindow_GetParser(*args, **kwargs)
+
+ 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 OnLinkClicked(*args, **kwargs):
+ """OnLinkClicked(self, HtmlLinkInfo link)"""
+ return _html.HtmlWindow_OnLinkClicked(*args, **kwargs)
+
+ def OnSetTitle(*args, **kwargs):
+ """OnSetTitle(self, String title)"""
+ return _html.HtmlWindow_OnSetTitle(*args, **kwargs)
+
+ def OnCellMouseHover(*args, **kwargs):
+ """OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
+ return _html.HtmlWindow_OnCellMouseHover(*args, **kwargs)
+
+ def OnCellClicked(*args, **kwargs):
+ """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
+ return _html.HtmlWindow_OnCellClicked(*args, **kwargs)
+
+ def base_OnLinkClicked(*args, **kw):
+ return HtmlWindow.OnLinkClicked(*args, **kw)
+ base_OnLinkClicked = wx._deprecated(base_OnLinkClicked,
+ "Please use HtmlWindow.OnLinkClicked instead.")
+
+ def base_OnSetTitle(*args, **kw):
+ return HtmlWindow.OnSetTitle(*args, **kw)
+ base_OnSetTitle = wx._deprecated(base_OnSetTitle,
+ "Please use HtmlWindow.OnSetTitle instead.")
+
+ def base_OnCellMouseHover(*args, **kw):
+ return HtmlWindow.OnCellMouseHover(*args, **kw)
+ base_OnCellMouseHover = wx._deprecated(base_OnCellMouseHover,
+ "Please use HtmlWindow.OnCellMouseHover instead.")
+
+ def base_OnCellClicked(*args, **kw):
+ return HtmlWindow.OnCellClicked(*args, **kw)
+ base_OnCellClicked = wx._deprecated(base_OnCellClicked,
+ "Please use HtmlWindow.OnCellClicked instead.")
+
+ 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):
+ 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):
+ """Proxy of C++ HtmlPrintout class"""
+ 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__(self, 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(self, String html, String basepath=EmptyString, bool isdir=True)"""
+ return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
+
+ def SetHtmlFile(*args, **kwargs):
+ """SetHtmlFile(self, String htmlfile)"""
+ return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
+
+ def SetHeader(*args, **kwargs):
+ """SetHeader(self, String header, int pg=PAGE_ALL)"""
+ return _html.HtmlPrintout_SetHeader(*args, **kwargs)
+
+ def SetFooter(*args, **kwargs):
+ """SetFooter(self, String footer, int pg=PAGE_ALL)"""
+ return _html.HtmlPrintout_SetFooter(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlPrintout_SetFonts(*args, **kwargs)
+
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
+
+ def SetMargins(*args, **kwargs):
+ """
+ SetMargins(self, 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):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlPrintout
+_html.HtmlPrintout_swigregister(HtmlPrintoutPtr)
+
+def HtmlPrintout_AddFilter(*args, **kwargs):
+ """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
+ return _html.HtmlPrintout_AddFilter(*args, **kwargs)
+
+def HtmlPrintout_CleanUpStatics(*args, **kwargs):
+ """HtmlPrintout_CleanUpStatics()"""
+ return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
+
+class HtmlEasyPrinting(_core.Object):
+ """Proxy of C++ HtmlEasyPrinting class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
+ newobj = _html.new_HtmlEasyPrinting(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_html.delete_HtmlEasyPrinting):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def PreviewFile(*args, **kwargs):
+ """PreviewFile(self, String htmlfile)"""
+ return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs)
+
+ def PreviewText(*args, **kwargs):
+ """PreviewText(self, String htmltext, String basepath=EmptyString)"""
+ return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs)
+
+ def PrintFile(*args, **kwargs):
+ """PrintFile(self, String htmlfile)"""
+ return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs)
+
+ def PrintText(*args, **kwargs):
+ """PrintText(self, String htmltext, String basepath=EmptyString)"""
+ return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
+
+ def PageSetup(*args, **kwargs):
+ """PageSetup(self)"""
+ return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
+
+ def SetHeader(*args, **kwargs):
+ """SetHeader(self, String header, int pg=PAGE_ALL)"""
+ return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs)
+
+ def SetFooter(*args, **kwargs):
+ """SetFooter(self, String footer, int pg=PAGE_ALL)"""
+ return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
+
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
+
+ def GetPrintData(*args, **kwargs):
+ """GetPrintData(self) -> PrintData"""
+ return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs)
+
+ def GetPageSetupData(*args, **kwargs):
+ """GetPageSetupData(self) -> PageSetupDialogData"""
+ return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
+
+
+class HtmlEasyPrintingPtr(HtmlEasyPrinting):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlEasyPrinting
+_html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr)
+
+#---------------------------------------------------------------------------
+
+class HtmlBookRecord(object):
+ """Proxy of C++ HtmlBookRecord class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
+ newobj = _html.new_HtmlBookRecord(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetBookFile(*args, **kwargs):
+ """GetBookFile(self) -> String"""
+ return _html.HtmlBookRecord_GetBookFile(*args, **kwargs)
+
+ def GetTitle(*args, **kwargs):
+ """GetTitle(self) -> String"""
+ return _html.HtmlBookRecord_GetTitle(*args, **kwargs)
+
+ def GetStart(*args, **kwargs):
+ """GetStart(self) -> String"""
+ return _html.HtmlBookRecord_GetStart(*args, **kwargs)
+
+ def GetBasePath(*args, **kwargs):
+ """GetBasePath(self) -> String"""
+ return _html.HtmlBookRecord_GetBasePath(*args, **kwargs)
+
+ def SetContentsRange(*args, **kwargs):
+ """SetContentsRange(self, int start, int end)"""
+ return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs)
+
+ def GetContentsStart(*args, **kwargs):
+ """GetContentsStart(self) -> int"""
+ return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs)
+
+ def GetContentsEnd(*args, **kwargs):
+ """GetContentsEnd(self) -> int"""
+ return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs)
+
+ def SetTitle(*args, **kwargs):
+ """SetTitle(self, String title)"""
+ return _html.HtmlBookRecord_SetTitle(*args, **kwargs)
+
+ def SetBasePath(*args, **kwargs):
+ """SetBasePath(self, String path)"""
+ return _html.HtmlBookRecord_SetBasePath(*args, **kwargs)
+
+ def SetStart(*args, **kwargs):
+ """SetStart(self, String start)"""
+ return _html.HtmlBookRecord_SetStart(*args, **kwargs)
+
+ def GetFullPath(*args, **kwargs):
+ """GetFullPath(self, String page) -> String"""
+ return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
+
+
+class HtmlBookRecordPtr(HtmlBookRecord):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlBookRecord
+_html.HtmlBookRecord_swigregister(HtmlBookRecordPtr)
+
+class HtmlSearchStatus(object):
+ """Proxy of C++ HtmlSearchStatus class"""
+ def __init__(self): raise RuntimeError, "No constructor defined"
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def Search(*args, **kwargs):
+ """Search(self) -> bool"""
+ return _html.HtmlSearchStatus_Search(*args, **kwargs)
+
+ def IsActive(*args, **kwargs):
+ """IsActive(self) -> bool"""
+ return _html.HtmlSearchStatus_IsActive(*args, **kwargs)
+
+ def GetCurIndex(*args, **kwargs):
+ """GetCurIndex(self) -> int"""
+ return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs)
+
+ def GetMaxIndex(*args, **kwargs):
+ """GetMaxIndex(self) -> int"""
+ return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs)
+
+ def GetName(*args, **kwargs):
+ """GetName(self) -> String"""
+ return _html.HtmlSearchStatus_GetName(*args, **kwargs)
+
+
+class HtmlSearchStatusPtr(HtmlSearchStatus):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlSearchStatus
+_html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr)
+
+class HtmlHelpData(object):
+ """Proxy of C++ HtmlHelpData class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> HtmlHelpData"""
+ newobj = _html.new_HtmlHelpData(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_html.delete_HtmlHelpData):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def SetTempDir(*args, **kwargs):
+ """SetTempDir(self, String path)"""
+ return _html.HtmlHelpData_SetTempDir(*args, **kwargs)
+
+ def AddBook(*args, **kwargs):
+ """AddBook(self, String book) -> bool"""
+ return _html.HtmlHelpData_AddBook(*args, **kwargs)
+
+ def FindPageByName(*args, **kwargs):
+ """FindPageByName(self, String page) -> String"""
+ return _html.HtmlHelpData_FindPageByName(*args, **kwargs)
+
+ def FindPageById(*args, **kwargs):
+ """FindPageById(self, int id) -> String"""
+ return _html.HtmlHelpData_FindPageById(*args, **kwargs)
+
+ def GetBookRecArray(*args, **kwargs):
+ """GetBookRecArray(self) -> wxHtmlBookRecArray"""
+ return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
+
+
+class HtmlHelpDataPtr(HtmlHelpData):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlHelpData
+_html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
+
+HF_TOOLBAR = _html.HF_TOOLBAR
+HF_CONTENTS = _html.HF_CONTENTS
+HF_INDEX = _html.HF_INDEX
+HF_SEARCH = _html.HF_SEARCH
+HF_BOOKMARKS = _html.HF_BOOKMARKS
+HF_OPEN_FILES = _html.HF_OPEN_FILES
+HF_PRINT = _html.HF_PRINT
+HF_FLAT_TOOLBAR = _html.HF_FLAT_TOOLBAR
+HF_MERGE_BOOKS = _html.HF_MERGE_BOOKS
+HF_ICONS_BOOK = _html.HF_ICONS_BOOK
+HF_ICONS_BOOK_CHAPTER = _html.HF_ICONS_BOOK_CHAPTER
+HF_ICONS_FOLDER = _html.HF_ICONS_FOLDER
+HF_DEFAULT_STYLE = _html.HF_DEFAULT_STYLE
+HF_EMBEDDED = _html.HF_EMBEDDED
+HF_DIALOG = _html.HF_DIALOG
+HF_FRAME = _html.HF_FRAME
+HF_MODAL = _html.HF_MODAL
+ID_HTML_PANEL = _html.ID_HTML_PANEL
+ID_HTML_BACK = _html.ID_HTML_BACK
+ID_HTML_FORWARD = _html.ID_HTML_FORWARD
+ID_HTML_UPNODE = _html.ID_HTML_UPNODE
+ID_HTML_UP = _html.ID_HTML_UP
+ID_HTML_DOWN = _html.ID_HTML_DOWN
+ID_HTML_PRINT = _html.ID_HTML_PRINT
+ID_HTML_OPENFILE = _html.ID_HTML_OPENFILE
+ID_HTML_OPTIONS = _html.ID_HTML_OPTIONS
+ID_HTML_BOOKMARKSLIST = _html.ID_HTML_BOOKMARKSLIST
+ID_HTML_BOOKMARKSADD = _html.ID_HTML_BOOKMARKSADD
+ID_HTML_BOOKMARKSREMOVE = _html.ID_HTML_BOOKMARKSREMOVE
+ID_HTML_TREECTRL = _html.ID_HTML_TREECTRL
+ID_HTML_INDEXPAGE = _html.ID_HTML_INDEXPAGE
+ID_HTML_INDEXLIST = _html.ID_HTML_INDEXLIST
+ID_HTML_INDEXTEXT = _html.ID_HTML_INDEXTEXT
+ID_HTML_INDEXBUTTON = _html.ID_HTML_INDEXBUTTON
+ID_HTML_INDEXBUTTONALL = _html.ID_HTML_INDEXBUTTONALL
+ID_HTML_NOTEBOOK = _html.ID_HTML_NOTEBOOK
+ID_HTML_SEARCHPAGE = _html.ID_HTML_SEARCHPAGE
+ID_HTML_SEARCHTEXT = _html.ID_HTML_SEARCHTEXT
+ID_HTML_SEARCHLIST = _html.ID_HTML_SEARCHLIST
+ID_HTML_SEARCHBUTTON = _html.ID_HTML_SEARCHBUTTON
+ID_HTML_SEARCHCHOICE = _html.ID_HTML_SEARCHCHOICE
+ID_HTML_COUNTINFO = _html.ID_HTML_COUNTINFO
+class HtmlHelpWindow(_core.Window):
+ """Proxy of C++ HtmlHelpWindow class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlHelpWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, Window parent, int ??, Point pos=DefaultPosition, Size size=DefaultSize,
+ int style=wxTAB_TRAVERSAL|wxNO_BORDER,
+ int helpStyle=HF_DEFAULT_STYLE,
+ HtmlHelpData data=None) -> HtmlHelpWindow
+ """
+ newobj = _html.new_HtmlHelpWindow(*args, **kwargs)
+ self.this = newobj.this