]>
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 | ||
c8bc03c3 RD |
12 | from clip_dnd import * |
13 | ||
2f90df85 RD |
14 | from events import * |
15 | ||
2cd2fac8 RD |
16 | from streams import * |
17 | ||
2f90df85 RD |
18 | from mdi import * |
19 | ||
20 | from frames import * | |
21 | ||
22 | from stattool import * | |
23 | ||
24 | from controls import * | |
25 | ||
26 | from controls2 import * | |
27 | ||
28 | from windows2 import * | |
29 | ||
30 | from cmndlgs import * | |
31 | ||
32 | from windows3 import * | |
33 | ||
34 | from image import * | |
35 | ||
36 | from printfw import * | |
f0261a72 RD |
37 | |
38 | from sizers import * | |
2cd2fac8 RD |
39 | |
40 | from filesys import * | |
41 | ||
42 | from utils import * | |
2f90df85 RD |
43 | class wxHtmlHelpFrameCfgPtr : |
44 | def __init__(self,this): | |
45 | self.this = this | |
46 | self.thisown = 0 | |
47 | def __setattr__(self,name,value): | |
48 | if name == "x" : | |
49 | htmlhelpc.wxHtmlHelpFrameCfg_x_set(self,value) | |
50 | return | |
51 | if name == "y" : | |
52 | htmlhelpc.wxHtmlHelpFrameCfg_y_set(self,value) | |
53 | return | |
54 | if name == "w" : | |
55 | htmlhelpc.wxHtmlHelpFrameCfg_w_set(self,value) | |
56 | return | |
57 | if name == "h" : | |
58 | htmlhelpc.wxHtmlHelpFrameCfg_h_set(self,value) | |
59 | return | |
60 | if name == "sashpos" : | |
61 | htmlhelpc.wxHtmlHelpFrameCfg_sashpos_set(self,value) | |
62 | return | |
63 | if name == "navig_on" : | |
64 | htmlhelpc.wxHtmlHelpFrameCfg_navig_on_set(self,value) | |
65 | return | |
2f90df85 RD |
66 | self.__dict__[name] = value |
67 | def __getattr__(self,name): | |
68 | if name == "x" : | |
69 | return htmlhelpc.wxHtmlHelpFrameCfg_x_get(self) | |
70 | if name == "y" : | |
71 | return htmlhelpc.wxHtmlHelpFrameCfg_y_get(self) | |
72 | if name == "w" : | |
73 | return htmlhelpc.wxHtmlHelpFrameCfg_w_get(self) | |
74 | if name == "h" : | |
75 | return htmlhelpc.wxHtmlHelpFrameCfg_h_get(self) | |
76 | if name == "sashpos" : | |
77 | return htmlhelpc.wxHtmlHelpFrameCfg_sashpos_get(self) | |
78 | if name == "navig_on" : | |
79 | return htmlhelpc.wxHtmlHelpFrameCfg_navig_on_get(self) | |
2f90df85 RD |
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 | |
2f90df85 RD |
210 | def FindPageByName(self, *_args, **_kwargs): |
211 | val = apply(htmlhelpc.wxHtmlHelpData_FindPageByName,(self,) + _args, _kwargs) | |
212 | return val | |
213 | def FindPageById(self, *_args, **_kwargs): | |
214 | val = apply(htmlhelpc.wxHtmlHelpData_FindPageById,(self,) + _args, _kwargs) | |
215 | return val | |
216 | def GetBookRecArray(self, *_args, **_kwargs): | |
217 | val = apply(htmlhelpc.wxHtmlHelpData_GetBookRecArray,(self,) + _args, _kwargs) | |
218 | return val | |
219 | def GetContents(self, *_args, **_kwargs): | |
220 | val = apply(htmlhelpc.wxHtmlHelpData_GetContents,(self,) + _args, _kwargs) | |
221 | if val: val = wxHtmlContentsItemPtr(val) | |
222 | return val | |
223 | def GetContentsCnt(self, *_args, **_kwargs): | |
224 | val = apply(htmlhelpc.wxHtmlHelpData_GetContentsCnt,(self,) + _args, _kwargs) | |
225 | return val | |
226 | def GetIndex(self, *_args, **_kwargs): | |
227 | val = apply(htmlhelpc.wxHtmlHelpData_GetIndex,(self,) + _args, _kwargs) | |
228 | if val: val = wxHtmlContentsItemPtr(val) | |
229 | return val | |
230 | def GetIndexCnt(self, *_args, **_kwargs): | |
231 | val = apply(htmlhelpc.wxHtmlHelpData_GetIndexCnt,(self,) + _args, _kwargs) | |
232 | return val | |
233 | def __repr__(self): | |
234 | return "<C wxHtmlHelpData instance at %s>" % (self.this,) | |
235 | class wxHtmlHelpData(wxHtmlHelpDataPtr): | |
236 | def __init__(self,*_args,**_kwargs): | |
237 | self.this = apply(htmlhelpc.new_wxHtmlHelpData,_args,_kwargs) | |
238 | self.thisown = 1 | |
239 | ||
240 | ||
241 | ||
242 | ||
243 | class wxHtmlHelpFramePtr(wxFramePtr): | |
244 | def __init__(self,this): | |
245 | self.this = this | |
246 | self.thisown = 0 | |
247 | def GetData(self, *_args, **_kwargs): | |
248 | val = apply(htmlhelpc.wxHtmlHelpFrame_GetData,(self,) + _args, _kwargs) | |
249 | if val: val = wxHtmlHelpDataPtr(val) | |
250 | return val | |
251 | def SetTitleFormat(self, *_args, **_kwargs): | |
252 | val = apply(htmlhelpc.wxHtmlHelpFrame_SetTitleFormat,(self,) + _args, _kwargs) | |
253 | return val | |
254 | def Display(self, *_args, **_kwargs): | |
255 | val = apply(htmlhelpc.wxHtmlHelpFrame_Display,(self,) + _args, _kwargs) | |
256 | return val | |
257 | def DisplayID(self, *_args, **_kwargs): | |
258 | val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayID,(self,) + _args, _kwargs) | |
259 | return val | |
260 | def DisplayContents(self, *_args, **_kwargs): | |
261 | val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayContents,(self,) + _args, _kwargs) | |
262 | return val | |
263 | def DisplayIndex(self, *_args, **_kwargs): | |
264 | val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayIndex,(self,) + _args, _kwargs) | |
265 | return val | |
266 | def KeywordSearch(self, *_args, **_kwargs): | |
267 | val = apply(htmlhelpc.wxHtmlHelpFrame_KeywordSearch,(self,) + _args, _kwargs) | |
268 | return val | |
2f90df85 RD |
269 | def UseConfig(self, *_args, **_kwargs): |
270 | val = apply(htmlhelpc.wxHtmlHelpFrame_UseConfig,(self,) + _args, _kwargs) | |
271 | return val | |
272 | def ReadCustomization(self, *_args, **_kwargs): | |
273 | val = apply(htmlhelpc.wxHtmlHelpFrame_ReadCustomization,(self,) + _args, _kwargs) | |
274 | return val | |
275 | def WriteCustomization(self, *_args, **_kwargs): | |
276 | val = apply(htmlhelpc.wxHtmlHelpFrame_WriteCustomization,(self,) + _args, _kwargs) | |
277 | return val | |
278 | def __repr__(self): | |
279 | return "<C wxHtmlHelpFrame instance at %s>" % (self.this,) | |
280 | class wxHtmlHelpFrame(wxHtmlHelpFramePtr): | |
281 | def __init__(self,*_args,**_kwargs): | |
282 | self.this = apply(htmlhelpc.new_wxHtmlHelpFrame,_args,_kwargs) | |
283 | self.thisown = 1 | |
284 | ||
285 | ||
286 | ||
287 | ||
288 | class wxHtmlHelpControllerPtr(wxEvtHandlerPtr): | |
289 | def __init__(self,this): | |
290 | self.this = this | |
291 | self.thisown = 0 | |
292 | def __del__(self,htmlhelpc=htmlhelpc): | |
293 | if self.thisown == 1 : | |
294 | htmlhelpc.delete_wxHtmlHelpController(self) | |
295 | def SetTitleFormat(self, *_args, **_kwargs): | |
296 | val = apply(htmlhelpc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs) | |
297 | return val | |
298 | def SetTempDir(self, *_args, **_kwargs): | |
299 | val = apply(htmlhelpc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs) | |
300 | return val | |
301 | def AddBook(self, *_args, **_kwargs): | |
302 | val = apply(htmlhelpc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs) | |
303 | return val | |
304 | def Display(self, *_args, **_kwargs): | |
305 | val = apply(htmlhelpc.wxHtmlHelpController_Display,(self,) + _args, _kwargs) | |
306 | return val | |
307 | def DisplayID(self, *_args, **_kwargs): | |
308 | val = apply(htmlhelpc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs) | |
309 | return val | |
310 | def DisplayContents(self, *_args, **_kwargs): | |
311 | val = apply(htmlhelpc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs) | |
312 | return val | |
313 | def DisplayIndex(self, *_args, **_kwargs): | |
314 | val = apply(htmlhelpc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs) | |
315 | return val | |
316 | def KeywordSearch(self, *_args, **_kwargs): | |
317 | val = apply(htmlhelpc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs) | |
318 | return val | |
319 | def UseConfig(self, *_args, **_kwargs): | |
320 | val = apply(htmlhelpc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs) | |
321 | return val | |
322 | def ReadCustomization(self, *_args, **_kwargs): | |
323 | val = apply(htmlhelpc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs) | |
324 | return val | |
325 | def WriteCustomization(self, *_args, **_kwargs): | |
326 | val = apply(htmlhelpc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs) | |
327 | return val | |
328 | def GetFrame(self, *_args, **_kwargs): | |
329 | val = apply(htmlhelpc.wxHtmlHelpController_GetFrame,(self,) + _args, _kwargs) | |
330 | if val: val = wxHtmlHelpFramePtr(val) | |
331 | return val | |
2f90df85 RD |
332 | def __repr__(self): |
333 | return "<C wxHtmlHelpController instance at %s>" % (self.this,) | |
334 | class wxHtmlHelpController(wxHtmlHelpControllerPtr): | |
335 | def __init__(self,*_args,**_kwargs): | |
336 | self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs) | |
337 | self.thisown = 1 | |
338 | ||
339 | ||
340 | ||
341 | ||
342 | ||
343 | ||
344 | #-------------- FUNCTION WRAPPERS ------------------ | |
345 | ||
346 | ||
347 | ||
348 | #-------------- VARIABLE WRAPPERS ------------------ | |
349 | ||
350 | wxID_HTML_PANEL = htmlhelpc.wxID_HTML_PANEL | |
351 | wxID_HTML_BACK = htmlhelpc.wxID_HTML_BACK | |
352 | wxID_HTML_FORWARD = htmlhelpc.wxID_HTML_FORWARD | |
353 | wxID_HTML_TREECTRL = htmlhelpc.wxID_HTML_TREECTRL | |
354 | wxID_HTML_INDEXPAGE = htmlhelpc.wxID_HTML_INDEXPAGE | |
355 | wxID_HTML_INDEXLIST = htmlhelpc.wxID_HTML_INDEXLIST | |
356 | wxID_HTML_NOTEBOOK = htmlhelpc.wxID_HTML_NOTEBOOK | |
357 | wxID_HTML_SEARCHPAGE = htmlhelpc.wxID_HTML_SEARCHPAGE | |
358 | wxID_HTML_SEARCHTEXT = htmlhelpc.wxID_HTML_SEARCHTEXT | |
359 | wxID_HTML_SEARCHLIST = htmlhelpc.wxID_HTML_SEARCHLIST | |
360 | wxID_HTML_SEARCHBUTTON = htmlhelpc.wxID_HTML_SEARCHBUTTON | |
dc2f8a65 RD |
361 | wxID_HTML_SEARCHCHOICE = htmlhelpc.wxID_HTML_SEARCHCHOICE |
362 | wxID_HTML_HELPFRAME = htmlhelpc.wxID_HTML_HELPFRAME |