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 wxHtmlHelpFrameCfgPtr
:
34 def __init__(self
,this
):
37 def __setattr__(self
,name
,value
):
39 htmlhelpc
.wxHtmlHelpFrameCfg_x_set(self
,value
)
42 htmlhelpc
.wxHtmlHelpFrameCfg_y_set(self
,value
)
45 htmlhelpc
.wxHtmlHelpFrameCfg_w_set(self
,value
)
48 htmlhelpc
.wxHtmlHelpFrameCfg_h_set(self
,value
)
50 if name
== "sashpos" :
51 htmlhelpc
.wxHtmlHelpFrameCfg_sashpos_set(self
,value
)
53 if name
== "navig_on" :
54 htmlhelpc
.wxHtmlHelpFrameCfg_navig_on_set(self
,value
)
57 htmlhelpc
.wxHtmlHelpFrameCfg_style_set(self
,value
)
59 if name
== "titleformat" :
60 htmlhelpc
.wxHtmlHelpFrameCfg_titleformat_set(self
,value
)
62 self
.__dict
__[name
] = value
63 def __getattr__(self
,name
):
65 return htmlhelpc
.wxHtmlHelpFrameCfg_x_get(self
)
67 return htmlhelpc
.wxHtmlHelpFrameCfg_y_get(self
)
69 return htmlhelpc
.wxHtmlHelpFrameCfg_w_get(self
)
71 return htmlhelpc
.wxHtmlHelpFrameCfg_h_get(self
)
72 if name
== "sashpos" :
73 return htmlhelpc
.wxHtmlHelpFrameCfg_sashpos_get(self
)
74 if name
== "navig_on" :
75 return htmlhelpc
.wxHtmlHelpFrameCfg_navig_on_get(self
)
77 return htmlhelpc
.wxHtmlHelpFrameCfg_style_get(self
)
78 if name
== "titleformat" :
79 return htmlhelpc
.wxHtmlHelpFrameCfg_titleformat_get(self
)
80 raise AttributeError,name
82 return "<C wxHtmlHelpFrameCfg instance at %s>" % (self
.this
,)
83 class wxHtmlHelpFrameCfg(wxHtmlHelpFrameCfgPtr
):
84 def __init__(self
,*_args
,**_kwargs
):
85 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrameCfg
,_args
,_kwargs
)
91 class wxHtmlBookRecordPtr
:
92 def __init__(self
,this
):
95 def GetTitle(self
, *_args
, **_kwargs
):
96 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetTitle
,(self
,) + _args
, _kwargs
)
98 def GetStart(self
, *_args
, **_kwargs
):
99 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetStart
,(self
,) + _args
, _kwargs
)
101 def GetBasePath(self
, *_args
, **_kwargs
):
102 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBasePath
,(self
,) + _args
, _kwargs
)
104 def SetContentsRange(self
, *_args
, **_kwargs
):
105 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetContentsRange
,(self
,) + _args
, _kwargs
)
107 def GetContentsStart(self
, *_args
, **_kwargs
):
108 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsStart
,(self
,) + _args
, _kwargs
)
110 def GetContentsEnd(self
, *_args
, **_kwargs
):
111 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsEnd
,(self
,) + _args
, _kwargs
)
114 return "<C wxHtmlBookRecord instance at %s>" % (self
.this
,)
115 class wxHtmlBookRecord(wxHtmlBookRecordPtr
):
116 def __init__(self
,*_args
,**_kwargs
):
117 self
.this
= apply(htmlhelpc
.new_wxHtmlBookRecord
,_args
,_kwargs
)
123 class wxHtmlContentsItemPtr
:
124 def __init__(self
,this
):
127 def __setattr__(self
,name
,value
):
128 if name
== "m_Level" :
129 htmlhelpc
.wxHtmlContentsItem_m_Level_set(self
,value
)
132 htmlhelpc
.wxHtmlContentsItem_m_ID_set(self
,value
)
134 if name
== "m_Name" :
135 htmlhelpc
.wxHtmlContentsItem_m_Name_set(self
,value
)
137 if name
== "m_Page" :
138 htmlhelpc
.wxHtmlContentsItem_m_Page_set(self
,value
)
140 if name
== "m_Book" :
141 htmlhelpc
.wxHtmlContentsItem_m_Book_set(self
,value
.this
)
143 self
.__dict
__[name
] = value
144 def __getattr__(self
,name
):
145 if name
== "m_Level" :
146 return htmlhelpc
.wxHtmlContentsItem_m_Level_get(self
)
148 return htmlhelpc
.wxHtmlContentsItem_m_ID_get(self
)
149 if name
== "m_Name" :
150 return htmlhelpc
.wxHtmlContentsItem_m_Name_get(self
)
151 if name
== "m_Page" :
152 return htmlhelpc
.wxHtmlContentsItem_m_Page_get(self
)
153 if name
== "m_Book" :
154 return wxHtmlBookRecordPtr(htmlhelpc
.wxHtmlContentsItem_m_Book_get(self
))
155 raise AttributeError,name
157 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
158 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
159 def __init__(self
,this
):
165 class wxHtmlSearchStatusPtr
:
166 def __init__(self
,this
):
169 def Search(self
, *_args
, **_kwargs
):
170 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
172 def IsActive(self
, *_args
, **_kwargs
):
173 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
175 def GetCurIndex(self
, *_args
, **_kwargs
):
176 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
178 def GetMaxIndex(self
, *_args
, **_kwargs
):
179 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
181 def GetName(self
, *_args
, **_kwargs
):
182 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
184 def GetContentsItem(self
, *_args
, **_kwargs
):
185 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
186 if val
: val
= wxHtmlContentsItemPtr(val
)
189 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
190 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
191 def __init__(self
,this
):
197 class wxHtmlHelpDataPtr
:
198 def __init__(self
,this
):
201 def __del__(self
,htmlhelpc
=htmlhelpc
):
202 if self
.thisown
== 1 :
203 htmlhelpc
.delete_wxHtmlHelpData(self
)
204 def SetTempDir(self
, *_args
, **_kwargs
):
205 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
207 def AddBook(self
, *_args
, **_kwargs
):
208 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
210 def AddBookParam(self
, *_args
, **_kwargs
):
211 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBookParam
,(self
,) + _args
, _kwargs
)
213 def FindPageByName(self
, *_args
, **_kwargs
):
214 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
216 def FindPageById(self
, *_args
, **_kwargs
):
217 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
219 def GetBookRecArray(self
, *_args
, **_kwargs
):
220 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
222 def GetContents(self
, *_args
, **_kwargs
):
223 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
224 if val
: val
= wxHtmlContentsItemPtr(val
)
226 def GetContentsCnt(self
, *_args
, **_kwargs
):
227 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
229 def GetIndex(self
, *_args
, **_kwargs
):
230 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
231 if val
: val
= wxHtmlContentsItemPtr(val
)
233 def GetIndexCnt(self
, *_args
, **_kwargs
):
234 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
237 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
238 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
239 def __init__(self
,*_args
,**_kwargs
):
240 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
246 class wxHtmlHelpFramePtr(wxFramePtr
):
247 def __init__(self
,this
):
250 def GetData(self
, *_args
, **_kwargs
):
251 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
252 if val
: val
= wxHtmlHelpDataPtr(val
)
254 def SetTitleFormat(self
, *_args
, **_kwargs
):
255 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
257 def Display(self
, *_args
, **_kwargs
):
258 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
260 def DisplayID(self
, *_args
, **_kwargs
):
261 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
263 def DisplayContents(self
, *_args
, **_kwargs
):
264 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
266 def DisplayIndex(self
, *_args
, **_kwargs
):
267 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
269 def KeywordSearch(self
, *_args
, **_kwargs
):
270 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
272 def RefreshLists(self
, *_args
, **_kwargs
):
273 val
= apply(htmlhelpc
.wxHtmlHelpFrame_RefreshLists
,(self
,) + _args
, _kwargs
)
275 def CreateContents(self
, *_args
, **_kwargs
):
276 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateContents
,(self
,) + _args
, _kwargs
)
278 def CreateIndex(self
, *_args
, **_kwargs
):
279 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateIndex
,(self
,) + _args
, _kwargs
)
281 def CreateSearch(self
, *_args
, **_kwargs
):
282 val
= apply(htmlhelpc
.wxHtmlHelpFrame_CreateSearch
,(self
,) + _args
, _kwargs
)
284 def UseConfig(self
, *_args
, **_kwargs
):
285 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
287 def ReadCustomization(self
, *_args
, **_kwargs
):
288 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
290 def WriteCustomization(self
, *_args
, **_kwargs
):
291 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
294 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
295 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
296 def __init__(self
,*_args
,**_kwargs
):
297 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
303 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
304 def __init__(self
,this
):
307 def __del__(self
,htmlhelpc
=htmlhelpc
):
308 if self
.thisown
== 1 :
309 htmlhelpc
.delete_wxHtmlHelpController(self
)
310 def SetTitleFormat(self
, *_args
, **_kwargs
):
311 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
313 def SetTempDir(self
, *_args
, **_kwargs
):
314 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
316 def AddBook(self
, *_args
, **_kwargs
):
317 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
319 def Display(self
, *_args
, **_kwargs
):
320 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
322 def DisplayID(self
, *_args
, **_kwargs
):
323 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
325 def DisplayContents(self
, *_args
, **_kwargs
):
326 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
328 def DisplayIndex(self
, *_args
, **_kwargs
):
329 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
331 def KeywordSearch(self
, *_args
, **_kwargs
):
332 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
334 def UseConfig(self
, *_args
, **_kwargs
):
335 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
337 def ReadCustomization(self
, *_args
, **_kwargs
):
338 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
340 def WriteCustomization(self
, *_args
, **_kwargs
):
341 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
343 def GetFrame(self
, *_args
, **_kwargs
):
344 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
345 if val
: val
= wxHtmlHelpFramePtr(val
)
347 def CreateHelpWindow(self
, *_args
, **_kwargs
):
348 val
= apply(htmlhelpc
.wxHtmlHelpController_CreateHelpWindow
,(self
,) + _args
, _kwargs
)
351 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
352 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
353 def __init__(self
,*_args
,**_kwargs
):
354 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
362 #-------------- FUNCTION WRAPPERS ------------------
366 #-------------- VARIABLE WRAPPERS ------------------
368 wxID_HTML_PANEL
= htmlhelpc
.wxID_HTML_PANEL
369 wxID_HTML_BACK
= htmlhelpc
.wxID_HTML_BACK
370 wxID_HTML_FORWARD
= htmlhelpc
.wxID_HTML_FORWARD
371 wxID_HTML_TREECTRL
= htmlhelpc
.wxID_HTML_TREECTRL
372 wxID_HTML_INDEXPAGE
= htmlhelpc
.wxID_HTML_INDEXPAGE
373 wxID_HTML_INDEXLIST
= htmlhelpc
.wxID_HTML_INDEXLIST
374 wxID_HTML_NOTEBOOK
= htmlhelpc
.wxID_HTML_NOTEBOOK
375 wxID_HTML_SEARCHPAGE
= htmlhelpc
.wxID_HTML_SEARCHPAGE
376 wxID_HTML_SEARCHTEXT
= htmlhelpc
.wxID_HTML_SEARCHTEXT
377 wxID_HTML_SEARCHLIST
= htmlhelpc
.wxID_HTML_SEARCHLIST
378 wxID_HTML_SEARCHBUTTON
= htmlhelpc
.wxID_HTML_SEARCHBUTTON