from gdi import *
+from fonts import *
+
from clip_dnd import *
from events import *
def DoParsing(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlParser_DoParsing,(self,) + _args, _kwargs)
return val
+ def StopParsing(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlParser_StopParsing,(self,) + _args, _kwargs)
+ return val
def AddTagHandler(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlParser_AddTagHandler,(self,) + _args, _kwargs)
return val
def SetBackgroundColour(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlContainerCell_SetBackgroundColour,(self,) + _args, _kwargs)
return val
+ def GetBackgroundColour(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlContainerCell_GetBackgroundColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
def SetBorder(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlContainerCell_SetBorder,(self,) + _args, _kwargs)
return val
+class wxHtmlFilterPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlFilter__setCallbackInfo,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxHtmlFilter instance at %s>" % (self.this,)
+class wxHtmlFilter(wxHtmlFilterPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(htmlc.new_wxHtmlFilter,_args,_kwargs)
+ self.thisown = 1
+ self._setCallbackInfo(self, wxHtmlFilter)
+
+
+
+
class wxHtmlWindowPtr(wxScrolledWindowPtr):
def __init__(self,this):
self.this = this
val = apply(htmlc.wxHtmlWindow_GetParser,(self,) + _args, _kwargs)
if val: val = wxHtmlWinParserPtr(val)
return val
+ def ScrollToAnchor(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWindow_ScrollToAnchor,(self,) + _args, _kwargs)
+ return val
+ def HasAnchor(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWindow_HasAnchor,(self,) + _args, _kwargs)
+ return val
def base_OnLinkClicked(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_base_OnLinkClicked,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,htmlc=htmlc):
- if self.thisown == 1 :
- htmlc.delete_wxHtmlDCRenderer(self)
+ def __del__(self, delfunc=htmlc.delete_wxHtmlDCRenderer):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def SetDC(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlDCRenderer_SetDC,(self,) + _args, _kwargs)
return val
def SetHtmlText(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlDCRenderer_SetHtmlText,(self,) + _args, _kwargs)
return val
+ def SetFonts(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlDCRenderer_SetFonts,(self,) + _args, _kwargs)
+ return val
def Render(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlDCRenderer_Render,(self,) + _args, _kwargs)
return val
def SetFooter(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlPrintout_SetFooter,(self,) + _args, _kwargs)
return val
+ def SetFonts(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlPrintout_SetFonts,(self,) + _args, _kwargs)
+ return val
def SetMargins(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlPrintout_SetMargins,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def __del__(self,htmlc=htmlc):
- if self.thisown == 1 :
- htmlc.delete_wxHtmlEasyPrinting(self)
+ def __del__(self, delfunc=htmlc.delete_wxHtmlEasyPrinting):
+ if self.thisown == 1:
+ try:
+ delfunc(self)
+ except:
+ pass
def PreviewFile(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlEasyPrinting_PreviewFile,(self,) + _args, _kwargs)
return val
def SetFooter(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlEasyPrinting_SetFooter,(self,) + _args, _kwargs)
return val
+ def SetFonts(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlEasyPrinting_SetFonts,(self,) + _args, _kwargs)
+ return val
def GetPrintData(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlEasyPrinting_GetPrintData,(self,) + _args, _kwargs)
if val: val = wxPrintDataPtr(val)
wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR
wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP
wxHTML_COND_USER = htmlc.wxHTML_COND_USER
+wxHW_SCROLLBAR_NEVER = htmlc.wxHW_SCROLLBAR_NEVER
+wxHW_SCROLLBAR_AUTO = htmlc.wxHW_SCROLLBAR_AUTO
+wxHTML_OPEN = htmlc.wxHTML_OPEN
+wxHTML_BLOCK = htmlc.wxHTML_BLOCK
+wxHTML_REDIRECT = htmlc.wxHTML_REDIRECT
+wxHTML_URL_PAGE = htmlc.wxHTML_URL_PAGE
+wxHTML_URL_IMAGE = htmlc.wxHTML_URL_IMAGE
+wxHTML_URL_OTHER = htmlc.wxHTML_URL_OTHER
wxPAGE_ODD = htmlc.wxPAGE_ODD
wxPAGE_EVEN = htmlc.wxPAGE_EVEN
wxPAGE_ALL = htmlc.wxPAGE_ALL
wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr
wx.wxHtmlWindowPtr = wxHtmlWindowPtr
wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr
+wx.wxHtmlFilterPtr = wxHtmlFilterPtr