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