from streams import *
+from utils import *
+
from mdi import *
from frames import *
from sizers import *
from filesys import *
-
-from utils import *
import wx
class wxHtmlLinkInfoPtr(wxObjectPtr):
def __init__(self,this):
def GetAllParams(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlTag_GetAllParams,(self,) + _args, _kwargs)
return val
- def IsEnding(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlTag_IsEnding,(self,) + _args, _kwargs)
- return val
def HasEnding(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlTag_HasEnding,(self,) + _args, _kwargs)
return val
return val
def GetLinkColor(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_GetLinkColor,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetLinkColor(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_SetLinkColor,(self,) + _args, _kwargs)
return val
def GetActualColor(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_GetActualColor,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetActualColor(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinParser_SetActualColor,(self,) + _args, _kwargs)
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlTagHandler__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlTagHandler__setCallbackInfo,(self,) + _args, _kwargs)
return val
def SetParser(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlTagHandler_SetParser,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_wxHtmlTagHandler,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxHtmlTagHandler)
+ self._setCallbackInfo(self, wxHtmlTagHandler)
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlWinTagHandler__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWinTagHandler__setCallbackInfo,(self,) + _args, _kwargs)
return val
def SetParser(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWinTagHandler_SetParser,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_wxHtmlWinTagHandler,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxHtmlWinTagHandler)
+ self._setCallbackInfo(self, wxHtmlWinTagHandler)
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(htmlc.wxHtmlWindow__setSelf,(self,) + _args, _kwargs)
+ def Create(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWindow_Create,(self,) + _args, _kwargs)
+ return val
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWindow__setCallbackInfo,(self,) + _args, _kwargs)
return val
def SetPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
def LoadPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
return val
+ def AppendToPage(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWindow_AppendToPage,(self,) + _args, _kwargs)
+ return val
def GetOpenedPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
return val
def base_OnSetTitle(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_base_OnSetTitle,(self,) + _args, _kwargs)
return val
+ def base_OnCellMouseHover(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWindow_base_OnCellMouseHover,(self,) + _args, _kwargs)
+ return val
+ def base_OnCellClicked(self, *_args, **_kwargs):
+ val = apply(htmlc.wxHtmlWindow_base_OnCellClicked,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxHtmlWindow instance at %s>" % (self.this,)
class wxHtmlWindow(wxHtmlWindowPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxHtmlWindow)
- #wx._StdWindowCallbacks(self)
- #wx._StdOnScrollCallbacks(self)
+ self._setCallbackInfo(self, wxHtmlWindow)
+ self._setOORInfo(self)
+def wxPreHtmlWindow(*_args,**_kwargs):
+ val = wxHtmlWindowPtr(apply(htmlc.new_wxPreHtmlWindow,_args,_kwargs))
+ val.thisown = 1
+ val._setOORInfo(val)
+ return val
+
class wxHtmlDCRendererPtr(wxObjectPtr):
def __init__(self,this):
wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr
wx.wxHtmlWindowPtr = wxHtmlWindowPtr
wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr
+