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