]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/htmlhelp.py
Various tweaks, fixes, and additions
[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
c8bc03c3
RD
12from clip_dnd import *
13
2f90df85
RD
14from events import *
15
2cd2fac8
RD
16from streams import *
17
2f90df85
RD
18from mdi import *
19
20from frames import *
21
22from stattool import *
23
24from controls import *
25
26from controls2 import *
27
28from windows2 import *
29
30from cmndlgs import *
31
32from windows3 import *
33
34from image import *
35
36from printfw import *
f0261a72
RD
37
38from sizers import *
2cd2fac8
RD
39
40from filesys import *
41
42from utils import *
2f90df85
RD
43class 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,)
67class 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
75class 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,)
110class wxHtmlContentsItem(wxHtmlContentsItemPtr):
111 def __init__(self,this):
112 self.this = this
113
114
115
116
117class 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,)
142class wxHtmlSearchStatus(wxHtmlSearchStatusPtr):
143 def __init__(self,this):
144 self.this = this
145
146
147
148
149class 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,)
187class 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
195class 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,)
232class wxHtmlHelpFrame(wxHtmlHelpFramePtr):
233 def __init__(self,*_args,**_kwargs):
234 self.this = apply(htmlhelpc.new_wxHtmlHelpFrame,_args,_kwargs)
235 self.thisown = 1
236
237
238
239
240class wxHtmlHelpControllerPtr(wxEvtHandlerPtr):
241 def __init__(self,this):
242 self.this = this
243 self.thisown = 0
244 def __del__(self,htmlhelpc=htmlhelpc):
245 if self.thisown == 1 :
246 htmlhelpc.delete_wxHtmlHelpController(self)
247 def SetTitleFormat(self, *_args, **_kwargs):
248 val = apply(htmlhelpc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs)
249 return val
250 def SetTempDir(self, *_args, **_kwargs):
251 val = apply(htmlhelpc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs)
252 return val
253 def AddBook(self, *_args, **_kwargs):
254 val = apply(htmlhelpc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs)
255 return val
256 def Display(self, *_args, **_kwargs):
257 val = apply(htmlhelpc.wxHtmlHelpController_Display,(self,) + _args, _kwargs)
258 return val
259 def DisplayID(self, *_args, **_kwargs):
260 val = apply(htmlhelpc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs)
261 return val
262 def DisplayContents(self, *_args, **_kwargs):
263 val = apply(htmlhelpc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs)
264 return val
265 def DisplayIndex(self, *_args, **_kwargs):
266 val = apply(htmlhelpc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs)
267 return val
268 def KeywordSearch(self, *_args, **_kwargs):
269 val = apply(htmlhelpc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs)
270 return val
271 def UseConfig(self, *_args, **_kwargs):
272 val = apply(htmlhelpc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs)
273 return val
274 def ReadCustomization(self, *_args, **_kwargs):
275 val = apply(htmlhelpc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs)
276 return val
277 def WriteCustomization(self, *_args, **_kwargs):
278 val = apply(htmlhelpc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs)
279 return val
280 def GetFrame(self, *_args, **_kwargs):
281 val = apply(htmlhelpc.wxHtmlHelpController_GetFrame,(self,) + _args, _kwargs)
282 if val: val = wxHtmlHelpFramePtr(val)
283 return val
2f90df85
RD
284 def __repr__(self):
285 return "<C wxHtmlHelpController instance at %s>" % (self.this,)
286class wxHtmlHelpController(wxHtmlHelpControllerPtr):
287 def __init__(self,*_args,**_kwargs):
288 self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs)
289 self.thisown = 1
290
291
292
293
294
295
296#-------------- FUNCTION WRAPPERS ------------------
297
298
299
300#-------------- VARIABLE WRAPPERS ------------------
301
7a446686
RD
302wxHF_TOOLBAR = htmlhelpc.wxHF_TOOLBAR
303wxHF_FLATTOOLBAR = htmlhelpc.wxHF_FLATTOOLBAR
304wxHF_CONTENTS = htmlhelpc.wxHF_CONTENTS
305wxHF_INDEX = htmlhelpc.wxHF_INDEX
306wxHF_SEARCH = htmlhelpc.wxHF_SEARCH
307wxHF_BOOKMARKS = htmlhelpc.wxHF_BOOKMARKS
308wxHF_OPENFILES = htmlhelpc.wxHF_OPENFILES
309wxHF_PRINT = htmlhelpc.wxHF_PRINT
310wxHF_DEFAULTSTYLE = htmlhelpc.wxHF_DEFAULTSTYLE