]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/html.py
use the right number in the tarball filename
[wxWidgets.git] / wxPython / src / mac / html.py
CommitLineData
1bd55598 1# This file was created automatically by SWIG 1.3.29.
d14a1e28
RD
2# Don't modify this file, modify the SWIG interface instead.
3
a5ee0656
RD
4"""
5Classes for a simple HTML rendering window, HTML Help Window, etc.
6"""
7
d14a1e28 8import _html
1bd55598
RD
9import new
10new_instancemethod = new.instancemethod
36ed4f51 11def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
1bd55598 12 if (name == "thisown"): return self.this.own(value)
36ed4f51 13 if (name == "this"):
1bd55598
RD
14 if type(value).__name__ == 'PySwigObject':
15 self.__dict__[name] = value
36ed4f51
RD
16 return
17 method = class_type.__swig_setmethods__.get(name,None)
18 if method: return method(self,value)
1bd55598 19 if (not static) or hasattr(self,name):
36ed4f51
RD
20 self.__dict__[name] = value
21 else:
22 raise AttributeError("You cannot add attributes to %s" % self)
23
24def _swig_setattr(self,class_type,name,value):
25 return _swig_setattr_nondynamic(self,class_type,name,value,0)
26
27def _swig_getattr(self,class_type,name):
1bd55598 28 if (name == "thisown"): return self.this.own()
36ed4f51
RD
29 method = class_type.__swig_getmethods__.get(name,None)
30 if method: return method(self)
31 raise AttributeError,name
32
1bd55598
RD
33def _swig_repr(self):
34 try: strthis = "proxy of " + self.this.__repr__()
35 except: strthis = ""
36 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
37
36ed4f51
RD
38import types
39try:
40 _object = types.ObjectType
41 _newclass = 1
42except AttributeError:
43 class _object : pass
44 _newclass = 0
45del types
46
47
48def _swig_setattr_nondynamic_method(set):
49 def set_attr(self,name,value):
1bd55598
RD
50 if (name == "thisown"): return self.this.own(value)
51 if hasattr(self,name) or (name == "this"):
36ed4f51
RD
52 set(self,name,value)
53 else:
54 raise AttributeError("You cannot add attributes to %s" % self)
55 return set_attr
56
57
d55e5bfc
RD
58import _windows
59import _core
60wx = _core
d6c14a4c 61__docfilter__ = wx.__DocFilter(globals())
d14a1e28
RD
62#---------------------------------------------------------------------------
63
64HTML_ALIGN_LEFT = _html.HTML_ALIGN_LEFT
65HTML_ALIGN_CENTER = _html.HTML_ALIGN_CENTER
66HTML_ALIGN_RIGHT = _html.HTML_ALIGN_RIGHT
67HTML_ALIGN_BOTTOM = _html.HTML_ALIGN_BOTTOM
68HTML_ALIGN_TOP = _html.HTML_ALIGN_TOP
69HTML_CLR_FOREGROUND = _html.HTML_CLR_FOREGROUND
70HTML_CLR_BACKGROUND = _html.HTML_CLR_BACKGROUND
71HTML_UNITS_PIXELS = _html.HTML_UNITS_PIXELS
72HTML_UNITS_PERCENT = _html.HTML_UNITS_PERCENT
73HTML_INDENT_LEFT = _html.HTML_INDENT_LEFT
74HTML_INDENT_RIGHT = _html.HTML_INDENT_RIGHT
75HTML_INDENT_TOP = _html.HTML_INDENT_TOP
76HTML_INDENT_BOTTOM = _html.HTML_INDENT_BOTTOM
77HTML_INDENT_HORIZONTAL = _html.HTML_INDENT_HORIZONTAL
78HTML_INDENT_VERTICAL = _html.HTML_INDENT_VERTICAL
79HTML_INDENT_ALL = _html.HTML_INDENT_ALL
80HTML_COND_ISANCHOR = _html.HTML_COND_ISANCHOR
81HTML_COND_ISIMAGEMAP = _html.HTML_COND_ISIMAGEMAP
82HTML_COND_USER = _html.HTML_COND_USER
83HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER
84HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO
85HW_NO_SELECTION = _html.HW_NO_SELECTION
86HW_DEFAULT_STYLE = _html.HW_DEFAULT_STYLE
87HTML_OPEN = _html.HTML_OPEN
88HTML_BLOCK = _html.HTML_BLOCK
89HTML_REDIRECT = _html.HTML_REDIRECT
90HTML_URL_PAGE = _html.HTML_URL_PAGE
91HTML_URL_IMAGE = _html.HTML_URL_IMAGE
92HTML_URL_OTHER = _html.HTML_URL_OTHER
d55e5bfc 93class HtmlLinkInfo(_core.Object):
36ed4f51 94 """Proxy of C++ HtmlLinkInfo class"""
1bd55598
RD
95 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
96 __repr__ = _swig_repr
97 def __init__(self, *args, **kwargs):
a95a7133 98 """__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo"""
1bd55598 99 _html.HtmlLinkInfo_swiginit(self,_html.new_HtmlLinkInfo(*args, **kwargs))
423f194a 100 def GetHref(*args, **kwargs):
a95a7133 101 """GetHref(self) -> String"""
423f194a
RD
102 return _html.HtmlLinkInfo_GetHref(*args, **kwargs)
103
104 def GetTarget(*args, **kwargs):
a95a7133 105 """GetTarget(self) -> String"""
423f194a
RD
106 return _html.HtmlLinkInfo_GetTarget(*args, **kwargs)
107
108 def GetEvent(*args, **kwargs):
a95a7133 109 """GetEvent(self) -> MouseEvent"""
423f194a
RD
110 return _html.HtmlLinkInfo_GetEvent(*args, **kwargs)
111
112 def GetHtmlCell(*args, **kwargs):
a95a7133 113 """GetHtmlCell(self) -> HtmlCell"""
423f194a
RD
114 return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs)
115
116 def SetEvent(*args, **kwargs):
a95a7133 117 """SetEvent(self, MouseEvent e)"""
423f194a
RD
118 return _html.HtmlLinkInfo_SetEvent(*args, **kwargs)
119
120 def SetHtmlCell(*args, **kwargs):
a95a7133 121 """SetHtmlCell(self, HtmlCell e)"""
423f194a
RD
122 return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs)
123
e70b4d2d
RD
124 Event = property(GetEvent,SetEvent,doc="See `GetEvent` and `SetEvent`")
125 Href = property(GetHref,doc="See `GetHref`")
126 HtmlCell = property(GetHtmlCell,SetHtmlCell,doc="See `GetHtmlCell` and `SetHtmlCell`")
127 Target = property(GetTarget,doc="See `GetTarget`")
2131d850 128_html.HtmlLinkInfo_swigregister(HtmlLinkInfo)
cbd72d4f
RD
129cvar = _html.cvar
130HtmlWindowNameStr = cvar.HtmlWindowNameStr
131HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
132HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
d14a1e28 133
d55e5bfc 134class HtmlTag(_core.Object):
36ed4f51 135 """Proxy of C++ HtmlTag class"""
1bd55598
RD
136 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
137 def __init__(self): raise AttributeError, "No constructor defined"
138 __repr__ = _swig_repr
423f194a 139 def GetName(*args, **kwargs):
a95a7133 140 """GetName(self) -> String"""
423f194a
RD
141 return _html.HtmlTag_GetName(*args, **kwargs)
142
143 def HasParam(*args, **kwargs):
a95a7133 144 """HasParam(self, String par) -> bool"""
423f194a
RD
145 return _html.HtmlTag_HasParam(*args, **kwargs)
146
147 def GetParam(*args, **kwargs):
a95a7133 148 """GetParam(self, String par, int with_commas=False) -> String"""
423f194a
RD
149 return _html.HtmlTag_GetParam(*args, **kwargs)
150
151 def GetAllParams(*args, **kwargs):
a95a7133 152 """GetAllParams(self) -> String"""
423f194a
RD
153 return _html.HtmlTag_GetAllParams(*args, **kwargs)
154
155 def HasEnding(*args, **kwargs):
a95a7133 156 """HasEnding(self) -> bool"""
423f194a
RD
157 return _html.HtmlTag_HasEnding(*args, **kwargs)
158
159 def GetBeginPos(*args, **kwargs):
a95a7133 160 """GetBeginPos(self) -> int"""
423f194a
RD
161 return _html.HtmlTag_GetBeginPos(*args, **kwargs)
162
163 def GetEndPos1(*args, **kwargs):
a95a7133 164 """GetEndPos1(self) -> int"""
423f194a
RD
165 return _html.HtmlTag_GetEndPos1(*args, **kwargs)
166
167 def GetEndPos2(*args, **kwargs):
a95a7133 168 """GetEndPos2(self) -> int"""
423f194a
RD
169 return _html.HtmlTag_GetEndPos2(*args, **kwargs)
170
e70b4d2d
RD
171 AllParams = property(GetAllParams,doc="See `GetAllParams`")
172 BeginPos = property(GetBeginPos,doc="See `GetBeginPos`")
173 EndPos1 = property(GetEndPos1,doc="See `GetEndPos1`")
174 EndPos2 = property(GetEndPos2,doc="See `GetEndPos2`")
175 Name = property(GetName,doc="See `GetName`")
2131d850 176_html.HtmlTag_swigregister(HtmlTag)
d14a1e28 177
d55e5bfc 178class HtmlParser(_core.Object):
36ed4f51 179 """Proxy of C++ HtmlParser class"""
1bd55598
RD
180 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
181 def __init__(self): raise AttributeError, "No constructor defined"
182 __repr__ = _swig_repr
423f194a 183 def SetFS(*args, **kwargs):
a95a7133 184 """SetFS(self, FileSystem fs)"""
423f194a
RD
185 return _html.HtmlParser_SetFS(*args, **kwargs)
186
187 def GetFS(*args, **kwargs):
a95a7133 188 """GetFS(self) -> FileSystem"""
423f194a
RD
189 return _html.HtmlParser_GetFS(*args, **kwargs)
190
191 def Parse(*args, **kwargs):
a95a7133 192 """Parse(self, String source) -> Object"""
423f194a
RD
193 return _html.HtmlParser_Parse(*args, **kwargs)
194
195 def InitParser(*args, **kwargs):
a95a7133 196 """InitParser(self, String source)"""
423f194a
RD
197 return _html.HtmlParser_InitParser(*args, **kwargs)
198
199 def DoneParser(*args, **kwargs):
a95a7133 200 """DoneParser(self)"""
423f194a
RD
201 return _html.HtmlParser_DoneParser(*args, **kwargs)
202
203 def DoParsing(*args, **kwargs):
a95a7133 204 """DoParsing(self, int begin_pos, int end_pos)"""
423f194a
RD
205 return _html.HtmlParser_DoParsing(*args, **kwargs)
206
207 def StopParsing(*args, **kwargs):
a95a7133 208 """StopParsing(self)"""
423f194a
RD
209 return _html.HtmlParser_StopParsing(*args, **kwargs)
210
211 def AddTagHandler(*args, **kwargs):
a95a7133 212 """AddTagHandler(self, HtmlTagHandler handler)"""
423f194a
RD
213 return _html.HtmlParser_AddTagHandler(*args, **kwargs)
214
215 def GetSource(*args, **kwargs):
a95a7133 216 """GetSource(self) -> String"""
423f194a
RD
217 return _html.HtmlParser_GetSource(*args, **kwargs)
218
219 def PushTagHandler(*args, **kwargs):
a95a7133 220 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
423f194a
RD
221 return _html.HtmlParser_PushTagHandler(*args, **kwargs)
222
223 def PopTagHandler(*args, **kwargs):
a95a7133 224 """PopTagHandler(self)"""
423f194a
RD
225 return _html.HtmlParser_PopTagHandler(*args, **kwargs)
226
e9d6f3a4
RD
227 def GetInnerSource(*args, **kwargs):
228 """GetInnerSource(self, HtmlTag tag) -> String"""
229 return _html.HtmlParser_GetInnerSource(*args, **kwargs)
230
e70b4d2d
RD
231 FS = property(GetFS,SetFS,doc="See `GetFS` and `SetFS`")
232 Source = property(GetSource,doc="See `GetSource`")
2131d850 233_html.HtmlParser_swigregister(HtmlParser)
d14a1e28
RD
234
235class HtmlWinParser(HtmlParser):
36ed4f51 236 """Proxy of C++ HtmlWinParser class"""
1bd55598
RD
237 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
238 __repr__ = _swig_repr
239 def __init__(self, *args, **kwargs):
a95a7133 240 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
1bd55598 241 _html.HtmlWinParser_swiginit(self,_html.new_HtmlWinParser(*args, **kwargs))
423f194a 242 def SetDC(*args, **kwargs):
a95a7133 243 """SetDC(self, DC dc)"""
423f194a
RD
244 return _html.HtmlWinParser_SetDC(*args, **kwargs)
245
246 def GetDC(*args, **kwargs):
a95a7133 247 """GetDC(self) -> DC"""
423f194a
RD
248 return _html.HtmlWinParser_GetDC(*args, **kwargs)
249
250 def GetCharHeight(*args, **kwargs):
a95a7133 251 """GetCharHeight(self) -> int"""
423f194a
RD
252 return _html.HtmlWinParser_GetCharHeight(*args, **kwargs)
253
254 def GetCharWidth(*args, **kwargs):
a95a7133 255 """GetCharWidth(self) -> int"""
423f194a
RD
256 return _html.HtmlWinParser_GetCharWidth(*args, **kwargs)
257
258 def GetWindow(*args, **kwargs):
a95a7133 259 """GetWindow(self) -> HtmlWindow"""
423f194a
RD
260 return _html.HtmlWinParser_GetWindow(*args, **kwargs)
261
e9d6f3a4
RD
262 GetWindow = wx._deprecated(GetWindow)
263 def GetWindowInterface(*args, **kwargs):
264 """GetWindowInterface(self) -> HtmlWindowInterface"""
265 return _html.HtmlWinParser_GetWindowInterface(*args, **kwargs)
266
423f194a 267 def SetFonts(*args, **kwargs):
a95a7133 268 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
423f194a
RD
269 return _html.HtmlWinParser_SetFonts(*args, **kwargs)
270
b411df4a
RD
271 def SetStandardFonts(*args, **kwargs):
272 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
273 return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
30ee79f7 274
423f194a 275 def GetContainer(*args, **kwargs):
a95a7133 276 """GetContainer(self) -> HtmlContainerCell"""
423f194a
RD
277 return _html.HtmlWinParser_GetContainer(*args, **kwargs)
278
279 def OpenContainer(*args, **kwargs):
a95a7133 280 """OpenContainer(self) -> HtmlContainerCell"""
423f194a
RD
281 return _html.HtmlWinParser_OpenContainer(*args, **kwargs)
282
283 def SetContainer(*args, **kwargs):
a95a7133 284 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
423f194a
RD
285 return _html.HtmlWinParser_SetContainer(*args, **kwargs)
286
287 def CloseContainer(*args, **kwargs):
a95a7133 288 """CloseContainer(self) -> HtmlContainerCell"""
423f194a
RD
289 return _html.HtmlWinParser_CloseContainer(*args, **kwargs)
290
291 def GetFontSize(*args, **kwargs):
a95a7133 292 """GetFontSize(self) -> int"""
423f194a
RD
293 return _html.HtmlWinParser_GetFontSize(*args, **kwargs)
294
295 def SetFontSize(*args, **kwargs):
a95a7133 296 """SetFontSize(self, int s)"""
423f194a
RD
297 return _html.HtmlWinParser_SetFontSize(*args, **kwargs)
298
299 def GetFontBold(*args, **kwargs):
a95a7133 300 """GetFontBold(self) -> int"""
423f194a
RD
301 return _html.HtmlWinParser_GetFontBold(*args, **kwargs)
302
303 def SetFontBold(*args, **kwargs):
a95a7133 304 """SetFontBold(self, int x)"""
423f194a
RD
305 return _html.HtmlWinParser_SetFontBold(*args, **kwargs)
306
307 def GetFontItalic(*args, **kwargs):
a95a7133 308 """GetFontItalic(self) -> int"""
423f194a
RD
309 return _html.HtmlWinParser_GetFontItalic(*args, **kwargs)
310
311 def SetFontItalic(*args, **kwargs):
a95a7133 312 """SetFontItalic(self, int x)"""
423f194a
RD
313 return _html.HtmlWinParser_SetFontItalic(*args, **kwargs)
314
315 def GetFontUnderlined(*args, **kwargs):
a95a7133 316 """GetFontUnderlined(self) -> int"""
423f194a
RD
317 return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs)
318
319 def SetFontUnderlined(*args, **kwargs):
a95a7133 320 """SetFontUnderlined(self, int x)"""
423f194a
RD
321 return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs)
322
323 def GetFontFixed(*args, **kwargs):
a95a7133 324 """GetFontFixed(self) -> int"""
423f194a
RD
325 return _html.HtmlWinParser_GetFontFixed(*args, **kwargs)
326
327 def SetFontFixed(*args, **kwargs):
a95a7133 328 """SetFontFixed(self, int x)"""
423f194a
RD
329 return _html.HtmlWinParser_SetFontFixed(*args, **kwargs)
330
331 def GetAlign(*args, **kwargs):
a95a7133 332 """GetAlign(self) -> int"""
423f194a
RD
333 return _html.HtmlWinParser_GetAlign(*args, **kwargs)
334
335 def SetAlign(*args, **kwargs):
a95a7133 336 """SetAlign(self, int a)"""
423f194a
RD
337 return _html.HtmlWinParser_SetAlign(*args, **kwargs)
338
339 def GetLinkColor(*args, **kwargs):
a95a7133 340 """GetLinkColor(self) -> Colour"""
423f194a
RD
341 return _html.HtmlWinParser_GetLinkColor(*args, **kwargs)
342
343 def SetLinkColor(*args, **kwargs):
a95a7133 344 """SetLinkColor(self, Colour clr)"""
423f194a
RD
345 return _html.HtmlWinParser_SetLinkColor(*args, **kwargs)
346
347 def GetActualColor(*args, **kwargs):
a95a7133 348 """GetActualColor(self) -> Colour"""
423f194a
RD
349 return _html.HtmlWinParser_GetActualColor(*args, **kwargs)
350
351 def SetActualColor(*args, **kwargs):
a95a7133 352 """SetActualColor(self, Colour clr)"""
423f194a
RD
353 return _html.HtmlWinParser_SetActualColor(*args, **kwargs)
354
51b83b37
RD
355 GetActualColour = GetActualColor
356 SetActualColour = SetActualColor
357
423f194a 358 def SetLink(*args, **kwargs):
a95a7133 359 """SetLink(self, String link)"""
423f194a
RD
360 return _html.HtmlWinParser_SetLink(*args, **kwargs)
361
362 def CreateCurrentFont(*args, **kwargs):
a95a7133 363 """CreateCurrentFont(self) -> Font"""
423f194a
RD
364 return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs)
365
366 def GetLink(*args, **kwargs):
a95a7133 367 """GetLink(self) -> HtmlLinkInfo"""
423f194a
RD
368 return _html.HtmlWinParser_GetLink(*args, **kwargs)
369
e70b4d2d
RD
370 ActualColor = property(GetActualColor,SetActualColor,doc="See `GetActualColor` and `SetActualColor`")
371 ActualColour = property(GetActualColour,SetActualColour,doc="See `GetActualColour` and `SetActualColour`")
372 Align = property(GetAlign,SetAlign,doc="See `GetAlign` and `SetAlign`")
373 CharHeight = property(GetCharHeight,doc="See `GetCharHeight`")
374 CharWidth = property(GetCharWidth,doc="See `GetCharWidth`")
375 Container = property(GetContainer,SetContainer,doc="See `GetContainer` and `SetContainer`")
376 DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
377 FontBold = property(GetFontBold,SetFontBold,doc="See `GetFontBold` and `SetFontBold`")
378 FontFixed = property(GetFontFixed,SetFontFixed,doc="See `GetFontFixed` and `SetFontFixed`")
379 FontItalic = property(GetFontItalic,SetFontItalic,doc="See `GetFontItalic` and `SetFontItalic`")
380 FontSize = property(GetFontSize,SetFontSize,doc="See `GetFontSize` and `SetFontSize`")
381 FontUnderlined = property(GetFontUnderlined,SetFontUnderlined,doc="See `GetFontUnderlined` and `SetFontUnderlined`")
382 Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
383 LinkColor = property(GetLinkColor,SetLinkColor,doc="See `GetLinkColor` and `SetLinkColor`")
384 WindowInterface = property(GetWindowInterface,doc="See `GetWindowInterface`")
2131d850 385_html.HtmlWinParser_swigregister(HtmlWinParser)
d14a1e28 386
d55e5bfc 387class HtmlTagHandler(_core.Object):
36ed4f51 388 """Proxy of C++ HtmlTagHandler class"""
1bd55598
RD
389 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
390 __repr__ = _swig_repr
391 def __init__(self, *args, **kwargs):
a95a7133 392 """__init__(self) -> HtmlTagHandler"""
1bd55598 393 _html.HtmlTagHandler_swiginit(self,_html.new_HtmlTagHandler(*args, **kwargs))
d14a1e28 394 self._setCallbackInfo(self, HtmlTagHandler)
423f194a
RD
395
396 def _setCallbackInfo(*args, **kwargs):
a95a7133 397 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
423f194a
RD
398 return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs)
399
400 def SetParser(*args, **kwargs):
a95a7133 401 """SetParser(self, HtmlParser parser)"""
423f194a
RD
402 return _html.HtmlTagHandler_SetParser(*args, **kwargs)
403
404 def GetParser(*args, **kwargs):
a95a7133 405 """GetParser(self) -> HtmlParser"""
423f194a
RD
406 return _html.HtmlTagHandler_GetParser(*args, **kwargs)
407
408 def ParseInner(*args, **kwargs):
a95a7133 409 """ParseInner(self, HtmlTag tag)"""
423f194a
RD
410 return _html.HtmlTagHandler_ParseInner(*args, **kwargs)
411
e70b4d2d 412 Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
2131d850 413_html.HtmlTagHandler_swigregister(HtmlTagHandler)
d14a1e28
RD
414
415class HtmlWinTagHandler(HtmlTagHandler):
36ed4f51 416 """Proxy of C++ HtmlWinTagHandler class"""
1bd55598
RD
417 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
418 __repr__ = _swig_repr
419 def __init__(self, *args, **kwargs):
a95a7133 420 """__init__(self) -> HtmlWinTagHandler"""
1bd55598 421 _html.HtmlWinTagHandler_swiginit(self,_html.new_HtmlWinTagHandler(*args, **kwargs))
d14a1e28 422 self._setCallbackInfo(self, HtmlWinTagHandler)
423f194a
RD
423
424 def _setCallbackInfo(*args, **kwargs):
a95a7133 425 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
423f194a
RD
426 return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs)
427
428 def SetParser(*args, **kwargs):
a95a7133 429 """SetParser(self, HtmlParser parser)"""
423f194a
RD
430 return _html.HtmlWinTagHandler_SetParser(*args, **kwargs)
431
432 def GetParser(*args, **kwargs):
a95a7133 433 """GetParser(self) -> HtmlWinParser"""
423f194a
RD
434 return _html.HtmlWinTagHandler_GetParser(*args, **kwargs)
435
436 def ParseInner(*args, **kwargs):
a95a7133 437 """ParseInner(self, HtmlTag tag)"""
423f194a
RD
438 return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs)
439
e70b4d2d 440 Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
2131d850 441_html.HtmlWinTagHandler_swigregister(HtmlWinTagHandler)
e6056257
RD
442
443
423f194a 444def HtmlWinParser_AddTagHandler(*args, **kwargs):
1bd55598
RD
445 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
446 return _html.HtmlWinParser_AddTagHandler(*args, **kwargs)
d14a1e28 447#---------------------------------------------------------------------------
e6056257 448
d14a1e28 449class HtmlSelection(object):
36ed4f51 450 """Proxy of C++ HtmlSelection class"""
1bd55598
RD
451 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
452 __repr__ = _swig_repr
453 def __init__(self, *args, **kwargs):
a95a7133 454 """__init__(self) -> HtmlSelection"""
1bd55598
RD
455 _html.HtmlSelection_swiginit(self,_html.new_HtmlSelection(*args, **kwargs))
456 __swig_destroy__ = _html.delete_HtmlSelection
457 __del__ = lambda self : None;
423f194a 458 def Set(*args, **kwargs):
a95a7133 459 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
423f194a
RD
460 return _html.HtmlSelection_Set(*args, **kwargs)
461
462 def SetCells(*args, **kwargs):
a95a7133 463 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
423f194a
RD
464 return _html.HtmlSelection_SetCells(*args, **kwargs)
465
466 def GetFromCell(*args, **kwargs):
a95a7133 467 """GetFromCell(self) -> HtmlCell"""
423f194a
RD
468 return _html.HtmlSelection_GetFromCell(*args, **kwargs)
469
470 def GetToCell(*args, **kwargs):
a95a7133 471 """GetToCell(self) -> HtmlCell"""
423f194a
RD
472 return _html.HtmlSelection_GetToCell(*args, **kwargs)
473
474 def GetFromPos(*args, **kwargs):
a95a7133 475 """GetFromPos(self) -> Point"""
423f194a
RD
476 return _html.HtmlSelection_GetFromPos(*args, **kwargs)
477
478 def GetToPos(*args, **kwargs):
a95a7133 479 """GetToPos(self) -> Point"""
423f194a
RD
480 return _html.HtmlSelection_GetToPos(*args, **kwargs)
481
482 def GetFromPrivPos(*args, **kwargs):
a95a7133 483 """GetFromPrivPos(self) -> Point"""
423f194a
RD
484 return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs)
485
486 def GetToPrivPos(*args, **kwargs):
a95a7133 487 """GetToPrivPos(self) -> Point"""
423f194a
RD
488 return _html.HtmlSelection_GetToPrivPos(*args, **kwargs)
489
490 def SetFromPrivPos(*args, **kwargs):
a95a7133 491 """SetFromPrivPos(self, Point pos)"""
423f194a
RD
492 return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs)
493
494 def SetToPrivPos(*args, **kwargs):
a95a7133 495 """SetToPrivPos(self, Point pos)"""
423f194a
RD
496 return _html.HtmlSelection_SetToPrivPos(*args, **kwargs)
497
498 def ClearPrivPos(*args, **kwargs):
a95a7133 499 """ClearPrivPos(self)"""
423f194a
RD
500 return _html.HtmlSelection_ClearPrivPos(*args, **kwargs)
501
502 def IsEmpty(*args, **kwargs):
a95a7133 503 """IsEmpty(self) -> bool"""
423f194a
RD
504 return _html.HtmlSelection_IsEmpty(*args, **kwargs)
505
e70b4d2d
RD
506 FromCell = property(GetFromCell,doc="See `GetFromCell`")
507 FromPos = property(GetFromPos,doc="See `GetFromPos`")
508 FromPrivPos = property(GetFromPrivPos,SetFromPrivPos,doc="See `GetFromPrivPos` and `SetFromPrivPos`")
509 ToCell = property(GetToCell,doc="See `GetToCell`")
510 ToPos = property(GetToPos,doc="See `GetToPos`")
511 ToPrivPos = property(GetToPrivPos,SetToPrivPos,doc="See `GetToPrivPos` and `SetToPrivPos`")
2131d850 512_html.HtmlSelection_swigregister(HtmlSelection)
d14a1e28
RD
513
514HTML_SEL_OUT = _html.HTML_SEL_OUT
515HTML_SEL_IN = _html.HTML_SEL_IN
516HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
517class HtmlRenderingState(object):
36ed4f51 518 """Proxy of C++ HtmlRenderingState class"""
1bd55598
RD
519 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
520 __repr__ = _swig_repr
521 def __init__(self, *args, **kwargs):
a95a7133 522 """__init__(self) -> HtmlRenderingState"""
1bd55598
RD
523 _html.HtmlRenderingState_swiginit(self,_html.new_HtmlRenderingState(*args, **kwargs))
524 __swig_destroy__ = _html.delete_HtmlRenderingState
525 __del__ = lambda self : None;
423f194a 526 def SetSelectionState(*args, **kwargs):
a95a7133 527 """SetSelectionState(self, int s)"""
423f194a
RD
528 return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs)
529
530 def GetSelectionState(*args, **kwargs):
a95a7133 531 """GetSelectionState(self) -> int"""
423f194a
RD
532 return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs)
533
534 def SetFgColour(*args, **kwargs):
a95a7133 535 """SetFgColour(self, Colour c)"""
423f194a
RD
536 return _html.HtmlRenderingState_SetFgColour(*args, **kwargs)
537
538 def GetFgColour(*args, **kwargs):
a95a7133 539 """GetFgColour(self) -> Colour"""
423f194a
RD
540 return _html.HtmlRenderingState_GetFgColour(*args, **kwargs)
541
542 def SetBgColour(*args, **kwargs):
a95a7133 543 """SetBgColour(self, Colour c)"""
423f194a
RD
544 return _html.HtmlRenderingState_SetBgColour(*args, **kwargs)
545
546 def GetBgColour(*args, **kwargs):
a95a7133 547 """GetBgColour(self) -> Colour"""
423f194a
RD
548 return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
549
e70b4d2d
RD
550 BgColour = property(GetBgColour,SetBgColour,doc="See `GetBgColour` and `SetBgColour`")
551 FgColour = property(GetFgColour,SetFgColour,doc="See `GetFgColour` and `SetFgColour`")
552 SelectionState = property(GetSelectionState,SetSelectionState,doc="See `GetSelectionState` and `SetSelectionState`")
2131d850 553_html.HtmlRenderingState_swigregister(HtmlRenderingState)
d14a1e28
RD
554
555class HtmlRenderingStyle(object):
36ed4f51 556 """Proxy of C++ HtmlRenderingStyle class"""
1bd55598
RD
557 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
558 def __init__(self): raise AttributeError, "No constructor defined"
559 __repr__ = _swig_repr
423f194a 560 def GetSelectedTextColour(*args, **kwargs):
a95a7133 561 """GetSelectedTextColour(self, Colour clr) -> Colour"""
423f194a
RD
562 return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
563
564 def GetSelectedTextBgColour(*args, **kwargs):
a95a7133 565 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
423f194a
RD
566 return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
567
e70b4d2d
RD
568 SelectedTextBgColour = property(GetSelectedTextBgColour,doc="See `GetSelectedTextBgColour`")
569 SelectedTextColour = property(GetSelectedTextColour,doc="See `GetSelectedTextColour`")
2131d850 570_html.HtmlRenderingStyle_swigregister(HtmlRenderingStyle)
d14a1e28
RD
571
572class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
36ed4f51 573 """Proxy of C++ DefaultHtmlRenderingStyle class"""
1bd55598
RD
574 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
575 def __init__(self): raise AttributeError, "No constructor defined"
576 __repr__ = _swig_repr
2131d850 577_html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStyle)
d14a1e28
RD
578
579class HtmlRenderingInfo(object):
36ed4f51 580 """Proxy of C++ HtmlRenderingInfo class"""
1bd55598
RD
581 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
582 __repr__ = _swig_repr
583 def __init__(self, *args, **kwargs):
a95a7133 584 """__init__(self) -> HtmlRenderingInfo"""
1bd55598
RD
585 _html.HtmlRenderingInfo_swiginit(self,_html.new_HtmlRenderingInfo(*args, **kwargs))
586 __swig_destroy__ = _html.delete_HtmlRenderingInfo
587 __del__ = lambda self : None;
423f194a 588 def SetSelection(*args, **kwargs):
a95a7133 589 """SetSelection(self, HtmlSelection s)"""
423f194a
RD
590 return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs)
591
592 def GetSelection(*args, **kwargs):
a95a7133 593 """GetSelection(self) -> HtmlSelection"""
423f194a
RD
594 return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs)
595
596 def SetStyle(*args, **kwargs):
a95a7133 597 """SetStyle(self, HtmlRenderingStyle style)"""
423f194a
RD
598 return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs)
599
600 def GetStyle(*args, **kwargs):
a95a7133 601 """GetStyle(self) -> HtmlRenderingStyle"""
423f194a
RD
602 return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs)
603
604 def GetState(*args, **kwargs):
a95a7133 605 """GetState(self) -> HtmlRenderingState"""
423f194a
RD
606 return _html.HtmlRenderingInfo_GetState(*args, **kwargs)
607
e70b4d2d
RD
608 Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
609 State = property(GetState,doc="See `GetState`")
610 Style = property(GetStyle,SetStyle,doc="See `GetStyle` and `SetStyle`")
2131d850 611_html.HtmlRenderingInfo_swigregister(HtmlRenderingInfo)
d14a1e28
RD
612
613#---------------------------------------------------------------------------
614
615HTML_FIND_EXACT = _html.HTML_FIND_EXACT
616HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
617HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
d55e5bfc 618class HtmlCell(_core.Object):
36ed4f51 619 """Proxy of C++ HtmlCell class"""
1bd55598
RD
620 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
621 __repr__ = _swig_repr
622 def __init__(self, *args, **kwargs):
a95a7133 623 """__init__(self) -> HtmlCell"""
1bd55598
RD
624 _html.HtmlCell_swiginit(self,_html.new_HtmlCell(*args, **kwargs))
625 __swig_destroy__ = _html.delete_HtmlCell
626 __del__ = lambda self : None;
423f194a 627 def GetPosX(*args, **kwargs):
a95a7133 628 """GetPosX(self) -> int"""
423f194a
RD
629 return _html.HtmlCell_GetPosX(*args, **kwargs)
630
631 def GetPosY(*args, **kwargs):
a95a7133 632 """GetPosY(self) -> int"""
423f194a
RD
633 return _html.HtmlCell_GetPosY(*args, **kwargs)
634
635 def GetWidth(*args, **kwargs):
a95a7133 636 """GetWidth(self) -> int"""
423f194a
RD
637 return _html.HtmlCell_GetWidth(*args, **kwargs)
638
639 def GetHeight(*args, **kwargs):
a95a7133 640 """GetHeight(self) -> int"""
423f194a
RD
641 return _html.HtmlCell_GetHeight(*args, **kwargs)
642
643 def GetDescent(*args, **kwargs):
a95a7133 644 """GetDescent(self) -> int"""
423f194a
RD
645 return _html.HtmlCell_GetDescent(*args, **kwargs)
646
fbc46b20 647 def GetMaxTotalWidth(*args, **kwargs):
a95a7133 648 """GetMaxTotalWidth(self) -> int"""
fbc46b20
RD
649 return _html.HtmlCell_GetMaxTotalWidth(*args, **kwargs)
650
cbd72d4f 651 def GetId(*args, **kwargs):
a95a7133 652 """GetId(self) -> String"""
cbd72d4f
RD
653 return _html.HtmlCell_GetId(*args, **kwargs)
654
655 def SetId(*args, **kwargs):
a95a7133 656 """SetId(self, String id)"""
cbd72d4f
RD
657 return _html.HtmlCell_SetId(*args, **kwargs)
658
423f194a 659 def GetLink(*args, **kwargs):
a95a7133 660 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
423f194a
RD
661 return _html.HtmlCell_GetLink(*args, **kwargs)
662
663 def GetNext(*args, **kwargs):
a95a7133 664 """GetNext(self) -> HtmlCell"""
423f194a
RD
665 return _html.HtmlCell_GetNext(*args, **kwargs)
666
667 def GetParent(*args, **kwargs):
a95a7133 668 """GetParent(self) -> HtmlContainerCell"""
423f194a
RD
669 return _html.HtmlCell_GetParent(*args, **kwargs)
670
671 def GetFirstChild(*args, **kwargs):
a95a7133 672 """GetFirstChild(self) -> HtmlCell"""
423f194a
RD
673 return _html.HtmlCell_GetFirstChild(*args, **kwargs)
674
e9d6f3a4
RD
675 def GetMouseCursor(*args, **kwargs):
676 """GetMouseCursor(self, HtmlWindowInterface window) -> Cursor"""
677 return _html.HtmlCell_GetMouseCursor(*args, **kwargs)
678
423f194a 679 def GetCursor(*args, **kwargs):
a95a7133 680 """GetCursor(self) -> Cursor"""
423f194a
RD
681 return _html.HtmlCell_GetCursor(*args, **kwargs)
682
e9d6f3a4 683 GetCursor = wx._deprecated(GetCursor)
423f194a 684 def IsFormattingCell(*args, **kwargs):
a95a7133 685 """IsFormattingCell(self) -> bool"""
423f194a
RD
686 return _html.HtmlCell_IsFormattingCell(*args, **kwargs)
687
688 def SetLink(*args, **kwargs):
a95a7133 689 """SetLink(self, HtmlLinkInfo link)"""
423f194a
RD
690 return _html.HtmlCell_SetLink(*args, **kwargs)
691
692 def SetNext(*args, **kwargs):
a95a7133 693 """SetNext(self, HtmlCell cell)"""
423f194a
RD
694 return _html.HtmlCell_SetNext(*args, **kwargs)
695
696 def SetParent(*args, **kwargs):
a95a7133 697 """SetParent(self, HtmlContainerCell p)"""
423f194a
RD
698 return _html.HtmlCell_SetParent(*args, **kwargs)
699
700 def SetPos(*args, **kwargs):
a95a7133 701 """SetPos(self, int x, int y)"""
423f194a
RD
702 return _html.HtmlCell_SetPos(*args, **kwargs)
703
704 def Layout(*args, **kwargs):
a95a7133 705 """Layout(self, int w)"""
423f194a
RD
706 return _html.HtmlCell_Layout(*args, **kwargs)
707
708 def Draw(*args, **kwargs):
a95a7133 709 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
423f194a
RD
710 return _html.HtmlCell_Draw(*args, **kwargs)
711
712 def DrawInvisible(*args, **kwargs):
a95a7133 713 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
423f194a
RD
714 return _html.HtmlCell_DrawInvisible(*args, **kwargs)
715
716 def Find(*args, **kwargs):
a95a7133 717 """Find(self, int condition, void param) -> HtmlCell"""
423f194a
RD
718 return _html.HtmlCell_Find(*args, **kwargs)
719
e9d6f3a4
RD
720 def ProcessMouseClick(*args, **kwargs):
721 """ProcessMouseClick(self, HtmlWindowInterface window, Point pos, MouseEvent event) -> bool"""
722 return _html.HtmlCell_ProcessMouseClick(*args, **kwargs)
723
423f194a 724 def SetCanLiveOnPagebreak(*args, **kwargs):
a95a7133 725 """SetCanLiveOnPagebreak(self, bool can)"""
423f194a
RD
726 return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs)
727
728 def IsLinebreakAllowed(*args, **kwargs):
a95a7133 729 """IsLinebreakAllowed(self) -> bool"""
423f194a
RD
730 return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs)
731
732 def IsTerminalCell(*args, **kwargs):
a95a7133 733 """IsTerminalCell(self) -> bool"""
423f194a
RD
734 return _html.HtmlCell_IsTerminalCell(*args, **kwargs)
735
736 def FindCellByPos(*args, **kwargs):
a95a7133 737 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
423f194a
RD
738 return _html.HtmlCell_FindCellByPos(*args, **kwargs)
739
740 def GetAbsPos(*args, **kwargs):
e9d6f3a4 741 """GetAbsPos(self, HtmlCell rootCell=None) -> Point"""
423f194a
RD
742 return _html.HtmlCell_GetAbsPos(*args, **kwargs)
743
e9d6f3a4
RD
744 def GetRootCell(*args, **kwargs):
745 """GetRootCell(self) -> HtmlCell"""
746 return _html.HtmlCell_GetRootCell(*args, **kwargs)
747
423f194a 748 def GetFirstTerminal(*args, **kwargs):
a95a7133 749 """GetFirstTerminal(self) -> HtmlCell"""
423f194a
RD
750 return _html.HtmlCell_GetFirstTerminal(*args, **kwargs)
751
752 def GetLastTerminal(*args, **kwargs):
a95a7133 753 """GetLastTerminal(self) -> HtmlCell"""
423f194a
RD
754 return _html.HtmlCell_GetLastTerminal(*args, **kwargs)
755
756 def GetDepth(*args, **kwargs):
a95a7133 757 """GetDepth(self) -> unsigned int"""
423f194a
RD
758 return _html.HtmlCell_GetDepth(*args, **kwargs)
759
760 def IsBefore(*args, **kwargs):
a95a7133 761 """IsBefore(self, HtmlCell cell) -> bool"""
423f194a
RD
762 return _html.HtmlCell_IsBefore(*args, **kwargs)
763
764 def ConvertToText(*args, **kwargs):
a95a7133 765 """ConvertToText(self, HtmlSelection sel) -> String"""
423f194a
RD
766 return _html.HtmlCell_ConvertToText(*args, **kwargs)
767
e70b4d2d
RD
768 Cursor = property(GetCursor,doc="See `GetCursor`")
769 Depth = property(GetDepth,doc="See `GetDepth`")
770 Descent = property(GetDescent,doc="See `GetDescent`")
771 FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
772 FirstTerminal = property(GetFirstTerminal,doc="See `GetFirstTerminal`")
773 Height = property(GetHeight,doc="See `GetHeight`")
774 Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
775 LastTerminal = property(GetLastTerminal,doc="See `GetLastTerminal`")
776 Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
777 MaxTotalWidth = property(GetMaxTotalWidth,doc="See `GetMaxTotalWidth`")
778 MouseCursor = property(GetMouseCursor,doc="See `GetMouseCursor`")
779 Next = property(GetNext,SetNext,doc="See `GetNext` and `SetNext`")
780 Parent = property(GetParent,SetParent,doc="See `GetParent` and `SetParent`")
781 PosX = property(GetPosX,doc="See `GetPosX`")
782 PosY = property(GetPosY,doc="See `GetPosY`")
783 RootCell = property(GetRootCell,doc="See `GetRootCell`")
784 Width = property(GetWidth,doc="See `GetWidth`")
2131d850 785_html.HtmlCell_swigregister(HtmlCell)
d14a1e28
RD
786
787class HtmlWordCell(HtmlCell):
36ed4f51 788 """Proxy of C++ HtmlWordCell class"""
1bd55598
RD
789 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
790 __repr__ = _swig_repr
791 def __init__(self, *args, **kwargs):
a95a7133 792 """__init__(self, String word, DC dc) -> HtmlWordCell"""
1bd55598 793 _html.HtmlWordCell_swiginit(self,_html.new_HtmlWordCell(*args, **kwargs))
b1fcee84
RD
794 def ConvertToText(*args, **kwargs):
795 """ConvertToText(self, HtmlSelection sel) -> String"""
796 return _html.HtmlWordCell_ConvertToText(*args, **kwargs)
797
798 def IsLinebreakAllowed(*args, **kwargs):
799 """IsLinebreakAllowed(self) -> bool"""
800 return _html.HtmlWordCell_IsLinebreakAllowed(*args, **kwargs)
801
802 def SetPreviousWord(*args, **kwargs):
803 """SetPreviousWord(self, HtmlWordCell cell)"""
804 return _html.HtmlWordCell_SetPreviousWord(*args, **kwargs)
805
2131d850 806_html.HtmlWordCell_swigregister(HtmlWordCell)
d14a1e28
RD
807
808class HtmlContainerCell(HtmlCell):
36ed4f51 809 """Proxy of C++ HtmlContainerCell class"""
1bd55598
RD
810 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
811 __repr__ = _swig_repr
812 def __init__(self, *args, **kwargs):
a95a7133 813 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
1bd55598 814 _html.HtmlContainerCell_swiginit(self,_html.new_HtmlContainerCell(*args, **kwargs))
423f194a 815 def InsertCell(*args, **kwargs):
a95a7133 816 """InsertCell(self, HtmlCell cell)"""
423f194a
RD
817 return _html.HtmlContainerCell_InsertCell(*args, **kwargs)
818
819 def SetAlignHor(*args, **kwargs):
a95a7133 820 """SetAlignHor(self, int al)"""
423f194a
RD
821 return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs)
822
823 def GetAlignHor(*args, **kwargs):
a95a7133 824 """GetAlignHor(self) -> int"""
423f194a
RD
825 return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs)
826
827 def SetAlignVer(*args, **kwargs):
a95a7133 828 """SetAlignVer(self, int al)"""
423f194a
RD
829 return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs)
830
831 def GetAlignVer(*args, **kwargs):
a95a7133 832 """GetAlignVer(self) -> int"""
423f194a
RD
833 return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs)
834
835 def SetIndent(*args, **kwargs):
a95a7133 836 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
423f194a
RD
837 return _html.HtmlContainerCell_SetIndent(*args, **kwargs)
838
839 def GetIndent(*args, **kwargs):
a95a7133 840 """GetIndent(self, int ind) -> int"""
423f194a
RD
841 return _html.HtmlContainerCell_GetIndent(*args, **kwargs)
842
843 def GetIndentUnits(*args, **kwargs):
a95a7133 844 """GetIndentUnits(self, int ind) -> int"""
423f194a
RD
845 return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs)
846
847 def SetAlign(*args, **kwargs):
a95a7133 848 """SetAlign(self, HtmlTag tag)"""
423f194a
RD
849 return _html.HtmlContainerCell_SetAlign(*args, **kwargs)
850
851 def SetWidthFloat(*args, **kwargs):
a95a7133 852 """SetWidthFloat(self, int w, int units)"""
423f194a
RD
853 return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs)
854
855 def SetWidthFloatFromTag(*args, **kwargs):
a95a7133 856 """SetWidthFloatFromTag(self, HtmlTag tag)"""
423f194a
RD
857 return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs)
858
859 def SetMinHeight(*args, **kwargs):
a95a7133 860 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
423f194a
RD
861 return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs)
862
863 def SetBackgroundColour(*args, **kwargs):
a95a7133 864 """SetBackgroundColour(self, Colour clr)"""
423f194a
RD
865 return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs)
866
867 def GetBackgroundColour(*args, **kwargs):
a95a7133 868 """GetBackgroundColour(self) -> Colour"""
423f194a
RD
869 return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs)
870
871 def SetBorder(*args, **kwargs):
a95a7133 872 """SetBorder(self, Colour clr1, Colour clr2)"""
423f194a
RD
873 return _html.HtmlContainerCell_SetBorder(*args, **kwargs)
874
875 def GetFirstChild(*args, **kwargs):
a95a7133 876 """GetFirstChild(self) -> HtmlCell"""
423f194a
RD
877 return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
878
e70b4d2d
RD
879 AlignHor = property(GetAlignHor,SetAlignHor,doc="See `GetAlignHor` and `SetAlignHor`")
880 AlignVer = property(GetAlignVer,SetAlignVer,doc="See `GetAlignVer` and `SetAlignVer`")
881 BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
882 FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
883 Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
884 IndentUnits = property(GetIndentUnits,doc="See `GetIndentUnits`")
2131d850 885_html.HtmlContainerCell_swigregister(HtmlContainerCell)
d14a1e28
RD
886
887class HtmlColourCell(HtmlCell):
36ed4f51 888 """Proxy of C++ HtmlColourCell class"""
1bd55598
RD
889 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
890 __repr__ = _swig_repr
891 def __init__(self, *args, **kwargs):
a95a7133 892 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
1bd55598 893 _html.HtmlColourCell_swiginit(self,_html.new_HtmlColourCell(*args, **kwargs))
2131d850 894_html.HtmlColourCell_swigregister(HtmlColourCell)
d14a1e28
RD
895
896class HtmlFontCell(HtmlCell):
36ed4f51 897 """Proxy of C++ HtmlFontCell class"""
1bd55598
RD
898 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
899 __repr__ = _swig_repr
900 def __init__(self, *args, **kwargs):
a95a7133 901 """__init__(self, Font font) -> HtmlFontCell"""
1bd55598 902 _html.HtmlFontCell_swiginit(self,_html.new_HtmlFontCell(*args, **kwargs))
2131d850 903_html.HtmlFontCell_swigregister(HtmlFontCell)
d14a1e28
RD
904
905class HtmlWidgetCell(HtmlCell):
36ed4f51 906 """Proxy of C++ HtmlWidgetCell class"""
1bd55598
RD
907 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
908 __repr__ = _swig_repr
909 def __init__(self, *args, **kwargs):
a95a7133 910 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
1bd55598 911 _html.HtmlWidgetCell_swiginit(self,_html.new_HtmlWidgetCell(*args, **kwargs))
2131d850 912_html.HtmlWidgetCell_swigregister(HtmlWidgetCell)
e6056257 913
d14a1e28 914#---------------------------------------------------------------------------
e6056257 915
d55e5bfc 916class HtmlFilter(_core.Object):
36ed4f51 917 """Proxy of C++ HtmlFilter class"""
1bd55598
RD
918 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
919 __repr__ = _swig_repr
920 def __init__(self, *args, **kwargs):
a95a7133 921 """__init__(self) -> HtmlFilter"""
1bd55598 922 _html.HtmlFilter_swiginit(self,_html.new_HtmlFilter(*args, **kwargs))
d14a1e28 923 self._setCallbackInfo(self, HtmlFilter)
423f194a
RD
924
925 def _setCallbackInfo(*args, **kwargs):
a95a7133 926 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
423f194a
RD
927 return _html.HtmlFilter__setCallbackInfo(*args, **kwargs)
928
2131d850 929_html.HtmlFilter_swigregister(HtmlFilter)
e6056257 930
e9d6f3a4
RD
931class HtmlWindowInterface(object):
932 """Proxy of C++ HtmlWindowInterface class"""
933 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
934 def __init__(self): raise AttributeError, "No constructor defined"
935 __repr__ = _swig_repr
936 __swig_destroy__ = _html.delete_HtmlWindowInterface
937 __del__ = lambda self : None;
938 def SetHTMLWindowTitle(*args, **kwargs):
939 """SetHTMLWindowTitle(self, String title)"""
940 return _html.HtmlWindowInterface_SetHTMLWindowTitle(*args, **kwargs)
941
942 def HTMLCoordsToWindow(*args, **kwargs):
943 """HTMLCoordsToWindow(self, HtmlCell cell, Point pos) -> Point"""
944 return _html.HtmlWindowInterface_HTMLCoordsToWindow(*args, **kwargs)
945
946 def GetHTMLWindow(*args, **kwargs):
947 """GetHTMLWindow(self) -> Window"""
948 return _html.HtmlWindowInterface_GetHTMLWindow(*args, **kwargs)
949
950 def GetHTMLBackgroundColour(*args, **kwargs):
951 """GetHTMLBackgroundColour(self) -> Colour"""
952 return _html.HtmlWindowInterface_GetHTMLBackgroundColour(*args, **kwargs)
953
954 def SetHTMLBackgroundColour(*args, **kwargs):
955 """SetHTMLBackgroundColour(self, Colour clr)"""
956 return _html.HtmlWindowInterface_SetHTMLBackgroundColour(*args, **kwargs)
957
958 def SetHTMLBackgroundImage(*args, **kwargs):
959 """SetHTMLBackgroundImage(self, Bitmap bmpBg)"""
960 return _html.HtmlWindowInterface_SetHTMLBackgroundImage(*args, **kwargs)
961
962 def SetHTMLStatusText(*args, **kwargs):
963 """SetHTMLStatusText(self, String text)"""
964 return _html.HtmlWindowInterface_SetHTMLStatusText(*args, **kwargs)
965
966 HTMLCursor_Default = _html.HtmlWindowInterface_HTMLCursor_Default
967 HTMLCursor_Link = _html.HtmlWindowInterface_HTMLCursor_Link
968 HTMLCursor_Text = _html.HtmlWindowInterface_HTMLCursor_Text
e70b4d2d
RD
969 HTMLBackgroundColour = property(GetHTMLBackgroundColour,SetHTMLBackgroundColour,doc="See `GetHTMLBackgroundColour` and `SetHTMLBackgroundColour`")
970 HTMLWindow = property(GetHTMLWindow,doc="See `GetHTMLWindow`")
2131d850 971_html.HtmlWindowInterface_swigregister(HtmlWindowInterface)
e9d6f3a4 972
d14a1e28 973#---------------------------------------------------------------------------
e6056257 974
d55e5bfc 975class HtmlWindow(_windows.ScrolledWindow):
36ed4f51 976 """Proxy of C++ HtmlWindow class"""
1bd55598
RD
977 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
978 __repr__ = _swig_repr
979 def __init__(self, *args, **kwargs):
41f1cec7 980 """
a95a7133 981 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
41f1cec7 982 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
cbd72d4f 983 String name=HtmlWindowNameStr) -> HtmlWindow
41f1cec7 984 """
1bd55598 985 _html.HtmlWindow_swiginit(self,_html.new_HtmlWindow(*args, **kwargs))
d14a1e28 986 self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self)
423f194a
RD
987
988 def Create(*args, **kwargs):
41f1cec7 989 """
a95a7133 990 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
41f1cec7 991 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
cbd72d4f 992 String name=HtmlWindowNameStr) -> bool
41f1cec7 993 """
423f194a
RD
994 return _html.HtmlWindow_Create(*args, **kwargs)
995
996 def _setCallbackInfo(*args, **kwargs):
a95a7133 997 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
423f194a
RD
998 return _html.HtmlWindow__setCallbackInfo(*args, **kwargs)
999
1000 def SetPage(*args, **kwargs):
a95a7133 1001 """SetPage(self, String source) -> bool"""
423f194a
RD
1002 return _html.HtmlWindow_SetPage(*args, **kwargs)
1003
1004 def LoadPage(*args, **kwargs):
a95a7133 1005 """LoadPage(self, String location) -> bool"""
423f194a
RD
1006 return _html.HtmlWindow_LoadPage(*args, **kwargs)
1007
1008 def LoadFile(*args, **kwargs):
a95a7133 1009 """LoadFile(self, String filename) -> bool"""
423f194a
RD
1010 return _html.HtmlWindow_LoadFile(*args, **kwargs)
1011
1012 def AppendToPage(*args, **kwargs):
a95a7133 1013 """AppendToPage(self, String source) -> bool"""
423f194a
RD
1014 return _html.HtmlWindow_AppendToPage(*args, **kwargs)
1015
1016 def GetOpenedPage(*args, **kwargs):
a95a7133 1017 """GetOpenedPage(self) -> String"""
423f194a
RD
1018 return _html.HtmlWindow_GetOpenedPage(*args, **kwargs)
1019
1020 def GetOpenedAnchor(*args, **kwargs):
a95a7133 1021 """GetOpenedAnchor(self) -> String"""
423f194a
RD
1022 return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs)
1023
1024 def GetOpenedPageTitle(*args, **kwargs):
a95a7133 1025 """GetOpenedPageTitle(self) -> String"""
423f194a
RD
1026 return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs)
1027
1028 def SetRelatedFrame(*args, **kwargs):
a95a7133 1029 """SetRelatedFrame(self, Frame frame, String format)"""
423f194a
RD
1030 return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs)
1031
1032 def GetRelatedFrame(*args, **kwargs):
a95a7133 1033 """GetRelatedFrame(self) -> Frame"""
423f194a
RD
1034 return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs)
1035
1036 def SetRelatedStatusBar(*args, **kwargs):
a95a7133 1037 """SetRelatedStatusBar(self, int bar)"""
423f194a
RD
1038 return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs)
1039
1040 def SetFonts(*args, **kwargs):
a95a7133 1041 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
423f194a
RD
1042 return _html.HtmlWindow_SetFonts(*args, **kwargs)
1043
b411df4a
RD
1044 def SetStandardFonts(*args, **kwargs):
1045 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1046 return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
30ee79f7 1047
423f194a 1048 def SetBorders(*args, **kwargs):
a95a7133 1049 """SetBorders(self, int b)"""
423f194a 1050 return _html.HtmlWindow_SetBorders(*args, **kwargs)
53aa7709
RD
1051
1052 def SetBackgroundImage(*args, **kwargs):
1053 """SetBackgroundImage(self, Bitmap bmpBg)"""
1054 return _html.HtmlWindow_SetBackgroundImage(*args, **kwargs)
423f194a
RD
1055
1056 def ReadCustomization(*args, **kwargs):
a95a7133 1057 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
423f194a
RD
1058 return _html.HtmlWindow_ReadCustomization(*args, **kwargs)
1059
1060 def WriteCustomization(*args, **kwargs):
a95a7133 1061 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
423f194a
RD
1062 return _html.HtmlWindow_WriteCustomization(*args, **kwargs)
1063
1064 def HistoryBack(*args, **kwargs):
a95a7133 1065 """HistoryBack(self) -> bool"""
423f194a
RD
1066 return _html.HtmlWindow_HistoryBack(*args, **kwargs)
1067
1068 def HistoryForward(*args, **kwargs):
a95a7133 1069 """HistoryForward(self) -> bool"""
423f194a
RD
1070 return _html.HtmlWindow_HistoryForward(*args, **kwargs)
1071
1072 def HistoryCanBack(*args, **kwargs):
a95a7133 1073 """HistoryCanBack(self) -> bool"""
423f194a
RD
1074 return _html.HtmlWindow_HistoryCanBack(*args, **kwargs)
1075
1076 def HistoryCanForward(*args, **kwargs):
a95a7133 1077 """HistoryCanForward(self) -> bool"""
423f194a
RD
1078 return _html.HtmlWindow_HistoryCanForward(*args, **kwargs)
1079
1080 def HistoryClear(*args, **kwargs):
a95a7133 1081 """HistoryClear(self)"""
423f194a
RD
1082 return _html.HtmlWindow_HistoryClear(*args, **kwargs)
1083
1084 def GetInternalRepresentation(*args, **kwargs):
a95a7133 1085 """GetInternalRepresentation(self) -> HtmlContainerCell"""
423f194a
RD
1086 return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs)
1087
1088 def GetParser(*args, **kwargs):
a95a7133 1089 """GetParser(self) -> HtmlWinParser"""
423f194a
RD
1090 return _html.HtmlWindow_GetParser(*args, **kwargs)
1091
1092 def ScrollToAnchor(*args, **kwargs):
a95a7133 1093 """ScrollToAnchor(self, String anchor) -> bool"""
423f194a
RD
1094 return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs)
1095
1096 def HasAnchor(*args, **kwargs):
a95a7133 1097 """HasAnchor(self, String anchor) -> bool"""
423f194a
RD
1098 return _html.HtmlWindow_HasAnchor(*args, **kwargs)
1099
1100 def AddFilter(*args, **kwargs):
d6c14a4c 1101 """AddFilter(HtmlFilter filter)"""
423f194a
RD
1102 return _html.HtmlWindow_AddFilter(*args, **kwargs)
1103
1104 AddFilter = staticmethod(AddFilter)
0ffb2aa6 1105 def SelectWord(*args, **kwargs):
a95a7133 1106 """SelectWord(self, Point pos)"""
0ffb2aa6
RD
1107 return _html.HtmlWindow_SelectWord(*args, **kwargs)
1108
1109 def SelectLine(*args, **kwargs):
a95a7133 1110 """SelectLine(self, Point pos)"""
0ffb2aa6
RD
1111 return _html.HtmlWindow_SelectLine(*args, **kwargs)
1112
1113 def SelectAll(*args, **kwargs):
a95a7133 1114 """SelectAll(self)"""
0ffb2aa6
RD
1115 return _html.HtmlWindow_SelectAll(*args, **kwargs)
1116
b0f7404b
RD
1117 def SelectionToText(*args, **kwargs):
1118 """SelectionToText(self) -> String"""
1119 return _html.HtmlWindow_SelectionToText(*args, **kwargs)
1120
1121 def ToText(*args, **kwargs):
1122 """ToText(self) -> String"""
1123 return _html.HtmlWindow_ToText(*args, **kwargs)
1124
7f7aa166
RD
1125 def OnLinkClicked(*args, **kwargs):
1126 """OnLinkClicked(self, HtmlLinkInfo link)"""
1127 return _html.HtmlWindow_OnLinkClicked(*args, **kwargs)
1128
1129 def OnSetTitle(*args, **kwargs):
1130 """OnSetTitle(self, String title)"""
1131 return _html.HtmlWindow_OnSetTitle(*args, **kwargs)
1132
1133 def OnCellMouseHover(*args, **kwargs):
1134 """OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1135 return _html.HtmlWindow_OnCellMouseHover(*args, **kwargs)
1136
1137 def OnCellClicked(*args, **kwargs):
e9d6f3a4 1138 """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event) -> bool"""
7f7aa166
RD
1139 return _html.HtmlWindow_OnCellClicked(*args, **kwargs)
1140
e9d6f3a4
RD
1141 def OnOpeningURL(*args, **kwargs):
1142 """OnOpeningURL(self, int type, String url, String redirect) -> int"""
1143 return _html.HtmlWindow_OnOpeningURL(*args, **kwargs)
1144
7f7aa166
RD
1145 def base_OnLinkClicked(*args, **kw):
1146 return HtmlWindow.OnLinkClicked(*args, **kw)
1147 base_OnLinkClicked = wx._deprecated(base_OnLinkClicked,
1148 "Please use HtmlWindow.OnLinkClicked instead.")
1149
1150 def base_OnSetTitle(*args, **kw):
1151 return HtmlWindow.OnSetTitle(*args, **kw)
1152 base_OnSetTitle = wx._deprecated(base_OnSetTitle,
1153 "Please use HtmlWindow.OnSetTitle instead.")
1154
1155 def base_OnCellMouseHover(*args, **kw):
1156 return HtmlWindow.OnCellMouseHover(*args, **kw)
1157 base_OnCellMouseHover = wx._deprecated(base_OnCellMouseHover,
1158 "Please use HtmlWindow.OnCellMouseHover instead.")
1159
1160 def base_OnCellClicked(*args, **kw):
1161 return HtmlWindow.OnCellClicked(*args, **kw)
1162 base_OnCellClicked = wx._deprecated(base_OnCellClicked,
1163 "Please use HtmlWindow.OnCellClicked instead.")
423f194a 1164
f20a2e1f
RD
1165 def GetClassDefaultAttributes(*args, **kwargs):
1166 """
1167 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1168
15817c7e
RD
1169 Get the default attributes for this class. This is useful if you want
1170 to use the same font or colour in your own control as in a standard
1171 control -- which is a much better idea than hard coding specific
a5ee0656
RD
1172 colours or fonts which might look completely out of place on the
1173 user's system, especially if it uses themes.
f20a2e1f
RD
1174
1175 The variant parameter is only relevant under Mac currently and is
15817c7e 1176 ignore under other platforms. Under Mac, it will change the size of
a5ee0656
RD
1177 the returned font. See `wx.Window.SetWindowVariant` for more about
1178 this.
f20a2e1f
RD
1179 """
1180 return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
1181
1182 GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
e9d6f3a4
RD
1183 HTMLCursor_Default = _html.HtmlWindow_HTMLCursor_Default
1184 HTMLCursor_Link = _html.HtmlWindow_HTMLCursor_Link
1185 HTMLCursor_Text = _html.HtmlWindow_HTMLCursor_Text
1186 def GetDefaultHTMLCursor(*args, **kwargs):
1187 """GetDefaultHTMLCursor(int type) -> Cursor"""
1188 return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
1189
1190 GetDefaultHTMLCursor = staticmethod(GetDefaultHTMLCursor)
e70b4d2d
RD
1191 InternalRepresentation = property(GetInternalRepresentation,doc="See `GetInternalRepresentation`")
1192 OpenedAnchor = property(GetOpenedAnchor,doc="See `GetOpenedAnchor`")
1193 OpenedPage = property(GetOpenedPage,doc="See `GetOpenedPage`")
1194 OpenedPageTitle = property(GetOpenedPageTitle,doc="See `GetOpenedPageTitle`")
1195 Parser = property(GetParser,doc="See `GetParser`")
1196 RelatedFrame = property(GetRelatedFrame,doc="See `GetRelatedFrame`")
2131d850 1197_html.HtmlWindow_swigregister(HtmlWindow)
e6056257 1198
d14a1e28 1199def PreHtmlWindow(*args, **kwargs):
423f194a 1200 """PreHtmlWindow() -> HtmlWindow"""
d14a1e28 1201 val = _html.new_PreHtmlWindow(*args, **kwargs)
d14a1e28 1202 return val
e6056257 1203
423f194a 1204def HtmlWindow_AddFilter(*args, **kwargs):
1bd55598
RD
1205 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1206 return _html.HtmlWindow_AddFilter(*args, **kwargs)
e6056257 1207
f20a2e1f 1208def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
1bd55598 1209 """
f20a2e1f
RD
1210 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1211
15817c7e
RD
1212 Get the default attributes for this class. This is useful if you want
1213 to use the same font or colour in your own control as in a standard
1214 control -- which is a much better idea than hard coding specific
a5ee0656
RD
1215 colours or fonts which might look completely out of place on the
1216 user's system, especially if it uses themes.
f20a2e1f
RD
1217
1218 The variant parameter is only relevant under Mac currently and is
15817c7e 1219 ignore under other platforms. Under Mac, it will change the size of
a5ee0656
RD
1220 the returned font. See `wx.Window.SetWindowVariant` for more about
1221 this.
f20a2e1f 1222 """
1bd55598 1223 return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
f20a2e1f 1224
e9d6f3a4
RD
1225def HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs):
1226 """HtmlWindow_GetDefaultHTMLCursor(int type) -> Cursor"""
1227 return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
1228
d14a1e28 1229#---------------------------------------------------------------------------
e6056257 1230
d55e5bfc 1231class HtmlDCRenderer(_core.Object):
36ed4f51 1232 """Proxy of C++ HtmlDCRenderer class"""
1bd55598
RD
1233 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1234 __repr__ = _swig_repr
1235 def __init__(self, *args, **kwargs):
a95a7133 1236 """__init__(self) -> HtmlDCRenderer"""
1bd55598
RD
1237 _html.HtmlDCRenderer_swiginit(self,_html.new_HtmlDCRenderer(*args, **kwargs))
1238 __swig_destroy__ = _html.delete_HtmlDCRenderer
1239 __del__ = lambda self : None;
423f194a 1240 def SetDC(*args, **kwargs):
a95a7133 1241 """SetDC(self, DC dc, int maxwidth)"""
423f194a
RD
1242 return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
1243
1244 def SetSize(*args, **kwargs):
a95a7133 1245 """SetSize(self, int width, int height)"""
423f194a
RD
1246 return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
1247
1248 def SetHtmlText(*args, **kwargs):
a95a7133 1249 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
423f194a
RD
1250 return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
1251
1252 def SetFonts(*args, **kwargs):
a95a7133 1253 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
423f194a
RD
1254 return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
1255
b411df4a
RD
1256 def SetStandardFonts(*args, **kwargs):
1257 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1258 return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
30ee79f7 1259
423f194a 1260 def Render(*args, **kwargs):
41f1cec7 1261 """
704eda0c
RD
1262 Render(self, int x, int y, wxArrayInt known_pagebreaks, int from=0,
1263 int dont_render=False, int to=INT_MAX) -> int
41f1cec7 1264 """
423f194a
RD
1265 return _html.HtmlDCRenderer_Render(*args, **kwargs)
1266
1267 def GetTotalHeight(*args, **kwargs):
a95a7133 1268 """GetTotalHeight(self) -> int"""
423f194a
RD
1269 return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
1270
e70b4d2d 1271 TotalHeight = property(GetTotalHeight,doc="See `GetTotalHeight`")
2131d850 1272_html.HtmlDCRenderer_swigregister(HtmlDCRenderer)
d14a1e28
RD
1273
1274PAGE_ODD = _html.PAGE_ODD
1275PAGE_EVEN = _html.PAGE_EVEN
1276PAGE_ALL = _html.PAGE_ALL
d55e5bfc 1277class HtmlPrintout(_windows.Printout):
36ed4f51 1278 """Proxy of C++ HtmlPrintout class"""
1bd55598
RD
1279 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1280 __repr__ = _swig_repr
1281 def __init__(self, *args, **kwargs):
a95a7133 1282 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1bd55598 1283 _html.HtmlPrintout_swiginit(self,_html.new_HtmlPrintout(*args, **kwargs))
423f194a 1284 def SetHtmlText(*args, **kwargs):
a95a7133 1285 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
423f194a
RD
1286 return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
1287
1288 def SetHtmlFile(*args, **kwargs):
a95a7133 1289 """SetHtmlFile(self, String htmlfile)"""
423f194a
RD
1290 return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
1291
1292 def SetHeader(*args, **kwargs):
a95a7133 1293 """SetHeader(self, String header, int pg=PAGE_ALL)"""
423f194a
RD
1294 return _html.HtmlPrintout_SetHeader(*args, **kwargs)
1295
1296 def SetFooter(*args, **kwargs):
a95a7133 1297 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
423f194a
RD
1298 return _html.HtmlPrintout_SetFooter(*args, **kwargs)
1299
1300 def SetFonts(*args, **kwargs):
a95a7133 1301 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
423f194a
RD
1302 return _html.HtmlPrintout_SetFonts(*args, **kwargs)
1303
b411df4a
RD
1304 def SetStandardFonts(*args, **kwargs):
1305 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1306 return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
30ee79f7 1307
423f194a 1308 def SetMargins(*args, **kwargs):
41f1cec7 1309 """
a95a7133 1310 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
41f1cec7
RD
1311 float right=25.2, float spaces=5)
1312 """
423f194a
RD
1313 return _html.HtmlPrintout_SetMargins(*args, **kwargs)
1314
1315 def AddFilter(*args, **kwargs):
d6c14a4c 1316 """AddFilter(wxHtmlFilter filter)"""
423f194a
RD
1317 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
1318
1319 AddFilter = staticmethod(AddFilter)
1320 def CleanUpStatics(*args, **kwargs):
d6c14a4c 1321 """CleanUpStatics()"""
423f194a
RD
1322 return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
1323
1324 CleanUpStatics = staticmethod(CleanUpStatics)
2131d850 1325_html.HtmlPrintout_swigregister(HtmlPrintout)
e6056257 1326
423f194a 1327def HtmlPrintout_AddFilter(*args, **kwargs):
1bd55598
RD
1328 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1329 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
e6056257 1330
1bd55598
RD
1331def HtmlPrintout_CleanUpStatics(*args):
1332 """HtmlPrintout_CleanUpStatics()"""
1333 return _html.HtmlPrintout_CleanUpStatics(*args)
e6056257 1334
d55e5bfc 1335class HtmlEasyPrinting(_core.Object):
36ed4f51 1336 """Proxy of C++ HtmlEasyPrinting class"""
1bd55598
RD
1337 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1338 __repr__ = _swig_repr
1339 def __init__(self, *args, **kwargs):
a95a7133 1340 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1bd55598
RD
1341 _html.HtmlEasyPrinting_swiginit(self,_html.new_HtmlEasyPrinting(*args, **kwargs))
1342 __swig_destroy__ = _html.delete_HtmlEasyPrinting
1343 __del__ = lambda self : None;
423f194a 1344 def PreviewFile(*args, **kwargs):
a95a7133 1345 """PreviewFile(self, String htmlfile)"""
423f194a
RD
1346 return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs)
1347
1348 def PreviewText(*args, **kwargs):
a95a7133 1349 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
423f194a
RD
1350 return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs)
1351
1352 def PrintFile(*args, **kwargs):
a95a7133 1353 """PrintFile(self, String htmlfile)"""
423f194a
RD
1354 return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs)
1355
1356 def PrintText(*args, **kwargs):
a95a7133 1357 """PrintText(self, String htmltext, String basepath=EmptyString)"""
423f194a
RD
1358 return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
1359
423f194a 1360 def PageSetup(*args, **kwargs):
a95a7133 1361 """PageSetup(self)"""
423f194a
RD
1362 return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
1363
1364 def SetHeader(*args, **kwargs):
a95a7133 1365 """SetHeader(self, String header, int pg=PAGE_ALL)"""
423f194a
RD
1366 return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs)
1367
1368 def SetFooter(*args, **kwargs):
a95a7133 1369 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
423f194a
RD
1370 return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs)
1371
1372 def SetFonts(*args, **kwargs):
a95a7133 1373 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
423f194a
RD
1374 return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
1375
b411df4a
RD
1376 def SetStandardFonts(*args, **kwargs):
1377 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1378 return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
30ee79f7 1379
423f194a 1380 def GetPrintData(*args, **kwargs):
a95a7133 1381 """GetPrintData(self) -> PrintData"""
423f194a
RD
1382 return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs)
1383
1384 def GetPageSetupData(*args, **kwargs):
a95a7133 1385 """GetPageSetupData(self) -> PageSetupDialogData"""
423f194a
RD
1386 return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
1387
e70b4d2d
RD
1388 PageSetupData = property(GetPageSetupData,doc="See `GetPageSetupData`")
1389 PrintData = property(GetPrintData,doc="See `GetPrintData`")
2131d850 1390_html.HtmlEasyPrinting_swigregister(HtmlEasyPrinting)
7108497a 1391
d14a1e28 1392#---------------------------------------------------------------------------
7108497a 1393
d14a1e28 1394class HtmlBookRecord(object):
36ed4f51 1395 """Proxy of C++ HtmlBookRecord class"""
1bd55598
RD
1396 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1397 __repr__ = _swig_repr
1398 def __init__(self, *args, **kwargs):
a95a7133 1399 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1bd55598 1400 _html.HtmlBookRecord_swiginit(self,_html.new_HtmlBookRecord(*args, **kwargs))
423f194a 1401 def GetBookFile(*args, **kwargs):
a95a7133 1402 """GetBookFile(self) -> String"""
423f194a
RD
1403 return _html.HtmlBookRecord_GetBookFile(*args, **kwargs)
1404
1405 def GetTitle(*args, **kwargs):
a95a7133 1406 """GetTitle(self) -> String"""
423f194a
RD
1407 return _html.HtmlBookRecord_GetTitle(*args, **kwargs)
1408
1409 def GetStart(*args, **kwargs):
a95a7133 1410 """GetStart(self) -> String"""
423f194a
RD
1411 return _html.HtmlBookRecord_GetStart(*args, **kwargs)
1412
1413 def GetBasePath(*args, **kwargs):
a95a7133 1414 """GetBasePath(self) -> String"""
423f194a
RD
1415 return _html.HtmlBookRecord_GetBasePath(*args, **kwargs)
1416
1417 def SetContentsRange(*args, **kwargs):
a95a7133 1418 """SetContentsRange(self, int start, int end)"""
423f194a
RD
1419 return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs)
1420
1421 def GetContentsStart(*args, **kwargs):
a95a7133 1422 """GetContentsStart(self) -> int"""
423f194a
RD
1423 return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs)
1424
1425 def GetContentsEnd(*args, **kwargs):
a95a7133 1426 """GetContentsEnd(self) -> int"""
423f194a
RD
1427 return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs)
1428
1429 def SetTitle(*args, **kwargs):
a95a7133 1430 """SetTitle(self, String title)"""
423f194a
RD
1431 return _html.HtmlBookRecord_SetTitle(*args, **kwargs)
1432
1433 def SetBasePath(*args, **kwargs):
a95a7133 1434 """SetBasePath(self, String path)"""
423f194a
RD
1435 return _html.HtmlBookRecord_SetBasePath(*args, **kwargs)
1436
1437 def SetStart(*args, **kwargs):
a95a7133 1438 """SetStart(self, String start)"""
423f194a
RD
1439 return _html.HtmlBookRecord_SetStart(*args, **kwargs)
1440
1441 def GetFullPath(*args, **kwargs):
a95a7133 1442 """GetFullPath(self, String page) -> String"""
423f194a
RD
1443 return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
1444
e70b4d2d
RD
1445 BasePath = property(GetBasePath,SetBasePath,doc="See `GetBasePath` and `SetBasePath`")
1446 BookFile = property(GetBookFile,doc="See `GetBookFile`")
1447 ContentsEnd = property(GetContentsEnd,doc="See `GetContentsEnd`")
1448 ContentsStart = property(GetContentsStart,doc="See `GetContentsStart`")
1449 FullPath = property(GetFullPath,doc="See `GetFullPath`")
1450 Start = property(GetStart,SetStart,doc="See `GetStart` and `SetStart`")
1451 Title = property(GetTitle,SetTitle,doc="See `GetTitle` and `SetTitle`")
2131d850 1452_html.HtmlBookRecord_swigregister(HtmlBookRecord)
d14a1e28 1453
d14a1e28 1454class HtmlSearchStatus(object):
36ed4f51 1455 """Proxy of C++ HtmlSearchStatus class"""
1bd55598
RD
1456 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1457 def __init__(self): raise AttributeError, "No constructor defined"
1458 __repr__ = _swig_repr
423f194a 1459 def Search(*args, **kwargs):
a95a7133 1460 """Search(self) -> bool"""
423f194a
RD
1461 return _html.HtmlSearchStatus_Search(*args, **kwargs)
1462
1463 def IsActive(*args, **kwargs):
a95a7133 1464 """IsActive(self) -> bool"""
423f194a
RD
1465 return _html.HtmlSearchStatus_IsActive(*args, **kwargs)
1466
1467 def GetCurIndex(*args, **kwargs):
a95a7133 1468 """GetCurIndex(self) -> int"""
423f194a
RD
1469 return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs)
1470
1471 def GetMaxIndex(*args, **kwargs):
a95a7133 1472 """GetMaxIndex(self) -> int"""
423f194a
RD
1473 return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs)
1474
1475 def GetName(*args, **kwargs):
a95a7133 1476 """GetName(self) -> String"""
423f194a
RD
1477 return _html.HtmlSearchStatus_GetName(*args, **kwargs)
1478
e70b4d2d
RD
1479 CurIndex = property(GetCurIndex,doc="See `GetCurIndex`")
1480 MaxIndex = property(GetMaxIndex,doc="See `GetMaxIndex`")
1481 Name = property(GetName,doc="See `GetName`")
2131d850 1482_html.HtmlSearchStatus_swigregister(HtmlSearchStatus)
d14a1e28
RD
1483
1484class HtmlHelpData(object):
36ed4f51 1485 """Proxy of C++ HtmlHelpData class"""
1bd55598
RD
1486 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1487 __repr__ = _swig_repr
1488 def __init__(self, *args, **kwargs):
a95a7133 1489 """__init__(self) -> HtmlHelpData"""
1bd55598
RD
1490 _html.HtmlHelpData_swiginit(self,_html.new_HtmlHelpData(*args, **kwargs))
1491 __swig_destroy__ = _html.delete_HtmlHelpData
1492 __del__ = lambda self : None;
423f194a 1493 def SetTempDir(*args, **kwargs):
a95a7133 1494 """SetTempDir(self, String path)"""
423f194a
RD
1495 return _html.HtmlHelpData_SetTempDir(*args, **kwargs)
1496
1497 def AddBook(*args, **kwargs):
a95a7133 1498 """AddBook(self, String book) -> bool"""
423f194a
RD
1499 return _html.HtmlHelpData_AddBook(*args, **kwargs)
1500
1501 def FindPageByName(*args, **kwargs):
a95a7133 1502 """FindPageByName(self, String page) -> String"""
423f194a
RD
1503 return _html.HtmlHelpData_FindPageByName(*args, **kwargs)
1504
1505 def FindPageById(*args, **kwargs):
a95a7133 1506 """FindPageById(self, int id) -> String"""
423f194a
RD
1507 return _html.HtmlHelpData_FindPageById(*args, **kwargs)
1508
1509 def GetBookRecArray(*args, **kwargs):
a95a7133 1510 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
423f194a
RD
1511 return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
1512
e70b4d2d 1513 BookRecArray = property(GetBookRecArray,doc="See `GetBookRecArray`")
2131d850 1514_html.HtmlHelpData_swigregister(HtmlHelpData)
d14a1e28 1515
32fe5131
RD
1516HF_TOOLBAR = _html.HF_TOOLBAR
1517HF_CONTENTS = _html.HF_CONTENTS
1518HF_INDEX = _html.HF_INDEX
1519HF_SEARCH = _html.HF_SEARCH
1520HF_BOOKMARKS = _html.HF_BOOKMARKS
1521HF_OPEN_FILES = _html.HF_OPEN_FILES
1522HF_PRINT = _html.HF_PRINT
1523HF_FLAT_TOOLBAR = _html.HF_FLAT_TOOLBAR
1524HF_MERGE_BOOKS = _html.HF_MERGE_BOOKS
1525HF_ICONS_BOOK = _html.HF_ICONS_BOOK
1526HF_ICONS_BOOK_CHAPTER = _html.HF_ICONS_BOOK_CHAPTER
1527HF_ICONS_FOLDER = _html.HF_ICONS_FOLDER
1528HF_DEFAULT_STYLE = _html.HF_DEFAULT_STYLE
1529HF_EMBEDDED = _html.HF_EMBEDDED
1530HF_DIALOG = _html.HF_DIALOG
1531HF_FRAME = _html.HF_FRAME
1532HF_MODAL = _html.HF_MODAL
1533ID_HTML_PANEL = _html.ID_HTML_PANEL
1534ID_HTML_BACK = _html.ID_HTML_BACK
1535ID_HTML_FORWARD = _html.ID_HTML_FORWARD
1536ID_HTML_UPNODE = _html.ID_HTML_UPNODE
1537ID_HTML_UP = _html.ID_HTML_UP
1538ID_HTML_DOWN = _html.ID_HTML_DOWN
1539ID_HTML_PRINT = _html.ID_HTML_PRINT
1540ID_HTML_OPENFILE = _html.ID_HTML_OPENFILE
1541ID_HTML_OPTIONS = _html.ID_HTML_OPTIONS
1542ID_HTML_BOOKMARKSLIST = _html.ID_HTML_BOOKMARKSLIST
1543ID_HTML_BOOKMARKSADD = _html.ID_HTML_BOOKMARKSADD
1544ID_HTML_BOOKMARKSREMOVE = _html.ID_HTML_BOOKMARKSREMOVE
1545ID_HTML_TREECTRL = _html.ID_HTML_TREECTRL
1546ID_HTML_INDEXPAGE = _html.ID_HTML_INDEXPAGE
1547ID_HTML_INDEXLIST = _html.ID_HTML_INDEXLIST
1548ID_HTML_INDEXTEXT = _html.ID_HTML_INDEXTEXT
1549ID_HTML_INDEXBUTTON = _html.ID_HTML_INDEXBUTTON
1550ID_HTML_INDEXBUTTONALL = _html.ID_HTML_INDEXBUTTONALL
1551ID_HTML_NOTEBOOK = _html.ID_HTML_NOTEBOOK
1552ID_HTML_SEARCHPAGE = _html.ID_HTML_SEARCHPAGE
1553ID_HTML_SEARCHTEXT = _html.ID_HTML_SEARCHTEXT
1554ID_HTML_SEARCHLIST = _html.ID_HTML_SEARCHLIST
1555ID_HTML_SEARCHBUTTON = _html.ID_HTML_SEARCHBUTTON
1556ID_HTML_SEARCHCHOICE = _html.ID_HTML_SEARCHCHOICE
1557ID_HTML_COUNTINFO = _html.ID_HTML_COUNTINFO
1558class HtmlHelpWindow(_core.Window):
1559 """Proxy of C++ HtmlHelpWindow class"""
1bd55598
RD
1560 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1561 __repr__ = _swig_repr
1562 def __init__(self, *args, **kwargs):
41f1cec7 1563 """
1bd55598 1564 __init__(self, Window parent, int ?, Point pos=DefaultPosition, Size size=DefaultSize,
32fe5131
RD
1565 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1566 int helpStyle=HF_DEFAULT_STYLE,
1567 HtmlHelpData data=None) -> HtmlHelpWindow
41f1cec7 1568 """
1bd55598 1569 _html.HtmlHelpWindow_swiginit(self,_html.new_HtmlHelpWindow(*args, **kwargs))
d14a1e28 1570 self._setOORInfo(self)
423f194a 1571
32fe5131
RD
1572 def Create(*args, **kwargs):
1573 """
1574 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1575 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1576 int helpStyle=HF_DEFAULT_STYLE) -> bool
1577 """
1578 return _html.HtmlHelpWindow_Create(*args, **kwargs)
1579
423f194a 1580 def GetData(*args, **kwargs):
a95a7133 1581 """GetData(self) -> HtmlHelpData"""
32fe5131 1582 return _html.HtmlHelpWindow_GetData(*args, **kwargs)
423f194a 1583
32fe5131
RD
1584 def GetController(*args, **kwargs):
1585 """GetController(self) -> HtmlHelpController"""
1586 return _html.HtmlHelpWindow_GetController(*args, **kwargs)
1587
1588 def SetController(*args, **kwargs):
1589 """SetController(self, HtmlHelpController controller)"""
1590 return _html.HtmlHelpWindow_SetController(*args, **kwargs)
423f194a
RD
1591
1592 def Display(*args, **kwargs):
32fe5131
RD
1593 """Display(self, String x) -> bool"""
1594 return _html.HtmlHelpWindow_Display(*args, **kwargs)
423f194a
RD
1595
1596 def DisplayID(*args, **kwargs):
32fe5131
RD
1597 """DisplayID(self, int id) -> bool"""
1598 return _html.HtmlHelpWindow_DisplayID(*args, **kwargs)
423f194a
RD
1599
1600 def DisplayContents(*args, **kwargs):
32fe5131
RD
1601 """DisplayContents(self) -> bool"""
1602 return _html.HtmlHelpWindow_DisplayContents(*args, **kwargs)
423f194a
RD
1603
1604 def DisplayIndex(*args, **kwargs):
32fe5131
RD
1605 """DisplayIndex(self) -> bool"""
1606 return _html.HtmlHelpWindow_DisplayIndex(*args, **kwargs)
423f194a
RD
1607
1608 def KeywordSearch(*args, **kwargs):
32fe5131
RD
1609 """KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1610 return _html.HtmlHelpWindow_KeywordSearch(*args, **kwargs)
423f194a
RD
1611
1612 def UseConfig(*args, **kwargs):
32fe5131
RD
1613 """UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
1614 return _html.HtmlHelpWindow_UseConfig(*args, **kwargs)
423f194a
RD
1615
1616 def ReadCustomization(*args, **kwargs):
32fe5131
RD
1617 """ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1618 return _html.HtmlHelpWindow_ReadCustomization(*args, **kwargs)
423f194a
RD
1619
1620 def WriteCustomization(*args, **kwargs):
32fe5131
RD
1621 """WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1622 return _html.HtmlHelpWindow_WriteCustomization(*args, **kwargs)
1623
1624 def NotifyPageChanged(*args, **kwargs):
1625 """NotifyPageChanged(self)"""
1626 return _html.HtmlHelpWindow_NotifyPageChanged(*args, **kwargs)
1627
1628 def RefreshLists(*args, **kwargs):
1629 """RefreshLists(self)"""
1630 return _html.HtmlHelpWindow_RefreshLists(*args, **kwargs)
1631
1632 def GetHtmlWindow(*args, **kwargs):
1633 """GetHtmlWindow(self) -> wxHtmlWindow"""
1634 return _html.HtmlHelpWindow_GetHtmlWindow(*args, **kwargs)
1635
1636 def GetSplitterWindow(*args, **kwargs):
1637 """GetSplitterWindow(self) -> SplitterWindow"""
1638 return _html.HtmlHelpWindow_GetSplitterWindow(*args, **kwargs)
1639
1640 def GetToolBar(*args, **kwargs):
1641 """GetToolBar(self) -> wxToolBar"""
1642 return _html.HtmlHelpWindow_GetToolBar(*args, **kwargs)
1643
1644 def GetCfgData(*args, **kwargs):
1645 """GetCfgData(self) -> wxHtmlHelpFrameCfg"""
1646 return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
1647
1648 def GetTreeCtrl(*args, **kwargs):
10044bf1 1649 """GetTreeCtrl(self) -> wxPyTreeCtrl"""
32fe5131
RD
1650 return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
1651
e70b4d2d
RD
1652 CfgData = property(GetCfgData,doc="See `GetCfgData`")
1653 Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
1654 Data = property(GetData,doc="See `GetData`")
1655 HtmlWindow = property(GetHtmlWindow,doc="See `GetHtmlWindow`")
1656 SplitterWindow = property(GetSplitterWindow,doc="See `GetSplitterWindow`")
1657 ToolBar = property(GetToolBar,doc="See `GetToolBar`")
1658 TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
2131d850 1659_html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
32fe5131
RD
1660
1661def PreHtmlHelpWindow(*args, **kwargs):
1662 """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
1663 val = _html.new_PreHtmlHelpWindow(*args, **kwargs)
32fe5131
RD
1664 self._setOORInfo(self)
1665 return val
1666
1667class HtmlWindowEvent(_core.NotifyEvent):
1668 """Proxy of C++ HtmlWindowEvent class"""
1bd55598
RD
1669 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1670 __repr__ = _swig_repr
1671 def __init__(self, *args, **kwargs):
2131d850 1672 """__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
1bd55598 1673 _html.HtmlWindowEvent_swiginit(self,_html.new_HtmlWindowEvent(*args, **kwargs))
32fe5131
RD
1674 def SetURL(*args, **kwargs):
1675 """SetURL(self, String url)"""
1676 return _html.HtmlWindowEvent_SetURL(*args, **kwargs)
1677
1678 def GetURL(*args, **kwargs):
1679 """GetURL(self) -> String"""
1680 return _html.HtmlWindowEvent_GetURL(*args, **kwargs)
1681
e70b4d2d 1682 URL = property(GetURL,SetURL,doc="See `GetURL` and `SetURL`")
2131d850 1683_html.HtmlWindowEvent_swigregister(HtmlWindowEvent)
32fe5131
RD
1684
1685class HtmlHelpFrame(_windows.Frame):
1686 """Proxy of C++ HtmlHelpFrame class"""
1bd55598
RD
1687 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1688 __repr__ = _swig_repr
1689 def __init__(self, *args, **kwargs):
32fe5131 1690 """
1bd55598 1691 __init__(self, Window parent, int ?, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
32fe5131
RD
1692 HtmlHelpData data=None) -> HtmlHelpFrame
1693 """
1bd55598 1694 _html.HtmlHelpFrame_swiginit(self,_html.new_HtmlHelpFrame(*args, **kwargs))
32fe5131
RD
1695 self._setOORInfo(self)
1696
1697 def Create(*args, **kwargs):
1698 """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
1699 return _html.HtmlHelpFrame_Create(*args, **kwargs)
1700
1701 def GetData(*args, **kwargs):
1702 """GetData(self) -> HtmlHelpData"""
1703 return _html.HtmlHelpFrame_GetData(*args, **kwargs)
1704
1705 def SetTitleFormat(*args, **kwargs):
1706 """SetTitleFormat(self, String format)"""
1707 return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
1708
1709 def AddGrabIfNeeded(*args, **kwargs):
1710 """AddGrabIfNeeded(self)"""
1711 return _html.HtmlHelpFrame_AddGrabIfNeeded(*args, **kwargs)
1712
1713 def GetController(*args, **kwargs):
1714 """GetController(self) -> HtmlHelpController"""
1715 return _html.HtmlHelpFrame_GetController(*args, **kwargs)
1716
1717 def SetController(*args, **kwargs):
1718 """SetController(self, HtmlHelpController controller)"""
1719 return _html.HtmlHelpFrame_SetController(*args, **kwargs)
1720
1721 def GetHelpWindow(*args, **kwargs):
1722 """GetHelpWindow(self) -> HtmlHelpWindow"""
1723 return _html.HtmlHelpFrame_GetHelpWindow(*args, **kwargs)
1724
1725 # For compatibility from before the refactor
1726 def Display(self, x):
1727 return self.GetHelpWindow().Display(x)
1728 def DisplayID(self, x):
1729 return self.GetHelpWindow().DisplayID(id)
1730 def DisplayContents(self):
1731 return self.GetHelpWindow().DisplayContents()
1732 def DisplayIndex(self):
1733 return self.GetHelpWindow().DisplayIndex()
1734
1735 def KeywordSearch(self, keyword):
1736 return self.GetHelpWindow().KeywordSearch(keyword)
e9d6f3a4 1737
32fe5131
RD
1738 def UseConfig(self, config, rootpath=""):
1739 return self.GetHelpWindow().UseConfig(config, rootpath)
1740 def ReadCustomization(self, config, rootpath=""):
1741 return self.GetHelpWindow().ReadCustomization(config, rootpath)
1742 def WriteCustomization(self, config, rootpath=""):
1743 return self.GetHelpWindow().WriteCustomization(config, rootpath)
423f194a 1744
e70b4d2d
RD
1745 Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
1746 Data = property(GetData,doc="See `GetData`")
1747 HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
2131d850 1748_html.HtmlHelpFrame_swigregister(HtmlHelpFrame)
d14a1e28 1749
32fe5131
RD
1750def PreHtmlHelpFrame(*args, **kwargs):
1751 """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
1752 val = _html.new_PreHtmlHelpFrame(*args, **kwargs)
32fe5131
RD
1753 self._setOORInfo(self)
1754 return val
1755
1756class HtmlHelpDialog(_windows.Dialog):
1757 """Proxy of C++ HtmlHelpDialog class"""
1bd55598
RD
1758 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1759 __repr__ = _swig_repr
1760 def __init__(self, *args, **kwargs):
32fe5131 1761 """
1bd55598 1762 __init__(self, Window parent, int ?, String title=EmptyString, int style=HF_DEFAULT_STYLE,
32fe5131
RD
1763 HtmlHelpData data=None) -> HtmlHelpDialog
1764 """
1bd55598 1765 _html.HtmlHelpDialog_swiginit(self,_html.new_HtmlHelpDialog(*args, **kwargs))
32fe5131
RD
1766 self._setOORInfo(self)
1767
1768 def Create(*args, **kwargs):
1769 """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
1770 return _html.HtmlHelpDialog_Create(*args, **kwargs)
1771
1772 def GetData(*args, **kwargs):
1773 """GetData(self) -> HtmlHelpData"""
1774 return _html.HtmlHelpDialog_GetData(*args, **kwargs)
1775
1776 def GetController(*args, **kwargs):
1777 """GetController(self) -> HtmlHelpController"""
1778 return _html.HtmlHelpDialog_GetController(*args, **kwargs)
1779
1780 def SetController(*args, **kwargs):
1781 """SetController(self, HtmlHelpController controller)"""
1782 return _html.HtmlHelpDialog_SetController(*args, **kwargs)
1783
1784 def GetHelpWindow(*args, **kwargs):
1785 """GetHelpWindow(self) -> HtmlHelpWindow"""
1786 return _html.HtmlHelpDialog_GetHelpWindow(*args, **kwargs)
1787
1788 def SetTitleFormat(*args, **kwargs):
1789 """SetTitleFormat(self, String format)"""
1790 return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs)
1791
e70b4d2d
RD
1792 Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
1793 Data = property(GetData,doc="See `GetData`")
1794 HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
2131d850 1795_html.HtmlHelpDialog_swigregister(HtmlHelpDialog)
32fe5131
RD
1796
1797def PreHtmlHelpDialog(*args, **kwargs):
1798 """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
1799 val = _html.new_PreHtmlHelpDialog(*args, **kwargs)
32fe5131
RD
1800 self._setOORInfo(self)
1801 return val
1802
1803class HelpControllerBase(_core.Object):
1804 """Proxy of C++ HelpControllerBase class"""
1bd55598
RD
1805 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1806 def __init__(self): raise AttributeError, "No constructor defined"
1807 __repr__ = _swig_repr
32fe5131
RD
1808 def Initialize(*args):
1809 """
1810 Initialize(self, String file, int server) -> bool
1811 Initialize(self, String file) -> bool
1812 """
1813 return _html.HelpControllerBase_Initialize(*args)
1814
1815 def SetViewer(*args, **kwargs):
1816 """SetViewer(self, String viewer, long flags=0)"""
1817 return _html.HelpControllerBase_SetViewer(*args, **kwargs)
1818
1819 def LoadFile(*args, **kwargs):
1820 """LoadFile(self, String file=wxEmptyString) -> bool"""
1821 return _html.HelpControllerBase_LoadFile(*args, **kwargs)
1822
1823 def DisplayContents(*args, **kwargs):
1824 """DisplayContents(self) -> bool"""
1825 return _html.HelpControllerBase_DisplayContents(*args, **kwargs)
1826
1827 def DisplayContextPopup(*args, **kwargs):
1828 """DisplayContextPopup(self, int contextId) -> bool"""
1829 return _html.HelpControllerBase_DisplayContextPopup(*args, **kwargs)
1830
1831 def DisplayTextPopup(*args, **kwargs):
1832 """DisplayTextPopup(self, String text, Point pos) -> bool"""
1833 return _html.HelpControllerBase_DisplayTextPopup(*args, **kwargs)
1834
1835 def DisplaySection(*args):
1836 """
1837 DisplaySection(self, int sectionNo) -> bool
1838 DisplaySection(self, String section) -> bool
1839 """
1840 return _html.HelpControllerBase_DisplaySection(*args)
1841
1842 def DisplayBlock(*args, **kwargs):
1843 """DisplayBlock(self, long blockNo) -> bool"""
1844 return _html.HelpControllerBase_DisplayBlock(*args, **kwargs)
1845
1846 def KeywordSearch(*args, **kwargs):
1847 """KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1848 return _html.HelpControllerBase_KeywordSearch(*args, **kwargs)
1849
1850 def SetFrameParameters(*args, **kwargs):
1851 """
1852 SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
1853 bool newFrameEachTime=False)
1854 """
1855 return _html.HelpControllerBase_SetFrameParameters(*args, **kwargs)
1856
1857 def GetFrameParameters(*args, **kwargs):
1858 """GetFrameParameters(self, Size size=None, Point pos=None, bool newFrameEachTime=None) -> Frame"""
1859 return _html.HelpControllerBase_GetFrameParameters(*args, **kwargs)
1860
1861 def Quit(*args, **kwargs):
1862 """Quit(self) -> bool"""
1863 return _html.HelpControllerBase_Quit(*args, **kwargs)
1864
1865 def OnQuit(*args, **kwargs):
1866 """OnQuit(self)"""
1867 return _html.HelpControllerBase_OnQuit(*args, **kwargs)
1868
1869 def SetParentWindow(*args, **kwargs):
1870 """SetParentWindow(self, Window win)"""
1871 return _html.HelpControllerBase_SetParentWindow(*args, **kwargs)
1872
1873 def GetParentWindow(*args, **kwargs):
1874 """GetParentWindow(self) -> Window"""
1875 return _html.HelpControllerBase_GetParentWindow(*args, **kwargs)
1876
e70b4d2d 1877 ParentWindow = property(GetParentWindow,SetParentWindow,doc="See `GetParentWindow` and `SetParentWindow`")
2131d850 1878_html.HelpControllerBase_swigregister(HelpControllerBase)
32fe5131
RD
1879
1880class HtmlHelpController(HelpControllerBase):
36ed4f51 1881 """Proxy of C++ HtmlHelpController class"""
1bd55598
RD
1882 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1883 __repr__ = _swig_repr
1884 def __init__(self, *args, **kwargs):
32fe5131 1885 """__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController"""
1bd55598
RD
1886 _html.HtmlHelpController_swiginit(self,_html.new_HtmlHelpController(*args, **kwargs))
1887 __swig_destroy__ = _html.delete_HtmlHelpController
1888 __del__ = lambda self : None;
32fe5131
RD
1889 def GetHelpWindow(*args, **kwargs):
1890 """GetHelpWindow(self) -> HtmlHelpWindow"""
1891 return _html.HtmlHelpController_GetHelpWindow(*args, **kwargs)
1892
1893 def SetHelpWindow(*args, **kwargs):
1894 """SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
1895 return _html.HtmlHelpController_SetHelpWindow(*args, **kwargs)
1896
1897 def GetFrame(*args, **kwargs):
1898 """GetFrame(self) -> HtmlHelpFrame"""
1899 return _html.HtmlHelpController_GetFrame(*args, **kwargs)
1900
1901 def GetDialog(*args, **kwargs):
1902 """GetDialog(self) -> HtmlHelpDialog"""
1903 return _html.HtmlHelpController_GetDialog(*args, **kwargs)
1904
423f194a 1905 def SetTitleFormat(*args, **kwargs):
a95a7133 1906 """SetTitleFormat(self, String format)"""
423f194a
RD
1907 return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs)
1908
1909 def SetTempDir(*args, **kwargs):
a95a7133 1910 """SetTempDir(self, String path)"""
423f194a
RD
1911 return _html.HtmlHelpController_SetTempDir(*args, **kwargs)
1912
1913 def AddBook(*args, **kwargs):
a95a7133 1914 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
423f194a
RD
1915 return _html.HtmlHelpController_AddBook(*args, **kwargs)
1916
1917 def Display(*args, **kwargs):
a95a7133 1918 """Display(self, String x)"""
423f194a
RD
1919 return _html.HtmlHelpController_Display(*args, **kwargs)
1920
1921 def DisplayID(*args, **kwargs):
a95a7133 1922 """DisplayID(self, int id)"""
423f194a
RD
1923 return _html.HtmlHelpController_DisplayID(*args, **kwargs)
1924
1925 def DisplayContents(*args, **kwargs):
a95a7133 1926 """DisplayContents(self)"""
423f194a
RD
1927 return _html.HtmlHelpController_DisplayContents(*args, **kwargs)
1928
1929 def DisplayIndex(*args, **kwargs):
a95a7133 1930 """DisplayIndex(self)"""
423f194a
RD
1931 return _html.HtmlHelpController_DisplayIndex(*args, **kwargs)
1932
1933 def KeywordSearch(*args, **kwargs):
a95a7133 1934 """KeywordSearch(self, String keyword) -> bool"""
423f194a
RD
1935 return _html.HtmlHelpController_KeywordSearch(*args, **kwargs)
1936
1937 def UseConfig(*args, **kwargs):
a95a7133 1938 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
423f194a
RD
1939 return _html.HtmlHelpController_UseConfig(*args, **kwargs)
1940
1941 def ReadCustomization(*args, **kwargs):
a95a7133 1942 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
423f194a
RD
1943 return _html.HtmlHelpController_ReadCustomization(*args, **kwargs)
1944
1945 def WriteCustomization(*args, **kwargs):
a95a7133 1946 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
423f194a
RD
1947 return _html.HtmlHelpController_WriteCustomization(*args, **kwargs)
1948
32fe5131
RD
1949 def MakeModalIfNeeded(*args, **kwargs):
1950 """MakeModalIfNeeded(self)"""
1951 return _html.HtmlHelpController_MakeModalIfNeeded(*args, **kwargs)
1952
1953 def FindTopLevelWindow(*args, **kwargs):
1954 """FindTopLevelWindow(self) -> Window"""
1955 return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs)
423f194a 1956
e70b4d2d
RD
1957 Dialog = property(GetDialog,doc="See `GetDialog`")
1958 Frame = property(GetFrame,doc="See `GetFrame`")
1959 HelpWindow = property(GetHelpWindow,SetHelpWindow,doc="See `GetHelpWindow` and `SetHelpWindow`")
2131d850 1960_html.HtmlHelpController_swigregister(HtmlHelpController)
e6056257 1961
32fe5131
RD
1962class HtmlModalHelp(object):
1963 """Proxy of C++ HtmlModalHelp class"""
1bd55598
RD
1964 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1965 __repr__ = _swig_repr
1966 def __init__(self, *args, **kwargs):
32fe5131
RD
1967 """
1968 __init__(self, Window parent, String helpFile, String topic=wxEmptyString,
1969 int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
1970 """
1bd55598 1971 _html.HtmlModalHelp_swiginit(self,_html.new_HtmlModalHelp(*args, **kwargs))
2131d850 1972_html.HtmlModalHelp_swigregister(HtmlModalHelp)
32fe5131
RD
1973
1974
e6056257 1975