]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/htmlhelp.py
A saner implementation for the new wxToolBar methods that keeps
[wxWidgets.git] / wxPython / src / msw / htmlhelp.py
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 clip_dnd import *
13
14 from events import *
15
16 from streams import *
17
18 from utils import *
19
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 *
39
40 from sizers import *
41
42 from filesys import *
43 class wxHtmlBookRecordPtr(wxObjectPtr):
44 def __init__(self,this):
45 self.this = this
46 self.thisown = 0
47 def GetBookFile(self, *_args, **_kwargs):
48 val = apply(htmlhelpc.wxHtmlBookRecord_GetBookFile,(self,) + _args, _kwargs)
49 return val
50 def GetTitle(self, *_args, **_kwargs):
51 val = apply(htmlhelpc.wxHtmlBookRecord_GetTitle,(self,) + _args, _kwargs)
52 return val
53 def GetStart(self, *_args, **_kwargs):
54 val = apply(htmlhelpc.wxHtmlBookRecord_GetStart,(self,) + _args, _kwargs)
55 return val
56 def GetBasePath(self, *_args, **_kwargs):
57 val = apply(htmlhelpc.wxHtmlBookRecord_GetBasePath,(self,) + _args, _kwargs)
58 return val
59 def SetContentsRange(self, *_args, **_kwargs):
60 val = apply(htmlhelpc.wxHtmlBookRecord_SetContentsRange,(self,) + _args, _kwargs)
61 return val
62 def GetContentsStart(self, *_args, **_kwargs):
63 val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsStart,(self,) + _args, _kwargs)
64 return val
65 def GetContentsEnd(self, *_args, **_kwargs):
66 val = apply(htmlhelpc.wxHtmlBookRecord_GetContentsEnd,(self,) + _args, _kwargs)
67 return val
68 def SetTitle(self, *_args, **_kwargs):
69 val = apply(htmlhelpc.wxHtmlBookRecord_SetTitle,(self,) + _args, _kwargs)
70 return val
71 def SetBasePath(self, *_args, **_kwargs):
72 val = apply(htmlhelpc.wxHtmlBookRecord_SetBasePath,(self,) + _args, _kwargs)
73 return val
74 def SetStart(self, *_args, **_kwargs):
75 val = apply(htmlhelpc.wxHtmlBookRecord_SetStart,(self,) + _args, _kwargs)
76 return val
77 def GetFullPath(self, *_args, **_kwargs):
78 val = apply(htmlhelpc.wxHtmlBookRecord_GetFullPath,(self,) + _args, _kwargs)
79 return val
80 def __repr__(self):
81 return "<C wxHtmlBookRecord instance at %s>" % (self.this,)
82 class wxHtmlBookRecord(wxHtmlBookRecordPtr):
83 def __init__(self,*_args,**_kwargs):
84 self.this = apply(htmlhelpc.new_wxHtmlBookRecord,_args,_kwargs)
85 self.thisown = 1
86
87
88
89
90 class wxHtmlContentsItemPtr :
91 def __init__(self,this):
92 self.this = this
93 self.thisown = 0
94 def GetLevel(self, *_args, **_kwargs):
95 val = apply(htmlhelpc.wxHtmlContentsItem_GetLevel,(self,) + _args, _kwargs)
96 return val
97 def GetID(self, *_args, **_kwargs):
98 val = apply(htmlhelpc.wxHtmlContentsItem_GetID,(self,) + _args, _kwargs)
99 return val
100 def GetName(self, *_args, **_kwargs):
101 val = apply(htmlhelpc.wxHtmlContentsItem_GetName,(self,) + _args, _kwargs)
102 return val
103 def GetPage(self, *_args, **_kwargs):
104 val = apply(htmlhelpc.wxHtmlContentsItem_GetPage,(self,) + _args, _kwargs)
105 return val
106 def GetBook(self, *_args, **_kwargs):
107 val = apply(htmlhelpc.wxHtmlContentsItem_GetBook,(self,) + _args, _kwargs)
108 if val: val = wxHtmlBookRecordPtr(val)
109 return val
110 def __repr__(self):
111 return "<C wxHtmlContentsItem instance at %s>" % (self.this,)
112 class wxHtmlContentsItem(wxHtmlContentsItemPtr):
113 def __init__(self,this):
114 self.this = this
115
116
117
118
119 class wxHtmlSearchStatusPtr :
120 def __init__(self,this):
121 self.this = this
122 self.thisown = 0
123 def Search(self, *_args, **_kwargs):
124 val = apply(htmlhelpc.wxHtmlSearchStatus_Search,(self,) + _args, _kwargs)
125 return val
126 def IsActive(self, *_args, **_kwargs):
127 val = apply(htmlhelpc.wxHtmlSearchStatus_IsActive,(self,) + _args, _kwargs)
128 return val
129 def GetCurIndex(self, *_args, **_kwargs):
130 val = apply(htmlhelpc.wxHtmlSearchStatus_GetCurIndex,(self,) + _args, _kwargs)
131 return val
132 def GetMaxIndex(self, *_args, **_kwargs):
133 val = apply(htmlhelpc.wxHtmlSearchStatus_GetMaxIndex,(self,) + _args, _kwargs)
134 return val
135 def GetName(self, *_args, **_kwargs):
136 val = apply(htmlhelpc.wxHtmlSearchStatus_GetName,(self,) + _args, _kwargs)
137 return val
138 def GetContentsItem(self, *_args, **_kwargs):
139 val = apply(htmlhelpc.wxHtmlSearchStatus_GetContentsItem,(self,) + _args, _kwargs)
140 if val: val = wxHtmlContentsItemPtr(val)
141 return val
142 def __repr__(self):
143 return "<C wxHtmlSearchStatus instance at %s>" % (self.this,)
144 class wxHtmlSearchStatus(wxHtmlSearchStatusPtr):
145 def __init__(self,this):
146 self.this = this
147
148
149
150
151 class wxHtmlHelpDataPtr :
152 def __init__(self,this):
153 self.this = this
154 self.thisown = 0
155 def __del__(self,htmlhelpc=htmlhelpc):
156 if self.thisown == 1 :
157 htmlhelpc.delete_wxHtmlHelpData(self)
158 def SetTempDir(self, *_args, **_kwargs):
159 val = apply(htmlhelpc.wxHtmlHelpData_SetTempDir,(self,) + _args, _kwargs)
160 return val
161 def AddBook(self, *_args, **_kwargs):
162 val = apply(htmlhelpc.wxHtmlHelpData_AddBook,(self,) + _args, _kwargs)
163 return val
164 def FindPageByName(self, *_args, **_kwargs):
165 val = apply(htmlhelpc.wxHtmlHelpData_FindPageByName,(self,) + _args, _kwargs)
166 return val
167 def FindPageById(self, *_args, **_kwargs):
168 val = apply(htmlhelpc.wxHtmlHelpData_FindPageById,(self,) + _args, _kwargs)
169 return val
170 def GetBookRecArray(self, *_args, **_kwargs):
171 val = apply(htmlhelpc.wxHtmlHelpData_GetBookRecArray,(self,) + _args, _kwargs)
172 return val
173 def GetContents(self, *_args, **_kwargs):
174 val = apply(htmlhelpc.wxHtmlHelpData_GetContents,(self,) + _args, _kwargs)
175 if val: val = wxHtmlContentsItemPtr(val)
176 return val
177 def GetContentsCnt(self, *_args, **_kwargs):
178 val = apply(htmlhelpc.wxHtmlHelpData_GetContentsCnt,(self,) + _args, _kwargs)
179 return val
180 def GetIndex(self, *_args, **_kwargs):
181 val = apply(htmlhelpc.wxHtmlHelpData_GetIndex,(self,) + _args, _kwargs)
182 if val: val = wxHtmlContentsItemPtr(val)
183 return val
184 def GetIndexCnt(self, *_args, **_kwargs):
185 val = apply(htmlhelpc.wxHtmlHelpData_GetIndexCnt,(self,) + _args, _kwargs)
186 return val
187 def __repr__(self):
188 return "<C wxHtmlHelpData instance at %s>" % (self.this,)
189 class wxHtmlHelpData(wxHtmlHelpDataPtr):
190 def __init__(self,*_args,**_kwargs):
191 self.this = apply(htmlhelpc.new_wxHtmlHelpData,_args,_kwargs)
192 self.thisown = 1
193
194
195
196
197 class wxHtmlHelpFramePtr(wxFramePtr):
198 def __init__(self,this):
199 self.this = this
200 self.thisown = 0
201 def GetData(self, *_args, **_kwargs):
202 val = apply(htmlhelpc.wxHtmlHelpFrame_GetData,(self,) + _args, _kwargs)
203 if val: val = wxHtmlHelpDataPtr(val)
204 return val
205 def SetTitleFormat(self, *_args, **_kwargs):
206 val = apply(htmlhelpc.wxHtmlHelpFrame_SetTitleFormat,(self,) + _args, _kwargs)
207 return val
208 def Display(self, *_args, **_kwargs):
209 val = apply(htmlhelpc.wxHtmlHelpFrame_Display,(self,) + _args, _kwargs)
210 return val
211 def DisplayID(self, *_args, **_kwargs):
212 val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayID,(self,) + _args, _kwargs)
213 return val
214 def DisplayContents(self, *_args, **_kwargs):
215 val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayContents,(self,) + _args, _kwargs)
216 return val
217 def DisplayIndex(self, *_args, **_kwargs):
218 val = apply(htmlhelpc.wxHtmlHelpFrame_DisplayIndex,(self,) + _args, _kwargs)
219 return val
220 def KeywordSearch(self, *_args, **_kwargs):
221 val = apply(htmlhelpc.wxHtmlHelpFrame_KeywordSearch,(self,) + _args, _kwargs)
222 return val
223 def UseConfig(self, *_args, **_kwargs):
224 val = apply(htmlhelpc.wxHtmlHelpFrame_UseConfig,(self,) + _args, _kwargs)
225 return val
226 def ReadCustomization(self, *_args, **_kwargs):
227 val = apply(htmlhelpc.wxHtmlHelpFrame_ReadCustomization,(self,) + _args, _kwargs)
228 return val
229 def WriteCustomization(self, *_args, **_kwargs):
230 val = apply(htmlhelpc.wxHtmlHelpFrame_WriteCustomization,(self,) + _args, _kwargs)
231 return val
232 def __repr__(self):
233 return "<C wxHtmlHelpFrame instance at %s>" % (self.this,)
234 class wxHtmlHelpFrame(wxHtmlHelpFramePtr):
235 def __init__(self,*_args,**_kwargs):
236 self.this = apply(htmlhelpc.new_wxHtmlHelpFrame,_args,_kwargs)
237 self.thisown = 1
238 self._setOORInfo(self)
239
240
241
242
243 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr):
244 def __init__(self,this):
245 self.this = this
246 self.thisown = 0
247 def __del__(self,htmlhelpc=htmlhelpc):
248 if self.thisown == 1 :
249 htmlhelpc.delete_wxHtmlHelpController(self)
250 def SetTitleFormat(self, *_args, **_kwargs):
251 val = apply(htmlhelpc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs)
252 return val
253 def SetTempDir(self, *_args, **_kwargs):
254 val = apply(htmlhelpc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs)
255 return val
256 def AddBook(self, *_args, **_kwargs):
257 val = apply(htmlhelpc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs)
258 return val
259 def Display(self, *_args, **_kwargs):
260 val = apply(htmlhelpc.wxHtmlHelpController_Display,(self,) + _args, _kwargs)
261 return val
262 def DisplayID(self, *_args, **_kwargs):
263 val = apply(htmlhelpc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs)
264 return val
265 def DisplayContents(self, *_args, **_kwargs):
266 val = apply(htmlhelpc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs)
267 return val
268 def DisplayIndex(self, *_args, **_kwargs):
269 val = apply(htmlhelpc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs)
270 return val
271 def KeywordSearch(self, *_args, **_kwargs):
272 val = apply(htmlhelpc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs)
273 return val
274 def UseConfig(self, *_args, **_kwargs):
275 val = apply(htmlhelpc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs)
276 return val
277 def ReadCustomization(self, *_args, **_kwargs):
278 val = apply(htmlhelpc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs)
279 return val
280 def WriteCustomization(self, *_args, **_kwargs):
281 val = apply(htmlhelpc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs)
282 return val
283 def GetFrame(self, *_args, **_kwargs):
284 val = apply(htmlhelpc.wxHtmlHelpController_GetFrame,(self,) + _args, _kwargs)
285 if val: val = wxHtmlHelpFramePtr(val)
286 return val
287 def __repr__(self):
288 return "<C wxHtmlHelpController instance at %s>" % (self.this,)
289 class wxHtmlHelpController(wxHtmlHelpControllerPtr):
290 def __init__(self,*_args,**_kwargs):
291 self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs)
292 self.thisown = 1
293 self._setOORInfo(self)
294
295
296
297
298
299
300 #-------------- FUNCTION WRAPPERS ------------------
301
302
303
304 #-------------- VARIABLE WRAPPERS ------------------
305
306 wxHF_TOOLBAR = htmlhelpc.wxHF_TOOLBAR
307 wxHF_FLATTOOLBAR = htmlhelpc.wxHF_FLATTOOLBAR
308 wxHF_CONTENTS = htmlhelpc.wxHF_CONTENTS
309 wxHF_INDEX = htmlhelpc.wxHF_INDEX
310 wxHF_SEARCH = htmlhelpc.wxHF_SEARCH
311 wxHF_BOOKMARKS = htmlhelpc.wxHF_BOOKMARKS
312 wxHF_OPENFILES = htmlhelpc.wxHF_OPENFILES
313 wxHF_PRINT = htmlhelpc.wxHF_PRINT
314 wxHF_DEFAULTSTYLE = htmlhelpc.wxHF_DEFAULTSTYLE