1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 Classes for a simple HTML rendering window, HTML Help Window, etc.
10 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
12 if isinstance(value
, class_type
):
13 self
.__dict
__[name
] = value
.this
14 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
17 method
= class_type
.__swig
_setmethods
__.get(name
,None)
18 if method
: return method(self
,value
)
19 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
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 method
= class_type
.__swig
_getmethods
__.get(name
,None)
29 if method
: return method(self
)
30 raise AttributeError,name
34 _object
= types
.ObjectType
36 except AttributeError:
42 def _swig_setattr_nondynamic_method(set):
43 def set_attr(self
,name
,value
):
44 if hasattr(self
,name
) or (name
in ("this", "thisown")):
47 raise AttributeError("You cannot add attributes to %s" % self
)
54 __docfilter__
= wx
.__DocFilter
(globals())
55 #---------------------------------------------------------------------------
57 HTML_ALIGN_LEFT
= _html
.HTML_ALIGN_LEFT
58 HTML_ALIGN_CENTER
= _html
.HTML_ALIGN_CENTER
59 HTML_ALIGN_RIGHT
= _html
.HTML_ALIGN_RIGHT
60 HTML_ALIGN_BOTTOM
= _html
.HTML_ALIGN_BOTTOM
61 HTML_ALIGN_TOP
= _html
.HTML_ALIGN_TOP
62 HTML_CLR_FOREGROUND
= _html
.HTML_CLR_FOREGROUND
63 HTML_CLR_BACKGROUND
= _html
.HTML_CLR_BACKGROUND
64 HTML_UNITS_PIXELS
= _html
.HTML_UNITS_PIXELS
65 HTML_UNITS_PERCENT
= _html
.HTML_UNITS_PERCENT
66 HTML_INDENT_LEFT
= _html
.HTML_INDENT_LEFT
67 HTML_INDENT_RIGHT
= _html
.HTML_INDENT_RIGHT
68 HTML_INDENT_TOP
= _html
.HTML_INDENT_TOP
69 HTML_INDENT_BOTTOM
= _html
.HTML_INDENT_BOTTOM
70 HTML_INDENT_HORIZONTAL
= _html
.HTML_INDENT_HORIZONTAL
71 HTML_INDENT_VERTICAL
= _html
.HTML_INDENT_VERTICAL
72 HTML_INDENT_ALL
= _html
.HTML_INDENT_ALL
73 HTML_COND_ISANCHOR
= _html
.HTML_COND_ISANCHOR
74 HTML_COND_ISIMAGEMAP
= _html
.HTML_COND_ISIMAGEMAP
75 HTML_COND_USER
= _html
.HTML_COND_USER
76 HTML_FONT_SIZE_1
= _html
.HTML_FONT_SIZE_1
77 HTML_FONT_SIZE_2
= _html
.HTML_FONT_SIZE_2
78 HTML_FONT_SIZE_3
= _html
.HTML_FONT_SIZE_3
79 HTML_FONT_SIZE_4
= _html
.HTML_FONT_SIZE_4
80 HTML_FONT_SIZE_5
= _html
.HTML_FONT_SIZE_5
81 HTML_FONT_SIZE_6
= _html
.HTML_FONT_SIZE_6
82 HTML_FONT_SIZE_7
= _html
.HTML_FONT_SIZE_7
83 HW_SCROLLBAR_NEVER
= _html
.HW_SCROLLBAR_NEVER
84 HW_SCROLLBAR_AUTO
= _html
.HW_SCROLLBAR_AUTO
85 HW_NO_SELECTION
= _html
.HW_NO_SELECTION
86 HW_DEFAULT_STYLE
= _html
.HW_DEFAULT_STYLE
87 HTML_OPEN
= _html
.HTML_OPEN
88 HTML_BLOCK
= _html
.HTML_BLOCK
89 HTML_REDIRECT
= _html
.HTML_REDIRECT
90 HTML_URL_PAGE
= _html
.HTML_URL_PAGE
91 HTML_URL_IMAGE
= _html
.HTML_URL_IMAGE
92 HTML_URL_OTHER
= _html
.HTML_URL_OTHER
93 class HtmlLinkInfo(_core
.Object
):
94 """Proxy of C++ HtmlLinkInfo class"""
96 return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
97 def __init__(self
, *args
, **kwargs
):
98 """__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo"""
99 newobj
= _html
.new_HtmlLinkInfo(*args
, **kwargs
)
100 self
.this
= newobj
.this
103 def GetHref(*args
, **kwargs
):
104 """GetHref(self) -> String"""
105 return _html
.HtmlLinkInfo_GetHref(*args
, **kwargs
)
107 def GetTarget(*args
, **kwargs
):
108 """GetTarget(self) -> String"""
109 return _html
.HtmlLinkInfo_GetTarget(*args
, **kwargs
)
111 def GetEvent(*args
, **kwargs
):
112 """GetEvent(self) -> MouseEvent"""
113 return _html
.HtmlLinkInfo_GetEvent(*args
, **kwargs
)
115 def GetHtmlCell(*args
, **kwargs
):
116 """GetHtmlCell(self) -> HtmlCell"""
117 return _html
.HtmlLinkInfo_GetHtmlCell(*args
, **kwargs
)
119 def SetEvent(*args
, **kwargs
):
120 """SetEvent(self, MouseEvent e)"""
121 return _html
.HtmlLinkInfo_SetEvent(*args
, **kwargs
)
123 def SetHtmlCell(*args
, **kwargs
):
124 """SetHtmlCell(self, HtmlCell e)"""
125 return _html
.HtmlLinkInfo_SetHtmlCell(*args
, **kwargs
)
128 class HtmlLinkInfoPtr(HtmlLinkInfo
):
129 def __init__(self
, this
):
131 if not hasattr(self
,"thisown"): self
.thisown
= 0
132 self
.__class
__ = HtmlLinkInfo
133 _html
.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr
)
135 HtmlWindowNameStr
= cvar
.HtmlWindowNameStr
136 HtmlPrintoutTitleStr
= cvar
.HtmlPrintoutTitleStr
137 HtmlPrintingTitleStr
= cvar
.HtmlPrintingTitleStr
139 class HtmlTag(_core
.Object
):
140 """Proxy of C++ HtmlTag class"""
141 def __init__(self
): raise RuntimeError, "No constructor defined"
143 return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
144 def GetName(*args
, **kwargs
):
145 """GetName(self) -> String"""
146 return _html
.HtmlTag_GetName(*args
, **kwargs
)
148 def HasParam(*args
, **kwargs
):
149 """HasParam(self, String par) -> bool"""
150 return _html
.HtmlTag_HasParam(*args
, **kwargs
)
152 def GetParam(*args
, **kwargs
):
153 """GetParam(self, String par, int with_commas=False) -> String"""
154 return _html
.HtmlTag_GetParam(*args
, **kwargs
)
156 def GetAllParams(*args
, **kwargs
):
157 """GetAllParams(self) -> String"""
158 return _html
.HtmlTag_GetAllParams(*args
, **kwargs
)
160 def HasEnding(*args
, **kwargs
):
161 """HasEnding(self) -> bool"""
162 return _html
.HtmlTag_HasEnding(*args
, **kwargs
)
164 def GetBeginPos(*args
, **kwargs
):
165 """GetBeginPos(self) -> int"""
166 return _html
.HtmlTag_GetBeginPos(*args
, **kwargs
)
168 def GetEndPos1(*args
, **kwargs
):
169 """GetEndPos1(self) -> int"""
170 return _html
.HtmlTag_GetEndPos1(*args
, **kwargs
)
172 def GetEndPos2(*args
, **kwargs
):
173 """GetEndPos2(self) -> int"""
174 return _html
.HtmlTag_GetEndPos2(*args
, **kwargs
)
177 class HtmlTagPtr(HtmlTag
):
178 def __init__(self
, this
):
180 if not hasattr(self
,"thisown"): self
.thisown
= 0
181 self
.__class
__ = HtmlTag
182 _html
.HtmlTag_swigregister(HtmlTagPtr
)
184 class HtmlParser(_core
.Object
):
185 """Proxy of C++ HtmlParser class"""
186 def __init__(self
): raise RuntimeError, "No constructor defined"
188 return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
189 def SetFS(*args
, **kwargs
):
190 """SetFS(self, FileSystem fs)"""
191 return _html
.HtmlParser_SetFS(*args
, **kwargs
)
193 def GetFS(*args
, **kwargs
):
194 """GetFS(self) -> FileSystem"""
195 return _html
.HtmlParser_GetFS(*args
, **kwargs
)
197 def Parse(*args
, **kwargs
):
198 """Parse(self, String source) -> Object"""
199 return _html
.HtmlParser_Parse(*args
, **kwargs
)
201 def InitParser(*args
, **kwargs
):
202 """InitParser(self, String source)"""
203 return _html
.HtmlParser_InitParser(*args
, **kwargs
)
205 def DoneParser(*args
, **kwargs
):
206 """DoneParser(self)"""
207 return _html
.HtmlParser_DoneParser(*args
, **kwargs
)
209 def DoParsing(*args
, **kwargs
):
210 """DoParsing(self, int begin_pos, int end_pos)"""
211 return _html
.HtmlParser_DoParsing(*args
, **kwargs
)
213 def StopParsing(*args
, **kwargs
):
214 """StopParsing(self)"""
215 return _html
.HtmlParser_StopParsing(*args
, **kwargs
)
217 def AddTagHandler(*args
, **kwargs
):
218 """AddTagHandler(self, HtmlTagHandler handler)"""
219 return _html
.HtmlParser_AddTagHandler(*args
, **kwargs
)
221 def GetSource(*args
, **kwargs
):
222 """GetSource(self) -> String"""
223 return _html
.HtmlParser_GetSource(*args
, **kwargs
)
225 def PushTagHandler(*args
, **kwargs
):
226 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
227 return _html
.HtmlParser_PushTagHandler(*args
, **kwargs
)
229 def PopTagHandler(*args
, **kwargs
):
230 """PopTagHandler(self)"""
231 return _html
.HtmlParser_PopTagHandler(*args
, **kwargs
)
234 class HtmlParserPtr(HtmlParser
):
235 def __init__(self
, this
):
237 if not hasattr(self
,"thisown"): self
.thisown
= 0
238 self
.__class
__ = HtmlParser
239 _html
.HtmlParser_swigregister(HtmlParserPtr
)
241 class HtmlWinParser(HtmlParser
):
242 """Proxy of C++ HtmlWinParser class"""
244 return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
245 def __init__(self
, *args
, **kwargs
):
246 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
247 newobj
= _html
.new_HtmlWinParser(*args
, **kwargs
)
248 self
.this
= newobj
.this
251 def SetDC(*args
, **kwargs
):
252 """SetDC(self, DC dc)"""
253 return _html
.HtmlWinParser_SetDC(*args
, **kwargs
)
255 def GetDC(*args
, **kwargs
):
256 """GetDC(self) -> DC"""
257 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
259 def GetCharHeight(*args
, **kwargs
):
260 """GetCharHeight(self) -> int"""
261 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
263 def GetCharWidth(*args
, **kwargs
):
264 """GetCharWidth(self) -> int"""
265 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
267 def GetWindow(*args
, **kwargs
):
268 """GetWindow(self) -> HtmlWindow"""
269 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
271 def SetFonts(*args
, **kwargs
):
272 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
273 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
275 def SetStandardFonts(*args
, **kwargs
):
276 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
277 return _html
.HtmlWinParser_SetStandardFonts(*args
, **kwargs
)
279 def GetContainer(*args
, **kwargs
):
280 """GetContainer(self) -> HtmlContainerCell"""
281 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
283 def OpenContainer(*args
, **kwargs
):
284 """OpenContainer(self) -> HtmlContainerCell"""
285 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
287 def SetContainer(*args
, **kwargs
):
288 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
289 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
291 def CloseContainer(*args
, **kwargs
):
292 """CloseContainer(self) -> HtmlContainerCell"""
293 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
295 def GetFontSize(*args
, **kwargs
):
296 """GetFontSize(self) -> int"""
297 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
299 def SetFontSize(*args
, **kwargs
):
300 """SetFontSize(self, int s)"""
301 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
303 def GetFontBold(*args
, **kwargs
):
304 """GetFontBold(self) -> int"""
305 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
307 def SetFontBold(*args
, **kwargs
):
308 """SetFontBold(self, int x)"""
309 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
311 def GetFontItalic(*args
, **kwargs
):
312 """GetFontItalic(self) -> int"""
313 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
315 def SetFontItalic(*args
, **kwargs
):
316 """SetFontItalic(self, int x)"""
317 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
319 def GetFontUnderlined(*args
, **kwargs
):
320 """GetFontUnderlined(self) -> int"""
321 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
323 def SetFontUnderlined(*args
, **kwargs
):
324 """SetFontUnderlined(self, int x)"""
325 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
327 def GetFontFixed(*args
, **kwargs
):
328 """GetFontFixed(self) -> int"""
329 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
331 def SetFontFixed(*args
, **kwargs
):
332 """SetFontFixed(self, int x)"""
333 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
335 def GetAlign(*args
, **kwargs
):
336 """GetAlign(self) -> int"""
337 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
339 def SetAlign(*args
, **kwargs
):
340 """SetAlign(self, int a)"""
341 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
343 def GetLinkColor(*args
, **kwargs
):
344 """GetLinkColor(self) -> Colour"""
345 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
347 def SetLinkColor(*args
, **kwargs
):
348 """SetLinkColor(self, Colour clr)"""
349 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
351 def GetActualColor(*args
, **kwargs
):
352 """GetActualColor(self) -> Colour"""
353 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
355 def SetActualColor(*args
, **kwargs
):
356 """SetActualColor(self, Colour clr)"""
357 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
359 def SetLink(*args
, **kwargs
):
360 """SetLink(self, String link)"""
361 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
363 def CreateCurrentFont(*args
, **kwargs
):
364 """CreateCurrentFont(self) -> Font"""
365 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
367 def GetLink(*args
, **kwargs
):
368 """GetLink(self) -> HtmlLinkInfo"""
369 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
372 class HtmlWinParserPtr(HtmlWinParser
):
373 def __init__(self
, this
):
375 if not hasattr(self
,"thisown"): self
.thisown
= 0
376 self
.__class
__ = HtmlWinParser
377 _html
.HtmlWinParser_swigregister(HtmlWinParserPtr
)
379 class HtmlTagHandler(_core
.Object
):
380 """Proxy of C++ HtmlTagHandler class"""
382 return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
383 def __init__(self
, *args
, **kwargs
):
384 """__init__(self) -> HtmlTagHandler"""
385 newobj
= _html
.new_HtmlTagHandler(*args
, **kwargs
)
386 self
.this
= newobj
.this
389 self
._setCallbackInfo
(self
, HtmlTagHandler
)
391 def _setCallbackInfo(*args
, **kwargs
):
392 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
393 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
395 def SetParser(*args
, **kwargs
):
396 """SetParser(self, HtmlParser parser)"""
397 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
399 def GetParser(*args
, **kwargs
):
400 """GetParser(self) -> HtmlParser"""
401 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
403 def ParseInner(*args
, **kwargs
):
404 """ParseInner(self, HtmlTag tag)"""
405 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
408 class HtmlTagHandlerPtr(HtmlTagHandler
):
409 def __init__(self
, this
):
411 if not hasattr(self
,"thisown"): self
.thisown
= 0
412 self
.__class
__ = HtmlTagHandler
413 _html
.HtmlTagHandler_swigregister(HtmlTagHandlerPtr
)
415 class HtmlWinTagHandler(HtmlTagHandler
):
416 """Proxy of C++ HtmlWinTagHandler class"""
418 return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
419 def __init__(self
, *args
, **kwargs
):
420 """__init__(self) -> HtmlWinTagHandler"""
421 newobj
= _html
.new_HtmlWinTagHandler(*args
, **kwargs
)
422 self
.this
= newobj
.this
425 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
427 def _setCallbackInfo(*args
, **kwargs
):
428 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
429 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
431 def SetParser(*args
, **kwargs
):
432 """SetParser(self, HtmlParser parser)"""
433 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
435 def GetParser(*args
, **kwargs
):
436 """GetParser(self) -> HtmlWinParser"""
437 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
439 def ParseInner(*args
, **kwargs
):
440 """ParseInner(self, HtmlTag tag)"""
441 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
444 class HtmlWinTagHandlerPtr(HtmlWinTagHandler
):
445 def __init__(self
, this
):
447 if not hasattr(self
,"thisown"): self
.thisown
= 0
448 self
.__class
__ = HtmlWinTagHandler
449 _html
.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr
)
452 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
453 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
454 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
455 #---------------------------------------------------------------------------
457 class HtmlSelection(object):
458 """Proxy of C++ HtmlSelection class"""
460 return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
461 def __init__(self
, *args
, **kwargs
):
462 """__init__(self) -> HtmlSelection"""
463 newobj
= _html
.new_HtmlSelection(*args
, **kwargs
)
464 self
.this
= newobj
.this
467 def __del__(self
, destroy
=_html
.delete_HtmlSelection
):
470 if self
.thisown
: destroy(self
)
473 def Set(*args
, **kwargs
):
474 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
475 return _html
.HtmlSelection_Set(*args
, **kwargs
)
477 def SetCells(*args
, **kwargs
):
478 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
479 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
481 def GetFromCell(*args
, **kwargs
):
482 """GetFromCell(self) -> HtmlCell"""
483 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
485 def GetToCell(*args
, **kwargs
):
486 """GetToCell(self) -> HtmlCell"""
487 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
489 def GetFromPos(*args
, **kwargs
):
490 """GetFromPos(self) -> Point"""
491 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
493 def GetToPos(*args
, **kwargs
):
494 """GetToPos(self) -> Point"""
495 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
497 def GetFromPrivPos(*args
, **kwargs
):
498 """GetFromPrivPos(self) -> Point"""
499 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
501 def GetToPrivPos(*args
, **kwargs
):
502 """GetToPrivPos(self) -> Point"""
503 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
505 def SetFromPrivPos(*args
, **kwargs
):
506 """SetFromPrivPos(self, Point pos)"""
507 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
509 def SetToPrivPos(*args
, **kwargs
):
510 """SetToPrivPos(self, Point pos)"""
511 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
513 def ClearPrivPos(*args
, **kwargs
):
514 """ClearPrivPos(self)"""
515 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
517 def IsEmpty(*args
, **kwargs
):
518 """IsEmpty(self) -> bool"""
519 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
522 class HtmlSelectionPtr(HtmlSelection
):
523 def __init__(self
, this
):
525 if not hasattr(self
,"thisown"): self
.thisown
= 0
526 self
.__class
__ = HtmlSelection
527 _html
.HtmlSelection_swigregister(HtmlSelectionPtr
)
529 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
530 HTML_SEL_IN
= _html
.HTML_SEL_IN
531 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
532 class HtmlRenderingState(object):
533 """Proxy of C++ HtmlRenderingState class"""
535 return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
536 def __init__(self
, *args
, **kwargs
):
537 """__init__(self) -> HtmlRenderingState"""
538 newobj
= _html
.new_HtmlRenderingState(*args
, **kwargs
)
539 self
.this
= newobj
.this
542 def __del__(self
, destroy
=_html
.delete_HtmlRenderingState
):
545 if self
.thisown
: destroy(self
)
548 def SetSelectionState(*args
, **kwargs
):
549 """SetSelectionState(self, int s)"""
550 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
552 def GetSelectionState(*args
, **kwargs
):
553 """GetSelectionState(self) -> int"""
554 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
556 def SetFgColour(*args
, **kwargs
):
557 """SetFgColour(self, Colour c)"""
558 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
560 def GetFgColour(*args
, **kwargs
):
561 """GetFgColour(self) -> Colour"""
562 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
564 def SetBgColour(*args
, **kwargs
):
565 """SetBgColour(self, Colour c)"""
566 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
568 def GetBgColour(*args
, **kwargs
):
569 """GetBgColour(self) -> Colour"""
570 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
573 class HtmlRenderingStatePtr(HtmlRenderingState
):
574 def __init__(self
, this
):
576 if not hasattr(self
,"thisown"): self
.thisown
= 0
577 self
.__class
__ = HtmlRenderingState
578 _html
.HtmlRenderingState_swigregister(HtmlRenderingStatePtr
)
580 class HtmlRenderingStyle(object):
581 """Proxy of C++ HtmlRenderingStyle class"""
582 def __init__(self
): raise RuntimeError, "No constructor defined"
584 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
585 def GetSelectedTextColour(*args
, **kwargs
):
586 """GetSelectedTextColour(self, Colour clr) -> Colour"""
587 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
589 def GetSelectedTextBgColour(*args
, **kwargs
):
590 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
591 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
594 class HtmlRenderingStylePtr(HtmlRenderingStyle
):
595 def __init__(self
, this
):
597 if not hasattr(self
,"thisown"): self
.thisown
= 0
598 self
.__class
__ = HtmlRenderingStyle
599 _html
.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr
)
601 class DefaultHtmlRenderingStyle(HtmlRenderingStyle
):
602 """Proxy of C++ DefaultHtmlRenderingStyle class"""
603 def __init__(self
): raise RuntimeError, "No constructor defined"
605 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
606 def GetSelectedTextColour(*args
, **kwargs
):
607 """GetSelectedTextColour(self, Colour clr) -> Colour"""
608 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
610 def GetSelectedTextBgColour(*args
, **kwargs
):
611 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
612 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
615 class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle
):
616 def __init__(self
, this
):
618 if not hasattr(self
,"thisown"): self
.thisown
= 0
619 self
.__class
__ = DefaultHtmlRenderingStyle
620 _html
.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr
)
622 class HtmlRenderingInfo(object):
623 """Proxy of C++ HtmlRenderingInfo class"""
625 return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
626 def __init__(self
, *args
, **kwargs
):
627 """__init__(self) -> HtmlRenderingInfo"""
628 newobj
= _html
.new_HtmlRenderingInfo(*args
, **kwargs
)
629 self
.this
= newobj
.this
632 def __del__(self
, destroy
=_html
.delete_HtmlRenderingInfo
):
635 if self
.thisown
: destroy(self
)
638 def SetSelection(*args
, **kwargs
):
639 """SetSelection(self, HtmlSelection s)"""
640 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
642 def GetSelection(*args
, **kwargs
):
643 """GetSelection(self) -> HtmlSelection"""
644 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
646 def SetStyle(*args
, **kwargs
):
647 """SetStyle(self, HtmlRenderingStyle style)"""
648 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
650 def GetStyle(*args
, **kwargs
):
651 """GetStyle(self) -> HtmlRenderingStyle"""
652 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
654 def GetState(*args
, **kwargs
):
655 """GetState(self) -> HtmlRenderingState"""
656 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
659 class HtmlRenderingInfoPtr(HtmlRenderingInfo
):
660 def __init__(self
, this
):
662 if not hasattr(self
,"thisown"): self
.thisown
= 0
663 self
.__class
__ = HtmlRenderingInfo
664 _html
.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr
)
666 #---------------------------------------------------------------------------
668 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
669 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
670 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
671 class HtmlCell(_core
.Object
):
672 """Proxy of C++ HtmlCell class"""
674 return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
675 def __init__(self
, *args
, **kwargs
):
676 """__init__(self) -> HtmlCell"""
677 newobj
= _html
.new_HtmlCell(*args
, **kwargs
)
678 self
.this
= newobj
.this
681 def GetPosX(*args
, **kwargs
):
682 """GetPosX(self) -> int"""
683 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
685 def GetPosY(*args
, **kwargs
):
686 """GetPosY(self) -> int"""
687 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
689 def GetWidth(*args
, **kwargs
):
690 """GetWidth(self) -> int"""
691 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
693 def GetHeight(*args
, **kwargs
):
694 """GetHeight(self) -> int"""
695 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
697 def GetDescent(*args
, **kwargs
):
698 """GetDescent(self) -> int"""
699 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
701 def GetMaxTotalWidth(*args
, **kwargs
):
702 """GetMaxTotalWidth(self) -> int"""
703 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
705 def GetId(*args
, **kwargs
):
706 """GetId(self) -> String"""
707 return _html
.HtmlCell_GetId(*args
, **kwargs
)
709 def SetId(*args
, **kwargs
):
710 """SetId(self, String id)"""
711 return _html
.HtmlCell_SetId(*args
, **kwargs
)
713 def GetLink(*args
, **kwargs
):
714 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
715 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
717 def GetNext(*args
, **kwargs
):
718 """GetNext(self) -> HtmlCell"""
719 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
721 def GetParent(*args
, **kwargs
):
722 """GetParent(self) -> HtmlContainerCell"""
723 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
725 def GetFirstChild(*args
, **kwargs
):
726 """GetFirstChild(self) -> HtmlCell"""
727 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
729 def GetCursor(*args
, **kwargs
):
730 """GetCursor(self) -> Cursor"""
731 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
733 def IsFormattingCell(*args
, **kwargs
):
734 """IsFormattingCell(self) -> bool"""
735 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
737 def SetLink(*args
, **kwargs
):
738 """SetLink(self, HtmlLinkInfo link)"""
739 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
741 def SetNext(*args
, **kwargs
):
742 """SetNext(self, HtmlCell cell)"""
743 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
745 def SetParent(*args
, **kwargs
):
746 """SetParent(self, HtmlContainerCell p)"""
747 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
749 def SetPos(*args
, **kwargs
):
750 """SetPos(self, int x, int y)"""
751 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
753 def Layout(*args
, **kwargs
):
754 """Layout(self, int w)"""
755 return _html
.HtmlCell_Layout(*args
, **kwargs
)
757 def Draw(*args
, **kwargs
):
758 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
759 return _html
.HtmlCell_Draw(*args
, **kwargs
)
761 def DrawInvisible(*args
, **kwargs
):
762 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
763 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
765 def Find(*args
, **kwargs
):
766 """Find(self, int condition, void param) -> HtmlCell"""
767 return _html
.HtmlCell_Find(*args
, **kwargs
)
769 def AdjustPagebreak(*args
, **kwargs
):
770 """AdjustPagebreak(self, int INOUT) -> bool"""
771 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
773 def SetCanLiveOnPagebreak(*args
, **kwargs
):
774 """SetCanLiveOnPagebreak(self, bool can)"""
775 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
777 def IsLinebreakAllowed(*args
, **kwargs
):
778 """IsLinebreakAllowed(self) -> bool"""
779 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
781 def IsTerminalCell(*args
, **kwargs
):
782 """IsTerminalCell(self) -> bool"""
783 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
785 def FindCellByPos(*args
, **kwargs
):
786 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
787 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
789 def GetAbsPos(*args
, **kwargs
):
790 """GetAbsPos(self) -> Point"""
791 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
793 def GetFirstTerminal(*args
, **kwargs
):
794 """GetFirstTerminal(self) -> HtmlCell"""
795 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
797 def GetLastTerminal(*args
, **kwargs
):
798 """GetLastTerminal(self) -> HtmlCell"""
799 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
801 def GetDepth(*args
, **kwargs
):
802 """GetDepth(self) -> unsigned int"""
803 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
805 def IsBefore(*args
, **kwargs
):
806 """IsBefore(self, HtmlCell cell) -> bool"""
807 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
809 def ConvertToText(*args
, **kwargs
):
810 """ConvertToText(self, HtmlSelection sel) -> String"""
811 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
814 class HtmlCellPtr(HtmlCell
):
815 def __init__(self
, this
):
817 if not hasattr(self
,"thisown"): self
.thisown
= 0
818 self
.__class
__ = HtmlCell
819 _html
.HtmlCell_swigregister(HtmlCellPtr
)
821 class HtmlWordCell(HtmlCell
):
822 """Proxy of C++ HtmlWordCell class"""
824 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
825 def __init__(self
, *args
, **kwargs
):
826 """__init__(self, String word, DC dc) -> HtmlWordCell"""
827 newobj
= _html
.new_HtmlWordCell(*args
, **kwargs
)
828 self
.this
= newobj
.this
832 class HtmlWordCellPtr(HtmlWordCell
):
833 def __init__(self
, this
):
835 if not hasattr(self
,"thisown"): self
.thisown
= 0
836 self
.__class
__ = HtmlWordCell
837 _html
.HtmlWordCell_swigregister(HtmlWordCellPtr
)
839 class HtmlContainerCell(HtmlCell
):
840 """Proxy of C++ HtmlContainerCell class"""
842 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
843 def __init__(self
, *args
, **kwargs
):
844 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
845 newobj
= _html
.new_HtmlContainerCell(*args
, **kwargs
)
846 self
.this
= newobj
.this
849 def InsertCell(*args
, **kwargs
):
850 """InsertCell(self, HtmlCell cell)"""
851 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
853 def SetAlignHor(*args
, **kwargs
):
854 """SetAlignHor(self, int al)"""
855 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
857 def GetAlignHor(*args
, **kwargs
):
858 """GetAlignHor(self) -> int"""
859 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
861 def SetAlignVer(*args
, **kwargs
):
862 """SetAlignVer(self, int al)"""
863 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
865 def GetAlignVer(*args
, **kwargs
):
866 """GetAlignVer(self) -> int"""
867 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
869 def SetIndent(*args
, **kwargs
):
870 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
871 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
873 def GetIndent(*args
, **kwargs
):
874 """GetIndent(self, int ind) -> int"""
875 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
877 def GetIndentUnits(*args
, **kwargs
):
878 """GetIndentUnits(self, int ind) -> int"""
879 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
881 def SetAlign(*args
, **kwargs
):
882 """SetAlign(self, HtmlTag tag)"""
883 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
885 def SetWidthFloat(*args
, **kwargs
):
886 """SetWidthFloat(self, int w, int units)"""
887 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
889 def SetWidthFloatFromTag(*args
, **kwargs
):
890 """SetWidthFloatFromTag(self, HtmlTag tag)"""
891 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
893 def SetMinHeight(*args
, **kwargs
):
894 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
895 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
897 def SetBackgroundColour(*args
, **kwargs
):
898 """SetBackgroundColour(self, Colour clr)"""
899 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
901 def GetBackgroundColour(*args
, **kwargs
):
902 """GetBackgroundColour(self) -> Colour"""
903 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
905 def SetBorder(*args
, **kwargs
):
906 """SetBorder(self, Colour clr1, Colour clr2)"""
907 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
909 def GetFirstChild(*args
, **kwargs
):
910 """GetFirstChild(self) -> HtmlCell"""
911 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
914 class HtmlContainerCellPtr(HtmlContainerCell
):
915 def __init__(self
, this
):
917 if not hasattr(self
,"thisown"): self
.thisown
= 0
918 self
.__class
__ = HtmlContainerCell
919 _html
.HtmlContainerCell_swigregister(HtmlContainerCellPtr
)
921 class HtmlColourCell(HtmlCell
):
922 """Proxy of C++ HtmlColourCell class"""
924 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
925 def __init__(self
, *args
, **kwargs
):
926 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
927 newobj
= _html
.new_HtmlColourCell(*args
, **kwargs
)
928 self
.this
= newobj
.this
932 class HtmlColourCellPtr(HtmlColourCell
):
933 def __init__(self
, this
):
935 if not hasattr(self
,"thisown"): self
.thisown
= 0
936 self
.__class
__ = HtmlColourCell
937 _html
.HtmlColourCell_swigregister(HtmlColourCellPtr
)
939 class HtmlFontCell(HtmlCell
):
940 """Proxy of C++ HtmlFontCell class"""
942 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
943 def __init__(self
, *args
, **kwargs
):
944 """__init__(self, Font font) -> HtmlFontCell"""
945 newobj
= _html
.new_HtmlFontCell(*args
, **kwargs
)
946 self
.this
= newobj
.this
950 class HtmlFontCellPtr(HtmlFontCell
):
951 def __init__(self
, this
):
953 if not hasattr(self
,"thisown"): self
.thisown
= 0
954 self
.__class
__ = HtmlFontCell
955 _html
.HtmlFontCell_swigregister(HtmlFontCellPtr
)
957 class HtmlWidgetCell(HtmlCell
):
958 """Proxy of C++ HtmlWidgetCell class"""
960 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
961 def __init__(self
, *args
, **kwargs
):
962 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
963 newobj
= _html
.new_HtmlWidgetCell(*args
, **kwargs
)
964 self
.this
= newobj
.this
968 class HtmlWidgetCellPtr(HtmlWidgetCell
):
969 def __init__(self
, this
):
971 if not hasattr(self
,"thisown"): self
.thisown
= 0
972 self
.__class
__ = HtmlWidgetCell
973 _html
.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr
)
975 #---------------------------------------------------------------------------
977 class HtmlFilter(_core
.Object
):
978 """Proxy of C++ HtmlFilter class"""
980 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
981 def __init__(self
, *args
, **kwargs
):
982 """__init__(self) -> HtmlFilter"""
983 newobj
= _html
.new_HtmlFilter(*args
, **kwargs
)
984 self
.this
= newobj
.this
987 self
._setCallbackInfo
(self
, HtmlFilter
)
989 def _setCallbackInfo(*args
, **kwargs
):
990 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
991 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
994 class HtmlFilterPtr(HtmlFilter
):
995 def __init__(self
, this
):
997 if not hasattr(self
,"thisown"): self
.thisown
= 0
998 self
.__class
__ = HtmlFilter
999 _html
.HtmlFilter_swigregister(HtmlFilterPtr
)
1001 #---------------------------------------------------------------------------
1003 class HtmlWindow(_windows
.ScrolledWindow
):
1004 """Proxy of C++ HtmlWindow class"""
1006 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1007 def __init__(self
, *args
, **kwargs
):
1009 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1010 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
1011 String name=HtmlWindowNameStr) -> HtmlWindow
1013 newobj
= _html
.new_HtmlWindow(*args
, **kwargs
)
1014 self
.this
= newobj
.this
1017 self
._setCallbackInfo
(self
, HtmlWindow
); self
._setOORInfo
(self
)
1019 def Create(*args
, **kwargs
):
1021 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1022 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
1023 String name=HtmlWindowNameStr) -> bool
1025 return _html
.HtmlWindow_Create(*args
, **kwargs
)
1027 def _setCallbackInfo(*args
, **kwargs
):
1028 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1029 return _html
.HtmlWindow__setCallbackInfo(*args
, **kwargs
)
1031 def SetPage(*args
, **kwargs
):
1032 """SetPage(self, String source) -> bool"""
1033 return _html
.HtmlWindow_SetPage(*args
, **kwargs
)
1035 def LoadPage(*args
, **kwargs
):
1036 """LoadPage(self, String location) -> bool"""
1037 return _html
.HtmlWindow_LoadPage(*args
, **kwargs
)
1039 def LoadFile(*args
, **kwargs
):
1040 """LoadFile(self, String filename) -> bool"""
1041 return _html
.HtmlWindow_LoadFile(*args
, **kwargs
)
1043 def AppendToPage(*args
, **kwargs
):
1044 """AppendToPage(self, String source) -> bool"""
1045 return _html
.HtmlWindow_AppendToPage(*args
, **kwargs
)
1047 def GetOpenedPage(*args
, **kwargs
):
1048 """GetOpenedPage(self) -> String"""
1049 return _html
.HtmlWindow_GetOpenedPage(*args
, **kwargs
)
1051 def GetOpenedAnchor(*args
, **kwargs
):
1052 """GetOpenedAnchor(self) -> String"""
1053 return _html
.HtmlWindow_GetOpenedAnchor(*args
, **kwargs
)
1055 def GetOpenedPageTitle(*args
, **kwargs
):
1056 """GetOpenedPageTitle(self) -> String"""
1057 return _html
.HtmlWindow_GetOpenedPageTitle(*args
, **kwargs
)
1059 def SetRelatedFrame(*args
, **kwargs
):
1060 """SetRelatedFrame(self, Frame frame, String format)"""
1061 return _html
.HtmlWindow_SetRelatedFrame(*args
, **kwargs
)
1063 def GetRelatedFrame(*args
, **kwargs
):
1064 """GetRelatedFrame(self) -> Frame"""
1065 return _html
.HtmlWindow_GetRelatedFrame(*args
, **kwargs
)
1067 def SetRelatedStatusBar(*args
, **kwargs
):
1068 """SetRelatedStatusBar(self, int bar)"""
1069 return _html
.HtmlWindow_SetRelatedStatusBar(*args
, **kwargs
)
1071 def SetFonts(*args
, **kwargs
):
1072 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1073 return _html
.HtmlWindow_SetFonts(*args
, **kwargs
)
1075 def SetStandardFonts(*args
, **kwargs
):
1076 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1077 return _html
.HtmlWindow_SetStandardFonts(*args
, **kwargs
)
1079 def SetTitle(*args
, **kwargs
):
1080 """SetTitle(self, String title)"""
1081 return _html
.HtmlWindow_SetTitle(*args
, **kwargs
)
1083 def SetBorders(*args
, **kwargs
):
1084 """SetBorders(self, int b)"""
1085 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
1087 def ReadCustomization(*args
, **kwargs
):
1088 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1089 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1091 def WriteCustomization(*args
, **kwargs
):
1092 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1093 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1095 def HistoryBack(*args
, **kwargs
):
1096 """HistoryBack(self) -> bool"""
1097 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1099 def HistoryForward(*args
, **kwargs
):
1100 """HistoryForward(self) -> bool"""
1101 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1103 def HistoryCanBack(*args
, **kwargs
):
1104 """HistoryCanBack(self) -> bool"""
1105 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1107 def HistoryCanForward(*args
, **kwargs
):
1108 """HistoryCanForward(self) -> bool"""
1109 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1111 def HistoryClear(*args
, **kwargs
):
1112 """HistoryClear(self)"""
1113 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1115 def GetInternalRepresentation(*args
, **kwargs
):
1116 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1117 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1119 def GetParser(*args
, **kwargs
):
1120 """GetParser(self) -> HtmlWinParser"""
1121 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1123 def ScrollToAnchor(*args
, **kwargs
):
1124 """ScrollToAnchor(self, String anchor) -> bool"""
1125 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1127 def HasAnchor(*args
, **kwargs
):
1128 """HasAnchor(self, String anchor) -> bool"""
1129 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1131 def AddFilter(*args
, **kwargs
):
1132 """AddFilter(HtmlFilter filter)"""
1133 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1135 AddFilter
= staticmethod(AddFilter
)
1136 def SelectWord(*args
, **kwargs
):
1137 """SelectWord(self, Point pos)"""
1138 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1140 def SelectLine(*args
, **kwargs
):
1141 """SelectLine(self, Point pos)"""
1142 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1144 def SelectAll(*args
, **kwargs
):
1145 """SelectAll(self)"""
1146 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1148 def SelectionToText(*args
, **kwargs
):
1149 """SelectionToText(self) -> String"""
1150 return _html
.HtmlWindow_SelectionToText(*args
, **kwargs
)
1152 def ToText(*args
, **kwargs
):
1153 """ToText(self) -> String"""
1154 return _html
.HtmlWindow_ToText(*args
, **kwargs
)
1156 def base_OnLinkClicked(*args
, **kwargs
):
1157 """base_OnLinkClicked(self, HtmlLinkInfo link)"""
1158 return _html
.HtmlWindow_base_OnLinkClicked(*args
, **kwargs
)
1160 def base_OnSetTitle(*args
, **kwargs
):
1161 """base_OnSetTitle(self, String title)"""
1162 return _html
.HtmlWindow_base_OnSetTitle(*args
, **kwargs
)
1164 def base_OnCellMouseHover(*args
, **kwargs
):
1165 """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1166 return _html
.HtmlWindow_base_OnCellMouseHover(*args
, **kwargs
)
1168 def base_OnCellClicked(*args
, **kwargs
):
1169 """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
1170 return _html
.HtmlWindow_base_OnCellClicked(*args
, **kwargs
)
1172 def GetClassDefaultAttributes(*args
, **kwargs
):
1174 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1176 Get the default attributes for this class. This is useful if you want
1177 to use the same font or colour in your own control as in a standard
1178 control -- which is a much better idea than hard coding specific
1179 colours or fonts which might look completely out of place on the
1180 user's system, especially if it uses themes.
1182 The variant parameter is only relevant under Mac currently and is
1183 ignore under other platforms. Under Mac, it will change the size of
1184 the returned font. See `wx.Window.SetWindowVariant` for more about
1187 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1189 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1191 class HtmlWindowPtr(HtmlWindow
):
1192 def __init__(self
, this
):
1194 if not hasattr(self
,"thisown"): self
.thisown
= 0
1195 self
.__class
__ = HtmlWindow
1196 _html
.HtmlWindow_swigregister(HtmlWindowPtr
)
1198 def PreHtmlWindow(*args
, **kwargs
):
1199 """PreHtmlWindow() -> HtmlWindow"""
1200 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1204 def HtmlWindow_AddFilter(*args
, **kwargs
):
1205 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1206 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1208 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1210 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1212 Get the default attributes for this class. This is useful if you want
1213 to use the same font or colour in your own control as in a standard
1214 control -- which is a much better idea than hard coding specific
1215 colours or fonts which might look completely out of place on the
1216 user's system, especially if it uses themes.
1218 The variant parameter is only relevant under Mac currently and is
1219 ignore under other platforms. Under Mac, it will change the size of
1220 the returned font. See `wx.Window.SetWindowVariant` for more about
1223 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1225 #---------------------------------------------------------------------------
1227 class HtmlDCRenderer(_core
.Object
):
1228 """Proxy of C++ HtmlDCRenderer class"""
1230 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1231 def __init__(self
, *args
, **kwargs
):
1232 """__init__(self) -> HtmlDCRenderer"""
1233 newobj
= _html
.new_HtmlDCRenderer(*args
, **kwargs
)
1234 self
.this
= newobj
.this
1237 def __del__(self
, destroy
=_html
.delete_HtmlDCRenderer
):
1240 if self
.thisown
: destroy(self
)
1243 def SetDC(*args
, **kwargs
):
1244 """SetDC(self, DC dc, int maxwidth)"""
1245 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1247 def SetSize(*args
, **kwargs
):
1248 """SetSize(self, int width, int height)"""
1249 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1251 def SetHtmlText(*args
, **kwargs
):
1252 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1253 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1255 def SetFonts(*args
, **kwargs
):
1256 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1257 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1259 def SetStandardFonts(*args
, **kwargs
):
1260 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1261 return _html
.HtmlDCRenderer_SetStandardFonts(*args
, **kwargs
)
1263 def Render(*args
, **kwargs
):
1265 Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX,
1266 int choices=None, int LCOUNT=0) -> int
1268 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1270 def GetTotalHeight(*args
, **kwargs
):
1271 """GetTotalHeight(self) -> int"""
1272 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1275 class HtmlDCRendererPtr(HtmlDCRenderer
):
1276 def __init__(self
, this
):
1278 if not hasattr(self
,"thisown"): self
.thisown
= 0
1279 self
.__class
__ = HtmlDCRenderer
1280 _html
.HtmlDCRenderer_swigregister(HtmlDCRendererPtr
)
1282 PAGE_ODD
= _html
.PAGE_ODD
1283 PAGE_EVEN
= _html
.PAGE_EVEN
1284 PAGE_ALL
= _html
.PAGE_ALL
1285 class HtmlPrintout(_windows
.Printout
):
1286 """Proxy of C++ HtmlPrintout class"""
1288 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1289 def __init__(self
, *args
, **kwargs
):
1290 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1291 newobj
= _html
.new_HtmlPrintout(*args
, **kwargs
)
1292 self
.this
= newobj
.this
1295 def SetHtmlText(*args
, **kwargs
):
1296 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1297 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1299 def SetHtmlFile(*args
, **kwargs
):
1300 """SetHtmlFile(self, String htmlfile)"""
1301 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1303 def SetHeader(*args
, **kwargs
):
1304 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1305 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1307 def SetFooter(*args
, **kwargs
):
1308 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1309 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1311 def SetFonts(*args
, **kwargs
):
1312 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1313 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1315 def SetStandardFonts(*args
, **kwargs
):
1316 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1317 return _html
.HtmlPrintout_SetStandardFonts(*args
, **kwargs
)
1319 def SetMargins(*args
, **kwargs
):
1321 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1322 float right=25.2, float spaces=5)
1324 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1326 def AddFilter(*args
, **kwargs
):
1327 """AddFilter(wxHtmlFilter filter)"""
1328 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1330 AddFilter
= staticmethod(AddFilter
)
1331 def CleanUpStatics(*args
, **kwargs
):
1332 """CleanUpStatics()"""
1333 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1335 CleanUpStatics
= staticmethod(CleanUpStatics
)
1337 class HtmlPrintoutPtr(HtmlPrintout
):
1338 def __init__(self
, this
):
1340 if not hasattr(self
,"thisown"): self
.thisown
= 0
1341 self
.__class
__ = HtmlPrintout
1342 _html
.HtmlPrintout_swigregister(HtmlPrintoutPtr
)
1344 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1345 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1346 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1348 def HtmlPrintout_CleanUpStatics(*args
, **kwargs
):
1349 """HtmlPrintout_CleanUpStatics()"""
1350 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1352 class HtmlEasyPrinting(_core
.Object
):
1353 """Proxy of C++ HtmlEasyPrinting class"""
1355 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1356 def __init__(self
, *args
, **kwargs
):
1357 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1358 newobj
= _html
.new_HtmlEasyPrinting(*args
, **kwargs
)
1359 self
.this
= newobj
.this
1362 def __del__(self
, destroy
=_html
.delete_HtmlEasyPrinting
):
1365 if self
.thisown
: destroy(self
)
1368 def PreviewFile(*args
, **kwargs
):
1369 """PreviewFile(self, String htmlfile)"""
1370 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1372 def PreviewText(*args
, **kwargs
):
1373 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1374 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1376 def PrintFile(*args
, **kwargs
):
1377 """PrintFile(self, String htmlfile)"""
1378 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1380 def PrintText(*args
, **kwargs
):
1381 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1382 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1384 def PageSetup(*args
, **kwargs
):
1385 """PageSetup(self)"""
1386 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1388 def SetHeader(*args
, **kwargs
):
1389 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1390 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1392 def SetFooter(*args
, **kwargs
):
1393 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1394 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1396 def SetFonts(*args
, **kwargs
):
1397 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1398 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1400 def SetStandardFonts(*args
, **kwargs
):
1401 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1402 return _html
.HtmlEasyPrinting_SetStandardFonts(*args
, **kwargs
)
1404 def GetPrintData(*args
, **kwargs
):
1405 """GetPrintData(self) -> PrintData"""
1406 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1408 def GetPageSetupData(*args
, **kwargs
):
1409 """GetPageSetupData(self) -> PageSetupDialogData"""
1410 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1413 class HtmlEasyPrintingPtr(HtmlEasyPrinting
):
1414 def __init__(self
, this
):
1416 if not hasattr(self
,"thisown"): self
.thisown
= 0
1417 self
.__class
__ = HtmlEasyPrinting
1418 _html
.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr
)
1420 #---------------------------------------------------------------------------
1422 class HtmlBookRecord(object):
1423 """Proxy of C++ HtmlBookRecord class"""
1425 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1426 def __init__(self
, *args
, **kwargs
):
1427 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1428 newobj
= _html
.new_HtmlBookRecord(*args
, **kwargs
)
1429 self
.this
= newobj
.this
1432 def GetBookFile(*args
, **kwargs
):
1433 """GetBookFile(self) -> String"""
1434 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1436 def GetTitle(*args
, **kwargs
):
1437 """GetTitle(self) -> String"""
1438 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1440 def GetStart(*args
, **kwargs
):
1441 """GetStart(self) -> String"""
1442 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1444 def GetBasePath(*args
, **kwargs
):
1445 """GetBasePath(self) -> String"""
1446 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1448 def SetContentsRange(*args
, **kwargs
):
1449 """SetContentsRange(self, int start, int end)"""
1450 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1452 def GetContentsStart(*args
, **kwargs
):
1453 """GetContentsStart(self) -> int"""
1454 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1456 def GetContentsEnd(*args
, **kwargs
):
1457 """GetContentsEnd(self) -> int"""
1458 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1460 def SetTitle(*args
, **kwargs
):
1461 """SetTitle(self, String title)"""
1462 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1464 def SetBasePath(*args
, **kwargs
):
1465 """SetBasePath(self, String path)"""
1466 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1468 def SetStart(*args
, **kwargs
):
1469 """SetStart(self, String start)"""
1470 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1472 def GetFullPath(*args
, **kwargs
):
1473 """GetFullPath(self, String page) -> String"""
1474 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1477 class HtmlBookRecordPtr(HtmlBookRecord
):
1478 def __init__(self
, this
):
1480 if not hasattr(self
,"thisown"): self
.thisown
= 0
1481 self
.__class
__ = HtmlBookRecord
1482 _html
.HtmlBookRecord_swigregister(HtmlBookRecordPtr
)
1484 class HtmlContentsItem(object):
1485 """Proxy of C++ HtmlContentsItem class"""
1486 def __init__(self
): raise RuntimeError, "No constructor defined"
1488 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1489 def GetLevel(*args
, **kwargs
):
1490 """GetLevel(self) -> int"""
1491 return _html
.HtmlContentsItem_GetLevel(*args
, **kwargs
)
1493 def GetID(*args
, **kwargs
):
1494 """GetID(self) -> int"""
1495 return _html
.HtmlContentsItem_GetID(*args
, **kwargs
)
1497 def GetName(*args
, **kwargs
):
1498 """GetName(self) -> String"""
1499 return _html
.HtmlContentsItem_GetName(*args
, **kwargs
)
1501 def GetPage(*args
, **kwargs
):
1502 """GetPage(self) -> String"""
1503 return _html
.HtmlContentsItem_GetPage(*args
, **kwargs
)
1505 def GetBook(*args
, **kwargs
):
1506 """GetBook(self) -> HtmlBookRecord"""
1507 return _html
.HtmlContentsItem_GetBook(*args
, **kwargs
)
1510 class HtmlContentsItemPtr(HtmlContentsItem
):
1511 def __init__(self
, this
):
1513 if not hasattr(self
,"thisown"): self
.thisown
= 0
1514 self
.__class
__ = HtmlContentsItem
1515 _html
.HtmlContentsItem_swigregister(HtmlContentsItemPtr
)
1517 class HtmlSearchStatus(object):
1518 """Proxy of C++ HtmlSearchStatus class"""
1519 def __init__(self
): raise RuntimeError, "No constructor defined"
1521 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1522 def Search(*args
, **kwargs
):
1523 """Search(self) -> bool"""
1524 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1526 def IsActive(*args
, **kwargs
):
1527 """IsActive(self) -> bool"""
1528 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1530 def GetCurIndex(*args
, **kwargs
):
1531 """GetCurIndex(self) -> int"""
1532 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1534 def GetMaxIndex(*args
, **kwargs
):
1535 """GetMaxIndex(self) -> int"""
1536 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1538 def GetName(*args
, **kwargs
):
1539 """GetName(self) -> String"""
1540 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1542 def GetContentsItem(*args
, **kwargs
):
1543 """GetContentsItem(self) -> HtmlContentsItem"""
1544 return _html
.HtmlSearchStatus_GetContentsItem(*args
, **kwargs
)
1547 class HtmlSearchStatusPtr(HtmlSearchStatus
):
1548 def __init__(self
, this
):
1550 if not hasattr(self
,"thisown"): self
.thisown
= 0
1551 self
.__class
__ = HtmlSearchStatus
1552 _html
.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr
)
1554 class HtmlHelpData(object):
1555 """Proxy of C++ HtmlHelpData class"""
1557 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1558 def __init__(self
, *args
, **kwargs
):
1559 """__init__(self) -> HtmlHelpData"""
1560 newobj
= _html
.new_HtmlHelpData(*args
, **kwargs
)
1561 self
.this
= newobj
.this
1564 def __del__(self
, destroy
=_html
.delete_HtmlHelpData
):
1567 if self
.thisown
: destroy(self
)
1570 def SetTempDir(*args
, **kwargs
):
1571 """SetTempDir(self, String path)"""
1572 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1574 def AddBook(*args
, **kwargs
):
1575 """AddBook(self, String book) -> bool"""
1576 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1578 def FindPageByName(*args
, **kwargs
):
1579 """FindPageByName(self, String page) -> String"""
1580 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1582 def FindPageById(*args
, **kwargs
):
1583 """FindPageById(self, int id) -> String"""
1584 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1586 def GetBookRecArray(*args
, **kwargs
):
1587 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1588 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1590 def GetContents(*args
, **kwargs
):
1591 """GetContents(self) -> HtmlContentsItem"""
1592 return _html
.HtmlHelpData_GetContents(*args
, **kwargs
)
1594 def GetContentsCnt(*args
, **kwargs
):
1595 """GetContentsCnt(self) -> int"""
1596 return _html
.HtmlHelpData_GetContentsCnt(*args
, **kwargs
)
1598 def GetIndex(*args
, **kwargs
):
1599 """GetIndex(self) -> HtmlContentsItem"""
1600 return _html
.HtmlHelpData_GetIndex(*args
, **kwargs
)
1602 def GetIndexCnt(*args
, **kwargs
):
1603 """GetIndexCnt(self) -> int"""
1604 return _html
.HtmlHelpData_GetIndexCnt(*args
, **kwargs
)
1607 class HtmlHelpDataPtr(HtmlHelpData
):
1608 def __init__(self
, this
):
1610 if not hasattr(self
,"thisown"): self
.thisown
= 0
1611 self
.__class
__ = HtmlHelpData
1612 _html
.HtmlHelpData_swigregister(HtmlHelpDataPtr
)
1614 class HtmlHelpFrame(_windows
.Frame
):
1615 """Proxy of C++ HtmlHelpFrame class"""
1617 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1618 def __init__(self
, *args
, **kwargs
):
1620 __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1621 HtmlHelpData data=None) -> HtmlHelpFrame
1623 newobj
= _html
.new_HtmlHelpFrame(*args
, **kwargs
)
1624 self
.this
= newobj
.this
1627 self
._setOORInfo
(self
)
1629 def GetData(*args
, **kwargs
):
1630 """GetData(self) -> HtmlHelpData"""
1631 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1633 def SetTitleFormat(*args
, **kwargs
):
1634 """SetTitleFormat(self, String format)"""
1635 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1637 def Display(*args
, **kwargs
):
1638 """Display(self, String x)"""
1639 return _html
.HtmlHelpFrame_Display(*args
, **kwargs
)
1641 def DisplayID(*args
, **kwargs
):
1642 """DisplayID(self, int id)"""
1643 return _html
.HtmlHelpFrame_DisplayID(*args
, **kwargs
)
1645 def DisplayContents(*args
, **kwargs
):
1646 """DisplayContents(self)"""
1647 return _html
.HtmlHelpFrame_DisplayContents(*args
, **kwargs
)
1649 def DisplayIndex(*args
, **kwargs
):
1650 """DisplayIndex(self)"""
1651 return _html
.HtmlHelpFrame_DisplayIndex(*args
, **kwargs
)
1653 def KeywordSearch(*args
, **kwargs
):
1654 """KeywordSearch(self, String keyword) -> bool"""
1655 return _html
.HtmlHelpFrame_KeywordSearch(*args
, **kwargs
)
1657 def UseConfig(*args
, **kwargs
):
1658 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1659 return _html
.HtmlHelpFrame_UseConfig(*args
, **kwargs
)
1661 def ReadCustomization(*args
, **kwargs
):
1662 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1663 return _html
.HtmlHelpFrame_ReadCustomization(*args
, **kwargs
)
1665 def WriteCustomization(*args
, **kwargs
):
1666 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1667 return _html
.HtmlHelpFrame_WriteCustomization(*args
, **kwargs
)
1670 class HtmlHelpFramePtr(HtmlHelpFrame
):
1671 def __init__(self
, this
):
1673 if not hasattr(self
,"thisown"): self
.thisown
= 0
1674 self
.__class
__ = HtmlHelpFrame
1675 _html
.HtmlHelpFrame_swigregister(HtmlHelpFramePtr
)
1677 HF_TOOLBAR
= _html
.HF_TOOLBAR
1678 HF_FLATTOOLBAR
= _html
.HF_FLATTOOLBAR
1679 HF_CONTENTS
= _html
.HF_CONTENTS
1680 HF_INDEX
= _html
.HF_INDEX
1681 HF_SEARCH
= _html
.HF_SEARCH
1682 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1683 HF_OPENFILES
= _html
.HF_OPENFILES
1684 HF_PRINT
= _html
.HF_PRINT
1685 HF_DEFAULTSTYLE
= _html
.HF_DEFAULTSTYLE
1686 class HtmlHelpController(_core
.Object
):
1687 """Proxy of C++ HtmlHelpController class"""
1689 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1690 def __init__(self
, *args
, **kwargs
):
1691 """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
1692 newobj
= _html
.new_HtmlHelpController(*args
, **kwargs
)
1693 self
.this
= newobj
.this
1696 def __del__(self
, destroy
=_html
.delete_HtmlHelpController
):
1699 if self
.thisown
: destroy(self
)
1702 def SetTitleFormat(*args
, **kwargs
):
1703 """SetTitleFormat(self, String format)"""
1704 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1706 def SetTempDir(*args
, **kwargs
):
1707 """SetTempDir(self, String path)"""
1708 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1710 def AddBook(*args
, **kwargs
):
1711 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1712 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1714 def Display(*args
, **kwargs
):
1715 """Display(self, String x)"""
1716 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1718 def DisplayID(*args
, **kwargs
):
1719 """DisplayID(self, int id)"""
1720 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1722 def DisplayContents(*args
, **kwargs
):
1723 """DisplayContents(self)"""
1724 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1726 def DisplayIndex(*args
, **kwargs
):
1727 """DisplayIndex(self)"""
1728 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1730 def KeywordSearch(*args
, **kwargs
):
1731 """KeywordSearch(self, String keyword) -> bool"""
1732 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1734 def UseConfig(*args
, **kwargs
):
1735 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1736 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1738 def ReadCustomization(*args
, **kwargs
):
1739 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1740 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1742 def WriteCustomization(*args
, **kwargs
):
1743 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1744 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1746 def GetFrame(*args
, **kwargs
):
1747 """GetFrame(self) -> HtmlHelpFrame"""
1748 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1751 class HtmlHelpControllerPtr(HtmlHelpController
):
1752 def __init__(self
, this
):
1754 if not hasattr(self
,"thisown"): self
.thisown
= 0
1755 self
.__class
__ = HtmlHelpController
1756 _html
.HtmlHelpController_swigregister(HtmlHelpControllerPtr
)