]>
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 | ||
c368d904 RD |
16 | from streams import * |
17 | ||
181526ac RD |
18 | from utils import * |
19 | ||
2f90df85 RD |
20 | from mdi import * |
21 | ||
22 | from frames import * | |
23 | ||
24 | from stattool import * | |
25 | ||
26 | from controls import * | |
27 | ||
28 | from controls2 import * | |
29 | ||
30 | from windows2 import * | |
31 | ||
32 | from cmndlgs import * | |
33 | ||
34 | from windows3 import * | |
35 | ||
36 | from image import * | |
37 | ||
38 | from printfw import * | |
f0261a72 RD |
39 | |
40 | from sizers import * | |
c368d904 RD |
41 | |
42 | from filesys import * | |
2f90df85 RD |
43 | class wxHtmlBookRecordPtr : |
44 | def __init__(self,this): | |
45 | self.this = this | |
46 | self.thisown = 0 | |
47 | def GetTitle(self, *_args, **_kwargs): | |
48 | val = apply(htmlhelpc.wxHtmlBookRecord_GetTitle,(self,) + _args, _kwargs) | |
49 | return val | |
50 | def GetStart(self, *_args, **_kwargs): | |
51 | val = apply(htmlhelpc.wxHtmlBookRecord_GetStart,(self,) + _args, _kwargs) | |
52 | return val | |
53 | def GetBasePath(self, *_args, **_kwargs): | |
54 | val = apply(htmlhelpc.wxHtmlBookRecord_GetBasePath,(self,) + _args, _kwargs) | |
55 | return val | |
56 | def SetContentsRange(self, *_args, **_kwargs): | |
57 | val = apply(htmlhelpc.wxHtmlBookRecord_SetContentsRange,(self,) + _args, _kwargs) | |
58 | return val | |
59 | def GetContentsStart(self, *_args, **_kwargs): | |
60 | val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsStart,(self,) + _args, _kwargs) | |
61 | return val | |
62 | def GetContentsEnd(self, *_args, **_kwargs): | |
63 | val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsEnd,(self,) + _args, _kwargs) | |
64 | return val | |
65 | def __repr__(self): | |
66 | return "<C wxHtmlBookRecord instance at %s>" % (self.this,) | |
67 | class wxHtmlBookRecord(wxHtmlBookRecordPtr): | |
68 | def __init__(self,*_args,**_kwargs): | |
69 | self.this = apply(htmlhelpc.new_wxHtmlBookRecord,_args,_kwargs) | |
70 | self.thisown = 1 | |
71 | ||
72 | ||
73 | ||
74 | ||
75 | class wxHtmlContentsItemPtr : | |
76 | def __init__(self,this): | |
77 | self.this = this | |
78 | self.thisown = 0 | |
79 | def __setattr__(self,name,value): | |
80 | if name == "m_Level" : | |
81 | htmlhelpc.wxHtmlContentsItem_m_Level_set(self,value) | |
82 | return | |
83 | if name == "m_ID" : | |
84 | htmlhelpc.wxHtmlContentsItem_m_ID_set(self,value) | |
85 | return | |
86 | if name == "m_Name" : | |
87 | htmlhelpc.wxHtmlContentsItem_m_Name_set(self,value) | |
88 | return | |
89 | if name == "m_Page" : | |
90 | htmlhelpc.wxHtmlContentsItem_m_Page_set(self,value) | |
91 | return | |
92 | if name == "m_Book" : | |
93 | htmlhelpc.wxHtmlContentsItem_m_Book_set(self,value.this) | |
94 | return | |
95 | self.__dict__[name] = value | |
96 | def __getattr__(self,name): | |
97 | if name == "m_Level" : | |
98 | return htmlhelpc.wxHtmlContentsItem_m_Level_get(self) | |
99 | if name == "m_ID" : | |
100 | return htmlhelpc.wxHtmlContentsItem_m_ID_get(self) | |
101 | if name == "m_Name" : | |
102 | return htmlhelpc.wxHtmlContentsItem_m_Name_get(self) | |
103 | if name == "m_Page" : | |
104 | return htmlhelpc.wxHtmlContentsItem_m_Page_get(self) | |
105 | if name == "m_Book" : | |
106 | return wxHtmlBookRecordPtr(htmlhelpc.wxHtmlContentsItem_m_Book_get(self)) | |
107 | raise AttributeError,name | |
108 | def __repr__(self): | |
109 | return "<C wxHtmlContentsItem instance at %s>" % (self.this,) | |
110 | class wxHtmlContentsItem(wxHtmlContentsItemPtr): | |
111 | def __init__(self,this): | |
112 | self.this = this | |
113 | ||
114 | ||
115 | ||
116 | ||
117 | class wxHtmlSearchStatusPtr : | |
118 | def __init__(self,this): | |
119 | self.this = this | |
120 | self.thisown = 0 | |
121 | def Search(self, *_args, **_kwargs): | |
122 | val = apply(htmlhelpc.wxHtmlSearchStatus_Search,(self,) + _args, _kwargs) | |
123 | return val | |
124 | def IsActive(self, *_args, **_kwargs): | |
125 | val = apply(htmlhelpc.wxHtmlSearchStatus_IsActive,(self,) + _args, _kwargs) | |
126 | return val | |
127 | def GetCurIndex(self, *_args, **_kwargs): | |
128 | val = apply(htmlhelpc.wxHtmlSearchStatus_GetCurIndex,(self,) + _args, _kwargs) | |
129 | return val | |
130 | def GetMaxIndex(self, *_args, **_kwargs): | |
131 | val = apply(htmlhelpc.wxHtmlSearchStatus_GetMaxIndex,(self,) + _args, _kwargs) | |
132 | return val | |
133 | def GetName(self, *_args, **_kwargs): | |
134 | val = apply(htmlhelpc.wxHtmlSearchStatus_GetName,(self,) + _args, _kwargs) | |
135 | return val | |
136 | def GetContentsItem(self, *_args, **_kwargs): | |
137 | val = apply(htmlhelpc.wxHtmlSearchStatus_GetContentsItem,(self,) + _args, _kwargs) | |
138 | if val: val = wxHtmlContentsItemPtr(val) | |
139 | return val | |
140 | def __repr__(self): | |
141 | return "<C wxHtmlSearchStatus instance at %s>" % (self.this,) | |
142 | class wxHtmlSearchStatus(wxHtmlSearchStatusPtr): | |
143 | def __init__(self,this): | |
144 | self.this = this | |
145 | ||
146 | ||
147 | ||
148 | ||
149 | class wxHtmlHelpDataPtr : | |
150 | def __init__(self,this): | |
151 | self.this = this | |
152 | self.thisown = 0 | |
153 | def __del__(self,htmlhelpc=htmlhelpc): | |
154 | if self.thisown == 1 : | |
155 | htmlhelpc.delete_wxHtmlHelpData(self) | |
156 | def SetTempDir(self, *_args, **_kwargs): | |
157 | val = apply(htmlhelpc.wxHtmlHelpData_SetTempDir,(self,) + _args, _kwargs) | |
158 | return val | |
159 | def AddBook(self, *_args, **_kwargs): | |
160 | val = apply(htmlhelpc.wxHtmlHelpData_AddBook,(self,) + _args, _kwargs) | |
161 | return val | |
2f90df85 RD |
162 | def FindPageByName(self, *_args, **_kwargs): |
163 | val = apply(htmlhelpc.wxHtmlHelpData_FindPageByName,(self,) + _args, _kwargs) | |
164 | return val | |
165 | def FindPageById(self, *_args, **_kwargs): | |
166 | val = apply(htmlhelpc.wxHtmlHelpData_FindPageById,(self,) + _args, _kwargs) | |
167 | return val | |
168 | def GetBookRecArray(self, *_args, **_kwargs): | |
169 | val = apply(htmlhelpc.wxHtmlHelpData_GetBookRecArray,(self,) + _args, _kwargs) | |
170 | return val | |
171 | def GetContents(self, *_args, **_kwargs): | |
172 | val = apply(htmlhelpc.wxHtmlHelpData_GetContents,(self,) + _args, _kwargs) | |
173 | if val: val = wxHtmlContentsItemPtr(val) | |
174 | return val | |
175 | def GetContentsCnt(self, *_args, **_kwargs): | |
176 | val = apply(htmlhelpc.wxHtmlHelpData_GetContentsCnt,(self,) + _args, _kwargs) | |
177 | return val | |
178 | def GetIndex(self, *_args, **_kwargs): | |
179 | val = apply(htmlhelpc.wxHtmlHelpData_GetIndex,(self,) + _args, _kwargs) | |
180 | if val: val = wxHtmlContentsItemPtr(val) | |
181 | return val | |
182 | def GetIndexCnt(self, *_args, **_kwargs): | |
183 | val = apply(htmlhelpc.wxHtmlHelpData_GetIndexCnt,(self,) + _args, _kwargs) | |
184 | return val | |
185 | def __repr__(self): | |
186 | return "<C wxHtmlHelpData instance at %s>" % (self.this,) | |
187 | class wxHtmlHelpData(wxHtmlHelpDataPtr): | |
188 | def __init__(self,*_args,**_kwargs): | |
189 | self.this = apply(htmlhelpc.new_wxHtmlHelpData,_args,_kwargs) | |
190 | self.thisown = 1 | |
191 | ||
192 | ||
193 | ||
194 | ||
195 | class wxHtmlHelpFramePtr(wxFramePtr): | |
196 | def __init__(self,this): | |
197 | self.this = this | |
198 | self.thisown = 0 | |
199 | def GetData(self, *_args, **_kwargs): | |
200 | val = apply(htmlhelpc.wxHtmlHelpFrame_GetData,(self,) + _args, _kwargs) | |
201 | if val: val = wxHtmlHelpDataPtr(val) | |
202 | return val | |
203 | def SetTitleFormat(self, *_args, **_kwargs): | |
204 | val = apply(htmlhelpc.wxHtmlHelpFrame_SetTitleFormat,(self,) + _args, _kwargs) | |
205 | return val | |
206 | def Display(self, *_args, **_kwargs): | |
207 | val = apply(htmlhelpc.wxHtmlHelpFrame_Display,(self,) + _args, _kwargs) | |
208 | return val | |
209 | def DisplayID(self, *_args, **_kwargs): | |
210 | val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayID,(self,) + _args, _kwargs) | |
211 | return val | |
212 | def DisplayContents(self, *_args, **_kwargs): | |
213 | val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayContents,(self,) + _args, _kwargs) | |
214 | return val | |
215 | def DisplayIndex(self, *_args, **_kwargs): | |
216 | val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayIndex,(self,) + _args, _kwargs) | |
217 | return val | |
218 | def KeywordSearch(self, *_args, **_kwargs): | |
219 | val = apply(htmlhelpc.wxHtmlHelpFrame_KeywordSearch,(self,) + _args, _kwargs) | |
220 | return val | |
2f90df85 RD |
221 | def UseConfig(self, *_args, **_kwargs): |
222 | val = apply(htmlhelpc.wxHtmlHelpFrame_UseConfig,(self,) + _args, _kwargs) | |
223 | return val | |
224 | def ReadCustomization(self, *_args, **_kwargs): | |
225 | val = apply(htmlhelpc.wxHtmlHelpFrame_ReadCustomization,(self,) + _args, _kwargs) | |
226 | return val | |
227 | def WriteCustomization(self, *_args, **_kwargs): | |
228 | val = apply(htmlhelpc.wxHtmlHelpFrame_WriteCustomization,(self,) + _args, _kwargs) | |
229 | return val | |
230 | def __repr__(self): | |
231 | return "<C wxHtmlHelpFrame instance at %s>" % (self.this,) | |
232 | class wxHtmlHelpFrame(wxHtmlHelpFramePtr): | |
233 | def __init__(self,*_args,**_kwargs): | |
234 | self.this = apply(htmlhelpc.new_wxHtmlHelpFrame,_args,_kwargs) | |
235 | self.thisown = 1 | |
0122b7e3 | 236 | self._setOORInfo(self) |
2f90df85 RD |
237 | |
238 | ||
239 | ||
240 | ||
241 | class wxHtmlHelpControllerPtr(wxEvtHandlerPtr): | |
242 | def __init__(self,this): | |
243 | self.this = this | |
244 | self.thisown = 0 | |
245 | def __del__(self,htmlhelpc=htmlhelpc): | |
246 | if self.thisown == 1 : | |
247 | htmlhelpc.delete_wxHtmlHelpController(self) | |
248 | def SetTitleFormat(self, *_args, **_kwargs): | |
249 | val = apply(htmlhelpc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs) | |
250 | return val | |
251 | def SetTempDir(self, *_args, **_kwargs): | |
252 | val = apply(htmlhelpc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs) | |
253 | return val | |
254 | def AddBook(self, *_args, **_kwargs): | |
255 | val = apply(htmlhelpc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs) | |
256 | return val | |
257 | def Display(self, *_args, **_kwargs): | |
258 | val = apply(htmlhelpc.wxHtmlHelpController_Display,(self,) + _args, _kwargs) | |
259 | return val | |
260 | def DisplayID(self, *_args, **_kwargs): | |
261 | val = apply(htmlhelpc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs) | |
262 | return val | |
263 | def DisplayContents(self, *_args, **_kwargs): | |
264 | val = apply(htmlhelpc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs) | |
265 | return val | |
266 | def DisplayIndex(self, *_args, **_kwargs): | |
267 | val = apply(htmlhelpc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs) | |
268 | return val | |
269 | def KeywordSearch(self, *_args, **_kwargs): | |
270 | val = apply(htmlhelpc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs) | |
271 | return val | |
272 | def UseConfig(self, *_args, **_kwargs): | |
273 | val = apply(htmlhelpc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs) | |
274 | return val | |
275 | def ReadCustomization(self, *_args, **_kwargs): | |
276 | val = apply(htmlhelpc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs) | |
277 | return val | |
278 | def WriteCustomization(self, *_args, **_kwargs): | |
279 | val = apply(htmlhelpc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs) | |
280 | return val | |
281 | def GetFrame(self, *_args, **_kwargs): | |
282 | val = apply(htmlhelpc.wxHtmlHelpController_GetFrame,(self,) + _args, _kwargs) | |
283 | if val: val = wxHtmlHelpFramePtr(val) | |
284 | return val | |
2f90df85 RD |
285 | def __repr__(self): |
286 | return "<C wxHtmlHelpController instance at %s>" % (self.this,) | |
287 | class wxHtmlHelpController(wxHtmlHelpControllerPtr): | |
288 | def __init__(self,*_args,**_kwargs): | |
289 | self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs) | |
290 | self.thisown = 1 | |
0122b7e3 | 291 | self._setOORInfo(self) |
2f90df85 RD |
292 | |
293 | ||
294 | ||
295 | ||
296 | ||
297 | ||
298 | #-------------- FUNCTION WRAPPERS ------------------ | |
299 | ||
300 | ||
301 | ||
302 | #-------------- VARIABLE WRAPPERS ------------------ | |
303 | ||
794c5cb1 RD |
304 | wxHF_TOOLBAR = htmlhelpc.wxHF_TOOLBAR |
305 | wxHF_FLATTOOLBAR = htmlhelpc.wxHF_FLATTOOLBAR | |
306 | wxHF_CONTENTS = htmlhelpc.wxHF_CONTENTS | |
307 | wxHF_INDEX = htmlhelpc.wxHF_INDEX | |
308 | wxHF_SEARCH = htmlhelpc.wxHF_SEARCH | |
309 | wxHF_BOOKMARKS = htmlhelpc.wxHF_BOOKMARKS | |
310 | wxHF_OPENFILES = htmlhelpc.wxHF_OPENFILES | |
311 | wxHF_PRINT = htmlhelpc.wxHF_PRINT | |
312 | wxHF_DEFAULTSTYLE = htmlhelpc.wxHF_DEFAULTSTYLE |