]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/htmlhelp.py
More updates.
[wxWidgets.git] / utils / wxPython / modules / html / htmlhelp.py
1 # This file was created automatically by SWIG.
2 import htmlhelpc
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from clip_dnd import *
13
14 from events import *
15
16 from mdi import *
17
18 from frames import *
19
20 from stattool import *
21
22 from controls import *
23
24 from controls2 import *
25
26 from windows2 import *
27
28 from cmndlgs import *
29
30 from windows3 import *
31
32 from image import *
33
34 from printfw import *
35
36 from sizers import *
37 class wxHtmlHelpFrameCfgPtr :
38 def __init__(self,this):
39 self.this = this
40 self.thisown = 0
41 def __setattr__(self,name,value):
42 if name == "x" :
43 htmlhelpc.wxHtmlHelpFrameCfg_x_set(self,value)
44 return
45 if name == "y" :
46 htmlhelpc.wxHtmlHelpFrameCfg_y_set(self,value)
47 return
48 if name == "w" :
49 htmlhelpc.wxHtmlHelpFrameCfg_w_set(self,value)
50 return
51 if name == "h" :
52 htmlhelpc.wxHtmlHelpFrameCfg_h_set(self,value)
53 return
54 if name == "sashpos" :
55 htmlhelpc.wxHtmlHelpFrameCfg_sashpos_set(self,value)
56 return
57 if name == "navig_on" :
58 htmlhelpc.wxHtmlHelpFrameCfg_navig_on_set(self,value)
59 return
60 self.__dict__[name] = value
61 def __getattr__(self,name):
62 if name == "x" :
63 return htmlhelpc.wxHtmlHelpFrameCfg_x_get(self)
64 if name == "y" :
65 return htmlhelpc.wxHtmlHelpFrameCfg_y_get(self)
66 if name == "w" :
67 return htmlhelpc.wxHtmlHelpFrameCfg_w_get(self)
68 if name == "h" :
69 return htmlhelpc.wxHtmlHelpFrameCfg_h_get(self)
70 if name == "sashpos" :
71 return htmlhelpc.wxHtmlHelpFrameCfg_sashpos_get(self)
72 if name == "navig_on" :
73 return htmlhelpc.wxHtmlHelpFrameCfg_navig_on_get(self)
74 raise AttributeError,name
75 def __repr__(self):
76 return "<C wxHtmlHelpFrameCfg instance at %s>" % (self.this,)
77 class wxHtmlHelpFrameCfg(wxHtmlHelpFrameCfgPtr):
78 def __init__(self,*_args,**_kwargs):
79 self.this = apply(htmlhelpc.new_wxHtmlHelpFrameCfg,_args,_kwargs)
80 self.thisown = 1
81
82
83
84
85 class wxHtmlBookRecordPtr :
86 def __init__(self,this):
87 self.this = this
88 self.thisown = 0
89 def GetTitle(self, *_args, **_kwargs):
90 val = apply(htmlhelpc.wxHtmlBookRecord_GetTitle,(self,) + _args, _kwargs)
91 return val
92 def GetStart(self, *_args, **_kwargs):
93 val = apply(htmlhelpc.wxHtmlBookRecord_GetStart,(self,) + _args, _kwargs)
94 return val
95 def GetBasePath(self, *_args, **_kwargs):
96 val = apply(htmlhelpc.wxHtmlBookRecord_GetBasePath,(self,) + _args, _kwargs)
97 return val
98 def SetContentsRange(self, *_args, **_kwargs):
99 val = apply(htmlhelpc.wxHtmlBookRecord_SetContentsRange,(self,) + _args, _kwargs)
100 return val
101 def GetContentsStart(self, *_args, **_kwargs):
102 val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsStart,(self,) + _args, _kwargs)
103 return val
104 def GetContentsEnd(self, *_args, **_kwargs):
105 val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsEnd,(self,) + _args, _kwargs)
106 return val
107 def __repr__(self):
108 return "<C wxHtmlBookRecord instance at %s>" % (self.this,)
109 class wxHtmlBookRecord(wxHtmlBookRecordPtr):
110 def __init__(self,*_args,**_kwargs):
111 self.this = apply(htmlhelpc.new_wxHtmlBookRecord,_args,_kwargs)
112 self.thisown = 1
113
114
115
116
117 class wxHtmlContentsItemPtr :
118 def __init__(self,this):
119 self.this = this
120 self.thisown = 0
121 def __setattr__(self,name,value):
122 if name == "m_Level" :
123 htmlhelpc.wxHtmlContentsItem_m_Level_set(self,value)
124 return
125 if name == "m_ID" :
126 htmlhelpc.wxHtmlContentsItem_m_ID_set(self,value)
127 return
128 if name == "m_Name" :
129 htmlhelpc.wxHtmlContentsItem_m_Name_set(self,value)
130 return
131 if name == "m_Page" :
132 htmlhelpc.wxHtmlContentsItem_m_Page_set(self,value)
133 return
134 if name == "m_Book" :
135 htmlhelpc.wxHtmlContentsItem_m_Book_set(self,value.this)
136 return
137 self.__dict__[name] = value
138 def __getattr__(self,name):
139 if name == "m_Level" :
140 return htmlhelpc.wxHtmlContentsItem_m_Level_get(self)
141 if name == "m_ID" :
142 return htmlhelpc.wxHtmlContentsItem_m_ID_get(self)
143 if name == "m_Name" :
144 return htmlhelpc.wxHtmlContentsItem_m_Name_get(self)
145 if name == "m_Page" :
146 return htmlhelpc.wxHtmlContentsItem_m_Page_get(self)
147 if name == "m_Book" :
148 return wxHtmlBookRecordPtr(htmlhelpc.wxHtmlContentsItem_m_Book_get(self))
149 raise AttributeError,name
150 def __repr__(self):
151 return "<C wxHtmlContentsItem instance at %s>" % (self.this,)
152 class wxHtmlContentsItem(wxHtmlContentsItemPtr):
153 def __init__(self,this):
154 self.this = this
155
156
157
158
159 class wxHtmlSearchStatusPtr :
160 def __init__(self,this):
161 self.this = this
162 self.thisown = 0
163 def Search(self, *_args, **_kwargs):
164 val = apply(htmlhelpc.wxHtmlSearchStatus_Search,(self,) + _args, _kwargs)
165 return val
166 def IsActive(self, *_args, **_kwargs):
167 val = apply(htmlhelpc.wxHtmlSearchStatus_IsActive,(self,) + _args, _kwargs)
168 return val
169 def GetCurIndex(self, *_args, **_kwargs):
170 val = apply(htmlhelpc.wxHtmlSearchStatus_GetCurIndex,(self,) + _args, _kwargs)
171 return val
172 def GetMaxIndex(self, *_args, **_kwargs):
173 val = apply(htmlhelpc.wxHtmlSearchStatus_GetMaxIndex,(self,) + _args, _kwargs)
174 return val
175 def GetName(self, *_args, **_kwargs):
176 val = apply(htmlhelpc.wxHtmlSearchStatus_GetName,(self,) + _args, _kwargs)
177 return val
178 def GetContentsItem(self, *_args, **_kwargs):
179 val = apply(htmlhelpc.wxHtmlSearchStatus_GetContentsItem,(self,) + _args, _kwargs)
180 if val: val = wxHtmlContentsItemPtr(val)
181 return val
182 def __repr__(self):
183 return "<C wxHtmlSearchStatus instance at %s>" % (self.this,)
184 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr):
185 def __init__(self,this):
186 self.this = this
187
188
189
190
191 class wxHtmlHelpDataPtr :
192 def __init__(self,this):
193 self.this = this
194 self.thisown = 0
195 def __del__(self,htmlhelpc=htmlhelpc):
196 if self.thisown == 1 :
197 htmlhelpc.delete_wxHtmlHelpData(self)
198 def SetTempDir(self, *_args, **_kwargs):
199 val = apply(htmlhelpc.wxHtmlHelpData_SetTempDir,(self,) + _args, _kwargs)
200 return val
201 def AddBook(self, *_args, **_kwargs):
202 val = apply(htmlhelpc.wxHtmlHelpData_AddBook,(self,) + _args, _kwargs)
203 return val
204 def FindPageByName(self, *_args, **_kwargs):
205 val = apply(htmlhelpc.wxHtmlHelpData_FindPageByName,(self,) + _args, _kwargs)
206 return val
207 def FindPageById(self, *_args, **_kwargs):
208 val = apply(htmlhelpc.wxHtmlHelpData_FindPageById,(self,) + _args, _kwargs)
209 return val
210 def GetBookRecArray(self, *_args, **_kwargs):
211 val = apply(htmlhelpc.wxHtmlHelpData_GetBookRecArray,(self,) + _args, _kwargs)
212 return val
213 def GetContents(self, *_args, **_kwargs):
214 val = apply(htmlhelpc.wxHtmlHelpData_GetContents,(self,) + _args, _kwargs)
215 if val: val = wxHtmlContentsItemPtr(val)
216 return val
217 def GetContentsCnt(self, *_args, **_kwargs):
218 val = apply(htmlhelpc.wxHtmlHelpData_GetContentsCnt,(self,) + _args, _kwargs)
219 return val
220 def GetIndex(self, *_args, **_kwargs):
221 val = apply(htmlhelpc.wxHtmlHelpData_GetIndex,(self,) + _args, _kwargs)
222 if val: val = wxHtmlContentsItemPtr(val)
223 return val
224 def GetIndexCnt(self, *_args, **_kwargs):
225 val = apply(htmlhelpc.wxHtmlHelpData_GetIndexCnt,(self,) + _args, _kwargs)
226 return val
227 def __repr__(self):
228 return "<C wxHtmlHelpData instance at %s>" % (self.this,)
229 class wxHtmlHelpData(wxHtmlHelpDataPtr):
230 def __init__(self,*_args,**_kwargs):
231 self.this = apply(htmlhelpc.new_wxHtmlHelpData,_args,_kwargs)
232 self.thisown = 1
233
234
235
236
237 class wxHtmlHelpFramePtr(wxFramePtr):
238 def __init__(self,this):
239 self.this = this
240 self.thisown = 0
241 def GetData(self, *_args, **_kwargs):
242 val = apply(htmlhelpc.wxHtmlHelpFrame_GetData,(self,) + _args, _kwargs)
243 if val: val = wxHtmlHelpDataPtr(val)
244 return val
245 def SetTitleFormat(self, *_args, **_kwargs):
246 val = apply(htmlhelpc.wxHtmlHelpFrame_SetTitleFormat,(self,) + _args, _kwargs)
247 return val
248 def Display(self, *_args, **_kwargs):
249 val = apply(htmlhelpc.wxHtmlHelpFrame_Display,(self,) + _args, _kwargs)
250 return val
251 def DisplayID(self, *_args, **_kwargs):
252 val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayID,(self,) + _args, _kwargs)
253 return val
254 def DisplayContents(self, *_args, **_kwargs):
255 val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayContents,(self,) + _args, _kwargs)
256 return val
257 def DisplayIndex(self, *_args, **_kwargs):
258 val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayIndex,(self,) + _args, _kwargs)
259 return val
260 def KeywordSearch(self, *_args, **_kwargs):
261 val = apply(htmlhelpc.wxHtmlHelpFrame_KeywordSearch,(self,) + _args, _kwargs)
262 return val
263 def UseConfig(self, *_args, **_kwargs):
264 val = apply(htmlhelpc.wxHtmlHelpFrame_UseConfig,(self,) + _args, _kwargs)
265 return val
266 def ReadCustomization(self, *_args, **_kwargs):
267 val = apply(htmlhelpc.wxHtmlHelpFrame_ReadCustomization,(self,) + _args, _kwargs)
268 return val
269 def WriteCustomization(self, *_args, **_kwargs):
270 val = apply(htmlhelpc.wxHtmlHelpFrame_WriteCustomization,(self,) + _args, _kwargs)
271 return val
272 def __repr__(self):
273 return "<C wxHtmlHelpFrame instance at %s>" % (self.this,)
274 class wxHtmlHelpFrame(wxHtmlHelpFramePtr):
275 def __init__(self,*_args,**_kwargs):
276 self.this = apply(htmlhelpc.new_wxHtmlHelpFrame,_args,_kwargs)
277 self.thisown = 1
278
279
280
281
282 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr):
283 def __init__(self,this):
284 self.this = this
285 self.thisown = 0
286 def __del__(self,htmlhelpc=htmlhelpc):
287 if self.thisown == 1 :
288 htmlhelpc.delete_wxHtmlHelpController(self)
289 def SetTitleFormat(self, *_args, **_kwargs):
290 val = apply(htmlhelpc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs)
291 return val
292 def SetTempDir(self, *_args, **_kwargs):
293 val = apply(htmlhelpc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs)
294 return val
295 def AddBook(self, *_args, **_kwargs):
296 val = apply(htmlhelpc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs)
297 return val
298 def Display(self, *_args, **_kwargs):
299 val = apply(htmlhelpc.wxHtmlHelpController_Display,(self,) + _args, _kwargs)
300 return val
301 def DisplayID(self, *_args, **_kwargs):
302 val = apply(htmlhelpc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs)
303 return val
304 def DisplayContents(self, *_args, **_kwargs):
305 val = apply(htmlhelpc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs)
306 return val
307 def DisplayIndex(self, *_args, **_kwargs):
308 val = apply(htmlhelpc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs)
309 return val
310 def KeywordSearch(self, *_args, **_kwargs):
311 val = apply(htmlhelpc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs)
312 return val
313 def UseConfig(self, *_args, **_kwargs):
314 val = apply(htmlhelpc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs)
315 return val
316 def ReadCustomization(self, *_args, **_kwargs):
317 val = apply(htmlhelpc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs)
318 return val
319 def WriteCustomization(self, *_args, **_kwargs):
320 val = apply(htmlhelpc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs)
321 return val
322 def GetFrame(self, *_args, **_kwargs):
323 val = apply(htmlhelpc.wxHtmlHelpController_GetFrame,(self,) + _args, _kwargs)
324 if val: val = wxHtmlHelpFramePtr(val)
325 return val
326 def __repr__(self):
327 return "<C wxHtmlHelpController instance at %s>" % (self.this,)
328 class wxHtmlHelpController(wxHtmlHelpControllerPtr):
329 def __init__(self,*_args,**_kwargs):
330 self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs)
331 self.thisown = 1
332
333
334
335
336
337
338 #-------------- FUNCTION WRAPPERS ------------------
339
340
341
342 #-------------- VARIABLE WRAPPERS ------------------
343
344 wxID_HTML_PANEL = htmlhelpc.wxID_HTML_PANEL
345 wxID_HTML_BACK = htmlhelpc.wxID_HTML_BACK
346 wxID_HTML_FORWARD = htmlhelpc.wxID_HTML_FORWARD
347 wxID_HTML_TREECTRL = htmlhelpc.wxID_HTML_TREECTRL
348 wxID_HTML_INDEXPAGE = htmlhelpc.wxID_HTML_INDEXPAGE
349 wxID_HTML_INDEXLIST = htmlhelpc.wxID_HTML_INDEXLIST
350 wxID_HTML_NOTEBOOK = htmlhelpc.wxID_HTML_NOTEBOOK
351 wxID_HTML_SEARCHPAGE = htmlhelpc.wxID_HTML_SEARCHPAGE
352 wxID_HTML_SEARCHTEXT = htmlhelpc.wxID_HTML_SEARCHTEXT
353 wxID_HTML_SEARCHLIST = htmlhelpc.wxID_HTML_SEARCHLIST
354 wxID_HTML_SEARCHBUTTON = htmlhelpc.wxID_HTML_SEARCHBUTTON
355 wxID_HTML_SEARCHCHOICE = htmlhelpc.wxID_HTML_SEARCHCHOICE
356 wxID_HTML_HELPFRAME = htmlhelpc.wxID_HTML_HELPFRAME