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