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