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 *
35 class wxHtmlHelpFrameCfgPtr
:
36 def __init__(self
,this
):
39 def __setattr__(self
,name
,value
):
41 htmlhelpc
.wxHtmlHelpFrameCfg_x_set(self
,value
)
44 htmlhelpc
.wxHtmlHelpFrameCfg_y_set(self
,value
)
47 htmlhelpc
.wxHtmlHelpFrameCfg_w_set(self
,value
)
50 htmlhelpc
.wxHtmlHelpFrameCfg_h_set(self
,value
)
52 if name
== "sashpos" :
53 htmlhelpc
.wxHtmlHelpFrameCfg_sashpos_set(self
,value
)
55 if name
== "navig_on" :
56 htmlhelpc
.wxHtmlHelpFrameCfg_navig_on_set(self
,value
)
59 htmlhelpc
.wxHtmlHelpFrameCfg_style_set(self
,value
)
61 if name
== "titleformat" :
62 htmlhelpc
.wxHtmlHelpFrameCfg_titleformat_set(self
,value
)
64 self
.__dict
__[name
] = value
65 def __getattr__(self
,name
):
67 return htmlhelpc
.wxHtmlHelpFrameCfg_x_get(self
)
69 return htmlhelpc
.wxHtmlHelpFrameCfg_y_get(self
)
71 return htmlhelpc
.wxHtmlHelpFrameCfg_w_get(self
)
73 return htmlhelpc
.wxHtmlHelpFrameCfg_h_get(self
)
74 if name
== "sashpos" :
75 return htmlhelpc
.wxHtmlHelpFrameCfg_sashpos_get(self
)
76 if name
== "navig_on" :
77 return htmlhelpc
.wxHtmlHelpFrameCfg_navig_on_get(self
)
79 return htmlhelpc
.wxHtmlHelpFrameCfg_style_get(self
)
80 if name
== "titleformat" :
81 return htmlhelpc
.wxHtmlHelpFrameCfg_titleformat_get(self
)
82 raise AttributeError,name
84 return "<C wxHtmlHelpFrameCfg instance at %s>" % (self
.this
,)
85 class wxHtmlHelpFrameCfg(wxHtmlHelpFrameCfgPtr
):
86 def __init__(self
,*_args
,**_kwargs
):
87 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrameCfg
,_args
,_kwargs
)
93 class wxHtmlBookRecordPtr
:
94 def __init__(self
,this
):
97 def GetTitle(self
, *_args
, **_kwargs
):
98 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetTitle
,(self
,) + _args
, _kwargs
)
100 def GetStart(self
, *_args
, **_kwargs
):
101 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetStart
,(self
,) + _args
, _kwargs
)
103 def GetBasePath(self
, *_args
, **_kwargs
):
104 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBasePath
,(self
,) + _args
, _kwargs
)
106 def SetContentsRange(self
, *_args
, **_kwargs
):
107 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetContentsRange
,(self
,) + _args
, _kwargs
)
109 def GetContentsStart(self
, *_args
, **_kwargs
):
110 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsStart
,(self
,) + _args
, _kwargs
)
112 def GetContentsEnd(self
, *_args
, **_kwargs
):
113 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsEnd
,(self
,) + _args
, _kwargs
)
116 return "<C wxHtmlBookRecord instance at %s>" % (self
.this
,)
117 class wxHtmlBookRecord(wxHtmlBookRecordPtr
):
118 def __init__(self
,*_args
,**_kwargs
):
119 self
.this
= apply(htmlhelpc
.new_wxHtmlBookRecord
,_args
,_kwargs
)
125 class wxHtmlContentsItemPtr
:
126 def __init__(self
,this
):
129 def __setattr__(self
,name
,value
):
130 if name
== "m_Level" :
131 htmlhelpc
.wxHtmlContentsItem_m_Level_set(self
,value
)
134 htmlhelpc
.wxHtmlContentsItem_m_ID_set(self
,value
)
136 if name
== "m_Name" :
137 htmlhelpc
.wxHtmlContentsItem_m_Name_set(self
,value
)
139 if name
== "m_Page" :
140 htmlhelpc
.wxHtmlContentsItem_m_Page_set(self
,value
)
142 if name
== "m_Book" :
143 htmlhelpc
.wxHtmlContentsItem_m_Book_set(self
,value
.this
)
145 self
.__dict
__[name
] = value
146 def __getattr__(self
,name
):
147 if name
== "m_Level" :
148 return htmlhelpc
.wxHtmlContentsItem_m_Level_get(self
)
150 return htmlhelpc
.wxHtmlContentsItem_m_ID_get(self
)
151 if name
== "m_Name" :
152 return htmlhelpc
.wxHtmlContentsItem_m_Name_get(self
)
153 if name
== "m_Page" :
154 return htmlhelpc
.wxHtmlContentsItem_m_Page_get(self
)
155 if name
== "m_Book" :
156 return wxHtmlBookRecordPtr(htmlhelpc
.wxHtmlContentsItem_m_Book_get(self
))
157 raise AttributeError,name
159 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
160 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
161 def __init__(self
,this
):
167 class wxHtmlSearchStatusPtr
:
168 def __init__(self
,this
):
171 def Search(self
, *_args
, **_kwargs
):
172 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
174 def IsActive(self
, *_args
, **_kwargs
):
175 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
177 def GetCurIndex(self
, *_args
, **_kwargs
):
178 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
180 def GetMaxIndex(self
, *_args
, **_kwargs
):
181 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
183 def GetName(self
, *_args
, **_kwargs
):
184 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
186 def GetContentsItem(self
, *_args
, **_kwargs
):
187 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
188 if val
: val
= wxHtmlContentsItemPtr(val
)
191 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
192 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
193 def __init__(self
,this
):
199 class wxHtmlHelpDataPtr
:
200 def __init__(self
,this
):
203 def __del__(self
,htmlhelpc
=htmlhelpc
):
204 if self
.thisown
== 1 :
205 htmlhelpc
.delete_wxHtmlHelpData(self
)
206 def SetTempDir(self
, *_args
, **_kwargs
):
207 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
209 def AddBook(self
, *_args
, **_kwargs
):
210 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
212 def AddBookParam(self
, *_args
, **_kwargs
):
213 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBookParam
,(self
,) + _args
, _kwargs
)
215 def FindPageByName(self
, *_args
, **_kwargs
):
216 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
218 def FindPageById(self
, *_args
, **_kwargs
):
219 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
221 def GetBookRecArray(self
, *_args
, **_kwargs
):
222 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
224 def GetContents(self
, *_args
, **_kwargs
):
225 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
226 if val
: val
= wxHtmlContentsItemPtr(val
)
228 def GetContentsCnt(self
, *_args
, **_kwargs
):
229 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
231 def GetIndex(self
, *_args
, **_kwargs
):
232 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
233 if val
: val
= wxHtmlContentsItemPtr(val
)
235 def GetIndexCnt(self
, *_args
, **_kwargs
):
236 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
239 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
240 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
241 def __init__(self
,*_args
,**_kwargs
):
242 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
248 class wxHtmlHelpFramePtr(wxFramePtr
):
249 def __init__(self
,this
):
252 def GetData(self
, *_args
, **_kwargs
):
253 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
254 if val
: val
= wxHtmlHelpDataPtr(val
)
256 def SetTitleFormat(self
, *_args
, **_kwargs
):
257 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
259 def Display(self
, *_args
, **_kwargs
):
260 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
262 def DisplayID(self
, *_args
, **_kwargs
):
263 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
265 def DisplayContents(self
, *_args
, **_kwargs
):
266 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
268 def DisplayIndex(self
, *_args
, **_kwargs
):
269 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
271 def KeywordSearch(self
, *_args
, **_kwargs
):
272 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
274 def RefreshLists(self
, *_args
, **_kwargs
):
275 val
= apply(htmlhelpc
.wxHtmlHelpFrame_RefreshLists
,(self
,) + _args
, _kwargs
)
277 def CreateContents(self
, *_args
, **_kwargs
):
278 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateContents
,(self
,) + _args
, _kwargs
)
280 def CreateIndex(self
, *_args
, **_kwargs
):
281 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateIndex
,(self
,) + _args
, _kwargs
)
283 def CreateSearch(self
, *_args
, **_kwargs
):
284 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateSearch
,(self
,) + _args
, _kwargs
)
286 def UseConfig(self
, *_args
, **_kwargs
):
287 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
289 def ReadCustomization(self
, *_args
, **_kwargs
):
290 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
292 def WriteCustomization(self
, *_args
, **_kwargs
):
293 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
296 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
297 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
298 def __init__(self
,*_args
,**_kwargs
):
299 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
305 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
306 def __init__(self
,this
):
309 def __del__(self
,htmlhelpc
=htmlhelpc
):
310 if self
.thisown
== 1 :
311 htmlhelpc
.delete_wxHtmlHelpController(self
)
312 def SetTitleFormat(self
, *_args
, **_kwargs
):
313 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
315 def SetTempDir(self
, *_args
, **_kwargs
):
316 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
318 def AddBook(self
, *_args
, **_kwargs
):
319 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
321 def Display(self
, *_args
, **_kwargs
):
322 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
324 def DisplayID(self
, *_args
, **_kwargs
):
325 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
327 def DisplayContents(self
, *_args
, **_kwargs
):
328 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
330 def DisplayIndex(self
, *_args
, **_kwargs
):
331 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
333 def KeywordSearch(self
, *_args
, **_kwargs
):
334 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
336 def UseConfig(self
, *_args
, **_kwargs
):
337 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
339 def ReadCustomization(self
, *_args
, **_kwargs
):
340 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
342 def WriteCustomization(self
, *_args
, **_kwargs
):
343 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
345 def GetFrame(self
, *_args
, **_kwargs
):
346 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
347 if val
: val
= wxHtmlHelpFramePtr(val
)
349 def CreateHelpWindow(self
, *_args
, **_kwargs
):
350 val
= apply(htmlhelpc
.wxHtmlHelpController_CreateHelpWindow
,(self
,) + _args
, _kwargs
)
353 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
354 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
355 def __init__(self
,*_args
,**_kwargs
):
356 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
364 #-------------- FUNCTION WRAPPERS ------------------
368 #-------------- VARIABLE WRAPPERS ------------------
370 wxID_HTML_PANEL
= htmlhelpc
.wxID_HTML_PANEL
371 wxID_HTML_BACK
= htmlhelpc
.wxID_HTML_BACK
372 wxID_HTML_FORWARD
= htmlhelpc
.wxID_HTML_FORWARD
373 wxID_HTML_TREECTRL
= htmlhelpc
.wxID_HTML_TREECTRL
374 wxID_HTML_INDEXPAGE
= htmlhelpc
.wxID_HTML_INDEXPAGE
375 wxID_HTML_INDEXLIST
= htmlhelpc
.wxID_HTML_INDEXLIST
376 wxID_HTML_NOTEBOOK
= htmlhelpc
.wxID_HTML_NOTEBOOK
377 wxID_HTML_SEARCHPAGE
= htmlhelpc
.wxID_HTML_SEARCHPAGE
378 wxID_HTML_SEARCHTEXT
= htmlhelpc
.wxID_HTML_SEARCHTEXT
379 wxID_HTML_SEARCHLIST
= htmlhelpc
.wxID_HTML_SEARCHLIST
380 wxID_HTML_SEARCHBUTTON
= htmlhelpc
.wxID_HTML_SEARCHBUTTON