]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/htmlhelp.py
applied doc patch for wxPostEvent().
[wxWidgets.git] / wxPython / src / mac / htmlhelp.py
CommitLineData
e6056257
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
12from clip_dnd import *
13
14from events import *
15
16from streams import *
17
dbd3685c
RD
18from utils import *
19
e6056257
RD
20from mdi import *
21
22from frames import *
23
24from stattool import *
25
26from controls import *
27
28from controls2 import *
29
30from windows2 import *
31
32from cmndlgs import *
33
34from windows3 import *
35
36from image import *
37
38from printfw import *
39
40from sizers import *
41
42from filesys import *
e6056257
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
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
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 self._setOORInfo(self)
237
238
239
240
241class 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
285 def __repr__(self):
286 return "<C wxHtmlHelpController instance at %s>" % (self.this,)
287class wxHtmlHelpController(wxHtmlHelpControllerPtr):
288 def __init__(self,*_args,**_kwargs):
289 self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs)
290 self.thisown = 1
291 self._setOORInfo(self)
292
293
294
295
296
297
298#-------------- FUNCTION WRAPPERS ------------------
299
300
301
302#-------------- VARIABLE WRAPPERS ------------------
303
304wxHF_TOOLBAR = htmlhelpc.wxHF_TOOLBAR
305wxHF_FLATTOOLBAR = htmlhelpc.wxHF_FLATTOOLBAR
306wxHF_CONTENTS = htmlhelpc.wxHF_CONTENTS
307wxHF_INDEX = htmlhelpc.wxHF_INDEX
308wxHF_SEARCH = htmlhelpc.wxHF_SEARCH
309wxHF_BOOKMARKS = htmlhelpc.wxHF_BOOKMARKS
310wxHF_OPENFILES = htmlhelpc.wxHF_OPENFILES
311wxHF_PRINT = htmlhelpc.wxHF_PRINT
312wxHF_DEFAULTSTYLE = htmlhelpc.wxHF_DEFAULTSTYLE