1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
22 from stattool
import *
24 from controls
import *
26 from controls2
import *
28 from windows2
import *
32 from windows3
import *
43 class wxHtmlBookRecordPtr
:
44 def __init__(self
,this
):
47 def GetTitle(self
, *_args
, **_kwargs
):
48 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetTitle
,(self
,) + _args
, _kwargs
)
50 def GetStart(self
, *_args
, **_kwargs
):
51 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetStart
,(self
,) + _args
, _kwargs
)
53 def GetBasePath(self
, *_args
, **_kwargs
):
54 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBasePath
,(self
,) + _args
, _kwargs
)
56 def SetContentsRange(self
, *_args
, **_kwargs
):
57 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetContentsRange
,(self
,) + _args
, _kwargs
)
59 def GetContentsStart(self
, *_args
, **_kwargs
):
60 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsStart
,(self
,) + _args
, _kwargs
)
62 def GetContentsEnd(self
, *_args
, **_kwargs
):
63 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsEnd
,(self
,) + _args
, _kwargs
)
66 return "<C wxHtmlBookRecord instance at %s>" % (self
.this
,)
67 class wxHtmlBookRecord(wxHtmlBookRecordPtr
):
68 def __init__(self
,*_args
,**_kwargs
):
69 self
.this
= apply(htmlhelpc
.new_wxHtmlBookRecord
,_args
,_kwargs
)
75 class wxHtmlContentsItemPtr
:
76 def __init__(self
,this
):
79 def __setattr__(self
,name
,value
):
80 if name
== "m_Level" :
81 htmlhelpc
.wxHtmlContentsItem_m_Level_set(self
,value
)
84 htmlhelpc
.wxHtmlContentsItem_m_ID_set(self
,value
)
87 htmlhelpc
.wxHtmlContentsItem_m_Name_set(self
,value
)
90 htmlhelpc
.wxHtmlContentsItem_m_Page_set(self
,value
)
93 htmlhelpc
.wxHtmlContentsItem_m_Book_set(self
,value
.this
)
95 self
.__dict
__[name
] = value
96 def __getattr__(self
,name
):
97 if name
== "m_Level" :
98 return htmlhelpc
.wxHtmlContentsItem_m_Level_get(self
)
100 return htmlhelpc
.wxHtmlContentsItem_m_ID_get(self
)
101 if name
== "m_Name" :
102 return htmlhelpc
.wxHtmlContentsItem_m_Name_get(self
)
103 if name
== "m_Page" :
104 return htmlhelpc
.wxHtmlContentsItem_m_Page_get(self
)
105 if name
== "m_Book" :
106 return wxHtmlBookRecordPtr(htmlhelpc
.wxHtmlContentsItem_m_Book_get(self
))
107 raise AttributeError,name
109 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
110 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
111 def __init__(self
,this
):
117 class wxHtmlSearchStatusPtr
:
118 def __init__(self
,this
):
121 def Search(self
, *_args
, **_kwargs
):
122 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
124 def IsActive(self
, *_args
, **_kwargs
):
125 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
127 def GetCurIndex(self
, *_args
, **_kwargs
):
128 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
130 def GetMaxIndex(self
, *_args
, **_kwargs
):
131 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
133 def GetName(self
, *_args
, **_kwargs
):
134 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
136 def GetContentsItem(self
, *_args
, **_kwargs
):
137 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
138 if val
: val
= wxHtmlContentsItemPtr(val
)
141 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
142 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
143 def __init__(self
,this
):
149 class wxHtmlHelpDataPtr
:
150 def __init__(self
,this
):
153 def __del__(self
,htmlhelpc
=htmlhelpc
):
154 if self
.thisown
== 1 :
155 htmlhelpc
.delete_wxHtmlHelpData(self
)
156 def SetTempDir(self
, *_args
, **_kwargs
):
157 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
159 def AddBook(self
, *_args
, **_kwargs
):
160 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
162 def FindPageByName(self
, *_args
, **_kwargs
):
163 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
165 def FindPageById(self
, *_args
, **_kwargs
):
166 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
168 def GetBookRecArray(self
, *_args
, **_kwargs
):
169 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
171 def GetContents(self
, *_args
, **_kwargs
):
172 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
173 if val
: val
= wxHtmlContentsItemPtr(val
)
175 def GetContentsCnt(self
, *_args
, **_kwargs
):
176 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
178 def GetIndex(self
, *_args
, **_kwargs
):
179 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
180 if val
: val
= wxHtmlContentsItemPtr(val
)
182 def GetIndexCnt(self
, *_args
, **_kwargs
):
183 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
186 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
187 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
188 def __init__(self
,*_args
,**_kwargs
):
189 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
195 class wxHtmlHelpFramePtr(wxFramePtr
):
196 def __init__(self
,this
):
199 def GetData(self
, *_args
, **_kwargs
):
200 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
201 if val
: val
= wxHtmlHelpDataPtr(val
)
203 def SetTitleFormat(self
, *_args
, **_kwargs
):
204 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
206 def Display(self
, *_args
, **_kwargs
):
207 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
209 def DisplayID(self
, *_args
, **_kwargs
):
210 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
212 def DisplayContents(self
, *_args
, **_kwargs
):
213 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
215 def DisplayIndex(self
, *_args
, **_kwargs
):
216 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
218 def KeywordSearch(self
, *_args
, **_kwargs
):
219 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
221 def UseConfig(self
, *_args
, **_kwargs
):
222 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
224 def ReadCustomization(self
, *_args
, **_kwargs
):
225 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
227 def WriteCustomization(self
, *_args
, **_kwargs
):
228 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
231 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
232 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
233 def __init__(self
,*_args
,**_kwargs
):
234 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
240 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
241 def __init__(self
,this
):
244 def __del__(self
,htmlhelpc
=htmlhelpc
):
245 if self
.thisown
== 1 :
246 htmlhelpc
.delete_wxHtmlHelpController(self
)
247 def SetTitleFormat(self
, *_args
, **_kwargs
):
248 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
250 def SetTempDir(self
, *_args
, **_kwargs
):
251 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
253 def AddBook(self
, *_args
, **_kwargs
):
254 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
256 def Display(self
, *_args
, **_kwargs
):
257 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
259 def DisplayID(self
, *_args
, **_kwargs
):
260 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
262 def DisplayContents(self
, *_args
, **_kwargs
):
263 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
265 def DisplayIndex(self
, *_args
, **_kwargs
):
266 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
268 def KeywordSearch(self
, *_args
, **_kwargs
):
269 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
271 def UseConfig(self
, *_args
, **_kwargs
):
272 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
274 def ReadCustomization(self
, *_args
, **_kwargs
):
275 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
277 def WriteCustomization(self
, *_args
, **_kwargs
):
278 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
280 def GetFrame(self
, *_args
, **_kwargs
):
281 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
282 if val
: val
= wxHtmlHelpFramePtr(val
)
285 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
286 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
287 def __init__(self
,*_args
,**_kwargs
):
288 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
296 #-------------- FUNCTION WRAPPERS ------------------
300 #-------------- VARIABLE WRAPPERS ------------------
302 wxHF_TOOLBAR
= htmlhelpc
.wxHF_TOOLBAR
303 wxHF_FLATTOOLBAR
= htmlhelpc
.wxHF_FLATTOOLBAR
304 wxHF_CONTENTS
= htmlhelpc
.wxHF_CONTENTS
305 wxHF_INDEX
= htmlhelpc
.wxHF_INDEX
306 wxHF_SEARCH
= htmlhelpc
.wxHF_SEARCH
307 wxHF_BOOKMARKS
= htmlhelpc
.wxHF_BOOKMARKS
308 wxHF_OPENFILES
= htmlhelpc
.wxHF_OPENFILES
309 wxHF_PRINT
= htmlhelpc
.wxHF_PRINT
310 wxHF_DEFAULTSTYLE
= htmlhelpc
.wxHF_DEFAULTSTYLE