- self._setCallbackInfo(self, wxHtmlWinTagHandler)
-
-
-
-
-class wxHtmlCellPtr(wxObjectPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def GetPosX(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetPosX,(self,) + _args, _kwargs)
- return val
- def GetPosY(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetPosY,(self,) + _args, _kwargs)
- return val
- def GetWidth(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetWidth,(self,) + _args, _kwargs)
- return val
- def GetHeight(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetHeight,(self,) + _args, _kwargs)
- return val
- def GetDescent(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetDescent,(self,) + _args, _kwargs)
- return val
- def GetLink(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetLink,(self,) + _args, _kwargs)
- if val: val = wxHtmlLinkInfoPtr(val)
- return val
- def GetNext(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetNext,(self,) + _args, _kwargs)
- if val: val = wxHtmlCellPtr(val)
- return val
- def GetParent(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_GetParent,(self,) + _args, _kwargs)
- if val: val = wxHtmlContainerCellPtr(val)
- return val
- def SetLink(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_SetLink,(self,) + _args, _kwargs)
- return val
- def SetNext(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_SetNext,(self,) + _args, _kwargs)
- return val
- def SetParent(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_SetParent,(self,) + _args, _kwargs)
- return val
- def SetPos(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_SetPos,(self,) + _args, _kwargs)
- return val
- def Layout(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_Layout,(self,) + _args, _kwargs)
- return val
- def Draw(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_Draw,(self,) + _args, _kwargs)
- return val
- def DrawInvisible(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_DrawInvisible,(self,) + _args, _kwargs)
- return val
- def Find(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_Find,(self,) + _args, _kwargs)
- if val: val = wxHtmlCellPtr(val)
- return val
- def AdjustPagebreak(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_AdjustPagebreak,(self,) + _args, _kwargs)
- return val
- def SetCanLiveOnPagebreak(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlCell_SetCanLiveOnPagebreak,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxHtmlCell instance at %s>" % (self.this,)
-class wxHtmlCell(wxHtmlCellPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(htmlc.new_wxHtmlCell,_args,_kwargs)
+ del newobj.thisown
+ def __del__(self, destroy=_html.delete_HtmlRenderingState):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def SetSelectionState(*args, **kwargs):
+ """SetSelectionState(self, int s)"""
+ return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs)
+
+ def GetSelectionState(*args, **kwargs):
+ """GetSelectionState(self) -> int"""
+ return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs)
+
+ def SetFgColour(*args, **kwargs):
+ """SetFgColour(self, Colour c)"""
+ return _html.HtmlRenderingState_SetFgColour(*args, **kwargs)
+
+ def GetFgColour(*args, **kwargs):
+ """GetFgColour(self) -> Colour"""
+ return _html.HtmlRenderingState_GetFgColour(*args, **kwargs)
+
+ def SetBgColour(*args, **kwargs):
+ """SetBgColour(self, Colour c)"""
+ return _html.HtmlRenderingState_SetBgColour(*args, **kwargs)
+
+ def GetBgColour(*args, **kwargs):
+ """GetBgColour(self) -> Colour"""
+ return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
+
+
+class HtmlRenderingStatePtr(HtmlRenderingState):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlRenderingState
+_html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr)
+
+class HtmlRenderingStyle(object):
+ """Proxy of C++ HtmlRenderingStyle class"""
+ def __init__(self): raise RuntimeError, "No constructor defined"
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def GetSelectedTextColour(*args, **kwargs):
+ """GetSelectedTextColour(self, Colour clr) -> Colour"""
+ return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
+
+ def GetSelectedTextBgColour(*args, **kwargs):
+ """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
+ return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
+
+
+class HtmlRenderingStylePtr(HtmlRenderingStyle):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlRenderingStyle
+_html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr)
+
+class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
+ """Proxy of C++ DefaultHtmlRenderingStyle class"""
+ def __init__(self): raise RuntimeError, "No constructor defined"
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def GetSelectedTextColour(*args, **kwargs):
+ """GetSelectedTextColour(self, Colour clr) -> Colour"""
+ return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
+
+ def GetSelectedTextBgColour(*args, **kwargs):
+ """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
+ return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
+
+
+class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = DefaultHtmlRenderingStyle
+_html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr)
+
+class HtmlRenderingInfo(object):
+ """Proxy of C++ HtmlRenderingInfo class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> HtmlRenderingInfo"""
+ newobj = _html.new_HtmlRenderingInfo(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_html.delete_HtmlRenderingInfo):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def SetSelection(*args, **kwargs):
+ """SetSelection(self, HtmlSelection s)"""
+ return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs)
+
+ def GetSelection(*args, **kwargs):
+ """GetSelection(self) -> HtmlSelection"""
+ return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs)
+
+ def SetStyle(*args, **kwargs):
+ """SetStyle(self, HtmlRenderingStyle style)"""
+ return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs)
+
+ def GetStyle(*args, **kwargs):
+ """GetStyle(self) -> HtmlRenderingStyle"""
+ return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs)
+
+ def GetState(*args, **kwargs):
+ """GetState(self) -> HtmlRenderingState"""
+ return _html.HtmlRenderingInfo_GetState(*args, **kwargs)
+
+
+class HtmlRenderingInfoPtr(HtmlRenderingInfo):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlRenderingInfo
+_html.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr)
+
+#---------------------------------------------------------------------------
+
+HTML_FIND_EXACT = _html.HTML_FIND_EXACT
+HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
+HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
+class HtmlCell(_core.Object):
+ """Proxy of C++ HtmlCell class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self) -> HtmlCell"""
+ newobj = _html.new_HtmlCell(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetPosX(*args, **kwargs):
+ """GetPosX(self) -> int"""
+ return _html.HtmlCell_GetPosX(*args, **kwargs)
+
+ def GetPosY(*args, **kwargs):
+ """GetPosY(self) -> int"""
+ return _html.HtmlCell_GetPosY(*args, **kwargs)
+
+ def GetWidth(*args, **kwargs):
+ """GetWidth(self) -> int"""
+ return _html.HtmlCell_GetWidth(*args, **kwargs)
+
+ def GetHeight(*args, **kwargs):
+ """GetHeight(self) -> int"""
+ return _html.HtmlCell_GetHeight(*args, **kwargs)
+
+ def GetDescent(*args, **kwargs):
+ """GetDescent(self) -> int"""
+ return _html.HtmlCell_GetDescent(*args, **kwargs)
+
+ def GetMaxTotalWidth(*args, **kwargs):
+ """GetMaxTotalWidth(self) -> int"""
+ return _html.HtmlCell_GetMaxTotalWidth(*args, **kwargs)
+
+ def GetId(*args, **kwargs):
+ """GetId(self) -> String"""
+ return _html.HtmlCell_GetId(*args, **kwargs)
+
+ def SetId(*args, **kwargs):
+ """SetId(self, String id)"""
+ return _html.HtmlCell_SetId(*args, **kwargs)
+
+ def GetLink(*args, **kwargs):
+ """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
+ return _html.HtmlCell_GetLink(*args, **kwargs)
+
+ def GetNext(*args, **kwargs):
+ """GetNext(self) -> HtmlCell"""
+ return _html.HtmlCell_GetNext(*args, **kwargs)
+
+ def GetParent(*args, **kwargs):
+ """GetParent(self) -> HtmlContainerCell"""
+ return _html.HtmlCell_GetParent(*args, **kwargs)
+
+ def GetFirstChild(*args, **kwargs):
+ """GetFirstChild(self) -> HtmlCell"""
+ return _html.HtmlCell_GetFirstChild(*args, **kwargs)
+
+ def GetCursor(*args, **kwargs):
+ """GetCursor(self) -> Cursor"""
+ return _html.HtmlCell_GetCursor(*args, **kwargs)
+
+ def IsFormattingCell(*args, **kwargs):
+ """IsFormattingCell(self) -> bool"""
+ return _html.HtmlCell_IsFormattingCell(*args, **kwargs)
+
+ def SetLink(*args, **kwargs):
+ """SetLink(self, HtmlLinkInfo link)"""
+ return _html.HtmlCell_SetLink(*args, **kwargs)
+
+ def SetNext(*args, **kwargs):
+ """SetNext(self, HtmlCell cell)"""
+ return _html.HtmlCell_SetNext(*args, **kwargs)
+
+ def SetParent(*args, **kwargs):
+ """SetParent(self, HtmlContainerCell p)"""
+ return _html.HtmlCell_SetParent(*args, **kwargs)
+
+ def SetPos(*args, **kwargs):
+ """SetPos(self, int x, int y)"""
+ return _html.HtmlCell_SetPos(*args, **kwargs)
+
+ def Layout(*args, **kwargs):
+ """Layout(self, int w)"""
+ return _html.HtmlCell_Layout(*args, **kwargs)
+
+ def Draw(*args, **kwargs):
+ """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
+ return _html.HtmlCell_Draw(*args, **kwargs)
+
+ def DrawInvisible(*args, **kwargs):
+ """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
+ return _html.HtmlCell_DrawInvisible(*args, **kwargs)
+
+ def Find(*args, **kwargs):
+ """Find(self, int condition, void param) -> HtmlCell"""
+ return _html.HtmlCell_Find(*args, **kwargs)
+
+ def AdjustPagebreak(*args, **kwargs):
+ """AdjustPagebreak(self, int INOUT) -> bool"""
+ return _html.HtmlCell_AdjustPagebreak(*args, **kwargs)
+
+ def SetCanLiveOnPagebreak(*args, **kwargs):
+ """SetCanLiveOnPagebreak(self, bool can)"""
+ return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs)
+
+ def IsLinebreakAllowed(*args, **kwargs):
+ """IsLinebreakAllowed(self) -> bool"""
+ return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs)
+
+ def IsTerminalCell(*args, **kwargs):
+ """IsTerminalCell(self) -> bool"""
+ return _html.HtmlCell_IsTerminalCell(*args, **kwargs)
+
+ def FindCellByPos(*args, **kwargs):
+ """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
+ return _html.HtmlCell_FindCellByPos(*args, **kwargs)
+
+ def GetAbsPos(*args, **kwargs):
+ """GetAbsPos(self) -> Point"""
+ return _html.HtmlCell_GetAbsPos(*args, **kwargs)
+
+ def GetFirstTerminal(*args, **kwargs):
+ """GetFirstTerminal(self) -> HtmlCell"""
+ return _html.HtmlCell_GetFirstTerminal(*args, **kwargs)
+
+ def GetLastTerminal(*args, **kwargs):
+ """GetLastTerminal(self) -> HtmlCell"""
+ return _html.HtmlCell_GetLastTerminal(*args, **kwargs)
+
+ def GetDepth(*args, **kwargs):
+ """GetDepth(self) -> unsigned int"""
+ return _html.HtmlCell_GetDepth(*args, **kwargs)
+
+ def IsBefore(*args, **kwargs):
+ """IsBefore(self, HtmlCell cell) -> bool"""
+ return _html.HtmlCell_IsBefore(*args, **kwargs)
+
+ def ConvertToText(*args, **kwargs):
+ """ConvertToText(self, HtmlSelection sel) -> String"""
+ return _html.HtmlCell_ConvertToText(*args, **kwargs)
+
+
+class HtmlCellPtr(HtmlCell):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlCell
+_html.HtmlCell_swigregister(HtmlCellPtr)
+
+class HtmlWordCell(HtmlCell):
+ """Proxy of C++ HtmlWordCell class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, String word, DC dc) -> HtmlWordCell"""
+ newobj = _html.new_HtmlWordCell(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+
+class HtmlWordCellPtr(HtmlWordCell):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlWordCell
+_html.HtmlWordCell_swigregister(HtmlWordCellPtr)
+
+class HtmlContainerCell(HtmlCell):
+ """Proxy of C++ HtmlContainerCell class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
+ newobj = _html.new_HtmlContainerCell(*args, **kwargs)
+ self.this = newobj.this