1 # This file was created automatically by SWIG.
14 from clip_dnd
import *
26 from stattool
import *
28 from controls
import *
30 from controls2
import *
32 from windows2
import *
36 from windows3
import *
45 class wxHtmlBookRecordPtr
:
46 def __init__(self
,this
):
49 def GetBookFile(self
, *_args
, **_kwargs
):
50 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBookFile
,(self
,) + _args
, _kwargs
)
52 def GetTitle(self
, *_args
, **_kwargs
):
53 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetTitle
,(self
,) + _args
, _kwargs
)
55 def GetStart(self
, *_args
, **_kwargs
):
56 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetStart
,(self
,) + _args
, _kwargs
)
58 def GetBasePath(self
, *_args
, **_kwargs
):
59 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetBasePath
,(self
,) + _args
, _kwargs
)
61 def SetContentsRange(self
, *_args
, **_kwargs
):
62 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetContentsRange
,(self
,) + _args
, _kwargs
)
64 def GetContentsStart(self
, *_args
, **_kwargs
):
65 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsStart
,(self
,) + _args
, _kwargs
)
67 def GetContentsEnd(self
, *_args
, **_kwargs
):
68 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetContentsEnd
,(self
,) + _args
, _kwargs
)
70 def SetTitle(self
, *_args
, **_kwargs
):
71 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetTitle
,(self
,) + _args
, _kwargs
)
73 def SetBasePath(self
, *_args
, **_kwargs
):
74 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetBasePath
,(self
,) + _args
, _kwargs
)
76 def SetStart(self
, *_args
, **_kwargs
):
77 val
= apply(htmlhelpc
.wxHtmlBookRecord_SetStart
,(self
,) + _args
, _kwargs
)
79 def GetFullPath(self
, *_args
, **_kwargs
):
80 val
= apply(htmlhelpc
.wxHtmlBookRecord_GetFullPath
,(self
,) + _args
, _kwargs
)
83 return "<C wxHtmlBookRecord instance at %s>" % (self
.this
,)
84 class wxHtmlBookRecord(wxHtmlBookRecordPtr
):
85 def __init__(self
,*_args
,**_kwargs
):
86 self
.this
= apply(htmlhelpc
.new_wxHtmlBookRecord
,_args
,_kwargs
)
92 class wxHtmlContentsItemPtr
:
93 def __init__(self
,this
):
96 def GetLevel(self
, *_args
, **_kwargs
):
97 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetLevel
,(self
,) + _args
, _kwargs
)
99 def GetID(self
, *_args
, **_kwargs
):
100 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetID
,(self
,) + _args
, _kwargs
)
102 def GetName(self
, *_args
, **_kwargs
):
103 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetName
,(self
,) + _args
, _kwargs
)
105 def GetPage(self
, *_args
, **_kwargs
):
106 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetPage
,(self
,) + _args
, _kwargs
)
108 def GetBook(self
, *_args
, **_kwargs
):
109 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetBook
,(self
,) + _args
, _kwargs
)
110 if val
: val
= wxHtmlBookRecordPtr(val
)
113 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
114 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
115 def __init__(self
,this
):
121 class wxHtmlSearchStatusPtr
:
122 def __init__(self
,this
):
125 def Search(self
, *_args
, **_kwargs
):
126 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
128 def IsActive(self
, *_args
, **_kwargs
):
129 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
131 def GetCurIndex(self
, *_args
, **_kwargs
):
132 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
134 def GetMaxIndex(self
, *_args
, **_kwargs
):
135 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
137 def GetName(self
, *_args
, **_kwargs
):
138 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
140 def GetContentsItem(self
, *_args
, **_kwargs
):
141 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
142 if val
: val
= wxHtmlContentsItemPtr(val
)
145 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
146 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
147 def __init__(self
,this
):
153 class wxHtmlHelpDataPtr
:
154 def __init__(self
,this
):
157 def __del__(self
,htmlhelpc
=htmlhelpc
):
158 if self
.thisown
== 1 :
159 htmlhelpc
.delete_wxHtmlHelpData(self
)
160 def SetTempDir(self
, *_args
, **_kwargs
):
161 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
163 def AddBook(self
, *_args
, **_kwargs
):
164 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
166 def FindPageByName(self
, *_args
, **_kwargs
):
167 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
169 def FindPageById(self
, *_args
, **_kwargs
):
170 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
172 def GetBookRecArray(self
, *_args
, **_kwargs
):
173 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
175 def GetContents(self
, *_args
, **_kwargs
):
176 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
177 if val
: val
= wxHtmlContentsItemPtr(val
)
179 def GetContentsCnt(self
, *_args
, **_kwargs
):
180 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
182 def GetIndex(self
, *_args
, **_kwargs
):
183 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
184 if val
: val
= wxHtmlContentsItemPtr(val
)
186 def GetIndexCnt(self
, *_args
, **_kwargs
):
187 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
190 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
191 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
192 def __init__(self
,*_args
,**_kwargs
):
193 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
199 class wxHtmlHelpFramePtr(wxFramePtr
):
200 def __init__(self
,this
):
203 def GetData(self
, *_args
, **_kwargs
):
204 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
205 if val
: val
= wxHtmlHelpDataPtr(val
)
207 def SetTitleFormat(self
, *_args
, **_kwargs
):
208 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
210 def Display(self
, *_args
, **_kwargs
):
211 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
213 def DisplayID(self
, *_args
, **_kwargs
):
214 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
216 def DisplayContents(self
, *_args
, **_kwargs
):
217 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
219 def DisplayIndex(self
, *_args
, **_kwargs
):
220 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
222 def KeywordSearch(self
, *_args
, **_kwargs
):
223 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
225 def UseConfig(self
, *_args
, **_kwargs
):
226 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
228 def ReadCustomization(self
, *_args
, **_kwargs
):
229 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
231 def WriteCustomization(self
, *_args
, **_kwargs
):
232 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
235 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
236 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
237 def __init__(self
,*_args
,**_kwargs
):
238 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
240 self
._setOORInfo
(self
)
245 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
246 def __init__(self
,this
):
249 def __del__(self
,htmlhelpc
=htmlhelpc
):
250 if self
.thisown
== 1 :
251 htmlhelpc
.delete_wxHtmlHelpController(self
)
252 def SetTitleFormat(self
, *_args
, **_kwargs
):
253 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
255 def SetTempDir(self
, *_args
, **_kwargs
):
256 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
258 def AddBook(self
, *_args
, **_kwargs
):
259 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
261 def Display(self
, *_args
, **_kwargs
):
262 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
264 def DisplayID(self
, *_args
, **_kwargs
):
265 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
267 def DisplayContents(self
, *_args
, **_kwargs
):
268 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
270 def DisplayIndex(self
, *_args
, **_kwargs
):
271 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
273 def KeywordSearch(self
, *_args
, **_kwargs
):
274 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
276 def UseConfig(self
, *_args
, **_kwargs
):
277 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
279 def ReadCustomization(self
, *_args
, **_kwargs
):
280 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
282 def WriteCustomization(self
, *_args
, **_kwargs
):
283 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
285 def GetFrame(self
, *_args
, **_kwargs
):
286 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
287 if val
: val
= wxHtmlHelpFramePtr(val
)
290 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
291 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
292 def __init__(self
,*_args
,**_kwargs
):
293 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
295 self
._setOORInfo
(self
)
302 #-------------- FUNCTION WRAPPERS ------------------
306 #-------------- VARIABLE WRAPPERS ------------------
308 wxHF_TOOLBAR
= htmlhelpc
.wxHF_TOOLBAR
309 wxHF_FLATTOOLBAR
= htmlhelpc
.wxHF_FLATTOOLBAR
310 wxHF_CONTENTS
= htmlhelpc
.wxHF_CONTENTS
311 wxHF_INDEX
= htmlhelpc
.wxHF_INDEX
312 wxHF_SEARCH
= htmlhelpc
.wxHF_SEARCH
313 wxHF_BOOKMARKS
= htmlhelpc
.wxHF_BOOKMARKS
314 wxHF_OPENFILES
= htmlhelpc
.wxHF_OPENFILES
315 wxHF_PRINT
= htmlhelpc
.wxHF_PRINT
316 wxHF_DEFAULTSTYLE
= htmlhelpc
.wxHF_DEFAULTSTYLE