1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
20 from stattool
import *
22 from controls
import *
24 from controls2
import *
26 from windows2
import *
30 from windows3
import *
37 class wxHtmlHelpFrameCfgPtr
:
38 def __init__(self
,this
):
41 def __setattr__(self
,name
,value
):
43 htmlhelpc
.wxHtmlHelpFrameCfg_x_set(self
,value
)
46 htmlhelpc
.wxHtmlHelpFrameCfg_y_set(self
,value
)
49 htmlhelpc
.wxHtmlHelpFrameCfg_w_set(self
,value
)
52 htmlhelpc
.wxHtmlHelpFrameCfg_h_set(self
,value
)
54 if name
== "sashpos" :
55 htmlhelpc
.wxHtmlHelpFrameCfg_sashpos_set(self
,value
)
57 if name
== "navig_on" :
58 htmlhelpc
.wxHtmlHelpFrameCfg_navig_on_set(self
,value
)
60 self
.__dict
__[name
] = value
61 def __getattr__(self
,name
):
63 return htmlhelpc
.wxHtmlHelpFrameCfg_x_get(self
)
65 return htmlhelpc
.wxHtmlHelpFrameCfg_y_get(self
)
67 return htmlhelpc
.wxHtmlHelpFrameCfg_w_get(self
)
69 return htmlhelpc
.wxHtmlHelpFrameCfg_h_get(self
)
70 if name
== "sashpos" :
71 return htmlhelpc
.wxHtmlHelpFrameCfg_sashpos_get(self
)
72 if name
== "navig_on" :
73 return htmlhelpc
.wxHtmlHelpFrameCfg_navig_on_get(self
)
74 raise AttributeError,name
76 return "<C wxHtmlHelpFrameCfg instance at %s>" % (self
.this
,)
77 class wxHtmlHelpFrameCfg(wxHtmlHelpFrameCfgPtr
):
78 def __init__(self
,*_args
,**_kwargs
):
79 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrameCfg
,_args
,_kwargs
)
85 class wxHtmlBookRecordPtr
:
86 def __init__(self
,this
):
89 def GetTitle(self
, *_args
, **_kwargs
):
90 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetTitle
,(self
,) + _args
, _kwargs
)
92 def GetStart(self
, *_args
, **_kwargs
):
93 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetStart
,(self
,) + _args
, _kwargs
)
95 def GetBasePath(self
, *_args
, **_kwargs
):
96 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBasePath
,(self
,) + _args
, _kwargs
)
98 def SetContentsRange(self
, *_args
, **_kwargs
):
99 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetContentsRange
,(self
,) + _args
, _kwargs
)
101 def GetContentsStart(self
, *_args
, **_kwargs
):
102 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsStart
,(self
,) + _args
, _kwargs
)
104 def GetContentsEnd(self
, *_args
, **_kwargs
):
105 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsEnd
,(self
,) + _args
, _kwargs
)
108 return "<C wxHtmlBookRecord instance at %s>" % (self
.this
,)
109 class wxHtmlBookRecord(wxHtmlBookRecordPtr
):
110 def __init__(self
,*_args
,**_kwargs
):
111 self
.this
= apply(htmlhelpc
.new_wxHtmlBookRecord
,_args
,_kwargs
)
117 class wxHtmlContentsItemPtr
:
118 def __init__(self
,this
):
121 def __setattr__(self
,name
,value
):
122 if name
== "m_Level" :
123 htmlhelpc
.wxHtmlContentsItem_m_Level_set(self
,value
)
126 htmlhelpc
.wxHtmlContentsItem_m_ID_set(self
,value
)
128 if name
== "m_Name" :
129 htmlhelpc
.wxHtmlContentsItem_m_Name_set(self
,value
)
131 if name
== "m_Page" :
132 htmlhelpc
.wxHtmlContentsItem_m_Page_set(self
,value
)
134 if name
== "m_Book" :
135 htmlhelpc
.wxHtmlContentsItem_m_Book_set(self
,value
.this
)
137 self
.__dict
__[name
] = value
138 def __getattr__(self
,name
):
139 if name
== "m_Level" :
140 return htmlhelpc
.wxHtmlContentsItem_m_Level_get(self
)
142 return htmlhelpc
.wxHtmlContentsItem_m_ID_get(self
)
143 if name
== "m_Name" :
144 return htmlhelpc
.wxHtmlContentsItem_m_Name_get(self
)
145 if name
== "m_Page" :
146 return htmlhelpc
.wxHtmlContentsItem_m_Page_get(self
)
147 if name
== "m_Book" :
148 return wxHtmlBookRecordPtr(htmlhelpc
.wxHtmlContentsItem_m_Book_get(self
))
149 raise AttributeError,name
151 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
152 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
153 def __init__(self
,this
):
159 class wxHtmlSearchStatusPtr
:
160 def __init__(self
,this
):
163 def Search(self
, *_args
, **_kwargs
):
164 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
166 def IsActive(self
, *_args
, **_kwargs
):
167 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
169 def GetCurIndex(self
, *_args
, **_kwargs
):
170 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
172 def GetMaxIndex(self
, *_args
, **_kwargs
):
173 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
175 def GetName(self
, *_args
, **_kwargs
):
176 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
178 def GetContentsItem(self
, *_args
, **_kwargs
):
179 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
180 if val
: val
= wxHtmlContentsItemPtr(val
)
183 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
184 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
185 def __init__(self
,this
):
191 class wxHtmlHelpDataPtr
:
192 def __init__(self
,this
):
195 def __del__(self
,htmlhelpc
=htmlhelpc
):
196 if self
.thisown
== 1 :
197 htmlhelpc
.delete_wxHtmlHelpData(self
)
198 def SetTempDir(self
, *_args
, **_kwargs
):
199 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
201 def AddBook(self
, *_args
, **_kwargs
):
202 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
204 def AddBookParam(self
, *_args
, **_kwargs
):
205 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBookParam
,(self
,) + _args
, _kwargs
)
207 def FindPageByName(self
, *_args
, **_kwargs
):
208 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
210 def FindPageById(self
, *_args
, **_kwargs
):
211 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
213 def GetBookRecArray(self
, *_args
, **_kwargs
):
214 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
216 def GetContents(self
, *_args
, **_kwargs
):
217 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
218 if val
: val
= wxHtmlContentsItemPtr(val
)
220 def GetContentsCnt(self
, *_args
, **_kwargs
):
221 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
223 def GetIndex(self
, *_args
, **_kwargs
):
224 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
225 if val
: val
= wxHtmlContentsItemPtr(val
)
227 def GetIndexCnt(self
, *_args
, **_kwargs
):
228 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
231 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
232 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
233 def __init__(self
,*_args
,**_kwargs
):
234 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
240 class wxHtmlHelpFramePtr(wxFramePtr
):
241 def __init__(self
,this
):
244 def GetData(self
, *_args
, **_kwargs
):
245 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
246 if val
: val
= wxHtmlHelpDataPtr(val
)
248 def SetTitleFormat(self
, *_args
, **_kwargs
):
249 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
251 def Display(self
, *_args
, **_kwargs
):
252 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
254 def DisplayID(self
, *_args
, **_kwargs
):
255 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
257 def DisplayContents(self
, *_args
, **_kwargs
):
258 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
260 def DisplayIndex(self
, *_args
, **_kwargs
):
261 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
263 def KeywordSearch(self
, *_args
, **_kwargs
):
264 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
266 def UseConfig(self
, *_args
, **_kwargs
):
267 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
269 def ReadCustomization(self
, *_args
, **_kwargs
):
270 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
272 def WriteCustomization(self
, *_args
, **_kwargs
):
273 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
276 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
277 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
278 def __init__(self
,*_args
,**_kwargs
):
279 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
285 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
286 def __init__(self
,this
):
289 def __del__(self
,htmlhelpc
=htmlhelpc
):
290 if self
.thisown
== 1 :
291 htmlhelpc
.delete_wxHtmlHelpController(self
)
292 def SetTitleFormat(self
, *_args
, **_kwargs
):
293 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
295 def SetTempDir(self
, *_args
, **_kwargs
):
296 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
298 def AddBook(self
, *_args
, **_kwargs
):
299 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
301 def Display(self
, *_args
, **_kwargs
):
302 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
304 def DisplayID(self
, *_args
, **_kwargs
):
305 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
307 def DisplayContents(self
, *_args
, **_kwargs
):
308 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
310 def DisplayIndex(self
, *_args
, **_kwargs
):
311 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
313 def KeywordSearch(self
, *_args
, **_kwargs
):
314 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
316 def UseConfig(self
, *_args
, **_kwargs
):
317 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
319 def ReadCustomization(self
, *_args
, **_kwargs
):
320 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
322 def WriteCustomization(self
, *_args
, **_kwargs
):
323 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
325 def GetFrame(self
, *_args
, **_kwargs
):
326 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
327 if val
: val
= wxHtmlHelpFramePtr(val
)
330 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
331 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
332 def __init__(self
,*_args
,**_kwargs
):
333 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
341 #-------------- FUNCTION WRAPPERS ------------------
345 #-------------- VARIABLE WRAPPERS ------------------
347 wxID_HTML_PANEL
= htmlhelpc
.wxID_HTML_PANEL
348 wxID_HTML_BACK
= htmlhelpc
.wxID_HTML_BACK
349 wxID_HTML_FORWARD
= htmlhelpc
.wxID_HTML_FORWARD
350 wxID_HTML_TREECTRL
= htmlhelpc
.wxID_HTML_TREECTRL
351 wxID_HTML_INDEXPAGE
= htmlhelpc
.wxID_HTML_INDEXPAGE
352 wxID_HTML_INDEXLIST
= htmlhelpc
.wxID_HTML_INDEXLIST
353 wxID_HTML_NOTEBOOK
= htmlhelpc
.wxID_HTML_NOTEBOOK
354 wxID_HTML_SEARCHPAGE
= htmlhelpc
.wxID_HTML_SEARCHPAGE
355 wxID_HTML_SEARCHTEXT
= htmlhelpc
.wxID_HTML_SEARCHTEXT
356 wxID_HTML_SEARCHLIST
= htmlhelpc
.wxID_HTML_SEARCHLIST
357 wxID_HTML_SEARCHBUTTON
= htmlhelpc
.wxID_HTML_SEARCHBUTTON
358 wxID_HTML_SEARCHCHOICE
= htmlhelpc
.wxID_HTML_SEARCHCHOICE
359 wxID_HTML_HELPFRAME
= htmlhelpc
.wxID_HTML_HELPFRAME