1 # This file was created automatically by SWIG.
18 from stattool
import *
20 from controls
import *
22 from controls2
import *
24 from windows2
import *
28 from windows3
import *
33 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
34 IMG_Book
= htmlhelpc
.wxHtmlHelpController_IMG_Book
35 IMG_Folder
= htmlhelpc
.wxHtmlHelpController_IMG_Folder
36 IMG_Page
= htmlhelpc
.wxHtmlHelpController_IMG_Page
37 def __init__(self
,this
):
40 def __del__(self
,htmlhelpc
=htmlhelpc
):
41 if self
.thisown
== 1 :
42 htmlhelpc
.delete_wxHtmlHelpController(self
)
43 def SetTitleFormat(self
, *_args
, **_kwargs
):
44 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
46 def SetTempDir(self
, *_args
, **_kwargs
):
47 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
49 def AddBook(self
, *_args
, **_kwargs
):
50 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
52 def Display(self
, *_args
, **_kwargs
):
53 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
55 def DisplayID(self
, *_args
, **_kwargs
):
56 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
58 def DisplayContents(self
, *_args
, **_kwargs
):
59 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
61 def DisplayIndex(self
, *_args
, **_kwargs
):
62 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
64 def KeywordSearch(self
, *_args
, **_kwargs
):
65 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
67 def UseConfig(self
, *_args
, **_kwargs
):
68 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
70 def ReadCustomization(self
, *_args
, **_kwargs
):
71 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
73 def WriteCustomization(self
, *_args
, **_kwargs
):
74 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
77 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
78 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
79 def __init__(self
,*_args
,**_kwargs
):
80 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
86 class wxHtmlHelpSystemPtr(wxHtmlHelpControllerPtr
):
87 def __init__(self
,this
):
90 def __del__(self
,htmlhelpc
=htmlhelpc
):
91 if self
.thisown
== 1 :
92 htmlhelpc
.delete_wxHtmlHelpSystem(self
)
93 def AddBookParam(self
, *_args
, **_kwargs
):
94 val
= apply(htmlhelpc
.wxHtmlHelpSystem_AddBookParam
,(self
,) + _args
, _kwargs
)
96 def CreateToolBar(self
, *_args
, **_kwargs
):
97 val
= apply(htmlhelpc
.wxHtmlHelpSystem_CreateToolBar
,(self
,) + _args
, _kwargs
)
98 if val
: val
= wxToolBarPtr(val
)
100 def CreateContentsTree(self
, *_args
, **_kwargs
):
101 val
= apply(htmlhelpc
.wxHtmlHelpSystem_CreateContentsTree
,(self
,) + _args
, _kwargs
)
102 if val
: val
= wxTreeCtrlPtr(val
)
104 def CreateIndexList(self
, *_args
, **_kwargs
):
105 val
= apply(htmlhelpc
.wxHtmlHelpSystem_CreateIndexList
,(self
,) + _args
, _kwargs
)
106 if val
: val
= wxListBoxPtr(val
)
108 def CreateHelpWindow(self
, *_args
, **_kwargs
):
109 val
= apply(htmlhelpc
.wxHtmlHelpSystem_CreateHelpWindow
,(self
,) + _args
, _kwargs
)
111 def SetControls(self
, *_args
, **_kwargs
):
112 val
= apply(htmlhelpc
.wxHtmlHelpSystem_SetControls
,(self
,) + _args
, _kwargs
)
114 def GetFrame(self
, *_args
, **_kwargs
):
115 val
= apply(htmlhelpc
.wxHtmlHelpSystem_GetFrame
,(self
,) + _args
, _kwargs
)
116 if val
: val
= wxFramePtr(val
)
118 def GetHtmlWindow(self
, *_args
, **_kwargs
):
119 val
= apply(htmlhelpc
.wxHtmlHelpSystem_GetHtmlWindow
,(self
,) + _args
, _kwargs
)
121 def GetContentsTree(self
, *_args
, **_kwargs
):
122 val
= apply(htmlhelpc
.wxHtmlHelpSystem_GetContentsTree
,(self
,) + _args
, _kwargs
)
123 if val
: val
= wxTreeCtrlPtr(val
)
125 def GetIndexList(self
, *_args
, **_kwargs
):
126 val
= apply(htmlhelpc
.wxHtmlHelpSystem_GetIndexList
,(self
,) + _args
, _kwargs
)
127 if val
: val
= wxListBoxPtr(val
)
129 def GetSearchList(self
, *_args
, **_kwargs
):
130 val
= apply(htmlhelpc
.wxHtmlHelpSystem_GetSearchList
,(self
,) + _args
, _kwargs
)
131 if val
: val
= wxListBoxPtr(val
)
133 def GetContentsImageList(self
, *_args
, **_kwargs
):
134 val
= apply(htmlhelpc
.wxHtmlHelpSystem_GetContentsImageList
,(self
,) + _args
, _kwargs
)
135 if val
: val
= wxImageListPtr(val
)
137 def OnToolbar(self
, *_args
, **_kwargs
):
138 val
= apply(htmlhelpc
.wxHtmlHelpSystem_OnToolbar
,(self
,) + _args
, _kwargs
)
140 def OnContentsSel(self
, *_args
, **_kwargs
):
141 val
= apply(htmlhelpc
.wxHtmlHelpSystem_OnContentsSel
,(self
,) + _args
, _kwargs
)
143 def OnIndexSel(self
, *_args
, **_kwargs
):
144 val
= apply(htmlhelpc
.wxHtmlHelpSystem_OnIndexSel
,(self
,) + _args
, _kwargs
)
146 def OnSearchSel(self
, *_args
, **_kwargs
):
147 val
= apply(htmlhelpc
.wxHtmlHelpSystem_OnSearchSel
,(self
,) + _args
, _kwargs
)
149 def OnSearch(self
, *_args
, **_kwargs
):
150 val
= apply(htmlhelpc
.wxHtmlHelpSystem_OnSearch
,(self
,) + _args
, _kwargs
)
152 def OnCloseWindow(self
, *_args
, **_kwargs
):
153 val
= apply(htmlhelpc
.wxHtmlHelpSystem_OnCloseWindow
,(self
,) + _args
, _kwargs
)
155 def RefreshLists(self
, *_args
, **_kwargs
):
156 val
= apply(htmlhelpc
.wxHtmlHelpSystem_RefreshLists
,(self
,) + _args
, _kwargs
)
158 def CreateContents(self
, *_args
, **_kwargs
):
159 val
= apply(htmlhelpc
.wxHtmlHelpSystem_CreateContents
,(self
,) + _args
, _kwargs
)
161 def CreateIndex(self
, *_args
, **_kwargs
):
162 val
= apply(htmlhelpc
.wxHtmlHelpSystem_CreateIndex
,(self
,) + _args
, _kwargs
)
165 return "<C wxHtmlHelpSystem instance at %s>" % (self
.this
,)
166 class wxHtmlHelpSystem(wxHtmlHelpSystemPtr
):
167 def __init__(self
,*_args
,**_kwargs
):
168 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpSystem
,_args
,_kwargs
)
176 #-------------- FUNCTION WRAPPERS ------------------
180 #-------------- VARIABLE WRAPPERS ------------------
182 wxID_HTML_PANEL
= htmlhelpc
.wxID_HTML_PANEL
183 wxID_HTML_BACK
= htmlhelpc
.wxID_HTML_BACK
184 wxID_HTML_FORWARD
= htmlhelpc
.wxID_HTML_FORWARD
185 wxID_HTML_TREECTRL
= htmlhelpc
.wxID_HTML_TREECTRL
186 wxID_HTML_INDEXPAGE
= htmlhelpc
.wxID_HTML_INDEXPAGE
187 wxID_HTML_INDEXLIST
= htmlhelpc
.wxID_HTML_INDEXLIST
188 wxID_HTML_NOTEBOOK
= htmlhelpc
.wxID_HTML_NOTEBOOK
189 wxID_HTML_SEARCHPAGE
= htmlhelpc
.wxID_HTML_SEARCHPAGE
190 wxID_HTML_SEARCHTEXT
= htmlhelpc
.wxID_HTML_SEARCHTEXT
191 wxID_HTML_SEARCHLIST
= htmlhelpc
.wxID_HTML_SEARCHLIST
192 wxID_HTML_SEARCHBUTTON
= htmlhelpc
.wxID_HTML_SEARCHBUTTON