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