1 # This file was created automatically by SWIG.
18 from stattool
import *
20 from controls
import *
22 from controls2
import *
24 from windows2
import *
28 from windows3
import *
35 class HtmlHistoryItemPtr
:
36 def __init__(self
,this
):
39 def GetPos(self
, *_args
, **_kwargs
):
40 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
42 def SetPos(self
, *_args
, **_kwargs
):
43 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
45 def GetPage(self
, *_args
, **_kwargs
):
46 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
48 def GetAnchor(self
, *_args
, **_kwargs
):
49 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
52 return "<C HtmlHistoryItem instance at %s>" % (self
.this
,)
53 class HtmlHistoryItem(HtmlHistoryItemPtr
):
54 def __init__(self
,*_args
,**_kwargs
):
55 self
.this
= apply(htmlc
.new_HtmlHistoryItem
,_args
,_kwargs
)
61 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
62 def __init__(self
,this
):
65 def SetPage(self
, *_args
, **_kwargs
):
66 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
68 def LoadPage(self
, *_args
, **_kwargs
):
69 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
71 def GetOpenedPage(self
, *_args
, **_kwargs
):
72 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
74 def SetRelatedFrame(self
, *_args
, **_kwargs
):
75 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
77 def GetRelatedFrame(self
, *_args
, **_kwargs
):
78 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
79 if val
: val
= wxFramePtr(val
)
81 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
82 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
84 def SetFonts(self
, *_args
, **_kwargs
):
85 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
87 def SetTitle(self
, *_args
, **_kwargs
):
88 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
90 def SetBorders(self
, *_args
, **_kwargs
):
91 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
93 def HistoryBack(self
, *_args
, **_kwargs
):
94 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
96 def HistoryForward(self
, *_args
, **_kwargs
):
97 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
99 def HistoryClear(self
, *_args
, **_kwargs
):
100 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
103 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
104 class wxHtmlWindow(wxHtmlWindowPtr
):
105 def __init__(self
,*_args
,**_kwargs
):
106 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
108 wx
._StdWindowCallbacks
(self
)
109 wx
._StdOnScrollCallbacks
(self
)
114 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr
):
115 IMG_Book
= htmlc
.wxHtmlHelpController_IMG_Book
116 IMG_Folder
= htmlc
.wxHtmlHelpController_IMG_Folder
117 IMG_Page
= htmlc
.wxHtmlHelpController_IMG_Page
118 def __init__(self
,this
):
121 def __del__(self
,htmlc
=htmlc
):
122 if self
.thisown
== 1 :
123 htmlc
.delete_wxHtmlHelpController(self
)
124 def SetTitleFormat(self
, *_args
, **_kwargs
):
125 val
= apply(htmlc
.wxHtmlHelpController_SetTitleFormat
,(self
,) + _args
, _kwargs
)
127 def SetTempDir(self
, *_args
, **_kwargs
):
128 val
= apply(htmlc
.wxHtmlHelpController_SetTempDir
,(self
,) + _args
, _kwargs
)
130 def AddBook(self
, *_args
, **_kwargs
):
131 val
= apply(htmlc
.wxHtmlHelpController_AddBook
,(self
,) + _args
, _kwargs
)
133 def Display(self
, *_args
, **_kwargs
):
134 val
= apply(htmlc
.wxHtmlHelpController_Display
,(self
,) + _args
, _kwargs
)
136 def DisplayID(self
, *_args
, **_kwargs
):
137 val
= apply(htmlc
.wxHtmlHelpController_DisplayID
,(self
,) + _args
, _kwargs
)
139 def DisplayContents(self
, *_args
, **_kwargs
):
140 val
= apply(htmlc
.wxHtmlHelpController_DisplayContents
,(self
,) + _args
, _kwargs
)
142 def DisplayIndex(self
, *_args
, **_kwargs
):
143 val
= apply(htmlc
.wxHtmlHelpController_DisplayIndex
,(self
,) + _args
, _kwargs
)
145 def KeywordSearch(self
, *_args
, **_kwargs
):
146 val
= apply(htmlc
.wxHtmlHelpController_KeywordSearch
,(self
,) + _args
, _kwargs
)
148 def UseConfig(self
, *_args
, **_kwargs
):
149 val
= apply(htmlc
.wxHtmlHelpController_UseConfig
,(self
,) + _args
, _kwargs
)
151 def ReadCustomization(self
, *_args
, **_kwargs
):
152 val
= apply(htmlc
.wxHtmlHelpController_ReadCustomization
,(self
,) + _args
, _kwargs
)
154 def WriteCustomization(self
, *_args
, **_kwargs
):
155 val
= apply(htmlc
.wxHtmlHelpController_WriteCustomization
,(self
,) + _args
, _kwargs
)
158 return "<C wxHtmlHelpController instance at %s>" % (self
.this
,)
159 class wxHtmlHelpController(wxHtmlHelpControllerPtr
):
160 def __init__(self
,*_args
,**_kwargs
):
161 self
.this
= apply(htmlc
.new_wxHtmlHelpController
,_args
,_kwargs
)
167 class wxHtmlHelpSystemPtr(wxHtmlHelpControllerPtr
):
168 def __init__(self
,this
):
171 def __del__(self
,htmlc
=htmlc
):
172 if self
.thisown
== 1 :
173 htmlc
.delete_wxHtmlHelpSystem(self
)
174 def AddBookParam(self
, *_args
, **_kwargs
):
175 val
= apply(htmlc
.wxHtmlHelpSystem_AddBookParam
,(self
,) + _args
, _kwargs
)
177 def CreateToolBar(self
, *_args
, **_kwargs
):
178 val
= apply(htmlc
.wxHtmlHelpSystem_CreateToolBar
,(self
,) + _args
, _kwargs
)
179 if val
: val
= wxToolBarPtr(val
)
181 def CreateContentsTree(self
, *_args
, **_kwargs
):
182 val
= apply(htmlc
.wxHtmlHelpSystem_CreateContentsTree
,(self
,) + _args
, _kwargs
)
183 if val
: val
= wxTreeCtrlPtr(val
)
185 def CreateIndexList(self
, *_args
, **_kwargs
):
186 val
= apply(htmlc
.wxHtmlHelpSystem_CreateIndexList
,(self
,) + _args
, _kwargs
)
187 if val
: val
= wxListBoxPtr(val
)
189 def CreateHelpWindow(self
, *_args
, **_kwargs
):
190 val
= apply(htmlc
.wxHtmlHelpSystem_CreateHelpWindow
,(self
,) + _args
, _kwargs
)
192 def SetControls(self
, *_args
, **_kwargs
):
193 val
= apply(htmlc
.wxHtmlHelpSystem_SetControls
,(self
,) + _args
, _kwargs
)
195 def GetFrame(self
, *_args
, **_kwargs
):
196 val
= apply(htmlc
.wxHtmlHelpSystem_GetFrame
,(self
,) + _args
, _kwargs
)
197 if val
: val
= wxFramePtr(val
)
199 def GetHtmlWindow(self
, *_args
, **_kwargs
):
200 val
= apply(htmlc
.wxHtmlHelpSystem_GetHtmlWindow
,(self
,) + _args
, _kwargs
)
201 if val
: val
= wxHtmlWindowPtr(val
)
203 def GetContentsTree(self
, *_args
, **_kwargs
):
204 val
= apply(htmlc
.wxHtmlHelpSystem_GetContentsTree
,(self
,) + _args
, _kwargs
)
205 if val
: val
= wxTreeCtrlPtr(val
)
207 def GetIndexList(self
, *_args
, **_kwargs
):
208 val
= apply(htmlc
.wxHtmlHelpSystem_GetIndexList
,(self
,) + _args
, _kwargs
)
209 if val
: val
= wxListBoxPtr(val
)
211 def GetSearchList(self
, *_args
, **_kwargs
):
212 val
= apply(htmlc
.wxHtmlHelpSystem_GetSearchList
,(self
,) + _args
, _kwargs
)
213 if val
: val
= wxListBoxPtr(val
)
215 def GetContentsImageList(self
, *_args
, **_kwargs
):
216 val
= apply(htmlc
.wxHtmlHelpSystem_GetContentsImageList
,(self
,) + _args
, _kwargs
)
217 if val
: val
= wxImageListPtr(val
)
219 def OnToolbar(self
, *_args
, **_kwargs
):
220 val
= apply(htmlc
.wxHtmlHelpSystem_OnToolbar
,(self
,) + _args
, _kwargs
)
222 def OnContentsSel(self
, *_args
, **_kwargs
):
223 val
= apply(htmlc
.wxHtmlHelpSystem_OnContentsSel
,(self
,) + _args
, _kwargs
)
225 def OnIndexSel(self
, *_args
, **_kwargs
):
226 val
= apply(htmlc
.wxHtmlHelpSystem_OnIndexSel
,(self
,) + _args
, _kwargs
)
228 def OnSearchSel(self
, *_args
, **_kwargs
):
229 val
= apply(htmlc
.wxHtmlHelpSystem_OnSearchSel
,(self
,) + _args
, _kwargs
)
231 def OnSearch(self
, *_args
, **_kwargs
):
232 val
= apply(htmlc
.wxHtmlHelpSystem_OnSearch
,(self
,) + _args
, _kwargs
)
234 def OnCloseWindow(self
, *_args
, **_kwargs
):
235 val
= apply(htmlc
.wxHtmlHelpSystem_OnCloseWindow
,(self
,) + _args
, _kwargs
)
237 def RefreshLists(self
, *_args
, **_kwargs
):
238 val
= apply(htmlc
.wxHtmlHelpSystem_RefreshLists
,(self
,) + _args
, _kwargs
)
240 def CreateContents(self
, *_args
, **_kwargs
):
241 val
= apply(htmlc
.wxHtmlHelpSystem_CreateContents
,(self
,) + _args
, _kwargs
)
243 def CreateIndex(self
, *_args
, **_kwargs
):
244 val
= apply(htmlc
.wxHtmlHelpSystem_CreateIndex
,(self
,) + _args
, _kwargs
)
247 return "<C wxHtmlHelpSystem instance at %s>" % (self
.this
,)
248 class wxHtmlHelpSystem(wxHtmlHelpSystemPtr
):
249 def __init__(self
,*_args
,**_kwargs
):
250 self
.this
= apply(htmlc
.new_wxHtmlHelpSystem
,_args
,_kwargs
)
258 #-------------- FUNCTION WRAPPERS ------------------
262 #-------------- VARIABLE WRAPPERS ------------------
264 wxID_HTML_PANEL
= htmlc
.wxID_HTML_PANEL
265 wxID_HTML_BACK
= htmlc
.wxID_HTML_BACK
266 wxID_HTML_FORWARD
= htmlc
.wxID_HTML_FORWARD
267 wxID_HTML_TREECTRL
= htmlc
.wxID_HTML_TREECTRL
268 wxID_HTML_INDEXPAGE
= htmlc
.wxID_HTML_INDEXPAGE
269 wxID_HTML_INDEXLIST
= htmlc
.wxID_HTML_INDEXLIST
270 wxID_HTML_NOTEBOOK
= htmlc
.wxID_HTML_NOTEBOOK
271 wxID_HTML_SEARCHPAGE
= htmlc
.wxID_HTML_SEARCHPAGE
272 wxID_HTML_SEARCHTEXT
= htmlc
.wxID_HTML_SEARCHTEXT
273 wxID_HTML_SEARCHLIST
= htmlc
.wxID_HTML_SEARCHLIST
274 wxID_HTML_SEARCHBUTTON
= htmlc
.wxID_HTML_SEARCHBUTTON