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 def GetInnerSource(*args
, **kwargs
):
228 """GetInnerSource(self, HtmlTag tag) -> String"""
229 return _html
.HtmlParser_GetInnerSource(*args
, **kwargs
)
231 HtmlParser_swigregister
= _html
.HtmlParser_swigregister
232 HtmlParser_swigregister(HtmlParser
)
234 class HtmlWinParser(HtmlParser
):
235 """Proxy of C++ HtmlWinParser class"""
236 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
237 __repr__
= _swig_repr
238 def __init__(self
, *args
, **kwargs
):
239 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
240 _html
.HtmlWinParser_swiginit(self
,_html
.new_HtmlWinParser(*args
, **kwargs
))
241 def SetDC(*args
, **kwargs
):
242 """SetDC(self, DC dc)"""
243 return _html
.HtmlWinParser_SetDC(*args
, **kwargs
)
245 def GetDC(*args
, **kwargs
):
246 """GetDC(self) -> DC"""
247 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
249 def GetCharHeight(*args
, **kwargs
):
250 """GetCharHeight(self) -> int"""
251 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
253 def GetCharWidth(*args
, **kwargs
):
254 """GetCharWidth(self) -> int"""
255 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
257 def GetWindow(*args
, **kwargs
):
258 """GetWindow(self) -> HtmlWindow"""
259 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
261 GetWindow
= wx
._deprecated
(GetWindow
)
262 def GetWindowInterface(*args
, **kwargs
):
263 """GetWindowInterface(self) -> HtmlWindowInterface"""
264 return _html
.HtmlWinParser_GetWindowInterface(*args
, **kwargs
)
266 def SetFonts(*args
, **kwargs
):
267 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
268 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
270 def SetStandardFonts(*args
, **kwargs
):
271 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
272 return _html
.HtmlWinParser_SetStandardFonts(*args
, **kwargs
)
274 def GetContainer(*args
, **kwargs
):
275 """GetContainer(self) -> HtmlContainerCell"""
276 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
278 def OpenContainer(*args
, **kwargs
):
279 """OpenContainer(self) -> HtmlContainerCell"""
280 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
282 def SetContainer(*args
, **kwargs
):
283 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
284 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
286 def CloseContainer(*args
, **kwargs
):
287 """CloseContainer(self) -> HtmlContainerCell"""
288 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
290 def GetFontSize(*args
, **kwargs
):
291 """GetFontSize(self) -> int"""
292 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
294 def SetFontSize(*args
, **kwargs
):
295 """SetFontSize(self, int s)"""
296 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
298 def GetFontBold(*args
, **kwargs
):
299 """GetFontBold(self) -> int"""
300 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
302 def SetFontBold(*args
, **kwargs
):
303 """SetFontBold(self, int x)"""
304 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
306 def GetFontItalic(*args
, **kwargs
):
307 """GetFontItalic(self) -> int"""
308 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
310 def SetFontItalic(*args
, **kwargs
):
311 """SetFontItalic(self, int x)"""
312 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
314 def GetFontUnderlined(*args
, **kwargs
):
315 """GetFontUnderlined(self) -> int"""
316 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
318 def SetFontUnderlined(*args
, **kwargs
):
319 """SetFontUnderlined(self, int x)"""
320 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
322 def GetFontFixed(*args
, **kwargs
):
323 """GetFontFixed(self) -> int"""
324 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
326 def SetFontFixed(*args
, **kwargs
):
327 """SetFontFixed(self, int x)"""
328 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
330 def GetAlign(*args
, **kwargs
):
331 """GetAlign(self) -> int"""
332 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
334 def SetAlign(*args
, **kwargs
):
335 """SetAlign(self, int a)"""
336 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
338 def GetLinkColor(*args
, **kwargs
):
339 """GetLinkColor(self) -> Colour"""
340 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
342 def SetLinkColor(*args
, **kwargs
):
343 """SetLinkColor(self, Colour clr)"""
344 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
346 def GetActualColor(*args
, **kwargs
):
347 """GetActualColor(self) -> Colour"""
348 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
350 def SetActualColor(*args
, **kwargs
):
351 """SetActualColor(self, Colour clr)"""
352 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
354 GetActualColour
= GetActualColor
355 SetActualColour
= SetActualColor
357 def SetLink(*args
, **kwargs
):
358 """SetLink(self, String link)"""
359 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
361 def CreateCurrentFont(*args
, **kwargs
):
362 """CreateCurrentFont(self) -> Font"""
363 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
365 def GetLink(*args
, **kwargs
):
366 """GetLink(self) -> HtmlLinkInfo"""
367 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
369 HtmlWinParser_swigregister
= _html
.HtmlWinParser_swigregister
370 HtmlWinParser_swigregister(HtmlWinParser
)
372 class HtmlTagHandler(_core
.Object
):
373 """Proxy of C++ HtmlTagHandler class"""
374 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
375 __repr__
= _swig_repr
376 def __init__(self
, *args
, **kwargs
):
377 """__init__(self) -> HtmlTagHandler"""
378 _html
.HtmlTagHandler_swiginit(self
,_html
.new_HtmlTagHandler(*args
, **kwargs
))
379 self
._setCallbackInfo
(self
, HtmlTagHandler
)
381 def _setCallbackInfo(*args
, **kwargs
):
382 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
383 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
385 def SetParser(*args
, **kwargs
):
386 """SetParser(self, HtmlParser parser)"""
387 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
389 def GetParser(*args
, **kwargs
):
390 """GetParser(self) -> HtmlParser"""
391 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
393 def ParseInner(*args
, **kwargs
):
394 """ParseInner(self, HtmlTag tag)"""
395 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
397 HtmlTagHandler_swigregister
= _html
.HtmlTagHandler_swigregister
398 HtmlTagHandler_swigregister(HtmlTagHandler
)
400 class HtmlWinTagHandler(HtmlTagHandler
):
401 """Proxy of C++ HtmlWinTagHandler class"""
402 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
403 __repr__
= _swig_repr
404 def __init__(self
, *args
, **kwargs
):
405 """__init__(self) -> HtmlWinTagHandler"""
406 _html
.HtmlWinTagHandler_swiginit(self
,_html
.new_HtmlWinTagHandler(*args
, **kwargs
))
407 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
409 def _setCallbackInfo(*args
, **kwargs
):
410 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
411 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
413 def SetParser(*args
, **kwargs
):
414 """SetParser(self, HtmlParser parser)"""
415 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
417 def GetParser(*args
, **kwargs
):
418 """GetParser(self) -> HtmlWinParser"""
419 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
421 def ParseInner(*args
, **kwargs
):
422 """ParseInner(self, HtmlTag tag)"""
423 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
425 HtmlWinTagHandler_swigregister
= _html
.HtmlWinTagHandler_swigregister
426 HtmlWinTagHandler_swigregister(HtmlWinTagHandler
)
429 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
430 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
431 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
432 #---------------------------------------------------------------------------
434 class HtmlSelection(object):
435 """Proxy of C++ HtmlSelection class"""
436 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
437 __repr__
= _swig_repr
438 def __init__(self
, *args
, **kwargs
):
439 """__init__(self) -> HtmlSelection"""
440 _html
.HtmlSelection_swiginit(self
,_html
.new_HtmlSelection(*args
, **kwargs
))
441 __swig_destroy__
= _html
.delete_HtmlSelection
442 __del__
= lambda self
: None;
443 def Set(*args
, **kwargs
):
444 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
445 return _html
.HtmlSelection_Set(*args
, **kwargs
)
447 def SetCells(*args
, **kwargs
):
448 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
449 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
451 def GetFromCell(*args
, **kwargs
):
452 """GetFromCell(self) -> HtmlCell"""
453 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
455 def GetToCell(*args
, **kwargs
):
456 """GetToCell(self) -> HtmlCell"""
457 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
459 def GetFromPos(*args
, **kwargs
):
460 """GetFromPos(self) -> Point"""
461 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
463 def GetToPos(*args
, **kwargs
):
464 """GetToPos(self) -> Point"""
465 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
467 def GetFromPrivPos(*args
, **kwargs
):
468 """GetFromPrivPos(self) -> Point"""
469 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
471 def GetToPrivPos(*args
, **kwargs
):
472 """GetToPrivPos(self) -> Point"""
473 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
475 def SetFromPrivPos(*args
, **kwargs
):
476 """SetFromPrivPos(self, Point pos)"""
477 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
479 def SetToPrivPos(*args
, **kwargs
):
480 """SetToPrivPos(self, Point pos)"""
481 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
483 def ClearPrivPos(*args
, **kwargs
):
484 """ClearPrivPos(self)"""
485 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
487 def IsEmpty(*args
, **kwargs
):
488 """IsEmpty(self) -> bool"""
489 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
491 HtmlSelection_swigregister
= _html
.HtmlSelection_swigregister
492 HtmlSelection_swigregister(HtmlSelection
)
494 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
495 HTML_SEL_IN
= _html
.HTML_SEL_IN
496 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
497 class HtmlRenderingState(object):
498 """Proxy of C++ HtmlRenderingState class"""
499 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
500 __repr__
= _swig_repr
501 def __init__(self
, *args
, **kwargs
):
502 """__init__(self) -> HtmlRenderingState"""
503 _html
.HtmlRenderingState_swiginit(self
,_html
.new_HtmlRenderingState(*args
, **kwargs
))
504 __swig_destroy__
= _html
.delete_HtmlRenderingState
505 __del__
= lambda self
: None;
506 def SetSelectionState(*args
, **kwargs
):
507 """SetSelectionState(self, int s)"""
508 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
510 def GetSelectionState(*args
, **kwargs
):
511 """GetSelectionState(self) -> int"""
512 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
514 def SetFgColour(*args
, **kwargs
):
515 """SetFgColour(self, Colour c)"""
516 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
518 def GetFgColour(*args
, **kwargs
):
519 """GetFgColour(self) -> Colour"""
520 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
522 def SetBgColour(*args
, **kwargs
):
523 """SetBgColour(self, Colour c)"""
524 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
526 def GetBgColour(*args
, **kwargs
):
527 """GetBgColour(self) -> Colour"""
528 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
530 HtmlRenderingState_swigregister
= _html
.HtmlRenderingState_swigregister
531 HtmlRenderingState_swigregister(HtmlRenderingState
)
533 class HtmlRenderingStyle(object):
534 """Proxy of C++ HtmlRenderingStyle class"""
535 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
536 def __init__(self
): raise AttributeError, "No constructor defined"
537 __repr__
= _swig_repr
538 def GetSelectedTextColour(*args
, **kwargs
):
539 """GetSelectedTextColour(self, Colour clr) -> Colour"""
540 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
542 def GetSelectedTextBgColour(*args
, **kwargs
):
543 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
544 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
546 HtmlRenderingStyle_swigregister
= _html
.HtmlRenderingStyle_swigregister
547 HtmlRenderingStyle_swigregister(HtmlRenderingStyle
)
549 class DefaultHtmlRenderingStyle(HtmlRenderingStyle
):
550 """Proxy of C++ DefaultHtmlRenderingStyle class"""
551 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
552 def __init__(self
): raise AttributeError, "No constructor defined"
553 __repr__
= _swig_repr
554 DefaultHtmlRenderingStyle_swigregister
= _html
.DefaultHtmlRenderingStyle_swigregister
555 DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStyle
)
557 class HtmlRenderingInfo(object):
558 """Proxy of C++ HtmlRenderingInfo class"""
559 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
560 __repr__
= _swig_repr
561 def __init__(self
, *args
, **kwargs
):
562 """__init__(self) -> HtmlRenderingInfo"""
563 _html
.HtmlRenderingInfo_swiginit(self
,_html
.new_HtmlRenderingInfo(*args
, **kwargs
))
564 __swig_destroy__
= _html
.delete_HtmlRenderingInfo
565 __del__
= lambda self
: None;
566 def SetSelection(*args
, **kwargs
):
567 """SetSelection(self, HtmlSelection s)"""
568 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
570 def GetSelection(*args
, **kwargs
):
571 """GetSelection(self) -> HtmlSelection"""
572 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
574 def SetStyle(*args
, **kwargs
):
575 """SetStyle(self, HtmlRenderingStyle style)"""
576 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
578 def GetStyle(*args
, **kwargs
):
579 """GetStyle(self) -> HtmlRenderingStyle"""
580 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
582 def GetState(*args
, **kwargs
):
583 """GetState(self) -> HtmlRenderingState"""
584 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
586 HtmlRenderingInfo_swigregister
= _html
.HtmlRenderingInfo_swigregister
587 HtmlRenderingInfo_swigregister(HtmlRenderingInfo
)
589 #---------------------------------------------------------------------------
591 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
592 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
593 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
594 class HtmlCell(_core
.Object
):
595 """Proxy of C++ HtmlCell class"""
596 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
597 __repr__
= _swig_repr
598 def __init__(self
, *args
, **kwargs
):
599 """__init__(self) -> HtmlCell"""
600 _html
.HtmlCell_swiginit(self
,_html
.new_HtmlCell(*args
, **kwargs
))
601 __swig_destroy__
= _html
.delete_HtmlCell
602 __del__
= lambda self
: None;
603 def GetPosX(*args
, **kwargs
):
604 """GetPosX(self) -> int"""
605 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
607 def GetPosY(*args
, **kwargs
):
608 """GetPosY(self) -> int"""
609 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
611 def GetWidth(*args
, **kwargs
):
612 """GetWidth(self) -> int"""
613 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
615 def GetHeight(*args
, **kwargs
):
616 """GetHeight(self) -> int"""
617 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
619 def GetDescent(*args
, **kwargs
):
620 """GetDescent(self) -> int"""
621 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
623 def GetMaxTotalWidth(*args
, **kwargs
):
624 """GetMaxTotalWidth(self) -> int"""
625 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
627 def GetId(*args
, **kwargs
):
628 """GetId(self) -> String"""
629 return _html
.HtmlCell_GetId(*args
, **kwargs
)
631 def SetId(*args
, **kwargs
):
632 """SetId(self, String id)"""
633 return _html
.HtmlCell_SetId(*args
, **kwargs
)
635 def GetLink(*args
, **kwargs
):
636 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
637 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
639 def GetNext(*args
, **kwargs
):
640 """GetNext(self) -> HtmlCell"""
641 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
643 def GetParent(*args
, **kwargs
):
644 """GetParent(self) -> HtmlContainerCell"""
645 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
647 def GetFirstChild(*args
, **kwargs
):
648 """GetFirstChild(self) -> HtmlCell"""
649 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
651 def GetMouseCursor(*args
, **kwargs
):
652 """GetMouseCursor(self, HtmlWindowInterface window) -> Cursor"""
653 return _html
.HtmlCell_GetMouseCursor(*args
, **kwargs
)
655 def GetCursor(*args
, **kwargs
):
656 """GetCursor(self) -> Cursor"""
657 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
659 GetCursor
= wx
._deprecated
(GetCursor
)
660 def IsFormattingCell(*args
, **kwargs
):
661 """IsFormattingCell(self) -> bool"""
662 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
664 def SetLink(*args
, **kwargs
):
665 """SetLink(self, HtmlLinkInfo link)"""
666 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
668 def SetNext(*args
, **kwargs
):
669 """SetNext(self, HtmlCell cell)"""
670 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
672 def SetParent(*args
, **kwargs
):
673 """SetParent(self, HtmlContainerCell p)"""
674 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
676 def SetPos(*args
, **kwargs
):
677 """SetPos(self, int x, int y)"""
678 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
680 def Layout(*args
, **kwargs
):
681 """Layout(self, int w)"""
682 return _html
.HtmlCell_Layout(*args
, **kwargs
)
684 def Draw(*args
, **kwargs
):
685 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
686 return _html
.HtmlCell_Draw(*args
, **kwargs
)
688 def DrawInvisible(*args
, **kwargs
):
689 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
690 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
692 def Find(*args
, **kwargs
):
693 """Find(self, int condition, void param) -> HtmlCell"""
694 return _html
.HtmlCell_Find(*args
, **kwargs
)
696 def ProcessMouseClick(*args
, **kwargs
):
697 """ProcessMouseClick(self, HtmlWindowInterface window, Point pos, MouseEvent event) -> bool"""
698 return _html
.HtmlCell_ProcessMouseClick(*args
, **kwargs
)
700 def AdjustPagebreak(*args
, **kwargs
):
701 """AdjustPagebreak(self, int INOUT) -> bool"""
702 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
704 def SetCanLiveOnPagebreak(*args
, **kwargs
):
705 """SetCanLiveOnPagebreak(self, bool can)"""
706 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
708 def IsLinebreakAllowed(*args
, **kwargs
):
709 """IsLinebreakAllowed(self) -> bool"""
710 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
712 def IsTerminalCell(*args
, **kwargs
):
713 """IsTerminalCell(self) -> bool"""
714 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
716 def FindCellByPos(*args
, **kwargs
):
717 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
718 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
720 def GetAbsPos(*args
, **kwargs
):
721 """GetAbsPos(self, HtmlCell rootCell=None) -> Point"""
722 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
724 def GetRootCell(*args
, **kwargs
):
725 """GetRootCell(self) -> HtmlCell"""
726 return _html
.HtmlCell_GetRootCell(*args
, **kwargs
)
728 def GetFirstTerminal(*args
, **kwargs
):
729 """GetFirstTerminal(self) -> HtmlCell"""
730 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
732 def GetLastTerminal(*args
, **kwargs
):
733 """GetLastTerminal(self) -> HtmlCell"""
734 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
736 def GetDepth(*args
, **kwargs
):
737 """GetDepth(self) -> unsigned int"""
738 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
740 def IsBefore(*args
, **kwargs
):
741 """IsBefore(self, HtmlCell cell) -> bool"""
742 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
744 def ConvertToText(*args
, **kwargs
):
745 """ConvertToText(self, HtmlSelection sel) -> String"""
746 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
748 HtmlCell_swigregister
= _html
.HtmlCell_swigregister
749 HtmlCell_swigregister(HtmlCell
)
751 class HtmlWordCell(HtmlCell
):
752 """Proxy of C++ HtmlWordCell 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, String word, DC dc) -> HtmlWordCell"""
757 _html
.HtmlWordCell_swiginit(self
,_html
.new_HtmlWordCell(*args
, **kwargs
))
758 def ConvertToText(*args
, **kwargs
):
759 """ConvertToText(self, HtmlSelection sel) -> String"""
760 return _html
.HtmlWordCell_ConvertToText(*args
, **kwargs
)
762 def IsLinebreakAllowed(*args
, **kwargs
):
763 """IsLinebreakAllowed(self) -> bool"""
764 return _html
.HtmlWordCell_IsLinebreakAllowed(*args
, **kwargs
)
766 def SetPreviousWord(*args
, **kwargs
):
767 """SetPreviousWord(self, HtmlWordCell cell)"""
768 return _html
.HtmlWordCell_SetPreviousWord(*args
, **kwargs
)
770 HtmlWordCell_swigregister
= _html
.HtmlWordCell_swigregister
771 HtmlWordCell_swigregister(HtmlWordCell
)
773 class HtmlContainerCell(HtmlCell
):
774 """Proxy of C++ HtmlContainerCell class"""
775 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
776 __repr__
= _swig_repr
777 def __init__(self
, *args
, **kwargs
):
778 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
779 _html
.HtmlContainerCell_swiginit(self
,_html
.new_HtmlContainerCell(*args
, **kwargs
))
780 def InsertCell(*args
, **kwargs
):
781 """InsertCell(self, HtmlCell cell)"""
782 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
784 def SetAlignHor(*args
, **kwargs
):
785 """SetAlignHor(self, int al)"""
786 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
788 def GetAlignHor(*args
, **kwargs
):
789 """GetAlignHor(self) -> int"""
790 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
792 def SetAlignVer(*args
, **kwargs
):
793 """SetAlignVer(self, int al)"""
794 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
796 def GetAlignVer(*args
, **kwargs
):
797 """GetAlignVer(self) -> int"""
798 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
800 def SetIndent(*args
, **kwargs
):
801 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
802 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
804 def GetIndent(*args
, **kwargs
):
805 """GetIndent(self, int ind) -> int"""
806 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
808 def GetIndentUnits(*args
, **kwargs
):
809 """GetIndentUnits(self, int ind) -> int"""
810 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
812 def SetAlign(*args
, **kwargs
):
813 """SetAlign(self, HtmlTag tag)"""
814 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
816 def SetWidthFloat(*args
, **kwargs
):
817 """SetWidthFloat(self, int w, int units)"""
818 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
820 def SetWidthFloatFromTag(*args
, **kwargs
):
821 """SetWidthFloatFromTag(self, HtmlTag tag)"""
822 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
824 def SetMinHeight(*args
, **kwargs
):
825 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
826 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
828 def SetBackgroundColour(*args
, **kwargs
):
829 """SetBackgroundColour(self, Colour clr)"""
830 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
832 def GetBackgroundColour(*args
, **kwargs
):
833 """GetBackgroundColour(self) -> Colour"""
834 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
836 def SetBorder(*args
, **kwargs
):
837 """SetBorder(self, Colour clr1, Colour clr2)"""
838 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
840 def GetFirstChild(*args
, **kwargs
):
841 """GetFirstChild(self) -> HtmlCell"""
842 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
844 HtmlContainerCell_swigregister
= _html
.HtmlContainerCell_swigregister
845 HtmlContainerCell_swigregister(HtmlContainerCell
)
847 class HtmlColourCell(HtmlCell
):
848 """Proxy of C++ HtmlColourCell 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, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
853 _html
.HtmlColourCell_swiginit(self
,_html
.new_HtmlColourCell(*args
, **kwargs
))
854 HtmlColourCell_swigregister
= _html
.HtmlColourCell_swigregister
855 HtmlColourCell_swigregister(HtmlColourCell
)
857 class HtmlFontCell(HtmlCell
):
858 """Proxy of C++ HtmlFontCell 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, Font font) -> HtmlFontCell"""
863 _html
.HtmlFontCell_swiginit(self
,_html
.new_HtmlFontCell(*args
, **kwargs
))
864 HtmlFontCell_swigregister
= _html
.HtmlFontCell_swigregister
865 HtmlFontCell_swigregister(HtmlFontCell
)
867 class HtmlWidgetCell(HtmlCell
):
868 """Proxy of C++ HtmlWidgetCell class"""
869 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
870 __repr__
= _swig_repr
871 def __init__(self
, *args
, **kwargs
):
872 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
873 _html
.HtmlWidgetCell_swiginit(self
,_html
.new_HtmlWidgetCell(*args
, **kwargs
))
874 HtmlWidgetCell_swigregister
= _html
.HtmlWidgetCell_swigregister
875 HtmlWidgetCell_swigregister(HtmlWidgetCell
)
877 #---------------------------------------------------------------------------
879 class HtmlFilter(_core
.Object
):
880 """Proxy of C++ HtmlFilter class"""
881 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
882 __repr__
= _swig_repr
883 def __init__(self
, *args
, **kwargs
):
884 """__init__(self) -> HtmlFilter"""
885 _html
.HtmlFilter_swiginit(self
,_html
.new_HtmlFilter(*args
, **kwargs
))
886 self
._setCallbackInfo
(self
, HtmlFilter
)
888 def _setCallbackInfo(*args
, **kwargs
):
889 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
890 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
892 HtmlFilter_swigregister
= _html
.HtmlFilter_swigregister
893 HtmlFilter_swigregister(HtmlFilter
)
895 class HtmlWindowInterface(object):
896 """Proxy of C++ HtmlWindowInterface class"""
897 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
898 def __init__(self
): raise AttributeError, "No constructor defined"
899 __repr__
= _swig_repr
900 __swig_destroy__
= _html
.delete_HtmlWindowInterface
901 __del__
= lambda self
: None;
902 def SetHTMLWindowTitle(*args
, **kwargs
):
903 """SetHTMLWindowTitle(self, String title)"""
904 return _html
.HtmlWindowInterface_SetHTMLWindowTitle(*args
, **kwargs
)
906 def HTMLCoordsToWindow(*args
, **kwargs
):
907 """HTMLCoordsToWindow(self, HtmlCell cell, Point pos) -> Point"""
908 return _html
.HtmlWindowInterface_HTMLCoordsToWindow(*args
, **kwargs
)
910 def GetHTMLWindow(*args
, **kwargs
):
911 """GetHTMLWindow(self) -> Window"""
912 return _html
.HtmlWindowInterface_GetHTMLWindow(*args
, **kwargs
)
914 def GetHTMLBackgroundColour(*args
, **kwargs
):
915 """GetHTMLBackgroundColour(self) -> Colour"""
916 return _html
.HtmlWindowInterface_GetHTMLBackgroundColour(*args
, **kwargs
)
918 def SetHTMLBackgroundColour(*args
, **kwargs
):
919 """SetHTMLBackgroundColour(self, Colour clr)"""
920 return _html
.HtmlWindowInterface_SetHTMLBackgroundColour(*args
, **kwargs
)
922 def SetHTMLBackgroundImage(*args
, **kwargs
):
923 """SetHTMLBackgroundImage(self, Bitmap bmpBg)"""
924 return _html
.HtmlWindowInterface_SetHTMLBackgroundImage(*args
, **kwargs
)
926 def SetHTMLStatusText(*args
, **kwargs
):
927 """SetHTMLStatusText(self, String text)"""
928 return _html
.HtmlWindowInterface_SetHTMLStatusText(*args
, **kwargs
)
930 HTMLCursor_Default
= _html
.HtmlWindowInterface_HTMLCursor_Default
931 HTMLCursor_Link
= _html
.HtmlWindowInterface_HTMLCursor_Link
932 HTMLCursor_Text
= _html
.HtmlWindowInterface_HTMLCursor_Text
933 HtmlWindowInterface_swigregister
= _html
.HtmlWindowInterface_swigregister
934 HtmlWindowInterface_swigregister(HtmlWindowInterface
)
936 #---------------------------------------------------------------------------
938 class HtmlWindow(_windows
.ScrolledWindow
):
939 """Proxy of C++ HtmlWindow class"""
940 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
941 __repr__
= _swig_repr
942 def __init__(self
, *args
, **kwargs
):
944 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
945 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
946 String name=HtmlWindowNameStr) -> HtmlWindow
948 _html
.HtmlWindow_swiginit(self
,_html
.new_HtmlWindow(*args
, **kwargs
))
949 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
951 def Create(*args
, **kwargs
):
953 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
954 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
955 String name=HtmlWindowNameStr) -> bool
957 return _html
.HtmlWindow_Create(*args
, **kwargs
)
959 def _setCallbackInfo(*args
, **kwargs
):
960 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
961 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
963 def SetPage(*args
, **kwargs
):
964 """SetPage(self, String source) -> bool"""
965 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
967 def LoadPage(*args
, **kwargs
):
968 """LoadPage(self, String location) -> bool"""
969 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
971 def LoadFile(*args
, **kwargs
):
972 """LoadFile(self, String filename) -> bool"""
973 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
975 def AppendToPage(*args
, **kwargs
):
976 """AppendToPage(self, String source) -> bool"""
977 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
979 def GetOpenedPage(*args
, **kwargs
):
980 """GetOpenedPage(self) -> String"""
981 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
983 def GetOpenedAnchor(*args
, **kwargs
):
984 """GetOpenedAnchor(self) -> String"""
985 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
987 def GetOpenedPageTitle(*args
, **kwargs
):
988 """GetOpenedPageTitle(self) -> String"""
989 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
991 def SetRelatedFrame(*args
, **kwargs
):
992 """SetRelatedFrame(self, Frame frame, String format)"""
993 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
995 def GetRelatedFrame(*args
, **kwargs
):
996 """GetRelatedFrame(self) -> Frame"""
997 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
999 def SetRelatedStatusBar(*args
, **kwargs
):
1000 """SetRelatedStatusBar(self, int bar)"""
1001 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
1003 def SetFonts(*args
, **kwargs
):
1004 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1005 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
1007 def SetStandardFonts(*args
, **kwargs
):
1008 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1009 return _html
.HtmlWindow_SetStandardFonts(*args
, **kwargs
)
1011 def SetBorders(*args
, **kwargs
):
1012 """SetBorders(self, int b)"""
1013 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
1015 def SetBackgroundImage(*args
, **kwargs
):
1016 """SetBackgroundImage(self, Bitmap bmpBg)"""
1017 return _html
.HtmlWindow_SetBackgroundImage(*args
, **kwargs
)
1019 def ReadCustomization(*args
, **kwargs
):
1020 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1021 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1023 def WriteCustomization(*args
, **kwargs
):
1024 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1025 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1027 def HistoryBack(*args
, **kwargs
):
1028 """HistoryBack(self) -> bool"""
1029 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1031 def HistoryForward(*args
, **kwargs
):
1032 """HistoryForward(self) -> bool"""
1033 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1035 def HistoryCanBack(*args
, **kwargs
):
1036 """HistoryCanBack(self) -> bool"""
1037 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1039 def HistoryCanForward(*args
, **kwargs
):
1040 """HistoryCanForward(self) -> bool"""
1041 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1043 def HistoryClear(*args
, **kwargs
):
1044 """HistoryClear(self)"""
1045 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1047 def GetInternalRepresentation(*args
, **kwargs
):
1048 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1049 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1051 def GetParser(*args
, **kwargs
):
1052 """GetParser(self) -> HtmlWinParser"""
1053 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1055 def ScrollToAnchor(*args
, **kwargs
):
1056 """ScrollToAnchor(self, String anchor) -> bool"""
1057 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1059 def HasAnchor(*args
, **kwargs
):
1060 """HasAnchor(self, String anchor) -> bool"""
1061 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1063 def AddFilter(*args
, **kwargs
):
1064 """AddFilter(HtmlFilter filter)"""
1065 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1067 AddFilter
= staticmethod(AddFilter
)
1068 def SelectWord(*args
, **kwargs
):
1069 """SelectWord(self, Point pos)"""
1070 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1072 def SelectLine(*args
, **kwargs
):
1073 """SelectLine(self, Point pos)"""
1074 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1076 def SelectAll(*args
, **kwargs
):
1077 """SelectAll(self)"""
1078 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1080 def SelectionToText(*args
, **kwargs
):
1081 """SelectionToText(self) -> String"""
1082 return _html
.HtmlWindow_SelectionToText(*args
, **kwargs
)
1084 def ToText(*args
, **kwargs
):
1085 """ToText(self) -> String"""
1086 return _html
.HtmlWindow_ToText(*args
, **kwargs
)
1088 def OnLinkClicked(*args
, **kwargs
):
1089 """OnLinkClicked(self, HtmlLinkInfo link)"""
1090 return _html
.HtmlWindow_OnLinkClicked(*args
, **kwargs
)
1092 def OnSetTitle(*args
, **kwargs
):
1093 """OnSetTitle(self, String title)"""
1094 return _html
.HtmlWindow_OnSetTitle(*args
, **kwargs
)
1096 def OnCellMouseHover(*args
, **kwargs
):
1097 """OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1098 return _html
.HtmlWindow_OnCellMouseHover(*args
, **kwargs
)
1100 def OnCellClicked(*args
, **kwargs
):
1101 """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event) -> bool"""
1102 return _html
.HtmlWindow_OnCellClicked(*args
, **kwargs
)
1104 def OnOpeningURL(*args
, **kwargs
):
1105 """OnOpeningURL(self, int type, String url, String redirect) -> int"""
1106 return _html
.HtmlWindow_OnOpeningURL(*args
, **kwargs
)
1108 def base_OnLinkClicked(*args
, **kw
):
1109 return HtmlWindow
.OnLinkClicked(*args
, **kw
)
1110 base_OnLinkClicked
= wx
._deprecated
(base_OnLinkClicked
,
1111 "Please use HtmlWindow.OnLinkClicked instead.")
1113 def base_OnSetTitle(*args
, **kw
):
1114 return HtmlWindow
.OnSetTitle(*args
, **kw
)
1115 base_OnSetTitle
= wx
._deprecated
(base_OnSetTitle
,
1116 "Please use HtmlWindow.OnSetTitle instead.")
1118 def base_OnCellMouseHover(*args
, **kw
):
1119 return HtmlWindow
.OnCellMouseHover(*args
, **kw
)
1120 base_OnCellMouseHover
= wx
._deprecated
(base_OnCellMouseHover
,
1121 "Please use HtmlWindow.OnCellMouseHover instead.")
1123 def base_OnCellClicked(*args
, **kw
):
1124 return HtmlWindow
.OnCellClicked(*args
, **kw
)
1125 base_OnCellClicked
= wx
._deprecated
(base_OnCellClicked
,
1126 "Please use HtmlWindow.OnCellClicked instead.")
1128 def GetClassDefaultAttributes(*args
, **kwargs
):
1130 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1132 Get the default attributes for this class. This is useful if you want
1133 to use the same font or colour in your own control as in a standard
1134 control -- which is a much better idea than hard coding specific
1135 colours or fonts which might look completely out of place on the
1136 user's system, especially if it uses themes.
1138 The variant parameter is only relevant under Mac currently and is
1139 ignore under other platforms. Under Mac, it will change the size of
1140 the returned font. See `wx.Window.SetWindowVariant` for more about
1143 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1145 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1146 HTMLCursor_Default
= _html
.HtmlWindow_HTMLCursor_Default
1147 HTMLCursor_Link
= _html
.HtmlWindow_HTMLCursor_Link
1148 HTMLCursor_Text
= _html
.HtmlWindow_HTMLCursor_Text
1149 def GetDefaultHTMLCursor(*args
, **kwargs
):
1150 """GetDefaultHTMLCursor(int type) -> Cursor"""
1151 return _html
.HtmlWindow_GetDefaultHTMLCursor(*args
, **kwargs
)
1153 GetDefaultHTMLCursor
= staticmethod(GetDefaultHTMLCursor
)
1154 HtmlWindow_swigregister
= _html
.HtmlWindow_swigregister
1155 HtmlWindow_swigregister(HtmlWindow
)
1157 def PreHtmlWindow(*args
, **kwargs
):
1158 """PreHtmlWindow() -> HtmlWindow"""
1159 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1162 def HtmlWindow_AddFilter(*args
, **kwargs
):
1163 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1164 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1166 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1168 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1170 Get the default attributes for this class. This is useful if you want
1171 to use the same font or colour in your own control as in a standard
1172 control -- which is a much better idea than hard coding specific
1173 colours or fonts which might look completely out of place on the
1174 user's system, especially if it uses themes.
1176 The variant parameter is only relevant under Mac currently and is
1177 ignore under other platforms. Under Mac, it will change the size of
1178 the returned font. See `wx.Window.SetWindowVariant` for more about
1181 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1183 def HtmlWindow_GetDefaultHTMLCursor(*args
, **kwargs
):
1184 """HtmlWindow_GetDefaultHTMLCursor(int type) -> Cursor"""
1185 return _html
.HtmlWindow_GetDefaultHTMLCursor(*args
, **kwargs
)
1187 #---------------------------------------------------------------------------
1189 class HtmlDCRenderer(_core
.Object
):
1190 """Proxy of C++ HtmlDCRenderer class"""
1191 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1192 __repr__
= _swig_repr
1193 def __init__(self
, *args
, **kwargs
):
1194 """__init__(self) -> HtmlDCRenderer"""
1195 _html
.HtmlDCRenderer_swiginit(self
,_html
.new_HtmlDCRenderer(*args
, **kwargs
))
1196 __swig_destroy__
= _html
.delete_HtmlDCRenderer
1197 __del__
= lambda self
: None;
1198 def SetDC(*args
, **kwargs
):
1199 """SetDC(self, DC dc, int maxwidth)"""
1200 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1202 def SetSize(*args
, **kwargs
):
1203 """SetSize(self, int width, int height)"""
1204 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1206 def SetHtmlText(*args
, **kwargs
):
1207 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1208 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1210 def SetFonts(*args
, **kwargs
):
1211 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1212 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1214 def SetStandardFonts(*args
, **kwargs
):
1215 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1216 return _html
.HtmlDCRenderer_SetStandardFonts(*args
, **kwargs
)
1218 def Render(*args
, **kwargs
):
1220 Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX,
1221 int choices=None, int LCOUNT=0) -> int
1223 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1225 def GetTotalHeight(*args
, **kwargs
):
1226 """GetTotalHeight(self) -> int"""
1227 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1229 HtmlDCRenderer_swigregister
= _html
.HtmlDCRenderer_swigregister
1230 HtmlDCRenderer_swigregister(HtmlDCRenderer
)
1232 PAGE_ODD
= _html
.PAGE_ODD
1233 PAGE_EVEN
= _html
.PAGE_EVEN
1234 PAGE_ALL
= _html
.PAGE_ALL
1235 class HtmlPrintout(_windows
.Printout
):
1236 """Proxy of C++ HtmlPrintout class"""
1237 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1238 __repr__
= _swig_repr
1239 def __init__(self
, *args
, **kwargs
):
1240 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1241 _html
.HtmlPrintout_swiginit(self
,_html
.new_HtmlPrintout(*args
, **kwargs
))
1242 def SetHtmlText(*args
, **kwargs
):
1243 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1244 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1246 def SetHtmlFile(*args
, **kwargs
):
1247 """SetHtmlFile(self, String htmlfile)"""
1248 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1250 def SetHeader(*args
, **kwargs
):
1251 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1252 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1254 def SetFooter(*args
, **kwargs
):
1255 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1256 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1258 def SetFonts(*args
, **kwargs
):
1259 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1260 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1262 def SetStandardFonts(*args
, **kwargs
):
1263 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1264 return _html
.HtmlPrintout_SetStandardFonts(*args
, **kwargs
)
1266 def SetMargins(*args
, **kwargs
):
1268 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1269 float right=25.2, float spaces=5)
1271 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1273 def AddFilter(*args
, **kwargs
):
1274 """AddFilter(wxHtmlFilter filter)"""
1275 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1277 AddFilter
= staticmethod(AddFilter
)
1278 def CleanUpStatics(*args
, **kwargs
):
1279 """CleanUpStatics()"""
1280 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1282 CleanUpStatics
= staticmethod(CleanUpStatics
)
1283 HtmlPrintout_swigregister
= _html
.HtmlPrintout_swigregister
1284 HtmlPrintout_swigregister(HtmlPrintout
)
1286 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1287 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1288 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1290 def HtmlPrintout_CleanUpStatics(*args
):
1291 """HtmlPrintout_CleanUpStatics()"""
1292 return _html
.HtmlPrintout_CleanUpStatics(*args
)
1294 class HtmlEasyPrinting(_core
.Object
):
1295 """Proxy of C++ HtmlEasyPrinting class"""
1296 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1297 __repr__
= _swig_repr
1298 def __init__(self
, *args
, **kwargs
):
1299 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1300 _html
.HtmlEasyPrinting_swiginit(self
,_html
.new_HtmlEasyPrinting(*args
, **kwargs
))
1301 __swig_destroy__
= _html
.delete_HtmlEasyPrinting
1302 __del__
= lambda self
: None;
1303 def PreviewFile(*args
, **kwargs
):
1304 """PreviewFile(self, String htmlfile)"""
1305 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1307 def PreviewText(*args
, **kwargs
):
1308 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1309 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1311 def PrintFile(*args
, **kwargs
):
1312 """PrintFile(self, String htmlfile)"""
1313 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1315 def PrintText(*args
, **kwargs
):
1316 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1317 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1319 def PageSetup(*args
, **kwargs
):
1320 """PageSetup(self)"""
1321 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1323 def SetHeader(*args
, **kwargs
):
1324 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1325 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1327 def SetFooter(*args
, **kwargs
):
1328 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1329 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1331 def SetFonts(*args
, **kwargs
):
1332 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1333 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1335 def SetStandardFonts(*args
, **kwargs
):
1336 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1337 return _html
.HtmlEasyPrinting_SetStandardFonts(*args
, **kwargs
)
1339 def GetPrintData(*args
, **kwargs
):
1340 """GetPrintData(self) -> PrintData"""
1341 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1343 def GetPageSetupData(*args
, **kwargs
):
1344 """GetPageSetupData(self) -> PageSetupDialogData"""
1345 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1347 HtmlEasyPrinting_swigregister
= _html
.HtmlEasyPrinting_swigregister
1348 HtmlEasyPrinting_swigregister(HtmlEasyPrinting
)
1350 #---------------------------------------------------------------------------
1352 class HtmlBookRecord(object):
1353 """Proxy of C++ HtmlBookRecord class"""
1354 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1355 __repr__
= _swig_repr
1356 def __init__(self
, *args
, **kwargs
):
1357 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1358 _html
.HtmlBookRecord_swiginit(self
,_html
.new_HtmlBookRecord(*args
, **kwargs
))
1359 def GetBookFile(*args
, **kwargs
):
1360 """GetBookFile(self) -> String"""
1361 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1363 def GetTitle(*args
, **kwargs
):
1364 """GetTitle(self) -> String"""
1365 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1367 def GetStart(*args
, **kwargs
):
1368 """GetStart(self) -> String"""
1369 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1371 def GetBasePath(*args
, **kwargs
):
1372 """GetBasePath(self) -> String"""
1373 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1375 def SetContentsRange(*args
, **kwargs
):
1376 """SetContentsRange(self, int start, int end)"""
1377 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1379 def GetContentsStart(*args
, **kwargs
):
1380 """GetContentsStart(self) -> int"""
1381 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1383 def GetContentsEnd(*args
, **kwargs
):
1384 """GetContentsEnd(self) -> int"""
1385 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1387 def SetTitle(*args
, **kwargs
):
1388 """SetTitle(self, String title)"""
1389 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1391 def SetBasePath(*args
, **kwargs
):
1392 """SetBasePath(self, String path)"""
1393 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1395 def SetStart(*args
, **kwargs
):
1396 """SetStart(self, String start)"""
1397 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1399 def GetFullPath(*args
, **kwargs
):
1400 """GetFullPath(self, String page) -> String"""
1401 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1403 HtmlBookRecord_swigregister
= _html
.HtmlBookRecord_swigregister
1404 HtmlBookRecord_swigregister(HtmlBookRecord
)
1406 class HtmlSearchStatus(object):
1407 """Proxy of C++ HtmlSearchStatus class"""
1408 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1409 def __init__(self
): raise AttributeError, "No constructor defined"
1410 __repr__
= _swig_repr
1411 def Search(*args
, **kwargs
):
1412 """Search(self) -> bool"""
1413 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1415 def IsActive(*args
, **kwargs
):
1416 """IsActive(self) -> bool"""
1417 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1419 def GetCurIndex(*args
, **kwargs
):
1420 """GetCurIndex(self) -> int"""
1421 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1423 def GetMaxIndex(*args
, **kwargs
):
1424 """GetMaxIndex(self) -> int"""
1425 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1427 def GetName(*args
, **kwargs
):
1428 """GetName(self) -> String"""
1429 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1431 HtmlSearchStatus_swigregister
= _html
.HtmlSearchStatus_swigregister
1432 HtmlSearchStatus_swigregister(HtmlSearchStatus
)
1434 class HtmlHelpData(object):
1435 """Proxy of C++ HtmlHelpData class"""
1436 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1437 __repr__
= _swig_repr
1438 def __init__(self
, *args
, **kwargs
):
1439 """__init__(self) -> HtmlHelpData"""
1440 _html
.HtmlHelpData_swiginit(self
,_html
.new_HtmlHelpData(*args
, **kwargs
))
1441 __swig_destroy__
= _html
.delete_HtmlHelpData
1442 __del__
= lambda self
: None;
1443 def SetTempDir(*args
, **kwargs
):
1444 """SetTempDir(self, String path)"""
1445 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1447 def AddBook(*args
, **kwargs
):
1448 """AddBook(self, String book) -> bool"""
1449 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1451 def FindPageByName(*args
, **kwargs
):
1452 """FindPageByName(self, String page) -> String"""
1453 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1455 def FindPageById(*args
, **kwargs
):
1456 """FindPageById(self, int id) -> String"""
1457 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1459 def GetBookRecArray(*args
, **kwargs
):
1460 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1461 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1463 HtmlHelpData_swigregister
= _html
.HtmlHelpData_swigregister
1464 HtmlHelpData_swigregister(HtmlHelpData
)
1466 HF_TOOLBAR
= _html
.HF_TOOLBAR
1467 HF_CONTENTS
= _html
.HF_CONTENTS
1468 HF_INDEX
= _html
.HF_INDEX
1469 HF_SEARCH
= _html
.HF_SEARCH
1470 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1471 HF_OPEN_FILES
= _html
.HF_OPEN_FILES
1472 HF_PRINT
= _html
.HF_PRINT
1473 HF_FLAT_TOOLBAR
= _html
.HF_FLAT_TOOLBAR
1474 HF_MERGE_BOOKS
= _html
.HF_MERGE_BOOKS
1475 HF_ICONS_BOOK
= _html
.HF_ICONS_BOOK
1476 HF_ICONS_BOOK_CHAPTER
= _html
.HF_ICONS_BOOK_CHAPTER
1477 HF_ICONS_FOLDER
= _html
.HF_ICONS_FOLDER
1478 HF_DEFAULT_STYLE
= _html
.HF_DEFAULT_STYLE
1479 HF_EMBEDDED
= _html
.HF_EMBEDDED
1480 HF_DIALOG
= _html
.HF_DIALOG
1481 HF_FRAME
= _html
.HF_FRAME
1482 HF_MODAL
= _html
.HF_MODAL
1483 ID_HTML_PANEL
= _html
.ID_HTML_PANEL
1484 ID_HTML_BACK
= _html
.ID_HTML_BACK
1485 ID_HTML_FORWARD
= _html
.ID_HTML_FORWARD
1486 ID_HTML_UPNODE
= _html
.ID_HTML_UPNODE
1487 ID_HTML_UP
= _html
.ID_HTML_UP
1488 ID_HTML_DOWN
= _html
.ID_HTML_DOWN
1489 ID_HTML_PRINT
= _html
.ID_HTML_PRINT
1490 ID_HTML_OPENFILE
= _html
.ID_HTML_OPENFILE
1491 ID_HTML_OPTIONS
= _html
.ID_HTML_OPTIONS
1492 ID_HTML_BOOKMARKSLIST
= _html
.ID_HTML_BOOKMARKSLIST
1493 ID_HTML_BOOKMARKSADD
= _html
.ID_HTML_BOOKMARKSADD
1494 ID_HTML_BOOKMARKSREMOVE
= _html
.ID_HTML_BOOKMARKSREMOVE
1495 ID_HTML_TREECTRL
= _html
.ID_HTML_TREECTRL
1496 ID_HTML_INDEXPAGE
= _html
.ID_HTML_INDEXPAGE
1497 ID_HTML_INDEXLIST
= _html
.ID_HTML_INDEXLIST
1498 ID_HTML_INDEXTEXT
= _html
.ID_HTML_INDEXTEXT
1499 ID_HTML_INDEXBUTTON
= _html
.ID_HTML_INDEXBUTTON
1500 ID_HTML_INDEXBUTTONALL
= _html
.ID_HTML_INDEXBUTTONALL
1501 ID_HTML_NOTEBOOK
= _html
.ID_HTML_NOTEBOOK
1502 ID_HTML_SEARCHPAGE
= _html
.ID_HTML_SEARCHPAGE
1503 ID_HTML_SEARCHTEXT
= _html
.ID_HTML_SEARCHTEXT
1504 ID_HTML_SEARCHLIST
= _html
.ID_HTML_SEARCHLIST
1505 ID_HTML_SEARCHBUTTON
= _html
.ID_HTML_SEARCHBUTTON
1506 ID_HTML_SEARCHCHOICE
= _html
.ID_HTML_SEARCHCHOICE
1507 ID_HTML_COUNTINFO
= _html
.ID_HTML_COUNTINFO
1508 class HtmlHelpWindow(_core
.Window
):
1509 """Proxy of C++ HtmlHelpWindow class"""
1510 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1511 __repr__
= _swig_repr
1512 def __init__(self
, *args
, **kwargs
):
1514 __init__(self, Window parent, int ?, Point pos=DefaultPosition, Size size=DefaultSize,
1515 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1516 int helpStyle=HF_DEFAULT_STYLE,
1517 HtmlHelpData data=None) -> HtmlHelpWindow
1519 _html
.HtmlHelpWindow_swiginit(self
,_html
.new_HtmlHelpWindow(*args
, **kwargs
))
1520 self
._setOORInfo
(self
)
1522 def Create(*args
, **kwargs
):
1524 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1525 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1526 int helpStyle=HF_DEFAULT_STYLE) -> bool
1528 return _html
.HtmlHelpWindow_Create(*args
, **kwargs
)
1530 def GetData(*args
, **kwargs
):
1531 """GetData(self) -> HtmlHelpData"""
1532 return _html
.HtmlHelpWindow_GetData(*args
, **kwargs
)
1534 def GetController(*args
, **kwargs
):
1535 """GetController(self) -> HtmlHelpController"""
1536 return _html
.HtmlHelpWindow_GetController(*args
, **kwargs
)
1538 def SetController(*args
, **kwargs
):
1539 """SetController(self, HtmlHelpController controller)"""
1540 return _html
.HtmlHelpWindow_SetController(*args
, **kwargs
)
1542 def Display(*args
, **kwargs
):
1543 """Display(self, String x) -> bool"""
1544 return _html
.HtmlHelpWindow_Display(*args
, **kwargs
)
1546 def DisplayID(*args
, **kwargs
):
1547 """DisplayID(self, int id) -> bool"""
1548 return _html
.HtmlHelpWindow_DisplayID(*args
, **kwargs
)
1550 def DisplayContents(*args
, **kwargs
):
1551 """DisplayContents(self) -> bool"""
1552 return _html
.HtmlHelpWindow_DisplayContents(*args
, **kwargs
)
1554 def DisplayIndex(*args
, **kwargs
):
1555 """DisplayIndex(self) -> bool"""
1556 return _html
.HtmlHelpWindow_DisplayIndex(*args
, **kwargs
)
1558 def KeywordSearch(*args
, **kwargs
):
1559 """KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1560 return _html
.HtmlHelpWindow_KeywordSearch(*args
, **kwargs
)
1562 def UseConfig(*args
, **kwargs
):
1563 """UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
1564 return _html
.HtmlHelpWindow_UseConfig(*args
, **kwargs
)
1566 def ReadCustomization(*args
, **kwargs
):
1567 """ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1568 return _html
.HtmlHelpWindow_ReadCustomization(*args
, **kwargs
)
1570 def WriteCustomization(*args
, **kwargs
):
1571 """WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1572 return _html
.HtmlHelpWindow_WriteCustomization(*args
, **kwargs
)
1574 def NotifyPageChanged(*args
, **kwargs
):
1575 """NotifyPageChanged(self)"""
1576 return _html
.HtmlHelpWindow_NotifyPageChanged(*args
, **kwargs
)
1578 def RefreshLists(*args
, **kwargs
):
1579 """RefreshLists(self)"""
1580 return _html
.HtmlHelpWindow_RefreshLists(*args
, **kwargs
)
1582 def GetHtmlWindow(*args
, **kwargs
):
1583 """GetHtmlWindow(self) -> wxHtmlWindow"""
1584 return _html
.HtmlHelpWindow_GetHtmlWindow(*args
, **kwargs
)
1586 def GetSplitterWindow(*args
, **kwargs
):
1587 """GetSplitterWindow(self) -> SplitterWindow"""
1588 return _html
.HtmlHelpWindow_GetSplitterWindow(*args
, **kwargs
)
1590 def GetToolBar(*args
, **kwargs
):
1591 """GetToolBar(self) -> wxToolBar"""
1592 return _html
.HtmlHelpWindow_GetToolBar(*args
, **kwargs
)
1594 def GetCfgData(*args
, **kwargs
):
1595 """GetCfgData(self) -> wxHtmlHelpFrameCfg"""
1596 return _html
.HtmlHelpWindow_GetCfgData(*args
, **kwargs
)
1598 def GetTreeCtrl(*args
, **kwargs
):
1599 """GetTreeCtrl(self) -> wxTreeCtrl"""
1600 return _html
.HtmlHelpWindow_GetTreeCtrl(*args
, **kwargs
)
1602 HtmlHelpWindow_swigregister
= _html
.HtmlHelpWindow_swigregister
1603 HtmlHelpWindow_swigregister(HtmlHelpWindow
)
1605 def PreHtmlHelpWindow(*args
, **kwargs
):
1606 """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
1607 val
= _html
.new_PreHtmlHelpWindow(*args
, **kwargs
)
1608 self
._setOORInfo
(self
)
1611 class HtmlWindowEvent(_core
.NotifyEvent
):
1612 """Proxy of C++ HtmlWindowEvent class"""
1613 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1614 __repr__
= _swig_repr
1615 def __init__(self
, *args
, **kwargs
):
1616 """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
1617 _html
.HtmlWindowEvent_swiginit(self
,_html
.new_HtmlWindowEvent(*args
, **kwargs
))
1618 def SetURL(*args
, **kwargs
):
1619 """SetURL(self, String url)"""
1620 return _html
.HtmlWindowEvent_SetURL(*args
, **kwargs
)
1622 def GetURL(*args
, **kwargs
):
1623 """GetURL(self) -> String"""
1624 return _html
.HtmlWindowEvent_GetURL(*args
, **kwargs
)
1626 HtmlWindowEvent_swigregister
= _html
.HtmlWindowEvent_swigregister
1627 HtmlWindowEvent_swigregister(HtmlWindowEvent
)
1629 class HtmlHelpFrame(_windows
.Frame
):
1630 """Proxy of C++ HtmlHelpFrame class"""
1631 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1632 __repr__
= _swig_repr
1633 def __init__(self
, *args
, **kwargs
):
1635 __init__(self, Window parent, int ?, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
1636 HtmlHelpData data=None) -> HtmlHelpFrame
1638 _html
.HtmlHelpFrame_swiginit(self
,_html
.new_HtmlHelpFrame(*args
, **kwargs
))
1639 self
._setOORInfo
(self
)
1641 def Create(*args
, **kwargs
):
1642 """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
1643 return _html
.HtmlHelpFrame_Create(*args
, **kwargs
)
1645 def GetData(*args
, **kwargs
):
1646 """GetData(self) -> HtmlHelpData"""
1647 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1649 def SetTitleFormat(*args
, **kwargs
):
1650 """SetTitleFormat(self, String format)"""
1651 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1653 def AddGrabIfNeeded(*args
, **kwargs
):
1654 """AddGrabIfNeeded(self)"""
1655 return _html
.HtmlHelpFrame_AddGrabIfNeeded(*args
, **kwargs
)
1657 def GetController(*args
, **kwargs
):
1658 """GetController(self) -> HtmlHelpController"""
1659 return _html
.HtmlHelpFrame_GetController(*args
, **kwargs
)
1661 def SetController(*args
, **kwargs
):
1662 """SetController(self, HtmlHelpController controller)"""
1663 return _html
.HtmlHelpFrame_SetController(*args
, **kwargs
)
1665 def GetHelpWindow(*args
, **kwargs
):
1666 """GetHelpWindow(self) -> HtmlHelpWindow"""
1667 return _html
.HtmlHelpFrame_GetHelpWindow(*args
, **kwargs
)
1669 # For compatibility from before the refactor
1670 def Display(self
, x
):
1671 return self
.GetHelpWindow().Display(x
)
1672 def DisplayID(self
, x
):
1673 return self
.GetHelpWindow().DisplayID(id)
1674 def DisplayContents(self
):
1675 return self
.GetHelpWindow().DisplayContents()
1676 def DisplayIndex(self
):
1677 return self
.GetHelpWindow().DisplayIndex()
1679 def KeywordSearch(self
, keyword
):
1680 return self
.GetHelpWindow().KeywordSearch(keyword
)
1682 def UseConfig(self
, config
, rootpath
=""):
1683 return self
.GetHelpWindow().UseConfig(config
, rootpath
)
1684 def ReadCustomization(self
, config
, rootpath
=""):
1685 return self
.GetHelpWindow().ReadCustomization(config
, rootpath
)
1686 def WriteCustomization(self
, config
, rootpath
=""):
1687 return self
.GetHelpWindow().WriteCustomization(config
, rootpath
)
1689 HtmlHelpFrame_swigregister
= _html
.HtmlHelpFrame_swigregister
1690 HtmlHelpFrame_swigregister(HtmlHelpFrame
)
1692 def PreHtmlHelpFrame(*args
, **kwargs
):
1693 """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
1694 val
= _html
.new_PreHtmlHelpFrame(*args
, **kwargs
)
1695 self
._setOORInfo
(self
)
1698 class HtmlHelpDialog(_windows
.Dialog
):
1699 """Proxy of C++ HtmlHelpDialog class"""
1700 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1701 __repr__
= _swig_repr
1702 def __init__(self
, *args
, **kwargs
):
1704 __init__(self, Window parent, int ?, String title=EmptyString, int style=HF_DEFAULT_STYLE,
1705 HtmlHelpData data=None) -> HtmlHelpDialog
1707 _html
.HtmlHelpDialog_swiginit(self
,_html
.new_HtmlHelpDialog(*args
, **kwargs
))
1708 self
._setOORInfo
(self
)
1710 def Create(*args
, **kwargs
):
1711 """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
1712 return _html
.HtmlHelpDialog_Create(*args
, **kwargs
)
1714 def GetData(*args
, **kwargs
):
1715 """GetData(self) -> HtmlHelpData"""
1716 return _html
.HtmlHelpDialog_GetData(*args
, **kwargs
)
1718 def GetController(*args
, **kwargs
):
1719 """GetController(self) -> HtmlHelpController"""
1720 return _html
.HtmlHelpDialog_GetController(*args
, **kwargs
)
1722 def SetController(*args
, **kwargs
):
1723 """SetController(self, HtmlHelpController controller)"""
1724 return _html
.HtmlHelpDialog_SetController(*args
, **kwargs
)
1726 def GetHelpWindow(*args
, **kwargs
):
1727 """GetHelpWindow(self) -> HtmlHelpWindow"""
1728 return _html
.HtmlHelpDialog_GetHelpWindow(*args
, **kwargs
)
1730 def SetTitleFormat(*args
, **kwargs
):
1731 """SetTitleFormat(self, String format)"""
1732 return _html
.HtmlHelpDialog_SetTitleFormat(*args
, **kwargs
)
1734 HtmlHelpDialog_swigregister
= _html
.HtmlHelpDialog_swigregister
1735 HtmlHelpDialog_swigregister(HtmlHelpDialog
)
1737 def PreHtmlHelpDialog(*args
, **kwargs
):
1738 """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
1739 val
= _html
.new_PreHtmlHelpDialog(*args
, **kwargs
)
1740 self
._setOORInfo
(self
)
1743 class HelpControllerBase(_core
.Object
):
1744 """Proxy of C++ HelpControllerBase class"""
1745 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1746 def __init__(self
): raise AttributeError, "No constructor defined"
1747 __repr__
= _swig_repr
1748 def Initialize(*args
):
1750 Initialize(self, String file, int server) -> bool
1751 Initialize(self, String file) -> bool
1753 return _html
.HelpControllerBase_Initialize(*args
)
1755 def SetViewer(*args
, **kwargs
):
1756 """SetViewer(self, String viewer, long flags=0)"""
1757 return _html
.HelpControllerBase_SetViewer(*args
, **kwargs
)
1759 def LoadFile(*args
, **kwargs
):
1760 """LoadFile(self, String file=wxEmptyString) -> bool"""
1761 return _html
.HelpControllerBase_LoadFile(*args
, **kwargs
)
1763 def DisplayContents(*args
, **kwargs
):
1764 """DisplayContents(self) -> bool"""
1765 return _html
.HelpControllerBase_DisplayContents(*args
, **kwargs
)
1767 def DisplayContextPopup(*args
, **kwargs
):
1768 """DisplayContextPopup(self, int contextId) -> bool"""
1769 return _html
.HelpControllerBase_DisplayContextPopup(*args
, **kwargs
)
1771 def DisplayTextPopup(*args
, **kwargs
):
1772 """DisplayTextPopup(self, String text, Point pos) -> bool"""
1773 return _html
.HelpControllerBase_DisplayTextPopup(*args
, **kwargs
)
1775 def DisplaySection(*args
):
1777 DisplaySection(self, int sectionNo) -> bool
1778 DisplaySection(self, String section) -> bool
1780 return _html
.HelpControllerBase_DisplaySection(*args
)
1782 def DisplayBlock(*args
, **kwargs
):
1783 """DisplayBlock(self, long blockNo) -> bool"""
1784 return _html
.HelpControllerBase_DisplayBlock(*args
, **kwargs
)
1786 def KeywordSearch(*args
, **kwargs
):
1787 """KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1788 return _html
.HelpControllerBase_KeywordSearch(*args
, **kwargs
)
1790 def SetFrameParameters(*args
, **kwargs
):
1792 SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
1793 bool newFrameEachTime=False)
1795 return _html
.HelpControllerBase_SetFrameParameters(*args
, **kwargs
)
1797 def GetFrameParameters(*args
, **kwargs
):
1798 """GetFrameParameters(self, Size size=None, Point pos=None, bool newFrameEachTime=None) -> Frame"""
1799 return _html
.HelpControllerBase_GetFrameParameters(*args
, **kwargs
)
1801 def Quit(*args
, **kwargs
):
1802 """Quit(self) -> bool"""
1803 return _html
.HelpControllerBase_Quit(*args
, **kwargs
)
1805 def OnQuit(*args
, **kwargs
):
1807 return _html
.HelpControllerBase_OnQuit(*args
, **kwargs
)
1809 def SetParentWindow(*args
, **kwargs
):
1810 """SetParentWindow(self, Window win)"""
1811 return _html
.HelpControllerBase_SetParentWindow(*args
, **kwargs
)
1813 def GetParentWindow(*args
, **kwargs
):
1814 """GetParentWindow(self) -> Window"""
1815 return _html
.HelpControllerBase_GetParentWindow(*args
, **kwargs
)
1817 HelpControllerBase_swigregister
= _html
.HelpControllerBase_swigregister
1818 HelpControllerBase_swigregister(HelpControllerBase
)
1820 class HtmlHelpController(HelpControllerBase
):
1821 """Proxy of C++ HtmlHelpController class"""
1822 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1823 __repr__
= _swig_repr
1824 def __init__(self
, *args
, **kwargs
):
1825 """__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController"""
1826 _html
.HtmlHelpController_swiginit(self
,_html
.new_HtmlHelpController(*args
, **kwargs
))
1827 __swig_destroy__
= _html
.delete_HtmlHelpController
1828 __del__
= lambda self
: None;
1829 def GetHelpWindow(*args
, **kwargs
):
1830 """GetHelpWindow(self) -> HtmlHelpWindow"""
1831 return _html
.HtmlHelpController_GetHelpWindow(*args
, **kwargs
)
1833 def SetHelpWindow(*args
, **kwargs
):
1834 """SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
1835 return _html
.HtmlHelpController_SetHelpWindow(*args
, **kwargs
)
1837 def GetFrame(*args
, **kwargs
):
1838 """GetFrame(self) -> HtmlHelpFrame"""
1839 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1841 def GetDialog(*args
, **kwargs
):
1842 """GetDialog(self) -> HtmlHelpDialog"""
1843 return _html
.HtmlHelpController_GetDialog(*args
, **kwargs
)
1845 def SetTitleFormat(*args
, **kwargs
):
1846 """SetTitleFormat(self, String format)"""
1847 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1849 def SetTempDir(*args
, **kwargs
):
1850 """SetTempDir(self, String path)"""
1851 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1853 def AddBook(*args
, **kwargs
):
1854 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1855 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1857 def Display(*args
, **kwargs
):
1858 """Display(self, String x)"""
1859 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1861 def DisplayID(*args
, **kwargs
):
1862 """DisplayID(self, int id)"""
1863 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1865 def DisplayContents(*args
, **kwargs
):
1866 """DisplayContents(self)"""
1867 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1869 def DisplayIndex(*args
, **kwargs
):
1870 """DisplayIndex(self)"""
1871 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1873 def KeywordSearch(*args
, **kwargs
):
1874 """KeywordSearch(self, String keyword) -> bool"""
1875 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1877 def UseConfig(*args
, **kwargs
):
1878 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1879 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1881 def ReadCustomization(*args
, **kwargs
):
1882 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1883 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1885 def WriteCustomization(*args
, **kwargs
):
1886 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1887 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1889 def MakeModalIfNeeded(*args
, **kwargs
):
1890 """MakeModalIfNeeded(self)"""
1891 return _html
.HtmlHelpController_MakeModalIfNeeded(*args
, **kwargs
)
1893 def FindTopLevelWindow(*args
, **kwargs
):
1894 """FindTopLevelWindow(self) -> Window"""
1895 return _html
.HtmlHelpController_FindTopLevelWindow(*args
, **kwargs
)
1897 HtmlHelpController_swigregister
= _html
.HtmlHelpController_swigregister
1898 HtmlHelpController_swigregister(HtmlHelpController
)
1900 class HtmlModalHelp(object):
1901 """Proxy of C++ HtmlModalHelp class"""
1902 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
1903 __repr__
= _swig_repr
1904 def __init__(self
, *args
, **kwargs
):
1906 __init__(self, Window parent, String helpFile, String topic=wxEmptyString,
1907 int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
1909 _html
.HtmlModalHelp_swiginit(self
,_html
.new_HtmlModalHelp(*args
, **kwargs
))
1910 HtmlModalHelp_swigregister
= _html
.HtmlModalHelp_swigregister
1911 HtmlModalHelp_swigregister(HtmlModalHelp
)