-# This file was created automatically by SWIG.
+# This file was created automatically by SWIG 1.3.27.
# Don't modify this file, modify the SWIG interface instead.
"""
import _html
+def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
+ if (name == "this"):
+ if isinstance(value, class_type):
+ self.__dict__[name] = value.this
+ if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
+ del value.thisown
+ return
+ method = class_type.__swig_setmethods__.get(name,None)
+ if method: return method(self,value)
+ if (not static) or hasattr(self,name) or (name == "thisown"):
+ self.__dict__[name] = value
+ else:
+ raise AttributeError("You cannot add attributes to %s" % self)
+
+def _swig_setattr(self,class_type,name,value):
+ return _swig_setattr_nondynamic(self,class_type,name,value,0)
+
+def _swig_getattr(self,class_type,name):
+ method = class_type.__swig_getmethods__.get(name,None)
+ if method: return method(self)
+ raise AttributeError,name
+
+import types
+try:
+ _object = types.ObjectType
+ _newclass = 1
+except AttributeError:
+ class _object : pass
+ _newclass = 0
+del types
+
+
+def _swig_setattr_nondynamic_method(set):
+ def set_attr(self,name,value):
+ if hasattr(self,name) or (name in ("this", "thisown")):
+ set(self,name,value)
+ else:
+ raise AttributeError("You cannot add attributes to %s" % self)
+ return set_attr
+
+
import _windows
import _core
wx = _core
HTML_URL_IMAGE = _html.HTML_URL_IMAGE
HTML_URL_OTHER = _html.HTML_URL_OTHER
class HtmlLinkInfo(_core.Object):
+ """Proxy of C++ HtmlLinkInfo class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
class HtmlTag(_core.Object):
+ """Proxy of C++ HtmlTag class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
_html.HtmlTag_swigregister(HtmlTagPtr)
class HtmlParser(_core.Object):
+ """Proxy of C++ HtmlParser class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
_html.HtmlParser_swigregister(HtmlParserPtr)
class HtmlWinParser(HtmlParser):
+ """Proxy of C++ HtmlWinParser class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""SetActualColor(self, Colour clr)"""
return _html.HtmlWinParser_SetActualColor(*args, **kwargs)
+ GetActualColour = GetActualColor
+ SetActualColour = SetActualColor
+
def SetLink(*args, **kwargs):
"""SetLink(self, String link)"""
return _html.HtmlWinParser_SetLink(*args, **kwargs)
_html.HtmlWinParser_swigregister(HtmlWinParserPtr)
class HtmlTagHandler(_core.Object):
+ """Proxy of C++ HtmlTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr)
class HtmlWinTagHandler(HtmlTagHandler):
+ """Proxy of C++ HtmlWinTagHandler class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
#---------------------------------------------------------------------------
class HtmlSelection(object):
+ """Proxy of C++ HtmlSelection class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
HTML_SEL_IN = _html.HTML_SEL_IN
HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
class HtmlRenderingState(object):
+ """Proxy of C++ HtmlRenderingState class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
_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,)
_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,)
_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):
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):
_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):
_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):
_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):
_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):
_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):
#---------------------------------------------------------------------------
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):
#---------------------------------------------------------------------------
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):
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
- def SetTitle(*args, **kwargs):
- """SetTitle(self, String title)"""
- return _html.HtmlWindow_SetTitle(*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)
#---------------------------------------------------------------------------
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):
def Render(*args, **kwargs):
"""
- Render(self, int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
+ 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)
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):
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):
#---------------------------------------------------------------------------
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):
self.__class__ = HtmlBookRecord
_html.HtmlBookRecord_swigregister(HtmlBookRecordPtr)
-class HtmlContentsItem(object):
- def __init__(self): raise RuntimeError, "No constructor defined"
- def __repr__(self):
- return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
- def GetLevel(*args, **kwargs):
- """GetLevel(self) -> int"""
- return _html.HtmlContentsItem_GetLevel(*args, **kwargs)
-
- def GetID(*args, **kwargs):
- """GetID(self) -> int"""
- return _html.HtmlContentsItem_GetID(*args, **kwargs)
-
- def GetName(*args, **kwargs):
- """GetName(self) -> String"""
- return _html.HtmlContentsItem_GetName(*args, **kwargs)
-
- def GetPage(*args, **kwargs):
- """GetPage(self) -> String"""
- return _html.HtmlContentsItem_GetPage(*args, **kwargs)
-
- def GetBook(*args, **kwargs):
- """GetBook(self) -> HtmlBookRecord"""
- return _html.HtmlContentsItem_GetBook(*args, **kwargs)
-
-
-class HtmlContentsItemPtr(HtmlContentsItem):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = HtmlContentsItem
-_html.HtmlContentsItem_swigregister(HtmlContentsItemPtr)
-
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,)
"""GetName(self) -> String"""
return _html.HtmlSearchStatus_GetName(*args, **kwargs)
- def GetContentsItem(*args, **kwargs):
- """GetContentsItem(self) -> HtmlContentsItem"""
- return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs)
-
class HtmlSearchStatusPtr(HtmlSearchStatus):
def __init__(self, this):
_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):
"""GetBookRecArray(self) -> wxHtmlBookRecArray"""
return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
- def GetContents(*args, **kwargs):
- """GetContents(self) -> HtmlContentsItem"""
- return _html.HtmlHelpData_GetContents(*args, **kwargs)
-
- def GetContentsCnt(*args, **kwargs):
- """GetContentsCnt(self) -> int"""
- return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs)
-
- def GetIndex(*args, **kwargs):
- """GetIndex(self) -> HtmlContentsItem"""
- return _html.HtmlHelpData_GetIndex(*args, **kwargs)
-
- def GetIndexCnt(*args, **kwargs):
- """GetIndexCnt(self) -> int"""
- return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs)
-
class HtmlHelpDataPtr(HtmlHelpData):
def __init__(self, this):
self.__class__ = HtmlHelpData
_html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
-class HtmlHelpFrame(_windows.Frame):
+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++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ 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 ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
- HtmlHelpData data=None) -> HtmlHelpFrame
+ __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_HtmlHelpFrame(*args, **kwargs)
+ newobj = _html.new_HtmlHelpWindow(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
+ def Create(*args, **kwargs):
+ """
+ Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
+ int style=wxTAB_TRAVERSAL|wxNO_BORDER,
+ int helpStyle=HF_DEFAULT_STYLE) -> bool
+ """
+ return _html.HtmlHelpWindow_Create(*args, **kwargs)
+
def GetData(*args, **kwargs):
"""GetData(self) -> HtmlHelpData"""
- return _html.HtmlHelpFrame_GetData(*args, **kwargs)
+ return _html.HtmlHelpWindow_GetData(*args, **kwargs)
- def SetTitleFormat(*args, **kwargs):
- """SetTitleFormat(self, String format)"""
- return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
+ def GetController(*args, **kwargs):
+ """GetController(self) -> HtmlHelpController"""
+ return _html.HtmlHelpWindow_GetController(*args, **kwargs)
+
+ def SetController(*args, **kwargs):
+ """SetController(self, HtmlHelpController controller)"""
+ return _html.HtmlHelpWindow_SetController(*args, **kwargs)
def Display(*args, **kwargs):
- """Display(self, String x)"""
- return _html.HtmlHelpFrame_Display(*args, **kwargs)
+ """Display(self, String x) -> bool"""
+ return _html.HtmlHelpWindow_Display(*args, **kwargs)
def DisplayID(*args, **kwargs):
- """DisplayID(self, int id)"""
- return _html.HtmlHelpFrame_DisplayID(*args, **kwargs)
+ """DisplayID(self, int id) -> bool"""
+ return _html.HtmlHelpWindow_DisplayID(*args, **kwargs)
def DisplayContents(*args, **kwargs):
- """DisplayContents(self)"""
- return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs)
+ """DisplayContents(self) -> bool"""
+ return _html.HtmlHelpWindow_DisplayContents(*args, **kwargs)
def DisplayIndex(*args, **kwargs):
- """DisplayIndex(self)"""
- return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs)
+ """DisplayIndex(self) -> bool"""
+ return _html.HtmlHelpWindow_DisplayIndex(*args, **kwargs)
def KeywordSearch(*args, **kwargs):
- """KeywordSearch(self, String keyword) -> bool"""
- return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs)
+ """KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
+ return _html.HtmlHelpWindow_KeywordSearch(*args, **kwargs)
def UseConfig(*args, **kwargs):
- """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
- return _html.HtmlHelpFrame_UseConfig(*args, **kwargs)
+ """UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
+ return _html.HtmlHelpWindow_UseConfig(*args, **kwargs)
def ReadCustomization(*args, **kwargs):
- """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
- return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs)
+ """ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
+ return _html.HtmlHelpWindow_ReadCustomization(*args, **kwargs)
def WriteCustomization(*args, **kwargs):
- """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
- return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs)
+ """WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
+ return _html.HtmlHelpWindow_WriteCustomization(*args, **kwargs)
+
+ def NotifyPageChanged(*args, **kwargs):
+ """NotifyPageChanged(self)"""
+ return _html.HtmlHelpWindow_NotifyPageChanged(*args, **kwargs)
+
+ def RefreshLists(*args, **kwargs):
+ """RefreshLists(self)"""
+ return _html.HtmlHelpWindow_RefreshLists(*args, **kwargs)
+
+ def GetHtmlWindow(*args, **kwargs):
+ """GetHtmlWindow(self) -> wxHtmlWindow"""
+ return _html.HtmlHelpWindow_GetHtmlWindow(*args, **kwargs)
+
+ def GetSplitterWindow(*args, **kwargs):
+ """GetSplitterWindow(self) -> SplitterWindow"""
+ return _html.HtmlHelpWindow_GetSplitterWindow(*args, **kwargs)
+
+ def GetToolBar(*args, **kwargs):
+ """GetToolBar(self) -> wxToolBar"""
+ return _html.HtmlHelpWindow_GetToolBar(*args, **kwargs)
+
+ def GetCfgData(*args, **kwargs):
+ """GetCfgData(self) -> wxHtmlHelpFrameCfg"""
+ return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
+
+ def GetTreeCtrl(*args, **kwargs):
+ """GetTreeCtrl(self) -> wxTreeCtrl"""
+ return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
+
+
+class HtmlHelpWindowPtr(HtmlHelpWindow):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlHelpWindow
+_html.HtmlHelpWindow_swigregister(HtmlHelpWindowPtr)
+
+def PreHtmlHelpWindow(*args, **kwargs):
+ """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
+ val = _html.new_PreHtmlHelpWindow(*args, **kwargs)
+ val.thisown = 1
+ self._setOORInfo(self)
+ return val
+
+class HtmlWindowEvent(_core.NotifyEvent):
+ """Proxy of C++ HtmlWindowEvent class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlWindowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
+ newobj = _html.new_HtmlWindowEvent(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def SetURL(*args, **kwargs):
+ """SetURL(self, String url)"""
+ return _html.HtmlWindowEvent_SetURL(*args, **kwargs)
+
+ def GetURL(*args, **kwargs):
+ """GetURL(self) -> String"""
+ return _html.HtmlWindowEvent_GetURL(*args, **kwargs)
+
+
+class HtmlWindowEventPtr(HtmlWindowEvent):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlWindowEvent
+_html.HtmlWindowEvent_swigregister(HtmlWindowEventPtr)
+
+class HtmlHelpFrame(_windows.Frame):
+ """Proxy of C++ HtmlHelpFrame class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, Window parent, int ??, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
+ HtmlHelpData data=None) -> HtmlHelpFrame
+ """
+ newobj = _html.new_HtmlHelpFrame(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setOORInfo(self)
+
+ def Create(*args, **kwargs):
+ """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
+ return _html.HtmlHelpFrame_Create(*args, **kwargs)
+
+ def GetData(*args, **kwargs):
+ """GetData(self) -> HtmlHelpData"""
+ return _html.HtmlHelpFrame_GetData(*args, **kwargs)
+
+ def SetTitleFormat(*args, **kwargs):
+ """SetTitleFormat(self, String format)"""
+ return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
+
+ def AddGrabIfNeeded(*args, **kwargs):
+ """AddGrabIfNeeded(self)"""
+ return _html.HtmlHelpFrame_AddGrabIfNeeded(*args, **kwargs)
+
+ def GetController(*args, **kwargs):
+ """GetController(self) -> HtmlHelpController"""
+ return _html.HtmlHelpFrame_GetController(*args, **kwargs)
+
+ def SetController(*args, **kwargs):
+ """SetController(self, HtmlHelpController controller)"""
+ return _html.HtmlHelpFrame_SetController(*args, **kwargs)
+
+ def GetHelpWindow(*args, **kwargs):
+ """GetHelpWindow(self) -> HtmlHelpWindow"""
+ return _html.HtmlHelpFrame_GetHelpWindow(*args, **kwargs)
+
+ # For compatibility from before the refactor
+ def Display(self, x):
+ return self.GetHelpWindow().Display(x)
+ def DisplayID(self, x):
+ return self.GetHelpWindow().DisplayID(id)
+ def DisplayContents(self):
+ return self.GetHelpWindow().DisplayContents()
+ def DisplayIndex(self):
+ return self.GetHelpWindow().DisplayIndex()
+
+ def KeywordSearch(self, keyword):
+ return self.GetHelpWindow().KeywordSearch(keyword)
+
+ def UseConfig(self, config, rootpath=""):
+ return self.GetHelpWindow().UseConfig(config, rootpath)
+ def ReadCustomization(self, config, rootpath=""):
+ return self.GetHelpWindow().ReadCustomization(config, rootpath)
+ def WriteCustomization(self, config, rootpath=""):
+ return self.GetHelpWindow().WriteCustomization(config, rootpath)
class HtmlHelpFramePtr(HtmlHelpFrame):
self.__class__ = HtmlHelpFrame
_html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr)
-HF_TOOLBAR = _html.HF_TOOLBAR
-HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR
-HF_CONTENTS = _html.HF_CONTENTS
-HF_INDEX = _html.HF_INDEX
-HF_SEARCH = _html.HF_SEARCH
-HF_BOOKMARKS = _html.HF_BOOKMARKS
-HF_OPENFILES = _html.HF_OPENFILES
-HF_PRINT = _html.HF_PRINT
-HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE
-class HtmlHelpController(_core.EvtHandler):
+def PreHtmlHelpFrame(*args, **kwargs):
+ """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
+ val = _html.new_PreHtmlHelpFrame(*args, **kwargs)
+ val.thisown = 1
+ self._setOORInfo(self)
+ return val
+
+class HtmlHelpDialog(_windows.Dialog):
+ """Proxy of C++ HtmlHelpDialog class"""
def __repr__(self):
- return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ return "<%s.%s; proxy of C++ wxHtmlHelpDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
- newobj = _html.new_HtmlHelpController(*args, **kwargs)
+ """
+ __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULT_STYLE,
+ HtmlHelpData data=None) -> HtmlHelpDialog
+ """
+ newobj = _html.new_HtmlHelpDialog(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
+ def Create(*args, **kwargs):
+ """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
+ return _html.HtmlHelpDialog_Create(*args, **kwargs)
+
+ def GetData(*args, **kwargs):
+ """GetData(self) -> HtmlHelpData"""
+ return _html.HtmlHelpDialog_GetData(*args, **kwargs)
+
+ def GetController(*args, **kwargs):
+ """GetController(self) -> HtmlHelpController"""
+ return _html.HtmlHelpDialog_GetController(*args, **kwargs)
+
+ def SetController(*args, **kwargs):
+ """SetController(self, HtmlHelpController controller)"""
+ return _html.HtmlHelpDialog_SetController(*args, **kwargs)
+
+ def GetHelpWindow(*args, **kwargs):
+ """GetHelpWindow(self) -> HtmlHelpWindow"""
+ return _html.HtmlHelpDialog_GetHelpWindow(*args, **kwargs)
+
+ def SetTitleFormat(*args, **kwargs):
+ """SetTitleFormat(self, String format)"""
+ return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs)
+
+
+class HtmlHelpDialogPtr(HtmlHelpDialog):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlHelpDialog
+_html.HtmlHelpDialog_swigregister(HtmlHelpDialogPtr)
+
+def PreHtmlHelpDialog(*args, **kwargs):
+ """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
+ val = _html.new_PreHtmlHelpDialog(*args, **kwargs)
+ val.thisown = 1
+ self._setOORInfo(self)
+ return val
+
+class HelpControllerBase(_core.Object):
+ """Proxy of C++ HelpControllerBase class"""
+ def __init__(self): raise RuntimeError, "No constructor defined"
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHelpControllerBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def Initialize(*args):
+ """
+ Initialize(self, String file, int server) -> bool
+ Initialize(self, String file) -> bool
+ """
+ return _html.HelpControllerBase_Initialize(*args)
+
+ def SetViewer(*args, **kwargs):
+ """SetViewer(self, String viewer, long flags=0)"""
+ return _html.HelpControllerBase_SetViewer(*args, **kwargs)
+
+ def LoadFile(*args, **kwargs):
+ """LoadFile(self, String file=wxEmptyString) -> bool"""
+ return _html.HelpControllerBase_LoadFile(*args, **kwargs)
+
+ def DisplayContents(*args, **kwargs):
+ """DisplayContents(self) -> bool"""
+ return _html.HelpControllerBase_DisplayContents(*args, **kwargs)
+
+ def DisplayContextPopup(*args, **kwargs):
+ """DisplayContextPopup(self, int contextId) -> bool"""
+ return _html.HelpControllerBase_DisplayContextPopup(*args, **kwargs)
+
+ def DisplayTextPopup(*args, **kwargs):
+ """DisplayTextPopup(self, String text, Point pos) -> bool"""
+ return _html.HelpControllerBase_DisplayTextPopup(*args, **kwargs)
+
+ def DisplaySection(*args):
+ """
+ DisplaySection(self, int sectionNo) -> bool
+ DisplaySection(self, String section) -> bool
+ """
+ return _html.HelpControllerBase_DisplaySection(*args)
+
+ def DisplayBlock(*args, **kwargs):
+ """DisplayBlock(self, long blockNo) -> bool"""
+ return _html.HelpControllerBase_DisplayBlock(*args, **kwargs)
+
+ def KeywordSearch(*args, **kwargs):
+ """KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
+ return _html.HelpControllerBase_KeywordSearch(*args, **kwargs)
+
+ def SetFrameParameters(*args, **kwargs):
+ """
+ SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
+ bool newFrameEachTime=False)
+ """
+ return _html.HelpControllerBase_SetFrameParameters(*args, **kwargs)
+
+ def GetFrameParameters(*args, **kwargs):
+ """GetFrameParameters(self, Size size=None, Point pos=None, bool newFrameEachTime=None) -> Frame"""
+ return _html.HelpControllerBase_GetFrameParameters(*args, **kwargs)
+
+ def Quit(*args, **kwargs):
+ """Quit(self) -> bool"""
+ return _html.HelpControllerBase_Quit(*args, **kwargs)
+
+ def OnQuit(*args, **kwargs):
+ """OnQuit(self)"""
+ return _html.HelpControllerBase_OnQuit(*args, **kwargs)
+
+ def SetParentWindow(*args, **kwargs):
+ """SetParentWindow(self, Window win)"""
+ return _html.HelpControllerBase_SetParentWindow(*args, **kwargs)
+
+ def GetParentWindow(*args, **kwargs):
+ """GetParentWindow(self) -> Window"""
+ return _html.HelpControllerBase_GetParentWindow(*args, **kwargs)
+
+
+class HelpControllerBasePtr(HelpControllerBase):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HelpControllerBase
+_html.HelpControllerBase_swigregister(HelpControllerBasePtr)
+
+class HtmlHelpController(HelpControllerBase):
+ """Proxy of C++ HtmlHelpController class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController"""
+ newobj = _html.new_HtmlHelpController(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
def __del__(self, destroy=_html.delete_HtmlHelpController):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
+ def GetHelpWindow(*args, **kwargs):
+ """GetHelpWindow(self) -> HtmlHelpWindow"""
+ return _html.HtmlHelpController_GetHelpWindow(*args, **kwargs)
+
+ def SetHelpWindow(*args, **kwargs):
+ """SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
+ return _html.HtmlHelpController_SetHelpWindow(*args, **kwargs)
+
+ def GetFrame(*args, **kwargs):
+ """GetFrame(self) -> HtmlHelpFrame"""
+ return _html.HtmlHelpController_GetFrame(*args, **kwargs)
+
+ def GetDialog(*args, **kwargs):
+ """GetDialog(self) -> HtmlHelpDialog"""
+ return _html.HtmlHelpController_GetDialog(*args, **kwargs)
+
def SetTitleFormat(*args, **kwargs):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs)
"""WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlHelpController_WriteCustomization(*args, **kwargs)
- def GetFrame(*args, **kwargs):
- """GetFrame(self) -> HtmlHelpFrame"""
- return _html.HtmlHelpController_GetFrame(*args, **kwargs)
+ def MakeModalIfNeeded(*args, **kwargs):
+ """MakeModalIfNeeded(self)"""
+ return _html.HtmlHelpController_MakeModalIfNeeded(*args, **kwargs)
+
+ def FindTopLevelWindow(*args, **kwargs):
+ """FindTopLevelWindow(self) -> Window"""
+ return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs)
class HtmlHelpControllerPtr(HtmlHelpController):
self.__class__ = HtmlHelpController
_html.HtmlHelpController_swigregister(HtmlHelpControllerPtr)
+class HtmlModalHelp(object):
+ """Proxy of C++ HtmlModalHelp class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlModalHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, Window parent, String helpFile, String topic=wxEmptyString,
+ int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
+ """
+ newobj = _html.new_HtmlModalHelp(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+
+class HtmlModalHelpPtr(HtmlModalHelp):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlModalHelp
+_html.HtmlModalHelp_swigregister(HtmlModalHelpPtr)
+
+