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