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
)
58 self
.__dict
__[name
] = value
59 def __getattr__(self
,name
):
61 return htmlhelpc
.wxHtmlHelpFrameCfg_x_get(self
)
63 return htmlhelpc
.wxHtmlHelpFrameCfg_y_get(self
)
65 return htmlhelpc
.wxHtmlHelpFrameCfg_w_get(self
)
67 return htmlhelpc
.wxHtmlHelpFrameCfg_h_get(self
)
68 if name
== "sashpos" :
69 return htmlhelpc
.wxHtmlHelpFrameCfg_sashpos_get(self
)
70 if name
== "navig_on" :
71 return htmlhelpc
.wxHtmlHelpFrameCfg_navig_on_get(self
)
72 raise AttributeError,name
74 return "<C wxHtmlHelpFrameCfg instance at %s>" % (self
.this
,)
75 class wxHtmlHelpFrameCfg(wxHtmlHelpFrameCfgPtr
):
76 def __init__(self
,*_args
,**_kwargs
):
77 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrameCfg
,_args
,_kwargs
)
83 class wxHtmlBookRecordPtr
:
84 def __init__(self
,this
):
87 def GetTitle(self
, *_args
, **_kwargs
):
88 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetTitle
,(self
,) + _args
, _kwargs
)
90 def GetStart(self
, *_args
, **_kwargs
):
91 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetStart
,(self
,) + _args
, _kwargs
)
93 def GetBasePath(self
, *_args
, **_kwargs
):
94 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBasePath
,(self
,) + _args
, _kwargs
)
96 def SetContentsRange(self
, *_args
, **_kwargs
):
97 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetContentsRange
,(self
,) + _args
, _kwargs
)
99 def GetContentsStart(self
, *_args
, **_kwargs
):
100 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsStart
,(self
,) + _args
, _kwargs
)
102 def GetContentsEnd(self
, *_args
, **_kwargs
):
103 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsEnd
,(self
,) + _args
, _kwargs
)
106 return "<C wxHtmlBookRecord instance at %s>" % (self
.this
,)
107 class wxHtmlBookRecord(wxHtmlBookRecordPtr
):
108 def __init__(self
,*_args
,**_kwargs
):
109 self
.this
= apply(htmlhelpc
.new_wxHtmlBookRecord
,_args
,_kwargs
)
115 class wxHtmlContentsItemPtr
:
116 def __init__(self
,this
):
119 def __setattr__(self
,name
,value
):
120 if name
== "m_Level" :
121 htmlhelpc
.wxHtmlContentsItem_m_Level_set(self
,value
)
124 htmlhelpc
.wxHtmlContentsItem_m_ID_set(self
,value
)
126 if name
== "m_Name" :
127 htmlhelpc
.wxHtmlContentsItem_m_Name_set(self
,value
)
129 if name
== "m_Page" :
130 htmlhelpc
.wxHtmlContentsItem_m_Page_set(self
,value
)
132 if name
== "m_Book" :
133 htmlhelpc
.wxHtmlContentsItem_m_Book_set(self
,value
.this
)
135 self
.__dict
__[name
] = value
136 def __getattr__(self
,name
):
137 if name
== "m_Level" :
138 return htmlhelpc
.wxHtmlContentsItem_m_Level_get(self
)
140 return htmlhelpc
.wxHtmlContentsItem_m_ID_get(self
)
141 if name
== "m_Name" :
142 return htmlhelpc
.wxHtmlContentsItem_m_Name_get(self
)
143 if name
== "m_Page" :
144 return htmlhelpc
.wxHtmlContentsItem_m_Page_get(self
)
145 if name
== "m_Book" :
146 return wxHtmlBookRecordPtr(htmlhelpc
.wxHtmlContentsItem_m_Book_get(self
))
147 raise AttributeError,name
149 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
150 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
151 def __init__(self
,this
):
157 class wxHtmlSearchStatusPtr
:
158 def __init__(self
,this
):
161 def Search(self
, *_args
, **_kwargs
):
162 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
164 def IsActive(self
, *_args
, **_kwargs
):
165 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
167 def GetCurIndex(self
, *_args
, **_kwargs
):
168 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
170 def GetMaxIndex(self
, *_args
, **_kwargs
):
171 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
173 def GetName(self
, *_args
, **_kwargs
):
174 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
176 def GetContentsItem(self
, *_args
, **_kwargs
):
177 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
178 if val
: val
= wxHtmlContentsItemPtr(val
)
181 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
182 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
183 def __init__(self
,this
):
189 class wxHtmlHelpDataPtr
:
190 def __init__(self
,this
):
193 def __del__(self
,htmlhelpc
=htmlhelpc
):
194 if self
.thisown
== 1 :
195 htmlhelpc
.delete_wxHtmlHelpData(self
)
196 def SetTempDir(self
, *_args
, **_kwargs
):
197 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
199 def AddBook(self
, *_args
, **_kwargs
):
200 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
202 def AddBookParam(self
, *_args
, **_kwargs
):
203 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBookParam
,(self
,) + _args
, _kwargs
)
205 def FindPageByName(self
, *_args
, **_kwargs
):
206 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
208 def FindPageById(self
, *_args
, **_kwargs
):
209 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
211 def GetBookRecArray(self
, *_args
, **_kwargs
):
212 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
214 def GetContents(self
, *_args
, **_kwargs
):
215 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
216 if val
: val
= wxHtmlContentsItemPtr(val
)
218 def GetContentsCnt(self
, *_args
, **_kwargs
):
219 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
221 def GetIndex(self
, *_args
, **_kwargs
):
222 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
223 if val
: val
= wxHtmlContentsItemPtr(val
)
225 def GetIndexCnt(self
, *_args
, **_kwargs
):
226 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
229 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
230 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
231 def __init__(self
,*_args
,**_kwargs
):
232 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
238 class wxHtmlHelpFramePtr(wxFramePtr
):
239 def __init__(self
,this
):
242 def GetData(self
, *_args
, **_kwargs
):
243 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
244 if val
: val
= wxHtmlHelpDataPtr(val
)
246 def SetTitleFormat(self
, *_args
, **_kwargs
):
247 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
249 def Display(self
, *_args
, **_kwargs
):
250 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
252 def DisplayID(self
, *_args
, **_kwargs
):
253 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
255 def DisplayContents(self
, *_args
, **_kwargs
):
256 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
258 def DisplayIndex(self
, *_args
, **_kwargs
):
259 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
261 def KeywordSearch(self
, *_args
, **_kwargs
):
262 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
264 def RefreshLists(self
, *_args
, **_kwargs
):
265 val
= apply(htmlhelpc
.wxHtmlHelpFrame_RefreshLists
,(self
,) + _args
, _kwargs
)
267 def CreateContents(self
, *_args
, **_kwargs
):
268 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateContents
,(self
,) + _args
, _kwargs
)
270 def CreateIndex(self
, *_args
, **_kwargs
):
271 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateIndex
,(self
,) + _args
, _kwargs
)
273 def CreateSearch(self
, *_args
, **_kwargs
):
274 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateSearch
,(self
,) + _args
, _kwargs
)
276 def UseConfig(self
, *_args
, **_kwargs
):
277 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
279 def ReadCustomization(self
, *_args
, **_kwargs
):
280 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
282 def WriteCustomization(self
, *_args
, **_kwargs
):
283 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
286 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
287 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
288 def __init__(self
,*_args
,**_kwargs
):
289 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
295 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
296 def __init__(self
,this
):
299 def __del__(self
,htmlhelpc
=htmlhelpc
):
300 if self
.thisown
== 1 :
301 htmlhelpc
.delete_wxHtmlHelpController(self
)
302 def SetTitleFormat(self
, *_args
, **_kwargs
):
303 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
305 def SetTempDir(self
, *_args
, **_kwargs
):
306 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
308 def AddBook(self
, *_args
, **_kwargs
):
309 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
311 def Display(self
, *_args
, **_kwargs
):
312 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
314 def DisplayID(self
, *_args
, **_kwargs
):
315 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
317 def DisplayContents(self
, *_args
, **_kwargs
):
318 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
320 def DisplayIndex(self
, *_args
, **_kwargs
):
321 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
323 def KeywordSearch(self
, *_args
, **_kwargs
):
324 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
326 def UseConfig(self
, *_args
, **_kwargs
):
327 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
329 def ReadCustomization(self
, *_args
, **_kwargs
):
330 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
332 def WriteCustomization(self
, *_args
, **_kwargs
):
333 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
335 def GetFrame(self
, *_args
, **_kwargs
):
336 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
337 if val
: val
= wxHtmlHelpFramePtr(val
)
339 def CreateHelpWindow(self
, *_args
, **_kwargs
):
340 val
= apply(htmlhelpc
.wxHtmlHelpController_CreateHelpWindow
,(self
,) + _args
, _kwargs
)
343 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
344 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
345 def __init__(self
,*_args
,**_kwargs
):
346 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
354 #-------------- FUNCTION WRAPPERS ------------------
358 #-------------- VARIABLE WRAPPERS ------------------
360 wxID_HTML_PANEL
= htmlhelpc
.wxID_HTML_PANEL
361 wxID_HTML_BACK
= htmlhelpc
.wxID_HTML_BACK
362 wxID_HTML_FORWARD
= htmlhelpc
.wxID_HTML_FORWARD
363 wxID_HTML_TREECTRL
= htmlhelpc
.wxID_HTML_TREECTRL
364 wxID_HTML_INDEXPAGE
= htmlhelpc
.wxID_HTML_INDEXPAGE
365 wxID_HTML_INDEXLIST
= htmlhelpc
.wxID_HTML_INDEXLIST
366 wxID_HTML_NOTEBOOK
= htmlhelpc
.wxID_HTML_NOTEBOOK
367 wxID_HTML_SEARCHPAGE
= htmlhelpc
.wxID_HTML_SEARCHPAGE
368 wxID_HTML_SEARCHTEXT
= htmlhelpc
.wxID_HTML_SEARCHTEXT
369 wxID_HTML_SEARCHLIST
= htmlhelpc
.wxID_HTML_SEARCHLIST
370 wxID_HTML_SEARCHBUTTON
= htmlhelpc
.wxID_HTML_SEARCHBUTTON
371 wxID_HTML_SEARCHCHOICE
= htmlhelpc
.wxID_HTML_SEARCHCHOICE
372 wxID_HTML_HELPFRAME
= htmlhelpc
.wxID_HTML_HELPFRAME