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 GetLevel(self
, *_args
, **_kwargs
):
95 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetLevel
,(self
,) + _args
, _kwargs
)
97 def GetID(self
, *_args
, **_kwargs
):
98 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetID
,(self
,) + _args
, _kwargs
)
100 def GetName(self
, *_args
, **_kwargs
):
101 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetName
,(self
,) + _args
, _kwargs
)
103 def GetPage(self
, *_args
, **_kwargs
):
104 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetPage
,(self
,) + _args
, _kwargs
)
106 def GetBook(self
, *_args
, **_kwargs
):
107 val
= apply(htmlhelpc
.wxHtmlContentsItem_GetBook
,(self
,) + _args
, _kwargs
)
108 if val
: val
= wxHtmlBookRecordPtr(val
)
111 return "<C wxHtmlContentsItem instance at %s>" % (self
.this
,)
112 class wxHtmlContentsItem(wxHtmlContentsItemPtr
):
113 def __init__(self
,this
):
119 class wxHtmlSearchStatusPtr
:
120 def __init__(self
,this
):
123 def Search(self
, *_args
, **_kwargs
):
124 val
= apply(htmlhelpc
.wxHtmlSearchStatus_Search
,(self
,) + _args
, _kwargs
)
126 def IsActive(self
, *_args
, **_kwargs
):
127 val
= apply(htmlhelpc
.wxHtmlSearchStatus_IsActive
,(self
,) + _args
, _kwargs
)
129 def GetCurIndex(self
, *_args
, **_kwargs
):
130 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetCurIndex
,(self
,) + _args
, _kwargs
)
132 def GetMaxIndex(self
, *_args
, **_kwargs
):
133 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetMaxIndex
,(self
,) + _args
, _kwargs
)
135 def GetName(self
, *_args
, **_kwargs
):
136 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetName
,(self
,) + _args
, _kwargs
)
138 def GetContentsItem(self
, *_args
, **_kwargs
):
139 val
= apply(htmlhelpc
.wxHtmlSearchStatus_GetContentsItem
,(self
,) + _args
, _kwargs
)
140 if val
: val
= wxHtmlContentsItemPtr(val
)
143 return "<C wxHtmlSearchStatus instance at %s>" % (self
.this
,)
144 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr
):
145 def __init__(self
,this
):
151 class wxHtmlHelpDataPtr
:
152 def __init__(self
,this
):
155 def __del__(self
,htmlhelpc
=htmlhelpc
):
156 if self
.thisown
== 1 :
157 htmlhelpc
.delete_wxHtmlHelpData(self
)
158 def SetTempDir(self
, *_args
, **_kwargs
):
159 val
= apply(htmlhelpc
.wxHtmlHelpData_SetTempDir
,(self
,) + _args
, _kwargs
)
161 def AddBook(self
, *_args
, **_kwargs
):
162 val
= apply(htmlhelpc
.wxHtmlHelpData_AddBook
,(self
,) + _args
, _kwargs
)
164 def FindPageByName(self
, *_args
, **_kwargs
):
165 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageByName
,(self
,) + _args
, _kwargs
)
167 def FindPageById(self
, *_args
, **_kwargs
):
168 val
= apply(htmlhelpc
.wxHtmlHelpData_FindPageById
,(self
,) + _args
, _kwargs
)
170 def GetBookRecArray(self
, *_args
, **_kwargs
):
171 val
= apply(htmlhelpc
.wxHtmlHelpData_GetBookRecArray
,(self
,) + _args
, _kwargs
)
173 def GetContents(self
, *_args
, **_kwargs
):
174 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContents
,(self
,) + _args
, _kwargs
)
175 if val
: val
= wxHtmlContentsItemPtr(val
)
177 def GetContentsCnt(self
, *_args
, **_kwargs
):
178 val
= apply(htmlhelpc
.wxHtmlHelpData_GetContentsCnt
,(self
,) + _args
, _kwargs
)
180 def GetIndex(self
, *_args
, **_kwargs
):
181 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndex
,(self
,) + _args
, _kwargs
)
182 if val
: val
= wxHtmlContentsItemPtr(val
)
184 def GetIndexCnt(self
, *_args
, **_kwargs
):
185 val
= apply(htmlhelpc
.wxHtmlHelpData_GetIndexCnt
,(self
,) + _args
, _kwargs
)
188 return "<C wxHtmlHelpData instance at %s>" % (self
.this
,)
189 class wxHtmlHelpData(wxHtmlHelpDataPtr
):
190 def __init__(self
,*_args
,**_kwargs
):
191 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpData
,_args
,_kwargs
)
197 class wxHtmlHelpFramePtr(wxFramePtr
):
198 def __init__(self
,this
):
201 def GetData(self
, *_args
, **_kwargs
):
202 val
= apply(htmlhelpc
.wxHtmlHelpFrame_GetData
,(self
,) + _args
, _kwargs
)
203 if val
: val
= wxHtmlHelpDataPtr(val
)
205 def SetTitleFormat(self
, *_args
, **_kwargs
):
206 val
= apply(htmlhelpc
.wxHtmlHelpFrame_SetTitleFormat
,(self
,) + _args
, _kwargs
)
208 def Display(self
, *_args
, **_kwargs
):
209 val
= apply(htmlhelpc
.wxHtmlHelpFrame_Display
,(self
,) + _args
, _kwargs
)
211 def DisplayID(self
, *_args
, **_kwargs
):
212 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayID
,(self
,) + _args
, _kwargs
)
214 def DisplayContents(self
, *_args
, **_kwargs
):
215 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayContents
,(self
,) + _args
, _kwargs
)
217 def DisplayIndex(self
, *_args
, **_kwargs
):
218 val
= apply(htmlhelpc
.wxHtmlHelpFrame_DisplayIndex
,(self
,) + _args
, _kwargs
)
220 def KeywordSearch(self
, *_args
, **_kwargs
):
221 val
= apply(htmlhelpc
.wxHtmlHelpFrame_KeywordSearch
,(self
,) + _args
, _kwargs
)
223 def UseConfig(self
, *_args
, **_kwargs
):
224 val
= apply(htmlhelpc
.wxHtmlHelpFrame_UseConfig
,(self
,) + _args
, _kwargs
)
226 def ReadCustomization(self
, *_args
, **_kwargs
):
227 val
= apply(htmlhelpc
.wxHtmlHelpFrame_ReadCustomization
,(self
,) + _args
, _kwargs
)
229 def WriteCustomization(self
, *_args
, **_kwargs
):
230 val
= apply(htmlhelpc
.wxHtmlHelpFrame_WriteCustomization
,(self
,) + _args
, _kwargs
)
233 return "<C wxHtmlHelpFrame instance at %s>" % (self
.this
,)
234 class wxHtmlHelpFrame(wxHtmlHelpFramePtr
):
235 def __init__(self
,*_args
,**_kwargs
):
236 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpFrame
,_args
,_kwargs
)
238 self
._setOORInfo
(self
)
243 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
244 def __init__(self
,this
):
247 def __del__(self
,htmlhelpc
=htmlhelpc
):
248 if self
.thisown
== 1 :
249 htmlhelpc
.delete_wxHtmlHelpController(self
)
250 def SetTitleFormat(self
, *_args
, **_kwargs
):
251 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
253 def SetTempDir(self
, *_args
, **_kwargs
):
254 val
= apply(htmlhelpc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
256 def AddBook(self
, *_args
, **_kwargs
):
257 val
= apply(htmlhelpc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
259 def Display(self
, *_args
, **_kwargs
):
260 val
= apply(htmlhelpc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
262 def DisplayID(self
, *_args
, **_kwargs
):
263 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
265 def DisplayContents(self
, *_args
, **_kwargs
):
266 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
268 def DisplayIndex(self
, *_args
, **_kwargs
):
269 val
= apply(htmlhelpc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
271 def KeywordSearch(self
, *_args
, **_kwargs
):
272 val
= apply(htmlhelpc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
274 def UseConfig(self
, *_args
, **_kwargs
):
275 val
= apply(htmlhelpc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
277 def ReadCustomization(self
, *_args
, **_kwargs
):
278 val
= apply(htmlhelpc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
280 def WriteCustomization(self
, *_args
, **_kwargs
):
281 val
= apply(htmlhelpc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
283 def GetFrame(self
, *_args
, **_kwargs
):
284 val
= apply(htmlhelpc
.wxHtmlHelpController_GetFrame
,(self
,) + _args
, _kwargs
)
285 if val
: val
= wxHtmlHelpFramePtr(val
)
288 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
289 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
290 def __init__(self
,*_args
,**_kwargs
):
291 self
.this
= apply(htmlhelpc
.new_wxHtmlHelpController
,_args
,_kwargs
)
293 self
._setOORInfo
(self
)
300 #-------------- FUNCTION WRAPPERS ------------------
304 #-------------- VARIABLE WRAPPERS ------------------
306 wxHF_TOOLBAR
= htmlhelpc
.wxHF_TOOLBAR
307 wxHF_FLATTOOLBAR
= htmlhelpc
.wxHF_FLATTOOLBAR
308 wxHF_CONTENTS
= htmlhelpc
.wxHF_CONTENTS
309 wxHF_INDEX
= htmlhelpc
.wxHF_INDEX
310 wxHF_SEARCH
= htmlhelpc
.wxHF_SEARCH
311 wxHF_BOOKMARKS
= htmlhelpc
.wxHF_BOOKMARKS
312 wxHF_OPENFILES
= htmlhelpc
.wxHF_OPENFILES
313 wxHF_PRINT
= htmlhelpc
.wxHF_PRINT
314 wxHF_DEFAULTSTYLE
= htmlhelpc
.wxHF_DEFAULTSTYLE