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