1 # This file was created automatically by SWIG 1.3.29.
2 # Don't modify this file, modify the SWIG interface instead.
5 Classes for a simple HTML rendering window, HTML Help Window, etc.
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
)
14 if type(value
).__name
__ == 'PySwigObject':
15 self
.__dict
__[name
] = value
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
22 raise AttributeError("You cannot add attributes to %s" % self
)
24 def _swig_setattr(self
,class_type
,name
,value
):
25 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
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
34 try: strthis
= "proxy of " + self
.this
.__repr
__()
36 return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,)
40 _object
= types
.ObjectType
42 except AttributeError:
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"):
54 raise AttributeError("You cannot add attributes to %s" % self
)
61 __docfilter__
= wx
.__DocFilter
(globals())
62 #---------------------------------------------------------------------------
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
)
111 def GetTarget(*args
, **kwargs
):
112 """GetTarget(self) -> String"""
113 return _html
.HtmlLinkInfo_GetTarget(*args
, **kwargs
)
115 def GetEvent(*args
, **kwargs
):
116 """GetEvent(self) -> MouseEvent"""
117 return _html
.HtmlLinkInfo_GetEvent(*args
, **kwargs
)
119 def GetHtmlCell(*args
, **kwargs
):
120 """GetHtmlCell(self) -> HtmlCell"""
121 return _html
.HtmlLinkInfo_GetHtmlCell(*args
, **kwargs
)
123 def SetEvent(*args
, **kwargs
):
124 """SetEvent(self, MouseEvent e)"""
125 return _html
.HtmlLinkInfo_SetEvent(*args
, **kwargs
)
127 def SetHtmlCell(*args
, **kwargs
):
128 """SetHtmlCell(self, HtmlCell e)"""
129 return _html
.HtmlLinkInfo_SetHtmlCell(*args
, **kwargs
)
131 HtmlLinkInfo_swigregister
= _html
.HtmlLinkInfo_swigregister
132 HtmlLinkInfo_swigregister(HtmlLinkInfo
)
134 HtmlWindowNameStr
= cvar
.HtmlWindowNameStr
135 HtmlPrintoutTitleStr
= cvar
.HtmlPrintoutTitleStr
136 HtmlPrintingTitleStr
= cvar
.HtmlPrintingTitleStr
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
)
147 def HasParam(*args
, **kwargs
):
148 """HasParam(self, String par) -> bool"""
149 return _html
.HtmlTag_HasParam(*args
, **kwargs
)
151 def GetParam(*args
, **kwargs
):
152 """GetParam(self, String par, int with_commas=False) -> String"""
153 return _html
.HtmlTag_GetParam(*args
, **kwargs
)
155 def GetAllParams(*args
, **kwargs
):
156 """GetAllParams(self) -> String"""
157 return _html
.HtmlTag_GetAllParams(*args
, **kwargs
)
159 def HasEnding(*args
, **kwargs
):
160 """HasEnding(self) -> bool"""
161 return _html
.HtmlTag_HasEnding(*args
, **kwargs
)
163 def GetBeginPos(*args
, **kwargs
):
164 """GetBeginPos(self) -> int"""
165 return _html
.HtmlTag_GetBeginPos(*args
, **kwargs
)
167 def GetEndPos1(*args
, **kwargs
):
168 """GetEndPos1(self) -> int"""
169 return _html
.HtmlTag_GetEndPos1(*args
, **kwargs
)
171 def GetEndPos2(*args
, **kwargs
):
172 """GetEndPos2(self) -> int"""
173 return _html
.HtmlTag_GetEndPos2(*args
, **kwargs
)
175 HtmlTag_swigregister
= _html
.HtmlTag_swigregister
176 HtmlTag_swigregister(HtmlTag
)
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
)
187 def GetFS(*args
, **kwargs
):
188 """GetFS(self) -> FileSystem"""
189 return _html
.HtmlParser_GetFS(*args
, **kwargs
)
191 def Parse(*args
, **kwargs
):
192 """Parse(self, String source) -> Object"""
193 return _html
.HtmlParser_Parse(*args
, **kwargs
)
195 def InitParser(*args
, **kwargs
):
196 """InitParser(self, String source)"""
197 return _html
.HtmlParser_InitParser(*args
, **kwargs
)
199 def DoneParser(*args
, **kwargs
):
200 """DoneParser(self)"""
201 return _html
.HtmlParser_DoneParser(*args
, **kwargs
)
203 def DoParsing(*args
, **kwargs
):
204 """DoParsing(self, int begin_pos, int end_pos)"""
205 return _html
.HtmlParser_DoParsing(*args
, **kwargs
)
207 def StopParsing(*args
, **kwargs
):
208 """StopParsing(self)"""
209 return _html
.HtmlParser_StopParsing(*args
, **kwargs
)
211 def AddTagHandler(*args
, **kwargs
):
212 """AddTagHandler(self, HtmlTagHandler handler)"""
213 return _html
.HtmlParser_AddTagHandler(*args
, **kwargs
)
215 def GetSource(*args
, **kwargs
):
216 """GetSource(self) -> String"""
217 return _html
.HtmlParser_GetSource(*args
, **kwargs
)
219 def PushTagHandler(*args
, **kwargs
):
220 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
221 return _html
.HtmlParser_PushTagHandler(*args
, **kwargs
)
223 def PopTagHandler(*args
, **kwargs
):
224 """PopTagHandler(self)"""
225 return _html
.HtmlParser_PopTagHandler(*args
, **kwargs
)
227 HtmlParser_swigregister
= _html
.HtmlParser_swigregister
228 HtmlParser_swigregister(HtmlParser
)
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
)
241 def GetDC(*args
, **kwargs
):
242 """GetDC(self) -> DC"""
243 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
245 def GetCharHeight(*args
, **kwargs
):
246 """GetCharHeight(self) -> int"""
247 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
249 def GetCharWidth(*args
, **kwargs
):
250 """GetCharWidth(self) -> int"""
251 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
253 def GetWindow(*args
, **kwargs
):
254 """GetWindow(self) -> HtmlWindow"""
255 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
257 def SetFonts(*args
, **kwargs
):
258 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
259 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
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
)
265 def GetContainer(*args
, **kwargs
):
266 """GetContainer(self) -> HtmlContainerCell"""
267 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
269 def OpenContainer(*args
, **kwargs
):
270 """OpenContainer(self) -> HtmlContainerCell"""
271 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
273 def SetContainer(*args
, **kwargs
):
274 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
275 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
277 def CloseContainer(*args
, **kwargs
):
278 """CloseContainer(self) -> HtmlContainerCell"""
279 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
281 def GetFontSize(*args
, **kwargs
):
282 """GetFontSize(self) -> int"""
283 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
285 def SetFontSize(*args
, **kwargs
):
286 """SetFontSize(self, int s)"""
287 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
289 def GetFontBold(*args
, **kwargs
):
290 """GetFontBold(self) -> int"""
291 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
293 def SetFontBold(*args
, **kwargs
):
294 """SetFontBold(self, int x)"""
295 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
297 def GetFontItalic(*args
, **kwargs
):
298 """GetFontItalic(self) -> int"""
299 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
301 def SetFontItalic(*args
, **kwargs
):
302 """SetFontItalic(self, int x)"""
303 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
305 def GetFontUnderlined(*args
, **kwargs
):
306 """GetFontUnderlined(self) -> int"""
307 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
309 def SetFontUnderlined(*args
, **kwargs
):
310 """SetFontUnderlined(self, int x)"""
311 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
313 def GetFontFixed(*args
, **kwargs
):
314 """GetFontFixed(self) -> int"""
315 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
317 def SetFontFixed(*args
, **kwargs
):
318 """SetFontFixed(self, int x)"""
319 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
321 def GetAlign(*args
, **kwargs
):
322 """GetAlign(self) -> int"""
323 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
325 def SetAlign(*args
, **kwargs
):
326 """SetAlign(self, int a)"""
327 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
329 def GetLinkColor(*args
, **kwargs
):
330 """GetLinkColor(self) -> Colour"""
331 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
333 def SetLinkColor(*args
, **kwargs
):
334 """SetLinkColor(self, Colour clr)"""
335 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
337 def GetActualColor(*args
, **kwargs
):
338 """GetActualColor(self) -> Colour"""
339 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
341 def SetActualColor(*args
, **kwargs
):
342 """SetActualColor(self, Colour clr)"""
343 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
345 GetActualColour
= GetActualColor
346 SetActualColour
= SetActualColor
348 def SetLink(*args
, **kwargs
):
349 """SetLink(self, String link)"""
350 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
352 def CreateCurrentFont(*args
, **kwargs
):
353 """CreateCurrentFont(self) -> Font"""
354 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
356 def GetLink(*args
, **kwargs
):
357 """GetLink(self) -> HtmlLinkInfo"""
358 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
360 HtmlWinParser_swigregister
= _html
.HtmlWinParser_swigregister
361 HtmlWinParser_swigregister(HtmlWinParser
)
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
)
372 def _setCallbackInfo(*args
, **kwargs
):
373 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
374 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
376 def SetParser(*args
, **kwargs
):
377 """SetParser(self, HtmlParser parser)"""
378 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
380 def GetParser(*args
, **kwargs
):
381 """GetParser(self) -> HtmlParser"""
382 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
384 def ParseInner(*args
, **kwargs
):
385 """ParseInner(self, HtmlTag tag)"""
386 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
388 HtmlTagHandler_swigregister
= _html
.HtmlTagHandler_swigregister
389 HtmlTagHandler_swigregister(HtmlTagHandler
)
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
)
400 def _setCallbackInfo(*args
, **kwargs
):
401 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
402 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
404 def SetParser(*args
, **kwargs
):
405 """SetParser(self, HtmlParser parser)"""
406 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
408 def GetParser(*args
, **kwargs
):
409 """GetParser(self) -> HtmlWinParser"""
410 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
412 def ParseInner(*args
, **kwargs
):
413 """ParseInner(self, HtmlTag tag)"""
414 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
416 HtmlWinTagHandler_swigregister
= _html
.HtmlWinTagHandler_swigregister
417 HtmlWinTagHandler_swigregister(HtmlWinTagHandler
)
420 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
421 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
422 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
423 #---------------------------------------------------------------------------
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
)
438 def SetCells(*args
, **kwargs
):
439 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
440 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
442 def GetFromCell(*args
, **kwargs
):
443 """GetFromCell(self) -> HtmlCell"""
444 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
446 def GetToCell(*args
, **kwargs
):
447 """GetToCell(self) -> HtmlCell"""
448 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
450 def GetFromPos(*args
, **kwargs
):
451 """GetFromPos(self) -> Point"""
452 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
454 def GetToPos(*args
, **kwargs
):
455 """GetToPos(self) -> Point"""
456 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
458 def GetFromPrivPos(*args
, **kwargs
):
459 """GetFromPrivPos(self) -> Point"""
460 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
462 def GetToPrivPos(*args
, **kwargs
):
463 """GetToPrivPos(self) -> Point"""
464 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
466 def SetFromPrivPos(*args
, **kwargs
):
467 """SetFromPrivPos(self, Point pos)"""
468 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
470 def SetToPrivPos(*args
, **kwargs
):
471 """SetToPrivPos(self, Point pos)"""
472 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
474 def ClearPrivPos(*args
, **kwargs
):
475 """ClearPrivPos(self)"""
476 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
478 def IsEmpty(*args
, **kwargs
):
479 """IsEmpty(self) -> bool"""
480 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
482 HtmlSelection_swigregister
= _html
.HtmlSelection_swigregister
483 HtmlSelection_swigregister(HtmlSelection
)
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
)
501 def GetSelectionState(*args
, **kwargs
):
502 """GetSelectionState(self) -> int"""
503 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
505 def SetFgColour(*args
, **kwargs
):
506 """SetFgColour(self, Colour c)"""
507 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
509 def GetFgColour(*args
, **kwargs
):
510 """GetFgColour(self) -> Colour"""
511 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
513 def SetBgColour(*args
, **kwargs
):
514 """SetBgColour(self, Colour c)"""
515 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
517 def GetBgColour(*args
, **kwargs
):
518 """GetBgColour(self) -> Colour"""
519 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
521 HtmlRenderingState_swigregister
= _html
.HtmlRenderingState_swigregister
522 HtmlRenderingState_swigregister(HtmlRenderingState
)
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
)
533 def GetSelectedTextBgColour(*args
, **kwargs
):
534 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
535 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
537 HtmlRenderingStyle_swigregister
= _html
.HtmlRenderingStyle_swigregister
538 HtmlRenderingStyle_swigregister(HtmlRenderingStyle
)
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
)
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
)
561 def GetSelection(*args
, **kwargs
):
562 """GetSelection(self) -> HtmlSelection"""
563 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
565 def SetStyle(*args
, **kwargs
):
566 """SetStyle(self, HtmlRenderingStyle style)"""
567 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
569 def GetStyle(*args
, **kwargs
):
570 """GetStyle(self) -> HtmlRenderingStyle"""
571 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
573 def GetState(*args
, **kwargs
):
574 """GetState(self) -> HtmlRenderingState"""
575 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
577 HtmlRenderingInfo_swigregister
= _html
.HtmlRenderingInfo_swigregister
578 HtmlRenderingInfo_swigregister(HtmlRenderingInfo
)
580 #---------------------------------------------------------------------------
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
)
598 def GetPosY(*args
, **kwargs
):
599 """GetPosY(self) -> int"""
600 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
602 def GetWidth(*args
, **kwargs
):
603 """GetWidth(self) -> int"""
604 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
606 def GetHeight(*args
, **kwargs
):
607 """GetHeight(self) -> int"""
608 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
610 def GetDescent(*args
, **kwargs
):
611 """GetDescent(self) -> int"""
612 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
614 def GetMaxTotalWidth(*args
, **kwargs
):
615 """GetMaxTotalWidth(self) -> int"""
616 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
618 def GetId(*args
, **kwargs
):
619 """GetId(self) -> String"""
620 return _html
.HtmlCell_GetId(*args
, **kwargs
)
622 def SetId(*args
, **kwargs
):
623 """SetId(self, String id)"""
624 return _html
.HtmlCell_SetId(*args
, **kwargs
)
626 def GetLink(*args
, **kwargs
):
627 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
628 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
630 def GetNext(*args
, **kwargs
):
631 """GetNext(self) -> HtmlCell"""
632 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
634 def GetParent(*args
, **kwargs
):
635 """GetParent(self) -> HtmlContainerCell"""
636 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
638 def GetFirstChild(*args
, **kwargs
):
639 """GetFirstChild(self) -> HtmlCell"""
640 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
642 def GetCursor(*args
, **kwargs
):
643 """GetCursor(self) -> Cursor"""
644 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
646 def IsFormattingCell(*args
, **kwargs
):
647 """IsFormattingCell(self) -> bool"""
648 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
650 def SetLink(*args
, **kwargs
):
651 """SetLink(self, HtmlLinkInfo link)"""
652 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
654 def SetNext(*args
, **kwargs
):
655 """SetNext(self, HtmlCell cell)"""
656 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
658 def SetParent(*args
, **kwargs
):
659 """SetParent(self, HtmlContainerCell p)"""
660 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
662 def SetPos(*args
, **kwargs
):
663 """SetPos(self, int x, int y)"""
664 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
666 def Layout(*args
, **kwargs
):
667 """Layout(self, int w)"""
668 return _html
.HtmlCell_Layout(*args
, **kwargs
)
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
)
674 def DrawInvisible(*args
, **kwargs
):
675 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
676 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
678 def Find(*args
, **kwargs
):
679 """Find(self, int condition, void param) -> HtmlCell"""
680 return _html
.HtmlCell_Find(*args
, **kwargs
)
682 def AdjustPagebreak(*args
, **kwargs
):
683 """AdjustPagebreak(self, int INOUT) -> bool"""
684 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
686 def SetCanLiveOnPagebreak(*args
, **kwargs
):
687 """SetCanLiveOnPagebreak(self, bool can)"""
688 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
690 def IsLinebreakAllowed(*args
, **kwargs
):
691 """IsLinebreakAllowed(self) -> bool"""
692 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
694 def IsTerminalCell(*args
, **kwargs
):
695 """IsTerminalCell(self) -> bool"""
696 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
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
)
702 def GetAbsPos(*args
, **kwargs
):
703 """GetAbsPos(self) -> Point"""
704 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
706 def GetFirstTerminal(*args
, **kwargs
):
707 """GetFirstTerminal(self) -> HtmlCell"""
708 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
710 def GetLastTerminal(*args
, **kwargs
):
711 """GetLastTerminal(self) -> HtmlCell"""
712 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
714 def GetDepth(*args
, **kwargs
):
715 """GetDepth(self) -> unsigned int"""
716 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
718 def IsBefore(*args
, **kwargs
):
719 """IsBefore(self, HtmlCell cell) -> bool"""
720 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
722 def ConvertToText(*args
, **kwargs
):
723 """ConvertToText(self, HtmlSelection sel) -> String"""
724 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
726 HtmlCell_swigregister
= _html
.HtmlCell_swigregister
727 HtmlCell_swigregister(HtmlCell
)
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
)
740 def IsLinebreakAllowed(*args
, **kwargs
):
741 """IsLinebreakAllowed(self) -> bool"""
742 return _html
.HtmlWordCell_IsLinebreakAllowed(*args
, **kwargs
)
744 def SetPreviousWord(*args
, **kwargs
):
745 """SetPreviousWord(self, HtmlWordCell cell)"""
746 return _html
.HtmlWordCell_SetPreviousWord(*args
, **kwargs
)
748 HtmlWordCell_swigregister
= _html
.HtmlWordCell_swigregister
749 HtmlWordCell_swigregister(HtmlWordCell
)
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
)
762 def SetAlignHor(*args
, **kwargs
):
763 """SetAlignHor(self, int al)"""
764 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
766 def GetAlignHor(*args
, **kwargs
):
767 """GetAlignHor(self) -> int"""
768 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
770 def SetAlignVer(*args
, **kwargs
):
771 """SetAlignVer(self, int al)"""
772 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
774 def GetAlignVer(*args
, **kwargs
):
775 """GetAlignVer(self) -> int"""
776 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
778 def SetIndent(*args
, **kwargs
):
779 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
780 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
782 def GetIndent(*args
, **kwargs
):
783 """GetIndent(self, int ind) -> int"""
784 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
786 def GetIndentUnits(*args
, **kwargs
):
787 """GetIndentUnits(self, int ind) -> int"""
788 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
790 def SetAlign(*args
, **kwargs
):
791 """SetAlign(self, HtmlTag tag)"""
792 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
794 def SetWidthFloat(*args
, **kwargs
):
795 """SetWidthFloat(self, int w, int units)"""
796 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
798 def SetWidthFloatFromTag(*args
, **kwargs
):
799 """SetWidthFloatFromTag(self, HtmlTag tag)"""
800 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
802 def SetMinHeight(*args
, **kwargs
):
803 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
804 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
806 def SetBackgroundColour(*args
, **kwargs
):
807 """SetBackgroundColour(self, Colour clr)"""
808 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
810 def GetBackgroundColour(*args
, **kwargs
):
811 """GetBackgroundColour(self) -> Colour"""
812 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
814 def SetBorder(*args
, **kwargs
):
815 """SetBorder(self, Colour clr1, Colour clr2)"""
816 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
818 def GetFirstChild(*args
, **kwargs
):
819 """GetFirstChild(self) -> HtmlCell"""
820 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
822 HtmlContainerCell_swigregister
= _html
.HtmlContainerCell_swigregister
823 HtmlContainerCell_swigregister(HtmlContainerCell
)
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
)
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
)
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
)
855 #---------------------------------------------------------------------------
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
)
866 def _setCallbackInfo(*args
, **kwargs
):
867 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
868 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
870 HtmlFilter_swigregister
= _html
.HtmlFilter_swigregister
871 HtmlFilter_swigregister(HtmlFilter
)
873 #---------------------------------------------------------------------------
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
):
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
885 _html
.HtmlWindow_swiginit(self
,_html
.new_HtmlWindow(*args
, **kwargs
))
886 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
888 def Create(*args
, **kwargs
):
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
894 return _html
.HtmlWindow_Create(*args
, **kwargs
)
896 def _setCallbackInfo(*args
, **kwargs
):
897 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
898 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
900 def SetPage(*args
, **kwargs
):
901 """SetPage(self, String source) -> bool"""
902 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
904 def LoadPage(*args
, **kwargs
):
905 """LoadPage(self, String location) -> bool"""
906 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
908 def LoadFile(*args
, **kwargs
):
909 """LoadFile(self, String filename) -> bool"""
910 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
912 def AppendToPage(*args
, **kwargs
):
913 """AppendToPage(self, String source) -> bool"""
914 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
916 def GetOpenedPage(*args
, **kwargs
):
917 """GetOpenedPage(self) -> String"""
918 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
920 def GetOpenedAnchor(*args
, **kwargs
):
921 """GetOpenedAnchor(self) -> String"""
922 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
924 def GetOpenedPageTitle(*args
, **kwargs
):
925 """GetOpenedPageTitle(self) -> String"""
926 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
928 def SetRelatedFrame(*args
, **kwargs
):
929 """SetRelatedFrame(self, Frame frame, String format)"""
930 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
932 def GetRelatedFrame(*args
, **kwargs
):
933 """GetRelatedFrame(self) -> Frame"""
934 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
936 def SetRelatedStatusBar(*args
, **kwargs
):
937 """SetRelatedStatusBar(self, int bar)"""
938 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
940 def SetFonts(*args
, **kwargs
):
941 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
942 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
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
)
948 def SetBorders(*args
, **kwargs
):
949 """SetBorders(self, int b)"""
950 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
952 def SetBackgroundImage(*args
, **kwargs
):
953 """SetBackgroundImage(self, Bitmap bmpBg)"""
954 return _html
.HtmlWindow_SetBackgroundImage(*args
, **kwargs
)
956 def ReadCustomization(*args
, **kwargs
):
957 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
958 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
960 def WriteCustomization(*args
, **kwargs
):
961 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
962 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
964 def HistoryBack(*args
, **kwargs
):
965 """HistoryBack(self) -> bool"""
966 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
968 def HistoryForward(*args
, **kwargs
):
969 """HistoryForward(self) -> bool"""
970 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
972 def HistoryCanBack(*args
, **kwargs
):
973 """HistoryCanBack(self) -> bool"""
974 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
976 def HistoryCanForward(*args
, **kwargs
):
977 """HistoryCanForward(self) -> bool"""
978 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
980 def HistoryClear(*args
, **kwargs
):
981 """HistoryClear(self)"""
982 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
984 def GetInternalRepresentation(*args
, **kwargs
):
985 """GetInternalRepresentation(self) -> HtmlContainerCell"""
986 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
988 def GetParser(*args
, **kwargs
):
989 """GetParser(self) -> HtmlWinParser"""
990 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
992 def ScrollToAnchor(*args
, **kwargs
):
993 """ScrollToAnchor(self, String anchor) -> bool"""
994 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
996 def HasAnchor(*args
, **kwargs
):
997 """HasAnchor(self, String anchor) -> bool"""
998 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1000 def AddFilter(*args
, **kwargs
):
1001 """AddFilter(HtmlFilter filter)"""
1002 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1004 AddFilter
= staticmethod(AddFilter
)
1005 def SelectWord(*args
, **kwargs
):
1006 """SelectWord(self, Point pos)"""
1007 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1009 def SelectLine(*args
, **kwargs
):
1010 """SelectLine(self, Point pos)"""
1011 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1013 def SelectAll(*args
, **kwargs
):
1014 """SelectAll(self)"""
1015 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1017 def SelectionToText(*args
, **kwargs
):
1018 """SelectionToText(self) -> String"""
1019 return _html
.HtmlWindow_SelectionToText(*args
, **kwargs
)
1021 def ToText(*args
, **kwargs
):
1022 """ToText(self) -> String"""
1023 return _html
.HtmlWindow_ToText(*args
, **kwargs
)
1025 def OnLinkClicked(*args
, **kwargs
):
1026 """OnLinkClicked(self, HtmlLinkInfo link)"""
1027 return _html
.HtmlWindow_OnLinkClicked(*args
, **kwargs
)
1029 def OnSetTitle(*args
, **kwargs
):
1030 """OnSetTitle(self, String title)"""
1031 return _html
.HtmlWindow_OnSetTitle(*args
, **kwargs
)
1033 def OnCellMouseHover(*args
, **kwargs
):
1034 """OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1035 return _html
.HtmlWindow_OnCellMouseHover(*args
, **kwargs
)
1037 def OnCellClicked(*args
, **kwargs
):
1038 """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
1039 return _html
.HtmlWindow_OnCellClicked(*args
, **kwargs
)
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.")
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.")
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.")
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.")
1061 def GetClassDefaultAttributes(*args
, **kwargs
):
1063 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
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.
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
1076 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1078 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1079 HtmlWindow_swigregister
= _html
.HtmlWindow_swigregister
1080 HtmlWindow_swigregister(HtmlWindow
)
1082 def PreHtmlWindow(*args
, **kwargs
):
1083 """PreHtmlWindow() -> HtmlWindow"""
1084 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1087 def HtmlWindow_AddFilter(*args
, **kwargs
):
1088 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1089 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1091 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1093 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
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.
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
1106 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1108 #---------------------------------------------------------------------------
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
)
1123 def SetSize(*args
, **kwargs
):
1124 """SetSize(self, int width, int height)"""
1125 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1127 def SetHtmlText(*args
, **kwargs
):
1128 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1129 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1131 def SetFonts(*args
, **kwargs
):
1132 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1133 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
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
)
1139 def Render(*args
, **kwargs
):
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
1144 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1146 def GetTotalHeight(*args
, **kwargs
):
1147 """GetTotalHeight(self) -> int"""
1148 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1150 HtmlDCRenderer_swigregister
= _html
.HtmlDCRenderer_swigregister
1151 HtmlDCRenderer_swigregister(HtmlDCRenderer
)
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
)
1167 def SetHtmlFile(*args
, **kwargs
):
1168 """SetHtmlFile(self, String htmlfile)"""
1169 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1171 def SetHeader(*args
, **kwargs
):
1172 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1173 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1175 def SetFooter(*args
, **kwargs
):
1176 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1177 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1179 def SetFonts(*args
, **kwargs
):
1180 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1181 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
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
)
1187 def SetMargins(*args
, **kwargs
):
1189 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1190 float right=25.2, float spaces=5)
1192 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1194 def AddFilter(*args
, **kwargs
):
1195 """AddFilter(wxHtmlFilter filter)"""
1196 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1198 AddFilter
= staticmethod(AddFilter
)
1199 def CleanUpStatics(*args
, **kwargs
):
1200 """CleanUpStatics()"""
1201 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1203 CleanUpStatics
= staticmethod(CleanUpStatics
)
1204 HtmlPrintout_swigregister
= _html
.HtmlPrintout_swigregister
1205 HtmlPrintout_swigregister(HtmlPrintout
)
1207 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1208 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1209 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1211 def HtmlPrintout_CleanUpStatics(*args
):
1212 """HtmlPrintout_CleanUpStatics()"""
1213 return _html
.HtmlPrintout_CleanUpStatics(*args
)
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
)
1228 def PreviewText(*args
, **kwargs
):
1229 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1230 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1232 def PrintFile(*args
, **kwargs
):
1233 """PrintFile(self, String htmlfile)"""
1234 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1236 def PrintText(*args
, **kwargs
):
1237 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1238 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1240 def PageSetup(*args
, **kwargs
):
1241 """PageSetup(self)"""
1242 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1244 def SetHeader(*args
, **kwargs
):
1245 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1246 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1248 def SetFooter(*args
, **kwargs
):
1249 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1250 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1252 def SetFonts(*args
, **kwargs
):
1253 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1254 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
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
)
1260 def GetPrintData(*args
, **kwargs
):
1261 """GetPrintData(self) -> PrintData"""
1262 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1264 def GetPageSetupData(*args
, **kwargs
):
1265 """GetPageSetupData(self) -> PageSetupDialogData"""
1266 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1268 HtmlEasyPrinting_swigregister
= _html
.HtmlEasyPrinting_swigregister
1269 HtmlEasyPrinting_swigregister(HtmlEasyPrinting
)
1271 #---------------------------------------------------------------------------
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
)
1284 def GetTitle(*args
, **kwargs
):
1285 """GetTitle(self) -> String"""
1286 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1288 def GetStart(*args
, **kwargs
):
1289 """GetStart(self) -> String"""
1290 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1292 def GetBasePath(*args
, **kwargs
):
1293 """GetBasePath(self) -> String"""
1294 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1296 def SetContentsRange(*args
, **kwargs
):
1297 """SetContentsRange(self, int start, int end)"""
1298 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1300 def GetContentsStart(*args
, **kwargs
):
1301 """GetContentsStart(self) -> int"""
1302 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1304 def GetContentsEnd(*args
, **kwargs
):
1305 """GetContentsEnd(self) -> int"""
1306 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1308 def SetTitle(*args
, **kwargs
):
1309 """SetTitle(self, String title)"""
1310 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1312 def SetBasePath(*args
, **kwargs
):
1313 """SetBasePath(self, String path)"""
1314 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1316 def SetStart(*args
, **kwargs
):
1317 """SetStart(self, String start)"""
1318 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1320 def GetFullPath(*args
, **kwargs
):
1321 """GetFullPath(self, String page) -> String"""
1322 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1324 HtmlBookRecord_swigregister
= _html
.HtmlBookRecord_swigregister
1325 HtmlBookRecord_swigregister(HtmlBookRecord
)
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
)
1336 def IsActive(*args
, **kwargs
):
1337 """IsActive(self) -> bool"""
1338 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1340 def GetCurIndex(*args
, **kwargs
):
1341 """GetCurIndex(self) -> int"""
1342 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1344 def GetMaxIndex(*args
, **kwargs
):
1345 """GetMaxIndex(self) -> int"""
1346 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1348 def GetName(*args
, **kwargs
):
1349 """GetName(self) -> String"""
1350 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1352 HtmlSearchStatus_swigregister
= _html
.HtmlSearchStatus_swigregister
1353 HtmlSearchStatus_swigregister(HtmlSearchStatus
)
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
)
1368 def AddBook(*args
, **kwargs
):
1369 """AddBook(self, String book) -> bool"""
1370 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1372 def FindPageByName(*args
, **kwargs
):
1373 """FindPageByName(self, String page) -> String"""
1374 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1376 def FindPageById(*args
, **kwargs
):
1377 """FindPageById(self, int id) -> String"""
1378 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1380 def GetBookRecArray(*args
, **kwargs
):
1381 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1382 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1384 HtmlHelpData_swigregister
= _html
.HtmlHelpData_swigregister
1385 HtmlHelpData_swigregister(HtmlHelpData
)
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
):
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
1440 _html
.HtmlHelpWindow_swiginit(self
,_html
.new_HtmlHelpWindow(*args
, **kwargs
))
1441 self
._setOORInfo
(self
)
1443 def Create(*args
, **kwargs
):
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
1449 return _html
.HtmlHelpWindow_Create(*args
, **kwargs
)
1451 def GetData(*args
, **kwargs
):
1452 """GetData(self) -> HtmlHelpData"""
1453 return _html
.HtmlHelpWindow_GetData(*args
, **kwargs
)
1455 def GetController(*args
, **kwargs
):
1456 """GetController(self) -> HtmlHelpController"""
1457 return _html
.HtmlHelpWindow_GetController(*args
, **kwargs
)
1459 def SetController(*args
, **kwargs
):
1460 """SetController(self, HtmlHelpController controller)"""
1461 return _html
.HtmlHelpWindow_SetController(*args
, **kwargs
)
1463 def Display(*args
, **kwargs
):
1464 """Display(self, String x) -> bool"""
1465 return _html
.HtmlHelpWindow_Display(*args
, **kwargs
)
1467 def DisplayID(*args
, **kwargs
):
1468 """DisplayID(self, int id) -> bool"""
1469 return _html
.HtmlHelpWindow_DisplayID(*args
, **kwargs
)
1471 def DisplayContents(*args
, **kwargs
):
1472 """DisplayContents(self) -> bool"""
1473 return _html
.HtmlHelpWindow_DisplayContents(*args
, **kwargs
)
1475 def DisplayIndex(*args
, **kwargs
):
1476 """DisplayIndex(self) -> bool"""
1477 return _html
.HtmlHelpWindow_DisplayIndex(*args
, **kwargs
)
1479 def KeywordSearch(*args
, **kwargs
):
1480 """KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1481 return _html
.HtmlHelpWindow_KeywordSearch(*args
, **kwargs
)
1483 def UseConfig(*args
, **kwargs
):
1484 """UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
1485 return _html
.HtmlHelpWindow_UseConfig(*args
, **kwargs
)
1487 def ReadCustomization(*args
, **kwargs
):
1488 """ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1489 return _html
.HtmlHelpWindow_ReadCustomization(*args
, **kwargs
)
1491 def WriteCustomization(*args
, **kwargs
):
1492 """WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1493 return _html
.HtmlHelpWindow_WriteCustomization(*args
, **kwargs
)
1495 def NotifyPageChanged(*args
, **kwargs
):
1496 """NotifyPageChanged(self)"""
1497 return _html
.HtmlHelpWindow_NotifyPageChanged(*args
, **kwargs
)
1499 def RefreshLists(*args
, **kwargs
):
1500 """RefreshLists(self)"""
1501 return _html
.HtmlHelpWindow_RefreshLists(*args
, **kwargs
)
1503 def GetHtmlWindow(*args
, **kwargs
):
1504 """GetHtmlWindow(self) -> wxHtmlWindow"""
1505 return _html
.HtmlHelpWindow_GetHtmlWindow(*args
, **kwargs
)
1507 def GetSplitterWindow(*args
, **kwargs
):
1508 """GetSplitterWindow(self) -> SplitterWindow"""
1509 return _html
.HtmlHelpWindow_GetSplitterWindow(*args
, **kwargs
)
1511 def GetToolBar(*args
, **kwargs
):
1512 """GetToolBar(self) -> wxToolBar"""
1513 return _html
.HtmlHelpWindow_GetToolBar(*args
, **kwargs
)
1515 def GetCfgData(*args
, **kwargs
):
1516 """GetCfgData(self) -> wxHtmlHelpFrameCfg"""
1517 return _html
.HtmlHelpWindow_GetCfgData(*args
, **kwargs
)
1519 def GetTreeCtrl(*args
, **kwargs
):
1520 """GetTreeCtrl(self) -> wxTreeCtrl"""
1521 return _html
.HtmlHelpWindow_GetTreeCtrl(*args
, **kwargs
)
1523 HtmlHelpWindow_swigregister
= _html
.HtmlHelpWindow_swigregister
1524 HtmlHelpWindow_swigregister(HtmlHelpWindow
)
1526 def PreHtmlHelpWindow(*args
, **kwargs
):
1527 """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
1528 val
= _html
.new_PreHtmlHelpWindow(*args
, **kwargs
)
1529 self
._setOORInfo
(self
)
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
)
1543 def GetURL(*args
, **kwargs
):
1544 """GetURL(self) -> String"""
1545 return _html
.HtmlWindowEvent_GetURL(*args
, **kwargs
)
1547 HtmlWindowEvent_swigregister
= _html
.HtmlWindowEvent_swigregister
1548 HtmlWindowEvent_swigregister(HtmlWindowEvent
)
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
):
1556 __init__(self, Window parent, int ?, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
1557 HtmlHelpData data=None) -> HtmlHelpFrame
1559 _html
.HtmlHelpFrame_swiginit(self
,_html
.new_HtmlHelpFrame(*args
, **kwargs
))
1560 self
._setOORInfo
(self
)
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
)
1566 def GetData(*args
, **kwargs
):
1567 """GetData(self) -> HtmlHelpData"""
1568 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1570 def SetTitleFormat(*args
, **kwargs
):
1571 """SetTitleFormat(self, String format)"""
1572 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1574 def AddGrabIfNeeded(*args
, **kwargs
):
1575 """AddGrabIfNeeded(self)"""
1576 return _html
.HtmlHelpFrame_AddGrabIfNeeded(*args
, **kwargs
)
1578 def GetController(*args
, **kwargs
):
1579 """GetController(self) -> HtmlHelpController"""
1580 return _html
.HtmlHelpFrame_GetController(*args
, **kwargs
)
1582 def SetController(*args
, **kwargs
):
1583 """SetController(self, HtmlHelpController controller)"""
1584 return _html
.HtmlHelpFrame_SetController(*args
, **kwargs
)
1586 def GetHelpWindow(*args
, **kwargs
):
1587 """GetHelpWindow(self) -> HtmlHelpWindow"""
1588 return _html
.HtmlHelpFrame_GetHelpWindow(*args
, **kwargs
)
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()
1600 def KeywordSearch(self
, keyword
):
1601 return self
.GetHelpWindow().KeywordSearch(keyword
)
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
)
1610 HtmlHelpFrame_swigregister
= _html
.HtmlHelpFrame_swigregister
1611 HtmlHelpFrame_swigregister(HtmlHelpFrame
)
1613 def PreHtmlHelpFrame(*args
, **kwargs
):
1614 """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
1615 val
= _html
.new_PreHtmlHelpFrame(*args
, **kwargs
)
1616 self
._setOORInfo
(self
)
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
):
1625 __init__(self, Window parent, int ?, String title=EmptyString, int style=HF_DEFAULT_STYLE,
1626 HtmlHelpData data=None) -> HtmlHelpDialog
1628 _html
.HtmlHelpDialog_swiginit(self
,_html
.new_HtmlHelpDialog(*args
, **kwargs
))
1629 self
._setOORInfo
(self
)
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
)
1635 def GetData(*args
, **kwargs
):
1636 """GetData(self) -> HtmlHelpData"""
1637 return _html
.HtmlHelpDialog_GetData(*args
, **kwargs
)
1639 def GetController(*args
, **kwargs
):
1640 """GetController(self) -> HtmlHelpController"""
1641 return _html
.HtmlHelpDialog_GetController(*args
, **kwargs
)
1643 def SetController(*args
, **kwargs
):
1644 """SetController(self, HtmlHelpController controller)"""
1645 return _html
.HtmlHelpDialog_SetController(*args
, **kwargs
)
1647 def GetHelpWindow(*args
, **kwargs
):
1648 """GetHelpWindow(self) -> HtmlHelpWindow"""
1649 return _html
.HtmlHelpDialog_GetHelpWindow(*args
, **kwargs
)
1651 def SetTitleFormat(*args
, **kwargs
):
1652 """SetTitleFormat(self, String format)"""
1653 return _html
.HtmlHelpDialog_SetTitleFormat(*args
, **kwargs
)
1655 HtmlHelpDialog_swigregister
= _html
.HtmlHelpDialog_swigregister
1656 HtmlHelpDialog_swigregister(HtmlHelpDialog
)
1658 def PreHtmlHelpDialog(*args
, **kwargs
):
1659 """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
1660 val
= _html
.new_PreHtmlHelpDialog(*args
, **kwargs
)
1661 self
._setOORInfo
(self
)
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
):
1671 Initialize(self, String file, int server) -> bool
1672 Initialize(self, String file) -> bool
1674 return _html
.HelpControllerBase_Initialize(*args
)
1676 def SetViewer(*args
, **kwargs
):
1677 """SetViewer(self, String viewer, long flags=0)"""
1678 return _html
.HelpControllerBase_SetViewer(*args
, **kwargs
)
1680 def LoadFile(*args
, **kwargs
):
1681 """LoadFile(self, String file=wxEmptyString) -> bool"""
1682 return _html
.HelpControllerBase_LoadFile(*args
, **kwargs
)
1684 def DisplayContents(*args
, **kwargs
):
1685 """DisplayContents(self) -> bool"""
1686 return _html
.HelpControllerBase_DisplayContents(*args
, **kwargs
)
1688 def DisplayContextPopup(*args
, **kwargs
):
1689 """DisplayContextPopup(self, int contextId) -> bool"""
1690 return _html
.HelpControllerBase_DisplayContextPopup(*args
, **kwargs
)
1692 def DisplayTextPopup(*args
, **kwargs
):
1693 """DisplayTextPopup(self, String text, Point pos) -> bool"""
1694 return _html
.HelpControllerBase_DisplayTextPopup(*args
, **kwargs
)
1696 def DisplaySection(*args
):
1698 DisplaySection(self, int sectionNo) -> bool
1699 DisplaySection(self, String section) -> bool
1701 return _html
.HelpControllerBase_DisplaySection(*args
)
1703 def DisplayBlock(*args
, **kwargs
):
1704 """DisplayBlock(self, long blockNo) -> bool"""
1705 return _html
.HelpControllerBase_DisplayBlock(*args
, **kwargs
)
1707 def KeywordSearch(*args
, **kwargs
):
1708 """KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1709 return _html
.HelpControllerBase_KeywordSearch(*args
, **kwargs
)
1711 def SetFrameParameters(*args
, **kwargs
):
1713 SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
1714 bool newFrameEachTime=False)
1716 return _html
.HelpControllerBase_SetFrameParameters(*args
, **kwargs
)
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
)
1722 def Quit(*args
, **kwargs
):
1723 """Quit(self) -> bool"""
1724 return _html
.HelpControllerBase_Quit(*args
, **kwargs
)
1726 def OnQuit(*args
, **kwargs
):
1728 return _html
.HelpControllerBase_OnQuit(*args
, **kwargs
)
1730 def SetParentWindow(*args
, **kwargs
):
1731 """SetParentWindow(self, Window win)"""
1732 return _html
.HelpControllerBase_SetParentWindow(*args
, **kwargs
)
1734 def GetParentWindow(*args
, **kwargs
):
1735 """GetParentWindow(self) -> Window"""
1736 return _html
.HelpControllerBase_GetParentWindow(*args
, **kwargs
)
1738 HelpControllerBase_swigregister
= _html
.HelpControllerBase_swigregister
1739 HelpControllerBase_swigregister(HelpControllerBase
)
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
)
1754 def SetHelpWindow(*args
, **kwargs
):
1755 """SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
1756 return _html
.HtmlHelpController_SetHelpWindow(*args
, **kwargs
)
1758 def GetFrame(*args
, **kwargs
):
1759 """GetFrame(self) -> HtmlHelpFrame"""
1760 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1762 def GetDialog(*args
, **kwargs
):
1763 """GetDialog(self) -> HtmlHelpDialog"""
1764 return _html
.HtmlHelpController_GetDialog(*args
, **kwargs
)
1766 def SetTitleFormat(*args
, **kwargs
):
1767 """SetTitleFormat(self, String format)"""
1768 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1770 def SetTempDir(*args
, **kwargs
):
1771 """SetTempDir(self, String path)"""
1772 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1774 def AddBook(*args
, **kwargs
):
1775 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1776 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1778 def Display(*args
, **kwargs
):
1779 """Display(self, String x)"""
1780 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1782 def DisplayID(*args
, **kwargs
):
1783 """DisplayID(self, int id)"""
1784 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1786 def DisplayContents(*args
, **kwargs
):
1787 """DisplayContents(self)"""
1788 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1790 def DisplayIndex(*args
, **kwargs
):
1791 """DisplayIndex(self)"""
1792 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1794 def KeywordSearch(*args
, **kwargs
):
1795 """KeywordSearch(self, String keyword) -> bool"""
1796 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1798 def UseConfig(*args
, **kwargs
):
1799 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1800 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1802 def ReadCustomization(*args
, **kwargs
):
1803 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1804 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1806 def WriteCustomization(*args
, **kwargs
):
1807 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1808 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1810 def MakeModalIfNeeded(*args
, **kwargs
):
1811 """MakeModalIfNeeded(self)"""
1812 return _html
.HtmlHelpController_MakeModalIfNeeded(*args
, **kwargs
)
1814 def FindTopLevelWindow(*args
, **kwargs
):
1815 """FindTopLevelWindow(self) -> Window"""
1816 return _html
.HtmlHelpController_FindTopLevelWindow(*args
, **kwargs
)
1818 HtmlHelpController_swigregister
= _html
.HtmlHelpController_swigregister
1819 HtmlHelpController_swigregister(HtmlHelpController
)
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
):
1827 __init__(self, Window parent, String helpFile, String topic=wxEmptyString,
1828 int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
1830 _html
.HtmlModalHelp_swiginit(self
,_html
.new_HtmlModalHelp(*args
, **kwargs
))
1831 HtmlModalHelp_swigregister
= _html
.HtmlModalHelp_swigregister
1832 HtmlModalHelp_swigregister(HtmlModalHelp
)