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 _html
.HtmlLinkInfo_swigregister(HtmlLinkInfo
)
133 HtmlWindowNameStr
= cvar
.HtmlWindowNameStr
134 HtmlPrintoutTitleStr
= cvar
.HtmlPrintoutTitleStr
135 HtmlPrintingTitleStr
= cvar
.HtmlPrintingTitleStr
137 class HtmlTag(_core
.Object
):
138 """Proxy of C++ HtmlTag class"""
139 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
140 def __init__(self
): raise AttributeError, "No constructor defined"
141 __repr__
= _swig_repr
142 def GetName(*args
, **kwargs
):
143 """GetName(self) -> String"""
144 return _html
.HtmlTag_GetName(*args
, **kwargs
)
146 def HasParam(*args
, **kwargs
):
147 """HasParam(self, String par) -> bool"""
148 return _html
.HtmlTag_HasParam(*args
, **kwargs
)
150 def GetParam(*args
, **kwargs
):
151 """GetParam(self, String par, int with_commas=False) -> String"""
152 return _html
.HtmlTag_GetParam(*args
, **kwargs
)
154 def GetAllParams(*args
, **kwargs
):
155 """GetAllParams(self) -> String"""
156 return _html
.HtmlTag_GetAllParams(*args
, **kwargs
)
158 def HasEnding(*args
, **kwargs
):
159 """HasEnding(self) -> bool"""
160 return _html
.HtmlTag_HasEnding(*args
, **kwargs
)
162 def GetBeginPos(*args
, **kwargs
):
163 """GetBeginPos(self) -> int"""
164 return _html
.HtmlTag_GetBeginPos(*args
, **kwargs
)
166 def GetEndPos1(*args
, **kwargs
):
167 """GetEndPos1(self) -> int"""
168 return _html
.HtmlTag_GetEndPos1(*args
, **kwargs
)
170 def GetEndPos2(*args
, **kwargs
):
171 """GetEndPos2(self) -> int"""
172 return _html
.HtmlTag_GetEndPos2(*args
, **kwargs
)
174 _html
.HtmlTag_swigregister(HtmlTag
)
176 class HtmlParser(_core
.Object
):
177 """Proxy of C++ HtmlParser class"""
178 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
179 def __init__(self
): raise AttributeError, "No constructor defined"
180 __repr__
= _swig_repr
181 def SetFS(*args
, **kwargs
):
182 """SetFS(self, FileSystem fs)"""
183 return _html
.HtmlParser_SetFS(*args
, **kwargs
)
185 def GetFS(*args
, **kwargs
):
186 """GetFS(self) -> FileSystem"""
187 return _html
.HtmlParser_GetFS(*args
, **kwargs
)
189 def Parse(*args
, **kwargs
):
190 """Parse(self, String source) -> Object"""
191 return _html
.HtmlParser_Parse(*args
, **kwargs
)
193 def InitParser(*args
, **kwargs
):
194 """InitParser(self, String source)"""
195 return _html
.HtmlParser_InitParser(*args
, **kwargs
)
197 def DoneParser(*args
, **kwargs
):
198 """DoneParser(self)"""
199 return _html
.HtmlParser_DoneParser(*args
, **kwargs
)
201 def DoParsing(*args
, **kwargs
):
202 """DoParsing(self, int begin_pos, int end_pos)"""
203 return _html
.HtmlParser_DoParsing(*args
, **kwargs
)
205 def StopParsing(*args
, **kwargs
):
206 """StopParsing(self)"""
207 return _html
.HtmlParser_StopParsing(*args
, **kwargs
)
209 def AddTagHandler(*args
, **kwargs
):
210 """AddTagHandler(self, HtmlTagHandler handler)"""
211 return _html
.HtmlParser_AddTagHandler(*args
, **kwargs
)
213 def GetSource(*args
, **kwargs
):
214 """GetSource(self) -> String"""
215 return _html
.HtmlParser_GetSource(*args
, **kwargs
)
217 def PushTagHandler(*args
, **kwargs
):
218 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
219 return _html
.HtmlParser_PushTagHandler(*args
, **kwargs
)
221 def PopTagHandler(*args
, **kwargs
):
222 """PopTagHandler(self)"""
223 return _html
.HtmlParser_PopTagHandler(*args
, **kwargs
)
225 def GetInnerSource(*args
, **kwargs
):
226 """GetInnerSource(self, HtmlTag tag) -> String"""
227 return _html
.HtmlParser_GetInnerSource(*args
, **kwargs
)
229 _html
.HtmlParser_swigregister(HtmlParser
)
231 class HtmlWinParser(HtmlParser
):
232 """Proxy of C++ HtmlWinParser class"""
233 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
234 __repr__
= _swig_repr
235 def __init__(self
, *args
, **kwargs
):
236 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
237 _html
.HtmlWinParser_swiginit(self
,_html
.new_HtmlWinParser(*args
, **kwargs
))
238 def SetDC(*args
, **kwargs
):
239 """SetDC(self, DC dc)"""
240 return _html
.HtmlWinParser_SetDC(*args
, **kwargs
)
242 def GetDC(*args
, **kwargs
):
243 """GetDC(self) -> DC"""
244 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
246 def GetCharHeight(*args
, **kwargs
):
247 """GetCharHeight(self) -> int"""
248 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
250 def GetCharWidth(*args
, **kwargs
):
251 """GetCharWidth(self) -> int"""
252 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
254 def GetWindow(*args
, **kwargs
):
255 """GetWindow(self) -> HtmlWindow"""
256 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
258 GetWindow
= wx
._deprecated
(GetWindow
)
259 def GetWindowInterface(*args
, **kwargs
):
260 """GetWindowInterface(self) -> HtmlWindowInterface"""
261 return _html
.HtmlWinParser_GetWindowInterface(*args
, **kwargs
)
263 def SetFonts(*args
, **kwargs
):
264 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
265 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
267 def SetStandardFonts(*args
, **kwargs
):
268 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
269 return _html
.HtmlWinParser_SetStandardFonts(*args
, **kwargs
)
271 def GetContainer(*args
, **kwargs
):
272 """GetContainer(self) -> HtmlContainerCell"""
273 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
275 def OpenContainer(*args
, **kwargs
):
276 """OpenContainer(self) -> HtmlContainerCell"""
277 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
279 def SetContainer(*args
, **kwargs
):
280 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
281 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
283 def CloseContainer(*args
, **kwargs
):
284 """CloseContainer(self) -> HtmlContainerCell"""
285 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
287 def GetFontSize(*args
, **kwargs
):
288 """GetFontSize(self) -> int"""
289 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
291 def SetFontSize(*args
, **kwargs
):
292 """SetFontSize(self, int s)"""
293 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
295 def GetFontBold(*args
, **kwargs
):
296 """GetFontBold(self) -> int"""
297 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
299 def SetFontBold(*args
, **kwargs
):
300 """SetFontBold(self, int x)"""
301 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
303 def GetFontItalic(*args
, **kwargs
):
304 """GetFontItalic(self) -> int"""
305 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
307 def SetFontItalic(*args
, **kwargs
):
308 """SetFontItalic(self, int x)"""
309 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
311 def GetFontUnderlined(*args
, **kwargs
):
312 """GetFontUnderlined(self) -> int"""
313 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
315 def SetFontUnderlined(*args
, **kwargs
):
316 """SetFontUnderlined(self, int x)"""
317 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
319 def GetFontFixed(*args
, **kwargs
):
320 """GetFontFixed(self) -> int"""
321 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
323 def SetFontFixed(*args
, **kwargs
):
324 """SetFontFixed(self, int x)"""
325 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
327 def GetAlign(*args
, **kwargs
):
328 """GetAlign(self) -> int"""
329 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
331 def SetAlign(*args
, **kwargs
):
332 """SetAlign(self, int a)"""
333 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
335 def GetLinkColor(*args
, **kwargs
):
336 """GetLinkColor(self) -> Colour"""
337 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
339 def SetLinkColor(*args
, **kwargs
):
340 """SetLinkColor(self, Colour clr)"""
341 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
343 def GetActualColor(*args
, **kwargs
):
344 """GetActualColor(self) -> Colour"""
345 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
347 def SetActualColor(*args
, **kwargs
):
348 """SetActualColor(self, Colour clr)"""
349 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
351 GetActualColour
= GetActualColor
352 SetActualColour
= SetActualColor
354 def SetLink(*args
, **kwargs
):
355 """SetLink(self, String link)"""
356 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
358 def CreateCurrentFont(*args
, **kwargs
):
359 """CreateCurrentFont(self) -> Font"""
360 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
362 def GetLink(*args
, **kwargs
):
363 """GetLink(self) -> HtmlLinkInfo"""
364 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
366 _html
.HtmlWinParser_swigregister(HtmlWinParser
)
368 class HtmlTagHandler(_core
.Object
):
369 """Proxy of C++ HtmlTagHandler class"""
370 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
371 __repr__
= _swig_repr
372 def __init__(self
, *args
, **kwargs
):
373 """__init__(self) -> HtmlTagHandler"""
374 _html
.HtmlTagHandler_swiginit(self
,_html
.new_HtmlTagHandler(*args
, **kwargs
))
375 self
._setCallbackInfo
(self
, HtmlTagHandler
)
377 def _setCallbackInfo(*args
, **kwargs
):
378 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
379 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
381 def SetParser(*args
, **kwargs
):
382 """SetParser(self, HtmlParser parser)"""
383 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
385 def GetParser(*args
, **kwargs
):
386 """GetParser(self) -> HtmlParser"""
387 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
389 def ParseInner(*args
, **kwargs
):
390 """ParseInner(self, HtmlTag tag)"""
391 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
393 _html
.HtmlTagHandler_swigregister(HtmlTagHandler
)
395 class HtmlWinTagHandler(HtmlTagHandler
):
396 """Proxy of C++ HtmlWinTagHandler class"""
397 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
398 __repr__
= _swig_repr
399 def __init__(self
, *args
, **kwargs
):
400 """__init__(self) -> HtmlWinTagHandler"""
401 _html
.HtmlWinTagHandler_swiginit(self
,_html
.new_HtmlWinTagHandler(*args
, **kwargs
))
402 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
404 def _setCallbackInfo(*args
, **kwargs
):
405 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
406 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
408 def SetParser(*args
, **kwargs
):
409 """SetParser(self, HtmlParser parser)"""
410 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
412 def GetParser(*args
, **kwargs
):
413 """GetParser(self) -> HtmlWinParser"""
414 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
416 def ParseInner(*args
, **kwargs
):
417 """ParseInner(self, HtmlTag tag)"""
418 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
420 _html
.HtmlWinTagHandler_swigregister(HtmlWinTagHandler
)
423 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
424 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
425 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
426 #---------------------------------------------------------------------------
428 class HtmlSelection(object):
429 """Proxy of C++ HtmlSelection class"""
430 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
431 __repr__
= _swig_repr
432 def __init__(self
, *args
, **kwargs
):
433 """__init__(self) -> HtmlSelection"""
434 _html
.HtmlSelection_swiginit(self
,_html
.new_HtmlSelection(*args
, **kwargs
))
435 __swig_destroy__
= _html
.delete_HtmlSelection
436 __del__
= lambda self
: None;
437 def Set(*args
, **kwargs
):
438 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
439 return _html
.HtmlSelection_Set(*args
, **kwargs
)
441 def SetCells(*args
, **kwargs
):
442 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
443 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
445 def GetFromCell(*args
, **kwargs
):
446 """GetFromCell(self) -> HtmlCell"""
447 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
449 def GetToCell(*args
, **kwargs
):
450 """GetToCell(self) -> HtmlCell"""
451 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
453 def GetFromPos(*args
, **kwargs
):
454 """GetFromPos(self) -> Point"""
455 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
457 def GetToPos(*args
, **kwargs
):
458 """GetToPos(self) -> Point"""
459 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
461 def GetFromPrivPos(*args
, **kwargs
):
462 """GetFromPrivPos(self) -> Point"""
463 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
465 def GetToPrivPos(*args
, **kwargs
):
466 """GetToPrivPos(self) -> Point"""
467 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
469 def SetFromPrivPos(*args
, **kwargs
):
470 """SetFromPrivPos(self, Point pos)"""
471 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
473 def SetToPrivPos(*args
, **kwargs
):
474 """SetToPrivPos(self, Point pos)"""
475 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
477 def ClearPrivPos(*args
, **kwargs
):
478 """ClearPrivPos(self)"""
479 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
481 def IsEmpty(*args
, **kwargs
):
482 """IsEmpty(self) -> bool"""
483 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
485 _html
.HtmlSelection_swigregister(HtmlSelection
)
487 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
488 HTML_SEL_IN
= _html
.HTML_SEL_IN
489 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
490 class HtmlRenderingState(object):
491 """Proxy of C++ HtmlRenderingState class"""
492 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
493 __repr__
= _swig_repr
494 def __init__(self
, *args
, **kwargs
):
495 """__init__(self) -> HtmlRenderingState"""
496 _html
.HtmlRenderingState_swiginit(self
,_html
.new_HtmlRenderingState(*args
, **kwargs
))
497 __swig_destroy__
= _html
.delete_HtmlRenderingState
498 __del__
= lambda self
: None;
499 def SetSelectionState(*args
, **kwargs
):
500 """SetSelectionState(self, int s)"""
501 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
503 def GetSelectionState(*args
, **kwargs
):
504 """GetSelectionState(self) -> int"""
505 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
507 def SetFgColour(*args
, **kwargs
):
508 """SetFgColour(self, Colour c)"""
509 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
511 def GetFgColour(*args
, **kwargs
):
512 """GetFgColour(self) -> Colour"""
513 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
515 def SetBgColour(*args
, **kwargs
):
516 """SetBgColour(self, Colour c)"""
517 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
519 def GetBgColour(*args
, **kwargs
):
520 """GetBgColour(self) -> Colour"""
521 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
523 _html
.HtmlRenderingState_swigregister(HtmlRenderingState
)
525 class HtmlRenderingStyle(object):
526 """Proxy of C++ HtmlRenderingStyle class"""
527 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
528 def __init__(self
): raise AttributeError, "No constructor defined"
529 __repr__
= _swig_repr
530 def GetSelectedTextColour(*args
, **kwargs
):
531 """GetSelectedTextColour(self, Colour clr) -> Colour"""
532 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
534 def GetSelectedTextBgColour(*args
, **kwargs
):
535 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
536 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
538 _html
.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 _html
.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStyle
)
547 class HtmlRenderingInfo(object):
548 """Proxy of C++ HtmlRenderingInfo class"""
549 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
550 __repr__
= _swig_repr
551 def __init__(self
, *args
, **kwargs
):
552 """__init__(self) -> HtmlRenderingInfo"""
553 _html
.HtmlRenderingInfo_swiginit(self
,_html
.new_HtmlRenderingInfo(*args
, **kwargs
))
554 __swig_destroy__
= _html
.delete_HtmlRenderingInfo
555 __del__
= lambda self
: None;
556 def SetSelection(*args
, **kwargs
):
557 """SetSelection(self, HtmlSelection s)"""
558 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
560 def GetSelection(*args
, **kwargs
):
561 """GetSelection(self) -> HtmlSelection"""
562 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
564 def SetStyle(*args
, **kwargs
):
565 """SetStyle(self, HtmlRenderingStyle style)"""
566 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
568 def GetStyle(*args
, **kwargs
):
569 """GetStyle(self) -> HtmlRenderingStyle"""
570 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
572 def GetState(*args
, **kwargs
):
573 """GetState(self) -> HtmlRenderingState"""
574 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
576 _html
.HtmlRenderingInfo_swigregister(HtmlRenderingInfo
)
578 #---------------------------------------------------------------------------
580 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
581 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
582 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
583 class HtmlCell(_core
.Object
):
584 """Proxy of C++ HtmlCell class"""
585 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
586 __repr__
= _swig_repr
587 def __init__(self
, *args
, **kwargs
):
588 """__init__(self) -> HtmlCell"""
589 _html
.HtmlCell_swiginit(self
,_html
.new_HtmlCell(*args
, **kwargs
))
590 __swig_destroy__
= _html
.delete_HtmlCell
591 __del__
= lambda self
: None;
592 def GetPosX(*args
, **kwargs
):
593 """GetPosX(self) -> int"""
594 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
596 def GetPosY(*args
, **kwargs
):
597 """GetPosY(self) -> int"""
598 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
600 def GetWidth(*args
, **kwargs
):
601 """GetWidth(self) -> int"""
602 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
604 def GetHeight(*args
, **kwargs
):
605 """GetHeight(self) -> int"""
606 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
608 def GetDescent(*args
, **kwargs
):
609 """GetDescent(self) -> int"""
610 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
612 def GetMaxTotalWidth(*args
, **kwargs
):
613 """GetMaxTotalWidth(self) -> int"""
614 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
616 def GetId(*args
, **kwargs
):
617 """GetId(self) -> String"""
618 return _html
.HtmlCell_GetId(*args
, **kwargs
)
620 def SetId(*args
, **kwargs
):
621 """SetId(self, String id)"""
622 return _html
.HtmlCell_SetId(*args
, **kwargs
)
624 def GetLink(*args
, **kwargs
):
625 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
626 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
628 def GetNext(*args
, **kwargs
):
629 """GetNext(self) -> HtmlCell"""
630 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
632 def GetParent(*args
, **kwargs
):
633 """GetParent(self) -> HtmlContainerCell"""
634 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
636 def GetFirstChild(*args
, **kwargs
):
637 """GetFirstChild(self) -> HtmlCell"""
638 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
640 def GetMouseCursor(*args
, **kwargs
):
641 """GetMouseCursor(self, HtmlWindowInterface window) -> Cursor"""
642 return _html
.HtmlCell_GetMouseCursor(*args
, **kwargs
)
644 def GetCursor(*args
, **kwargs
):
645 """GetCursor(self) -> Cursor"""
646 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
648 GetCursor
= wx
._deprecated
(GetCursor
)
649 def IsFormattingCell(*args
, **kwargs
):
650 """IsFormattingCell(self) -> bool"""
651 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
653 def SetLink(*args
, **kwargs
):
654 """SetLink(self, HtmlLinkInfo link)"""
655 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
657 def SetNext(*args
, **kwargs
):
658 """SetNext(self, HtmlCell cell)"""
659 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
661 def SetParent(*args
, **kwargs
):
662 """SetParent(self, HtmlContainerCell p)"""
663 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
665 def SetPos(*args
, **kwargs
):
666 """SetPos(self, int x, int y)"""
667 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
669 def Layout(*args
, **kwargs
):
670 """Layout(self, int w)"""
671 return _html
.HtmlCell_Layout(*args
, **kwargs
)
673 def Draw(*args
, **kwargs
):
674 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
675 return _html
.HtmlCell_Draw(*args
, **kwargs
)
677 def DrawInvisible(*args
, **kwargs
):
678 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
679 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
681 def Find(*args
, **kwargs
):
682 """Find(self, int condition, void param) -> HtmlCell"""
683 return _html
.HtmlCell_Find(*args
, **kwargs
)
685 def ProcessMouseClick(*args
, **kwargs
):
686 """ProcessMouseClick(self, HtmlWindowInterface window, Point pos, MouseEvent event) -> bool"""
687 return _html
.HtmlCell_ProcessMouseClick(*args
, **kwargs
)
689 def SetCanLiveOnPagebreak(*args
, **kwargs
):
690 """SetCanLiveOnPagebreak(self, bool can)"""
691 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
693 def IsLinebreakAllowed(*args
, **kwargs
):
694 """IsLinebreakAllowed(self) -> bool"""
695 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
697 def IsTerminalCell(*args
, **kwargs
):
698 """IsTerminalCell(self) -> bool"""
699 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
701 def FindCellByPos(*args
, **kwargs
):
702 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
703 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
705 def GetAbsPos(*args
, **kwargs
):
706 """GetAbsPos(self, HtmlCell rootCell=None) -> Point"""
707 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
709 def GetRootCell(*args
, **kwargs
):
710 """GetRootCell(self) -> HtmlCell"""
711 return _html
.HtmlCell_GetRootCell(*args
, **kwargs
)
713 def GetFirstTerminal(*args
, **kwargs
):
714 """GetFirstTerminal(self) -> HtmlCell"""
715 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
717 def GetLastTerminal(*args
, **kwargs
):
718 """GetLastTerminal(self) -> HtmlCell"""
719 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
721 def GetDepth(*args
, **kwargs
):
722 """GetDepth(self) -> unsigned int"""
723 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
725 def IsBefore(*args
, **kwargs
):
726 """IsBefore(self, HtmlCell cell) -> bool"""
727 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
729 def ConvertToText(*args
, **kwargs
):
730 """ConvertToText(self, HtmlSelection sel) -> String"""
731 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
733 _html
.HtmlCell_swigregister(HtmlCell
)
735 class HtmlWordCell(HtmlCell
):
736 """Proxy of C++ HtmlWordCell class"""
737 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
738 __repr__
= _swig_repr
739 def __init__(self
, *args
, **kwargs
):
740 """__init__(self, String word, DC dc) -> HtmlWordCell"""
741 _html
.HtmlWordCell_swiginit(self
,_html
.new_HtmlWordCell(*args
, **kwargs
))
742 def ConvertToText(*args
, **kwargs
):
743 """ConvertToText(self, HtmlSelection sel) -> String"""
744 return _html
.HtmlWordCell_ConvertToText(*args
, **kwargs
)
746 def IsLinebreakAllowed(*args
, **kwargs
):
747 """IsLinebreakAllowed(self) -> bool"""
748 return _html
.HtmlWordCell_IsLinebreakAllowed(*args
, **kwargs
)
750 def SetPreviousWord(*args
, **kwargs
):
751 """SetPreviousWord(self, HtmlWordCell cell)"""
752 return _html
.HtmlWordCell_SetPreviousWord(*args
, **kwargs
)
754 _html
.HtmlWordCell_swigregister(HtmlWordCell
)
756 class HtmlContainerCell(HtmlCell
):
757 """Proxy of C++ HtmlContainerCell class"""
758 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
759 __repr__
= _swig_repr
760 def __init__(self
, *args
, **kwargs
):
761 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
762 _html
.HtmlContainerCell_swiginit(self
,_html
.new_HtmlContainerCell(*args
, **kwargs
))
763 def InsertCell(*args
, **kwargs
):
764 """InsertCell(self, HtmlCell cell)"""
765 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
767 def SetAlignHor(*args
, **kwargs
):
768 """SetAlignHor(self, int al)"""
769 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
771 def GetAlignHor(*args
, **kwargs
):
772 """GetAlignHor(self) -> int"""
773 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
775 def SetAlignVer(*args
, **kwargs
):
776 """SetAlignVer(self, int al)"""
777 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
779 def GetAlignVer(*args
, **kwargs
):
780 """GetAlignVer(self) -> int"""
781 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
783 def SetIndent(*args
, **kwargs
):
784 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
785 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
787 def GetIndent(*args
, **kwargs
):
788 """GetIndent(self, int ind) -> int"""
789 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
791 def GetIndentUnits(*args
, **kwargs
):
792 """GetIndentUnits(self, int ind) -> int"""
793 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
795 def SetAlign(*args
, **kwargs
):
796 """SetAlign(self, HtmlTag tag)"""
797 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
799 def SetWidthFloat(*args
, **kwargs
):
800 """SetWidthFloat(self, int w, int units)"""
801 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
803 def SetWidthFloatFromTag(*args
, **kwargs
):
804 """SetWidthFloatFromTag(self, HtmlTag tag)"""
805 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
807 def SetMinHeight(*args
, **kwargs
):
808 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
809 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
811 def SetBackgroundColour(*args
, **kwargs
):
812 """SetBackgroundColour(self, Colour clr)"""
813 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
815 def GetBackgroundColour(*args
, **kwargs
):
816 """GetBackgroundColour(self) -> Colour"""
817 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
819 def SetBorder(*args
, **kwargs
):
820 """SetBorder(self, Colour clr1, Colour clr2)"""
821 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
823 def GetFirstChild(*args
, **kwargs
):
824 """GetFirstChild(self) -> HtmlCell"""
825 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
827 _html
.HtmlContainerCell_swigregister(HtmlContainerCell
)
829 class HtmlColourCell(HtmlCell
):
830 """Proxy of C++ HtmlColourCell class"""
831 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
832 __repr__
= _swig_repr
833 def __init__(self
, *args
, **kwargs
):
834 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
835 _html
.HtmlColourCell_swiginit(self
,_html
.new_HtmlColourCell(*args
, **kwargs
))
836 _html
.HtmlColourCell_swigregister(HtmlColourCell
)
838 class HtmlFontCell(HtmlCell
):
839 """Proxy of C++ HtmlFontCell class"""
840 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
841 __repr__
= _swig_repr
842 def __init__(self
, *args
, **kwargs
):
843 """__init__(self, Font font) -> HtmlFontCell"""
844 _html
.HtmlFontCell_swiginit(self
,_html
.new_HtmlFontCell(*args
, **kwargs
))
845 _html
.HtmlFontCell_swigregister(HtmlFontCell
)
847 class HtmlWidgetCell(HtmlCell
):
848 """Proxy of C++ HtmlWidgetCell class"""
849 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
850 __repr__
= _swig_repr
851 def __init__(self
, *args
, **kwargs
):
852 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
853 _html
.HtmlWidgetCell_swiginit(self
,_html
.new_HtmlWidgetCell(*args
, **kwargs
))
854 _html
.HtmlWidgetCell_swigregister(HtmlWidgetCell
)
856 #---------------------------------------------------------------------------
858 class HtmlFilter(_core
.Object
):
859 """Proxy of C++ HtmlFilter class"""
860 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
861 __repr__
= _swig_repr
862 def __init__(self
, *args
, **kwargs
):
863 """__init__(self) -> HtmlFilter"""
864 _html
.HtmlFilter_swiginit(self
,_html
.new_HtmlFilter(*args
, **kwargs
))
865 self
._setCallbackInfo
(self
, HtmlFilter
)
867 def _setCallbackInfo(*args
, **kwargs
):
868 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
869 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
871 _html
.HtmlFilter_swigregister(HtmlFilter
)
873 class HtmlWindowInterface(object):
874 """Proxy of C++ HtmlWindowInterface class"""
875 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
876 def __init__(self
): raise AttributeError, "No constructor defined"
877 __repr__
= _swig_repr
878 __swig_destroy__
= _html
.delete_HtmlWindowInterface
879 __del__
= lambda self
: None;
880 def SetHTMLWindowTitle(*args
, **kwargs
):
881 """SetHTMLWindowTitle(self, String title)"""
882 return _html
.HtmlWindowInterface_SetHTMLWindowTitle(*args
, **kwargs
)
884 def HTMLCoordsToWindow(*args
, **kwargs
):
885 """HTMLCoordsToWindow(self, HtmlCell cell, Point pos) -> Point"""
886 return _html
.HtmlWindowInterface_HTMLCoordsToWindow(*args
, **kwargs
)
888 def GetHTMLWindow(*args
, **kwargs
):
889 """GetHTMLWindow(self) -> Window"""
890 return _html
.HtmlWindowInterface_GetHTMLWindow(*args
, **kwargs
)
892 def GetHTMLBackgroundColour(*args
, **kwargs
):
893 """GetHTMLBackgroundColour(self) -> Colour"""
894 return _html
.HtmlWindowInterface_GetHTMLBackgroundColour(*args
, **kwargs
)
896 def SetHTMLBackgroundColour(*args
, **kwargs
):
897 """SetHTMLBackgroundColour(self, Colour clr)"""
898 return _html
.HtmlWindowInterface_SetHTMLBackgroundColour(*args
, **kwargs
)
900 def SetHTMLBackgroundImage(*args
, **kwargs
):
901 """SetHTMLBackgroundImage(self, Bitmap bmpBg)"""
902 return _html
.HtmlWindowInterface_SetHTMLBackgroundImage(*args
, **kwargs
)
904 def SetHTMLStatusText(*args
, **kwargs
):
905 """SetHTMLStatusText(self, String text)"""
906 return _html
.HtmlWindowInterface_SetHTMLStatusText(*args
, **kwargs
)
908 HTMLCursor_Default
= _html
.HtmlWindowInterface_HTMLCursor_Default
909 HTMLCursor_Link
= _html
.HtmlWindowInterface_HTMLCursor_Link
910 HTMLCursor_Text
= _html
.HtmlWindowInterface_HTMLCursor_Text
911 _html
.HtmlWindowInterface_swigregister(HtmlWindowInterface
)
913 #---------------------------------------------------------------------------
915 class HtmlWindow(_windows
.ScrolledWindow
):
916 """Proxy of C++ HtmlWindow class"""
917 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
918 __repr__
= _swig_repr
919 def __init__(self
, *args
, **kwargs
):
921 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
922 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
923 String name=HtmlWindowNameStr) -> HtmlWindow
925 _html
.HtmlWindow_swiginit(self
,_html
.new_HtmlWindow(*args
, **kwargs
))
926 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
928 def Create(*args
, **kwargs
):
930 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
931 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
932 String name=HtmlWindowNameStr) -> bool
934 return _html
.HtmlWindow_Create(*args
, **kwargs
)
936 def _setCallbackInfo(*args
, **kwargs
):
937 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
938 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
940 def SetPage(*args
, **kwargs
):
941 """SetPage(self, String source) -> bool"""
942 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
944 def LoadPage(*args
, **kwargs
):
945 """LoadPage(self, String location) -> bool"""
946 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
948 def LoadFile(*args
, **kwargs
):
949 """LoadFile(self, String filename) -> bool"""
950 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
952 def AppendToPage(*args
, **kwargs
):
953 """AppendToPage(self, String source) -> bool"""
954 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
956 def GetOpenedPage(*args
, **kwargs
):
957 """GetOpenedPage(self) -> String"""
958 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
960 def GetOpenedAnchor(*args
, **kwargs
):
961 """GetOpenedAnchor(self) -> String"""
962 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
964 def GetOpenedPageTitle(*args
, **kwargs
):
965 """GetOpenedPageTitle(self) -> String"""
966 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
968 def SetRelatedFrame(*args
, **kwargs
):
969 """SetRelatedFrame(self, Frame frame, String format)"""
970 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
972 def GetRelatedFrame(*args
, **kwargs
):
973 """GetRelatedFrame(self) -> Frame"""
974 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
976 def SetRelatedStatusBar(*args
, **kwargs
):
977 """SetRelatedStatusBar(self, int bar)"""
978 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
980 def SetFonts(*args
, **kwargs
):
981 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
982 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
984 def SetStandardFonts(*args
, **kwargs
):
985 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
986 return _html
.HtmlWindow_SetStandardFonts(*args
, **kwargs
)
988 def SetBorders(*args
, **kwargs
):
989 """SetBorders(self, int b)"""
990 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
992 def SetBackgroundImage(*args
, **kwargs
):
993 """SetBackgroundImage(self, Bitmap bmpBg)"""
994 return _html
.HtmlWindow_SetBackgroundImage(*args
, **kwargs
)
996 def ReadCustomization(*args
, **kwargs
):
997 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
998 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1000 def WriteCustomization(*args
, **kwargs
):
1001 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1002 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1004 def HistoryBack(*args
, **kwargs
):
1005 """HistoryBack(self) -> bool"""
1006 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1008 def HistoryForward(*args
, **kwargs
):
1009 """HistoryForward(self) -> bool"""
1010 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1012 def HistoryCanBack(*args
, **kwargs
):
1013 """HistoryCanBack(self) -> bool"""
1014 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1016 def HistoryCanForward(*args
, **kwargs
):
1017 """HistoryCanForward(self) -> bool"""
1018 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1020 def HistoryClear(*args
, **kwargs
):
1021 """HistoryClear(self)"""
1022 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1024 def GetInternalRepresentation(*args
, **kwargs
):
1025 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1026 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1028 def GetParser(*args
, **kwargs
):
1029 """GetParser(self) -> HtmlWinParser"""
1030 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1032 def ScrollToAnchor(*args
, **kwargs
):
1033 """ScrollToAnchor(self, String anchor) -> bool"""
1034 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1036 def HasAnchor(*args
, **kwargs
):
1037 """HasAnchor(self, String anchor) -> bool"""
1038 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1040 def AddFilter(*args
, **kwargs
):
1041 """AddFilter(HtmlFilter filter)"""
1042 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1044 AddFilter
= staticmethod(AddFilter
)
1045 def SelectWord(*args
, **kwargs
):
1046 """SelectWord(self, Point pos)"""
1047 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1049 def SelectLine(*args
, **kwargs
):
1050 """SelectLine(self, Point pos)"""
1051 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1053 def SelectAll(*args
, **kwargs
):
1054 """SelectAll(self)"""
1055 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1057 def SelectionToText(*args
, **kwargs
):
1058 """SelectionToText(self) -> String"""
1059 return _html
.HtmlWindow_SelectionToText(*args
, **kwargs
)
1061 def ToText(*args
, **kwargs
):
1062 """ToText(self) -> String"""
1063 return _html
.HtmlWindow_ToText(*args
, **kwargs
)
1065 def OnLinkClicked(*args
, **kwargs
):
1066 """OnLinkClicked(self, HtmlLinkInfo link)"""
1067 return _html
.HtmlWindow_OnLinkClicked(*args
, **kwargs
)
1069 def OnSetTitle(*args
, **kwargs
):
1070 """OnSetTitle(self, String title)"""
1071 return _html
.HtmlWindow_OnSetTitle(*args
, **kwargs
)
1073 def OnCellMouseHover(*args
, **kwargs
):
1074 """OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1075 return _html
.HtmlWindow_OnCellMouseHover(*args
, **kwargs
)
1077 def OnCellClicked(*args
, **kwargs
):
1078 """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event) -> bool"""
1079 return _html
.HtmlWindow_OnCellClicked(*args
, **kwargs
)
1081 def OnOpeningURL(*args
, **kwargs
):
1082 """OnOpeningURL(self, int type, String url, String redirect) -> int"""
1083 return _html
.HtmlWindow_OnOpeningURL(*args
, **kwargs
)
1085 def base_OnLinkClicked(*args
, **kw
):
1086 return HtmlWindow
.OnLinkClicked(*args
, **kw
)
1087 base_OnLinkClicked
= wx
._deprecated
(base_OnLinkClicked
,
1088 "Please use HtmlWindow.OnLinkClicked instead.")
1090 def base_OnSetTitle(*args
, **kw
):
1091 return HtmlWindow
.OnSetTitle(*args
, **kw
)
1092 base_OnSetTitle
= wx
._deprecated
(base_OnSetTitle
,
1093 "Please use HtmlWindow.OnSetTitle instead.")
1095 def base_OnCellMouseHover(*args
, **kw
):
1096 return HtmlWindow
.OnCellMouseHover(*args
, **kw
)
1097 base_OnCellMouseHover
= wx
._deprecated
(base_OnCellMouseHover
,
1098 "Please use HtmlWindow.OnCellMouseHover instead.")
1100 def base_OnCellClicked(*args
, **kw
):
1101 return HtmlWindow
.OnCellClicked(*args
, **kw
)
1102 base_OnCellClicked
= wx
._deprecated
(base_OnCellClicked
,
1103 "Please use HtmlWindow.OnCellClicked instead.")
1105 def GetClassDefaultAttributes(*args
, **kwargs
):
1107 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1109 Get the default attributes for this class. This is useful if you want
1110 to use the same font or colour in your own control as in a standard
1111 control -- which is a much better idea than hard coding specific
1112 colours or fonts which might look completely out of place on the
1113 user's system, especially if it uses themes.
1115 The variant parameter is only relevant under Mac currently and is
1116 ignore under other platforms. Under Mac, it will change the size of
1117 the returned font. See `wx.Window.SetWindowVariant` for more about
1120 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1122 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1123 HTMLCursor_Default
= _html
.HtmlWindow_HTMLCursor_Default
1124 HTMLCursor_Link
= _html
.HtmlWindow_HTMLCursor_Link
1125 HTMLCursor_Text
= _html
.HtmlWindow_HTMLCursor_Text
1126 def GetDefaultHTMLCursor(*args
, **kwargs
):
1127 """GetDefaultHTMLCursor(int type) -> Cursor"""
1128 return _html
.HtmlWindow_GetDefaultHTMLCursor(*args
, **kwargs
)
1130 GetDefaultHTMLCursor
= staticmethod(GetDefaultHTMLCursor
)
1131 _html
.HtmlWindow_swigregister(HtmlWindow
)
1133 def PreHtmlWindow(*args
, **kwargs
):
1134 """PreHtmlWindow() -> HtmlWindow"""
1135 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1138 def HtmlWindow_AddFilter(*args
, **kwargs
):
1139 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1140 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1142 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1144 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1146 Get the default attributes for this class. This is useful if you want
1147 to use the same font or colour in your own control as in a standard
1148 control -- which is a much better idea than hard coding specific
1149 colours or fonts which might look completely out of place on the
1150 user's system, especially if it uses themes.
1152 The variant parameter is only relevant under Mac currently and is
1153 ignore under other platforms. Under Mac, it will change the size of
1154 the returned font. See `wx.Window.SetWindowVariant` for more about
1157 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1159 def HtmlWindow_GetDefaultHTMLCursor(*args
, **kwargs
):
1160 """HtmlWindow_GetDefaultHTMLCursor(int type) -> Cursor"""
1161 return _html
.HtmlWindow_GetDefaultHTMLCursor(*args
, **kwargs
)
1163 #---------------------------------------------------------------------------
1165 class HtmlDCRenderer(_core
.Object
):
1166 """Proxy of C++ HtmlDCRenderer class"""
1167 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1168 __repr__
= _swig_repr
1169 def __init__(self
, *args
, **kwargs
):
1170 """__init__(self) -> HtmlDCRenderer"""
1171 _html
.HtmlDCRenderer_swiginit(self
,_html
.new_HtmlDCRenderer(*args
, **kwargs
))
1172 __swig_destroy__
= _html
.delete_HtmlDCRenderer
1173 __del__
= lambda self
: None;
1174 def SetDC(*args
, **kwargs
):
1175 """SetDC(self, DC dc, int maxwidth)"""
1176 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1178 def SetSize(*args
, **kwargs
):
1179 """SetSize(self, int width, int height)"""
1180 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1182 def SetHtmlText(*args
, **kwargs
):
1183 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1184 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1186 def SetFonts(*args
, **kwargs
):
1187 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1188 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1190 def SetStandardFonts(*args
, **kwargs
):
1191 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1192 return _html
.HtmlDCRenderer_SetStandardFonts(*args
, **kwargs
)
1194 def Render(*args
, **kwargs
):
1196 Render(self, int x, int y, wxArrayInt known_pagebreaks, int from=0,
1197 int dont_render=False, int to=INT_MAX) -> int
1199 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1201 def GetTotalHeight(*args
, **kwargs
):
1202 """GetTotalHeight(self) -> int"""
1203 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1205 _html
.HtmlDCRenderer_swigregister(HtmlDCRenderer
)
1207 PAGE_ODD
= _html
.PAGE_ODD
1208 PAGE_EVEN
= _html
.PAGE_EVEN
1209 PAGE_ALL
= _html
.PAGE_ALL
1210 class HtmlPrintout(_windows
.Printout
):
1211 """Proxy of C++ HtmlPrintout class"""
1212 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1213 __repr__
= _swig_repr
1214 def __init__(self
, *args
, **kwargs
):
1215 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1216 _html
.HtmlPrintout_swiginit(self
,_html
.new_HtmlPrintout(*args
, **kwargs
))
1217 def SetHtmlText(*args
, **kwargs
):
1218 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1219 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1221 def SetHtmlFile(*args
, **kwargs
):
1222 """SetHtmlFile(self, String htmlfile)"""
1223 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1225 def SetHeader(*args
, **kwargs
):
1226 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1227 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1229 def SetFooter(*args
, **kwargs
):
1230 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1231 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1233 def SetFonts(*args
, **kwargs
):
1234 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1235 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1237 def SetStandardFonts(*args
, **kwargs
):
1238 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1239 return _html
.HtmlPrintout_SetStandardFonts(*args
, **kwargs
)
1241 def SetMargins(*args
, **kwargs
):
1243 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1244 float right=25.2, float spaces=5)
1246 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1248 def AddFilter(*args
, **kwargs
):
1249 """AddFilter(wxHtmlFilter filter)"""
1250 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1252 AddFilter
= staticmethod(AddFilter
)
1253 def CleanUpStatics(*args
, **kwargs
):
1254 """CleanUpStatics()"""
1255 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1257 CleanUpStatics
= staticmethod(CleanUpStatics
)
1258 _html
.HtmlPrintout_swigregister(HtmlPrintout
)
1260 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1261 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1262 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1264 def HtmlPrintout_CleanUpStatics(*args
):
1265 """HtmlPrintout_CleanUpStatics()"""
1266 return _html
.HtmlPrintout_CleanUpStatics(*args
)
1268 class HtmlEasyPrinting(_core
.Object
):
1269 """Proxy of C++ HtmlEasyPrinting class"""
1270 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1271 __repr__
= _swig_repr
1272 def __init__(self
, *args
, **kwargs
):
1273 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1274 _html
.HtmlEasyPrinting_swiginit(self
,_html
.new_HtmlEasyPrinting(*args
, **kwargs
))
1275 __swig_destroy__
= _html
.delete_HtmlEasyPrinting
1276 __del__
= lambda self
: None;
1277 def PreviewFile(*args
, **kwargs
):
1278 """PreviewFile(self, String htmlfile)"""
1279 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1281 def PreviewText(*args
, **kwargs
):
1282 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1283 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1285 def PrintFile(*args
, **kwargs
):
1286 """PrintFile(self, String htmlfile)"""
1287 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1289 def PrintText(*args
, **kwargs
):
1290 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1291 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1293 def PageSetup(*args
, **kwargs
):
1294 """PageSetup(self)"""
1295 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1297 def SetHeader(*args
, **kwargs
):
1298 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1299 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1301 def SetFooter(*args
, **kwargs
):
1302 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1303 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1305 def SetFonts(*args
, **kwargs
):
1306 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1307 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1309 def SetStandardFonts(*args
, **kwargs
):
1310 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1311 return _html
.HtmlEasyPrinting_SetStandardFonts(*args
, **kwargs
)
1313 def GetPrintData(*args
, **kwargs
):
1314 """GetPrintData(self) -> PrintData"""
1315 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1317 def GetPageSetupData(*args
, **kwargs
):
1318 """GetPageSetupData(self) -> PageSetupDialogData"""
1319 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1321 _html
.HtmlEasyPrinting_swigregister(HtmlEasyPrinting
)
1323 #---------------------------------------------------------------------------
1325 class HtmlBookRecord(object):
1326 """Proxy of C++ HtmlBookRecord class"""
1327 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1328 __repr__
= _swig_repr
1329 def __init__(self
, *args
, **kwargs
):
1330 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1331 _html
.HtmlBookRecord_swiginit(self
,_html
.new_HtmlBookRecord(*args
, **kwargs
))
1332 def GetBookFile(*args
, **kwargs
):
1333 """GetBookFile(self) -> String"""
1334 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1336 def GetTitle(*args
, **kwargs
):
1337 """GetTitle(self) -> String"""
1338 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1340 def GetStart(*args
, **kwargs
):
1341 """GetStart(self) -> String"""
1342 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1344 def GetBasePath(*args
, **kwargs
):
1345 """GetBasePath(self) -> String"""
1346 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1348 def SetContentsRange(*args
, **kwargs
):
1349 """SetContentsRange(self, int start, int end)"""
1350 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1352 def GetContentsStart(*args
, **kwargs
):
1353 """GetContentsStart(self) -> int"""
1354 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1356 def GetContentsEnd(*args
, **kwargs
):
1357 """GetContentsEnd(self) -> int"""
1358 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1360 def SetTitle(*args
, **kwargs
):
1361 """SetTitle(self, String title)"""
1362 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1364 def SetBasePath(*args
, **kwargs
):
1365 """SetBasePath(self, String path)"""
1366 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1368 def SetStart(*args
, **kwargs
):
1369 """SetStart(self, String start)"""
1370 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1372 def GetFullPath(*args
, **kwargs
):
1373 """GetFullPath(self, String page) -> String"""
1374 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1376 _html
.HtmlBookRecord_swigregister(HtmlBookRecord
)
1378 class HtmlSearchStatus(object):
1379 """Proxy of C++ HtmlSearchStatus class"""
1380 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1381 def __init__(self
): raise AttributeError, "No constructor defined"
1382 __repr__
= _swig_repr
1383 def Search(*args
, **kwargs
):
1384 """Search(self) -> bool"""
1385 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1387 def IsActive(*args
, **kwargs
):
1388 """IsActive(self) -> bool"""
1389 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1391 def GetCurIndex(*args
, **kwargs
):
1392 """GetCurIndex(self) -> int"""
1393 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1395 def GetMaxIndex(*args
, **kwargs
):
1396 """GetMaxIndex(self) -> int"""
1397 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1399 def GetName(*args
, **kwargs
):
1400 """GetName(self) -> String"""
1401 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1403 _html
.HtmlSearchStatus_swigregister(HtmlSearchStatus
)
1405 class HtmlHelpData(object):
1406 """Proxy of C++ HtmlHelpData class"""
1407 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1408 __repr__
= _swig_repr
1409 def __init__(self
, *args
, **kwargs
):
1410 """__init__(self) -> HtmlHelpData"""
1411 _html
.HtmlHelpData_swiginit(self
,_html
.new_HtmlHelpData(*args
, **kwargs
))
1412 __swig_destroy__
= _html
.delete_HtmlHelpData
1413 __del__
= lambda self
: None;
1414 def SetTempDir(*args
, **kwargs
):
1415 """SetTempDir(self, String path)"""
1416 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1418 def AddBook(*args
, **kwargs
):
1419 """AddBook(self, String book) -> bool"""
1420 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1422 def FindPageByName(*args
, **kwargs
):
1423 """FindPageByName(self, String page) -> String"""
1424 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1426 def FindPageById(*args
, **kwargs
):
1427 """FindPageById(self, int id) -> String"""
1428 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1430 def GetBookRecArray(*args
, **kwargs
):
1431 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1432 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1434 _html
.HtmlHelpData_swigregister(HtmlHelpData
)
1436 HF_TOOLBAR
= _html
.HF_TOOLBAR
1437 HF_CONTENTS
= _html
.HF_CONTENTS
1438 HF_INDEX
= _html
.HF_INDEX
1439 HF_SEARCH
= _html
.HF_SEARCH
1440 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1441 HF_OPEN_FILES
= _html
.HF_OPEN_FILES
1442 HF_PRINT
= _html
.HF_PRINT
1443 HF_FLAT_TOOLBAR
= _html
.HF_FLAT_TOOLBAR
1444 HF_MERGE_BOOKS
= _html
.HF_MERGE_BOOKS
1445 HF_ICONS_BOOK
= _html
.HF_ICONS_BOOK
1446 HF_ICONS_BOOK_CHAPTER
= _html
.HF_ICONS_BOOK_CHAPTER
1447 HF_ICONS_FOLDER
= _html
.HF_ICONS_FOLDER
1448 HF_DEFAULT_STYLE
= _html
.HF_DEFAULT_STYLE
1449 HF_EMBEDDED
= _html
.HF_EMBEDDED
1450 HF_DIALOG
= _html
.HF_DIALOG
1451 HF_FRAME
= _html
.HF_FRAME
1452 HF_MODAL
= _html
.HF_MODAL
1453 ID_HTML_PANEL
= _html
.ID_HTML_PANEL
1454 ID_HTML_BACK
= _html
.ID_HTML_BACK
1455 ID_HTML_FORWARD
= _html
.ID_HTML_FORWARD
1456 ID_HTML_UPNODE
= _html
.ID_HTML_UPNODE
1457 ID_HTML_UP
= _html
.ID_HTML_UP
1458 ID_HTML_DOWN
= _html
.ID_HTML_DOWN
1459 ID_HTML_PRINT
= _html
.ID_HTML_PRINT
1460 ID_HTML_OPENFILE
= _html
.ID_HTML_OPENFILE
1461 ID_HTML_OPTIONS
= _html
.ID_HTML_OPTIONS
1462 ID_HTML_BOOKMARKSLIST
= _html
.ID_HTML_BOOKMARKSLIST
1463 ID_HTML_BOOKMARKSADD
= _html
.ID_HTML_BOOKMARKSADD
1464 ID_HTML_BOOKMARKSREMOVE
= _html
.ID_HTML_BOOKMARKSREMOVE
1465 ID_HTML_TREECTRL
= _html
.ID_HTML_TREECTRL
1466 ID_HTML_INDEXPAGE
= _html
.ID_HTML_INDEXPAGE
1467 ID_HTML_INDEXLIST
= _html
.ID_HTML_INDEXLIST
1468 ID_HTML_INDEXTEXT
= _html
.ID_HTML_INDEXTEXT
1469 ID_HTML_INDEXBUTTON
= _html
.ID_HTML_INDEXBUTTON
1470 ID_HTML_INDEXBUTTONALL
= _html
.ID_HTML_INDEXBUTTONALL
1471 ID_HTML_NOTEBOOK
= _html
.ID_HTML_NOTEBOOK
1472 ID_HTML_SEARCHPAGE
= _html
.ID_HTML_SEARCHPAGE
1473 ID_HTML_SEARCHTEXT
= _html
.ID_HTML_SEARCHTEXT
1474 ID_HTML_SEARCHLIST
= _html
.ID_HTML_SEARCHLIST
1475 ID_HTML_SEARCHBUTTON
= _html
.ID_HTML_SEARCHBUTTON
1476 ID_HTML_SEARCHCHOICE
= _html
.ID_HTML_SEARCHCHOICE
1477 ID_HTML_COUNTINFO
= _html
.ID_HTML_COUNTINFO
1478 class HtmlHelpWindow(_core
.Window
):
1479 """Proxy of C++ HtmlHelpWindow class"""
1480 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1481 __repr__
= _swig_repr
1482 def __init__(self
, *args
, **kwargs
):
1484 __init__(self, Window parent, int ?, Point pos=DefaultPosition, Size size=DefaultSize,
1485 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1486 int helpStyle=HF_DEFAULT_STYLE,
1487 HtmlHelpData data=None) -> HtmlHelpWindow
1489 _html
.HtmlHelpWindow_swiginit(self
,_html
.new_HtmlHelpWindow(*args
, **kwargs
))
1490 self
._setOORInfo
(self
)
1492 def Create(*args
, **kwargs
):
1494 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1495 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1496 int helpStyle=HF_DEFAULT_STYLE) -> bool
1498 return _html
.HtmlHelpWindow_Create(*args
, **kwargs
)
1500 def GetData(*args
, **kwargs
):
1501 """GetData(self) -> HtmlHelpData"""
1502 return _html
.HtmlHelpWindow_GetData(*args
, **kwargs
)
1504 def GetController(*args
, **kwargs
):
1505 """GetController(self) -> HtmlHelpController"""
1506 return _html
.HtmlHelpWindow_GetController(*args
, **kwargs
)
1508 def SetController(*args
, **kwargs
):
1509 """SetController(self, HtmlHelpController controller)"""
1510 return _html
.HtmlHelpWindow_SetController(*args
, **kwargs
)
1512 def Display(*args
, **kwargs
):
1513 """Display(self, String x) -> bool"""
1514 return _html
.HtmlHelpWindow_Display(*args
, **kwargs
)
1516 def DisplayID(*args
, **kwargs
):
1517 """DisplayID(self, int id) -> bool"""
1518 return _html
.HtmlHelpWindow_DisplayID(*args
, **kwargs
)
1520 def DisplayContents(*args
, **kwargs
):
1521 """DisplayContents(self) -> bool"""
1522 return _html
.HtmlHelpWindow_DisplayContents(*args
, **kwargs
)
1524 def DisplayIndex(*args
, **kwargs
):
1525 """DisplayIndex(self) -> bool"""
1526 return _html
.HtmlHelpWindow_DisplayIndex(*args
, **kwargs
)
1528 def KeywordSearch(*args
, **kwargs
):
1529 """KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1530 return _html
.HtmlHelpWindow_KeywordSearch(*args
, **kwargs
)
1532 def UseConfig(*args
, **kwargs
):
1533 """UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
1534 return _html
.HtmlHelpWindow_UseConfig(*args
, **kwargs
)
1536 def ReadCustomization(*args
, **kwargs
):
1537 """ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1538 return _html
.HtmlHelpWindow_ReadCustomization(*args
, **kwargs
)
1540 def WriteCustomization(*args
, **kwargs
):
1541 """WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1542 return _html
.HtmlHelpWindow_WriteCustomization(*args
, **kwargs
)
1544 def NotifyPageChanged(*args
, **kwargs
):
1545 """NotifyPageChanged(self)"""
1546 return _html
.HtmlHelpWindow_NotifyPageChanged(*args
, **kwargs
)
1548 def RefreshLists(*args
, **kwargs
):
1549 """RefreshLists(self)"""
1550 return _html
.HtmlHelpWindow_RefreshLists(*args
, **kwargs
)
1552 def GetHtmlWindow(*args
, **kwargs
):
1553 """GetHtmlWindow(self) -> wxHtmlWindow"""
1554 return _html
.HtmlHelpWindow_GetHtmlWindow(*args
, **kwargs
)
1556 def GetSplitterWindow(*args
, **kwargs
):
1557 """GetSplitterWindow(self) -> SplitterWindow"""
1558 return _html
.HtmlHelpWindow_GetSplitterWindow(*args
, **kwargs
)
1560 def GetToolBar(*args
, **kwargs
):
1561 """GetToolBar(self) -> wxToolBar"""
1562 return _html
.HtmlHelpWindow_GetToolBar(*args
, **kwargs
)
1564 def GetCfgData(*args
, **kwargs
):
1565 """GetCfgData(self) -> wxHtmlHelpFrameCfg"""
1566 return _html
.HtmlHelpWindow_GetCfgData(*args
, **kwargs
)
1568 def GetTreeCtrl(*args
, **kwargs
):
1569 """GetTreeCtrl(self) -> wxPyTreeCtrl"""
1570 return _html
.HtmlHelpWindow_GetTreeCtrl(*args
, **kwargs
)
1572 _html
.HtmlHelpWindow_swigregister(HtmlHelpWindow
)
1574 def PreHtmlHelpWindow(*args
, **kwargs
):
1575 """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
1576 val
= _html
.new_PreHtmlHelpWindow(*args
, **kwargs
)
1577 self
._setOORInfo
(self
)
1580 class HtmlWindowEvent(_core
.NotifyEvent
):
1581 """Proxy of C++ HtmlWindowEvent class"""
1582 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1583 __repr__
= _swig_repr
1584 def __init__(self
, *args
, **kwargs
):
1585 """__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
1586 _html
.HtmlWindowEvent_swiginit(self
,_html
.new_HtmlWindowEvent(*args
, **kwargs
))
1587 def SetURL(*args
, **kwargs
):
1588 """SetURL(self, String url)"""
1589 return _html
.HtmlWindowEvent_SetURL(*args
, **kwargs
)
1591 def GetURL(*args
, **kwargs
):
1592 """GetURL(self) -> String"""
1593 return _html
.HtmlWindowEvent_GetURL(*args
, **kwargs
)
1595 _html
.HtmlWindowEvent_swigregister(HtmlWindowEvent
)
1597 class HtmlHelpFrame(_windows
.Frame
):
1598 """Proxy of C++ HtmlHelpFrame class"""
1599 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1600 __repr__
= _swig_repr
1601 def __init__(self
, *args
, **kwargs
):
1603 __init__(self, Window parent, int ?, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
1604 HtmlHelpData data=None) -> HtmlHelpFrame
1606 _html
.HtmlHelpFrame_swiginit(self
,_html
.new_HtmlHelpFrame(*args
, **kwargs
))
1607 self
._setOORInfo
(self
)
1609 def Create(*args
, **kwargs
):
1610 """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
1611 return _html
.HtmlHelpFrame_Create(*args
, **kwargs
)
1613 def GetData(*args
, **kwargs
):
1614 """GetData(self) -> HtmlHelpData"""
1615 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1617 def SetTitleFormat(*args
, **kwargs
):
1618 """SetTitleFormat(self, String format)"""
1619 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1621 def AddGrabIfNeeded(*args
, **kwargs
):
1622 """AddGrabIfNeeded(self)"""
1623 return _html
.HtmlHelpFrame_AddGrabIfNeeded(*args
, **kwargs
)
1625 def GetController(*args
, **kwargs
):
1626 """GetController(self) -> HtmlHelpController"""
1627 return _html
.HtmlHelpFrame_GetController(*args
, **kwargs
)
1629 def SetController(*args
, **kwargs
):
1630 """SetController(self, HtmlHelpController controller)"""
1631 return _html
.HtmlHelpFrame_SetController(*args
, **kwargs
)
1633 def GetHelpWindow(*args
, **kwargs
):
1634 """GetHelpWindow(self) -> HtmlHelpWindow"""
1635 return _html
.HtmlHelpFrame_GetHelpWindow(*args
, **kwargs
)
1637 # For compatibility from before the refactor
1638 def Display(self
, x
):
1639 return self
.GetHelpWindow().Display(x
)
1640 def DisplayID(self
, x
):
1641 return self
.GetHelpWindow().DisplayID(id)
1642 def DisplayContents(self
):
1643 return self
.GetHelpWindow().DisplayContents()
1644 def DisplayIndex(self
):
1645 return self
.GetHelpWindow().DisplayIndex()
1647 def KeywordSearch(self
, keyword
):
1648 return self
.GetHelpWindow().KeywordSearch(keyword
)
1650 def UseConfig(self
, config
, rootpath
=""):
1651 return self
.GetHelpWindow().UseConfig(config
, rootpath
)
1652 def ReadCustomization(self
, config
, rootpath
=""):
1653 return self
.GetHelpWindow().ReadCustomization(config
, rootpath
)
1654 def WriteCustomization(self
, config
, rootpath
=""):
1655 return self
.GetHelpWindow().WriteCustomization(config
, rootpath
)
1657 _html
.HtmlHelpFrame_swigregister(HtmlHelpFrame
)
1659 def PreHtmlHelpFrame(*args
, **kwargs
):
1660 """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
1661 val
= _html
.new_PreHtmlHelpFrame(*args
, **kwargs
)
1662 self
._setOORInfo
(self
)
1665 class HtmlHelpDialog(_windows
.Dialog
):
1666 """Proxy of C++ HtmlHelpDialog class"""
1667 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1668 __repr__
= _swig_repr
1669 def __init__(self
, *args
, **kwargs
):
1671 __init__(self, Window parent, int ?, String title=EmptyString, int style=HF_DEFAULT_STYLE,
1672 HtmlHelpData data=None) -> HtmlHelpDialog
1674 _html
.HtmlHelpDialog_swiginit(self
,_html
.new_HtmlHelpDialog(*args
, **kwargs
))
1675 self
._setOORInfo
(self
)
1677 def Create(*args
, **kwargs
):
1678 """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
1679 return _html
.HtmlHelpDialog_Create(*args
, **kwargs
)
1681 def GetData(*args
, **kwargs
):
1682 """GetData(self) -> HtmlHelpData"""
1683 return _html
.HtmlHelpDialog_GetData(*args
, **kwargs
)
1685 def GetController(*args
, **kwargs
):
1686 """GetController(self) -> HtmlHelpController"""
1687 return _html
.HtmlHelpDialog_GetController(*args
, **kwargs
)
1689 def SetController(*args
, **kwargs
):
1690 """SetController(self, HtmlHelpController controller)"""
1691 return _html
.HtmlHelpDialog_SetController(*args
, **kwargs
)
1693 def GetHelpWindow(*args
, **kwargs
):
1694 """GetHelpWindow(self) -> HtmlHelpWindow"""
1695 return _html
.HtmlHelpDialog_GetHelpWindow(*args
, **kwargs
)
1697 def SetTitleFormat(*args
, **kwargs
):
1698 """SetTitleFormat(self, String format)"""
1699 return _html
.HtmlHelpDialog_SetTitleFormat(*args
, **kwargs
)
1701 _html
.HtmlHelpDialog_swigregister(HtmlHelpDialog
)
1703 def PreHtmlHelpDialog(*args
, **kwargs
):
1704 """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
1705 val
= _html
.new_PreHtmlHelpDialog(*args
, **kwargs
)
1706 self
._setOORInfo
(self
)
1709 class HelpControllerBase(_core
.Object
):
1710 """Proxy of C++ HelpControllerBase class"""
1711 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1712 def __init__(self
): raise AttributeError, "No constructor defined"
1713 __repr__
= _swig_repr
1714 def Initialize(*args
):
1716 Initialize(self, String file, int server) -> bool
1717 Initialize(self, String file) -> bool
1719 return _html
.HelpControllerBase_Initialize(*args
)
1721 def SetViewer(*args
, **kwargs
):
1722 """SetViewer(self, String viewer, long flags=0)"""
1723 return _html
.HelpControllerBase_SetViewer(*args
, **kwargs
)
1725 def LoadFile(*args
, **kwargs
):
1726 """LoadFile(self, String file=wxEmptyString) -> bool"""
1727 return _html
.HelpControllerBase_LoadFile(*args
, **kwargs
)
1729 def DisplayContents(*args
, **kwargs
):
1730 """DisplayContents(self) -> bool"""
1731 return _html
.HelpControllerBase_DisplayContents(*args
, **kwargs
)
1733 def DisplayContextPopup(*args
, **kwargs
):
1734 """DisplayContextPopup(self, int contextId) -> bool"""
1735 return _html
.HelpControllerBase_DisplayContextPopup(*args
, **kwargs
)
1737 def DisplayTextPopup(*args
, **kwargs
):
1738 """DisplayTextPopup(self, String text, Point pos) -> bool"""
1739 return _html
.HelpControllerBase_DisplayTextPopup(*args
, **kwargs
)
1741 def DisplaySection(*args
):
1743 DisplaySection(self, int sectionNo) -> bool
1744 DisplaySection(self, String section) -> bool
1746 return _html
.HelpControllerBase_DisplaySection(*args
)
1748 def DisplayBlock(*args
, **kwargs
):
1749 """DisplayBlock(self, long blockNo) -> bool"""
1750 return _html
.HelpControllerBase_DisplayBlock(*args
, **kwargs
)
1752 def KeywordSearch(*args
, **kwargs
):
1753 """KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1754 return _html
.HelpControllerBase_KeywordSearch(*args
, **kwargs
)
1756 def SetFrameParameters(*args
, **kwargs
):
1758 SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
1759 bool newFrameEachTime=False)
1761 return _html
.HelpControllerBase_SetFrameParameters(*args
, **kwargs
)
1763 def GetFrameParameters(*args
, **kwargs
):
1764 """GetFrameParameters(self, Size size=None, Point pos=None, bool newFrameEachTime=None) -> Frame"""
1765 return _html
.HelpControllerBase_GetFrameParameters(*args
, **kwargs
)
1767 def Quit(*args
, **kwargs
):
1768 """Quit(self) -> bool"""
1769 return _html
.HelpControllerBase_Quit(*args
, **kwargs
)
1771 def OnQuit(*args
, **kwargs
):
1773 return _html
.HelpControllerBase_OnQuit(*args
, **kwargs
)
1775 def SetParentWindow(*args
, **kwargs
):
1776 """SetParentWindow(self, Window win)"""
1777 return _html
.HelpControllerBase_SetParentWindow(*args
, **kwargs
)
1779 def GetParentWindow(*args
, **kwargs
):
1780 """GetParentWindow(self) -> Window"""
1781 return _html
.HelpControllerBase_GetParentWindow(*args
, **kwargs
)
1783 _html
.HelpControllerBase_swigregister(HelpControllerBase
)
1785 class HtmlHelpController(HelpControllerBase
):
1786 """Proxy of C++ HtmlHelpController class"""
1787 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1788 __repr__
= _swig_repr
1789 def __init__(self
, *args
, **kwargs
):
1790 """__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController"""
1791 _html
.HtmlHelpController_swiginit(self
,_html
.new_HtmlHelpController(*args
, **kwargs
))
1792 __swig_destroy__
= _html
.delete_HtmlHelpController
1793 __del__
= lambda self
: None;
1794 def GetHelpWindow(*args
, **kwargs
):
1795 """GetHelpWindow(self) -> HtmlHelpWindow"""
1796 return _html
.HtmlHelpController_GetHelpWindow(*args
, **kwargs
)
1798 def SetHelpWindow(*args
, **kwargs
):
1799 """SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
1800 return _html
.HtmlHelpController_SetHelpWindow(*args
, **kwargs
)
1802 def GetFrame(*args
, **kwargs
):
1803 """GetFrame(self) -> HtmlHelpFrame"""
1804 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1806 def GetDialog(*args
, **kwargs
):
1807 """GetDialog(self) -> HtmlHelpDialog"""
1808 return _html
.HtmlHelpController_GetDialog(*args
, **kwargs
)
1810 def SetTitleFormat(*args
, **kwargs
):
1811 """SetTitleFormat(self, String format)"""
1812 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1814 def SetTempDir(*args
, **kwargs
):
1815 """SetTempDir(self, String path)"""
1816 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1818 def AddBook(*args
, **kwargs
):
1819 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1820 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1822 def Display(*args
, **kwargs
):
1823 """Display(self, String x)"""
1824 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1826 def DisplayID(*args
, **kwargs
):
1827 """DisplayID(self, int id)"""
1828 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1830 def DisplayContents(*args
, **kwargs
):
1831 """DisplayContents(self)"""
1832 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1834 def DisplayIndex(*args
, **kwargs
):
1835 """DisplayIndex(self)"""
1836 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1838 def KeywordSearch(*args
, **kwargs
):
1839 """KeywordSearch(self, String keyword) -> bool"""
1840 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1842 def UseConfig(*args
, **kwargs
):
1843 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1844 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1846 def ReadCustomization(*args
, **kwargs
):
1847 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1848 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1850 def WriteCustomization(*args
, **kwargs
):
1851 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1852 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1854 def MakeModalIfNeeded(*args
, **kwargs
):
1855 """MakeModalIfNeeded(self)"""
1856 return _html
.HtmlHelpController_MakeModalIfNeeded(*args
, **kwargs
)
1858 def FindTopLevelWindow(*args
, **kwargs
):
1859 """FindTopLevelWindow(self) -> Window"""
1860 return _html
.HtmlHelpController_FindTopLevelWindow(*args
, **kwargs
)
1862 _html
.HtmlHelpController_swigregister(HtmlHelpController
)
1864 class HtmlModalHelp(object):
1865 """Proxy of C++ HtmlModalHelp class"""
1866 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1867 __repr__
= _swig_repr
1868 def __init__(self
, *args
, **kwargs
):
1870 __init__(self, Window parent, String helpFile, String topic=wxEmptyString,
1871 int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
1873 _html
.HtmlModalHelp_swiginit(self
,_html
.new_HtmlModalHelp(*args
, **kwargs
))
1874 _html
.HtmlModalHelp_swigregister(HtmlModalHelp
)