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