1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
24 from stattool
import *
26 from controls
import *
28 from controls2
import *
30 from windows2
import *
34 from windows3
import *
43 class wxHtmlBookRecordPtr(wxObjectPtr
):
44 def __init__(self
,this
):
47 def GetBookFile(self
, *_args
, **_kwargs
):
48 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBookFile
,(self
,) + _args
, _kwargs
)
50 def GetTitle(self
, *_args
, **_kwargs
):
51 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetTitle
,(self
,) + _args
, _kwargs
)
53 def GetStart(self
, *_args
, **_kwargs
):
54 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetStart
,(self
,) + _args
, _kwargs
)
56 def GetBasePath(self
, *_args
, **_kwargs
):
57 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBasePath
,(self
,) + _args
, _kwargs
)
59 def SetContentsRange(self
, *_args
, **_kwargs
):
60 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetContentsRange
,(self
,) + _args
, _kwargs
)
62 def GetContentsStart(self
, *_args
, **_kwargs
):
63 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsStart
,(self
,) + _args
, _kwargs
)
65 def GetContentsEnd(self
, *_args
, **_kwargs
):
66 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsEnd
,(self
,) + _args
, _kwargs
)
68 def SetTitle(self
, *_args
, **_kwargs
):
69 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetTitle
,(self
,) + _args
, _kwargs
)
71 def SetBasePath(self
, *_args
, **_kwargs
):
72 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetBasePath
,(self
,) + _args
, _kwargs
)
74 def SetStart(self
, *_args
, **_kwargs
):
75 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetStart
,(self
,) + _args
, _kwargs
)
77 def GetFullPath(self
, *_args
, **_kwargs
):
78 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetFullPath
,(self
,) + _args
, _kwargs
)
81 return "<C wxHtmlBookRecord instance at %s>" % (self
.this
,)
82 class wxHtmlBookRecord(wxHtmlBookRecordPtr
):
83 def __init__(self
,*_args
,**_kwargs
):
84 self
.this
= apply(htmlhelpc
.new_wxHtmlBookRecord
,_args
,_kwargs
)
90 class wxHtmlContentsItemPtr
:
91 def __init__(self
,this
):
94 def __setattr__(self
,name
,value
):
95 if name
== "m_Level" :
96 htmlhelpc
.wxHtmlContentsItem_m_Level_set(self
,value
)
99 htmlhelpc
.wxHtmlContentsItem_m_ID_set(self
,value
)
101 if name
== "m_Name" :
102 htmlhelpc
.wxHtmlContentsItem_m_Name_set(self
,value
)
104 if name
== "m_Page" :
105 htmlhelpc
.wxHtmlContentsItem_m_Page_set(self
,value
)
107 if name
== "m_Book" :
108 htmlhelpc
.wxHtmlContentsItem_m_Book_set(self
,value
.this
)
110 self
.__dict
__[name
] = value
111 def __getattr__(self
,name
):
112 if name
== "m_Level" :
113 return htmlhelpc
.wxHtmlContentsItem_m_Level_get(self
)
115 return htmlhelpc
.wxHtmlContentsItem_m_ID_get(self
)
116 if name
== "m_Name" :
117 return htmlhelpc
.wxHtmlContentsItem_m_Name_get(self
)
118 if name
== "m_Page" :
119 return htmlhelpc
.wxHtmlContentsItem_m_Page_get(self
)
120 if name
== "m_Book" :
121 return wxHtmlBookRecordPtr(htmlhelpc
.wxHtmlContentsItem_m_Book_get(self
))
122 raise AttributeError,name
124 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
125 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
126 def __init__(self
,this
):
132 class wxHtmlSearchStatusPtr
:
133 def __init__(self
,this
):
136 def Search(self
, *_args
, **_kwargs
):
137 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
139 def IsActive(self
, *_args
, **_kwargs
):
140 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
142 def GetCurIndex(self
, *_args
, **_kwargs
):
143 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
145 def GetMaxIndex(self
, *_args
, **_kwargs
):
146 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
148 def GetName(self
, *_args
, **_kwargs
):
149 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
151 def GetContentsItem(self
, *_args
, **_kwargs
):
152 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
153 if val
: val
= wxHtmlContentsItemPtr(val
)
156 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
157 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
158 def __init__(self
,this
):
164 class wxHtmlHelpDataPtr
:
165 def __init__(self
,this
):
168 def __del__(self
,htmlhelpc
=htmlhelpc
):
169 if self
.thisown
== 1 :
170 htmlhelpc
.delete_wxHtmlHelpData(self
)
171 def SetTempDir(self
, *_args
, **_kwargs
):
172 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
174 def AddBook(self
, *_args
, **_kwargs
):
175 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
177 def FindPageByName(self
, *_args
, **_kwargs
):
178 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
180 def FindPageById(self
, *_args
, **_kwargs
):
181 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
183 def GetBookRecArray(self
, *_args
, **_kwargs
):
184 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
186 def GetContents(self
, *_args
, **_kwargs
):
187 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
188 if val
: val
= wxHtmlContentsItemPtr(val
)
190 def GetContentsCnt(self
, *_args
, **_kwargs
):
191 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
193 def GetIndex(self
, *_args
, **_kwargs
):
194 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
195 if val
: val
= wxHtmlContentsItemPtr(val
)
197 def GetIndexCnt(self
, *_args
, **_kwargs
):
198 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
201 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
202 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
203 def __init__(self
,*_args
,**_kwargs
):
204 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
210 class wxHtmlHelpFramePtr(wxFramePtr
):
211 def __init__(self
,this
):
214 def GetData(self
, *_args
, **_kwargs
):
215 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
216 if val
: val
= wxHtmlHelpDataPtr(val
)
218 def SetTitleFormat(self
, *_args
, **_kwargs
):
219 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
221 def Display(self
, *_args
, **_kwargs
):
222 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
224 def DisplayID(self
, *_args
, **_kwargs
):
225 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
227 def DisplayContents(self
, *_args
, **_kwargs
):
228 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
230 def DisplayIndex(self
, *_args
, **_kwargs
):
231 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
233 def KeywordSearch(self
, *_args
, **_kwargs
):
234 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
236 def UseConfig(self
, *_args
, **_kwargs
):
237 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
239 def ReadCustomization(self
, *_args
, **_kwargs
):
240 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
242 def WriteCustomization(self
, *_args
, **_kwargs
):
243 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
246 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
247 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
248 def __init__(self
,*_args
,**_kwargs
):
249 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
251 self
._setOORInfo
(self
)
256 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
257 def __init__(self
,this
):
260 def __del__(self
,htmlhelpc
=htmlhelpc
):
261 if self
.thisown
== 1 :
262 htmlhelpc
.delete_wxHtmlHelpController(self
)
263 def SetTitleFormat(self
, *_args
, **_kwargs
):
264 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
266 def SetTempDir(self
, *_args
, **_kwargs
):
267 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
269 def AddBook(self
, *_args
, **_kwargs
):
270 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
272 def Display(self
, *_args
, **_kwargs
):
273 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
275 def DisplayID(self
, *_args
, **_kwargs
):
276 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
278 def DisplayContents(self
, *_args
, **_kwargs
):
279 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
281 def DisplayIndex(self
, *_args
, **_kwargs
):
282 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
284 def KeywordSearch(self
, *_args
, **_kwargs
):
285 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
287 def UseConfig(self
, *_args
, **_kwargs
):
288 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
290 def ReadCustomization(self
, *_args
, **_kwargs
):
291 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
293 def WriteCustomization(self
, *_args
, **_kwargs
):
294 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
296 def GetFrame(self
, *_args
, **_kwargs
):
297 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
298 if val
: val
= wxHtmlHelpFramePtr(val
)
301 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
302 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
303 def __init__(self
,*_args
,**_kwargs
):
304 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
306 self
._setOORInfo
(self
)
313 #-------------- FUNCTION WRAPPERS ------------------
317 #-------------- VARIABLE WRAPPERS ------------------
319 wxHF_TOOLBAR
= htmlhelpc
.wxHF_TOOLBAR
320 wxHF_FLATTOOLBAR
= htmlhelpc
.wxHF_FLATTOOLBAR
321 wxHF_CONTENTS
= htmlhelpc
.wxHF_CONTENTS
322 wxHF_INDEX
= htmlhelpc
.wxHF_INDEX
323 wxHF_SEARCH
= htmlhelpc
.wxHF_SEARCH
324 wxHF_BOOKMARKS
= htmlhelpc
.wxHF_BOOKMARKS
325 wxHF_OPENFILES
= htmlhelpc
.wxHF_OPENFILES
326 wxHF_PRINT
= htmlhelpc
.wxHF_PRINT
327 wxHF_DEFAULTSTYLE
= htmlhelpc
.wxHF_DEFAULTSTYLE