1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
9 __docfilter__
= wx
.__DocFilter
(globals())
10 #---------------------------------------------------------------------------
12 HTML_ALIGN_LEFT
= _html
.HTML_ALIGN_LEFT
13 HTML_ALIGN_CENTER
= _html
.HTML_ALIGN_CENTER
14 HTML_ALIGN_RIGHT
= _html
.HTML_ALIGN_RIGHT
15 HTML_ALIGN_BOTTOM
= _html
.HTML_ALIGN_BOTTOM
16 HTML_ALIGN_TOP
= _html
.HTML_ALIGN_TOP
17 HTML_CLR_FOREGROUND
= _html
.HTML_CLR_FOREGROUND
18 HTML_CLR_BACKGROUND
= _html
.HTML_CLR_BACKGROUND
19 HTML_UNITS_PIXELS
= _html
.HTML_UNITS_PIXELS
20 HTML_UNITS_PERCENT
= _html
.HTML_UNITS_PERCENT
21 HTML_INDENT_LEFT
= _html
.HTML_INDENT_LEFT
22 HTML_INDENT_RIGHT
= _html
.HTML_INDENT_RIGHT
23 HTML_INDENT_TOP
= _html
.HTML_INDENT_TOP
24 HTML_INDENT_BOTTOM
= _html
.HTML_INDENT_BOTTOM
25 HTML_INDENT_HORIZONTAL
= _html
.HTML_INDENT_HORIZONTAL
26 HTML_INDENT_VERTICAL
= _html
.HTML_INDENT_VERTICAL
27 HTML_INDENT_ALL
= _html
.HTML_INDENT_ALL
28 HTML_COND_ISANCHOR
= _html
.HTML_COND_ISANCHOR
29 HTML_COND_ISIMAGEMAP
= _html
.HTML_COND_ISIMAGEMAP
30 HTML_COND_USER
= _html
.HTML_COND_USER
31 HTML_FONT_SIZE_1
= _html
.HTML_FONT_SIZE_1
32 HTML_FONT_SIZE_2
= _html
.HTML_FONT_SIZE_2
33 HTML_FONT_SIZE_3
= _html
.HTML_FONT_SIZE_3
34 HTML_FONT_SIZE_4
= _html
.HTML_FONT_SIZE_4
35 HTML_FONT_SIZE_5
= _html
.HTML_FONT_SIZE_5
36 HTML_FONT_SIZE_6
= _html
.HTML_FONT_SIZE_6
37 HTML_FONT_SIZE_7
= _html
.HTML_FONT_SIZE_7
38 HW_SCROLLBAR_NEVER
= _html
.HW_SCROLLBAR_NEVER
39 HW_SCROLLBAR_AUTO
= _html
.HW_SCROLLBAR_AUTO
40 HW_NO_SELECTION
= _html
.HW_NO_SELECTION
41 HW_DEFAULT_STYLE
= _html
.HW_DEFAULT_STYLE
42 HTML_OPEN
= _html
.HTML_OPEN
43 HTML_BLOCK
= _html
.HTML_BLOCK
44 HTML_REDIRECT
= _html
.HTML_REDIRECT
45 HTML_URL_PAGE
= _html
.HTML_URL_PAGE
46 HTML_URL_IMAGE
= _html
.HTML_URL_IMAGE
47 HTML_URL_OTHER
= _html
.HTML_URL_OTHER
48 class HtmlLinkInfo(_core
.Object
):
50 return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
51 def __init__(self
, *args
, **kwargs
):
52 """__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo"""
53 newobj
= _html
.new_HtmlLinkInfo(*args
, **kwargs
)
54 self
.this
= newobj
.this
57 def GetHref(*args
, **kwargs
):
58 """GetHref(self) -> String"""
59 return _html
.HtmlLinkInfo_GetHref(*args
, **kwargs
)
61 def GetTarget(*args
, **kwargs
):
62 """GetTarget(self) -> String"""
63 return _html
.HtmlLinkInfo_GetTarget(*args
, **kwargs
)
65 def GetEvent(*args
, **kwargs
):
66 """GetEvent(self) -> MouseEvent"""
67 return _html
.HtmlLinkInfo_GetEvent(*args
, **kwargs
)
69 def GetHtmlCell(*args
, **kwargs
):
70 """GetHtmlCell(self) -> HtmlCell"""
71 return _html
.HtmlLinkInfo_GetHtmlCell(*args
, **kwargs
)
73 def SetEvent(*args
, **kwargs
):
74 """SetEvent(self, MouseEvent e)"""
75 return _html
.HtmlLinkInfo_SetEvent(*args
, **kwargs
)
77 def SetHtmlCell(*args
, **kwargs
):
78 """SetHtmlCell(self, HtmlCell e)"""
79 return _html
.HtmlLinkInfo_SetHtmlCell(*args
, **kwargs
)
82 class HtmlLinkInfoPtr(HtmlLinkInfo
):
83 def __init__(self
, this
):
85 if not hasattr(self
,"thisown"): self
.thisown
= 0
86 self
.__class
__ = HtmlLinkInfo
87 _html
.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr
)
89 HtmlWindowNameStr
= cvar
.HtmlWindowNameStr
90 HtmlPrintoutTitleStr
= cvar
.HtmlPrintoutTitleStr
91 HtmlPrintingTitleStr
= cvar
.HtmlPrintingTitleStr
93 class HtmlTag(_core
.Object
):
94 def __init__(self
): raise RuntimeError, "No constructor defined"
96 return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
97 def GetName(*args
, **kwargs
):
98 """GetName(self) -> String"""
99 return _html
.HtmlTag_GetName(*args
, **kwargs
)
101 def HasParam(*args
, **kwargs
):
102 """HasParam(self, String par) -> bool"""
103 return _html
.HtmlTag_HasParam(*args
, **kwargs
)
105 def GetParam(*args
, **kwargs
):
106 """GetParam(self, String par, int with_commas=False) -> String"""
107 return _html
.HtmlTag_GetParam(*args
, **kwargs
)
109 def GetAllParams(*args
, **kwargs
):
110 """GetAllParams(self) -> String"""
111 return _html
.HtmlTag_GetAllParams(*args
, **kwargs
)
113 def HasEnding(*args
, **kwargs
):
114 """HasEnding(self) -> bool"""
115 return _html
.HtmlTag_HasEnding(*args
, **kwargs
)
117 def GetBeginPos(*args
, **kwargs
):
118 """GetBeginPos(self) -> int"""
119 return _html
.HtmlTag_GetBeginPos(*args
, **kwargs
)
121 def GetEndPos1(*args
, **kwargs
):
122 """GetEndPos1(self) -> int"""
123 return _html
.HtmlTag_GetEndPos1(*args
, **kwargs
)
125 def GetEndPos2(*args
, **kwargs
):
126 """GetEndPos2(self) -> int"""
127 return _html
.HtmlTag_GetEndPos2(*args
, **kwargs
)
130 class HtmlTagPtr(HtmlTag
):
131 def __init__(self
, this
):
133 if not hasattr(self
,"thisown"): self
.thisown
= 0
134 self
.__class
__ = HtmlTag
135 _html
.HtmlTag_swigregister(HtmlTagPtr
)
137 class HtmlParser(_core
.Object
):
138 def __init__(self
): raise RuntimeError, "No constructor defined"
140 return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
141 def SetFS(*args
, **kwargs
):
142 """SetFS(self, FileSystem fs)"""
143 return _html
.HtmlParser_SetFS(*args
, **kwargs
)
145 def GetFS(*args
, **kwargs
):
146 """GetFS(self) -> FileSystem"""
147 return _html
.HtmlParser_GetFS(*args
, **kwargs
)
149 def Parse(*args
, **kwargs
):
150 """Parse(self, String source) -> Object"""
151 return _html
.HtmlParser_Parse(*args
, **kwargs
)
153 def InitParser(*args
, **kwargs
):
154 """InitParser(self, String source)"""
155 return _html
.HtmlParser_InitParser(*args
, **kwargs
)
157 def DoneParser(*args
, **kwargs
):
158 """DoneParser(self)"""
159 return _html
.HtmlParser_DoneParser(*args
, **kwargs
)
161 def DoParsing(*args
, **kwargs
):
162 """DoParsing(self, int begin_pos, int end_pos)"""
163 return _html
.HtmlParser_DoParsing(*args
, **kwargs
)
165 def StopParsing(*args
, **kwargs
):
166 """StopParsing(self)"""
167 return _html
.HtmlParser_StopParsing(*args
, **kwargs
)
169 def AddTagHandler(*args
, **kwargs
):
170 """AddTagHandler(self, HtmlTagHandler handler)"""
171 return _html
.HtmlParser_AddTagHandler(*args
, **kwargs
)
173 def GetSource(*args
, **kwargs
):
174 """GetSource(self) -> String"""
175 return _html
.HtmlParser_GetSource(*args
, **kwargs
)
177 def PushTagHandler(*args
, **kwargs
):
178 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
179 return _html
.HtmlParser_PushTagHandler(*args
, **kwargs
)
181 def PopTagHandler(*args
, **kwargs
):
182 """PopTagHandler(self)"""
183 return _html
.HtmlParser_PopTagHandler(*args
, **kwargs
)
186 class HtmlParserPtr(HtmlParser
):
187 def __init__(self
, this
):
189 if not hasattr(self
,"thisown"): self
.thisown
= 0
190 self
.__class
__ = HtmlParser
191 _html
.HtmlParser_swigregister(HtmlParserPtr
)
193 class HtmlWinParser(HtmlParser
):
195 return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
196 def __init__(self
, *args
, **kwargs
):
197 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
198 newobj
= _html
.new_HtmlWinParser(*args
, **kwargs
)
199 self
.this
= newobj
.this
202 def SetDC(*args
, **kwargs
):
203 """SetDC(self, DC dc)"""
204 return _html
.HtmlWinParser_SetDC(*args
, **kwargs
)
206 def GetDC(*args
, **kwargs
):
207 """GetDC(self) -> DC"""
208 return _html
.HtmlWinParser_GetDC(*args
, **kwargs
)
210 def GetCharHeight(*args
, **kwargs
):
211 """GetCharHeight(self) -> int"""
212 return _html
.HtmlWinParser_GetCharHeight(*args
, **kwargs
)
214 def GetCharWidth(*args
, **kwargs
):
215 """GetCharWidth(self) -> int"""
216 return _html
.HtmlWinParser_GetCharWidth(*args
, **kwargs
)
218 def GetWindow(*args
, **kwargs
):
219 """GetWindow(self) -> HtmlWindow"""
220 return _html
.HtmlWinParser_GetWindow(*args
, **kwargs
)
222 def SetFonts(*args
, **kwargs
):
223 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
224 return _html
.HtmlWinParser_SetFonts(*args
, **kwargs
)
226 def GetContainer(*args
, **kwargs
):
227 """GetContainer(self) -> HtmlContainerCell"""
228 return _html
.HtmlWinParser_GetContainer(*args
, **kwargs
)
230 def OpenContainer(*args
, **kwargs
):
231 """OpenContainer(self) -> HtmlContainerCell"""
232 return _html
.HtmlWinParser_OpenContainer(*args
, **kwargs
)
234 def SetContainer(*args
, **kwargs
):
235 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
236 return _html
.HtmlWinParser_SetContainer(*args
, **kwargs
)
238 def CloseContainer(*args
, **kwargs
):
239 """CloseContainer(self) -> HtmlContainerCell"""
240 return _html
.HtmlWinParser_CloseContainer(*args
, **kwargs
)
242 def GetFontSize(*args
, **kwargs
):
243 """GetFontSize(self) -> int"""
244 return _html
.HtmlWinParser_GetFontSize(*args
, **kwargs
)
246 def SetFontSize(*args
, **kwargs
):
247 """SetFontSize(self, int s)"""
248 return _html
.HtmlWinParser_SetFontSize(*args
, **kwargs
)
250 def GetFontBold(*args
, **kwargs
):
251 """GetFontBold(self) -> int"""
252 return _html
.HtmlWinParser_GetFontBold(*args
, **kwargs
)
254 def SetFontBold(*args
, **kwargs
):
255 """SetFontBold(self, int x)"""
256 return _html
.HtmlWinParser_SetFontBold(*args
, **kwargs
)
258 def GetFontItalic(*args
, **kwargs
):
259 """GetFontItalic(self) -> int"""
260 return _html
.HtmlWinParser_GetFontItalic(*args
, **kwargs
)
262 def SetFontItalic(*args
, **kwargs
):
263 """SetFontItalic(self, int x)"""
264 return _html
.HtmlWinParser_SetFontItalic(*args
, **kwargs
)
266 def GetFontUnderlined(*args
, **kwargs
):
267 """GetFontUnderlined(self) -> int"""
268 return _html
.HtmlWinParser_GetFontUnderlined(*args
, **kwargs
)
270 def SetFontUnderlined(*args
, **kwargs
):
271 """SetFontUnderlined(self, int x)"""
272 return _html
.HtmlWinParser_SetFontUnderlined(*args
, **kwargs
)
274 def GetFontFixed(*args
, **kwargs
):
275 """GetFontFixed(self) -> int"""
276 return _html
.HtmlWinParser_GetFontFixed(*args
, **kwargs
)
278 def SetFontFixed(*args
, **kwargs
):
279 """SetFontFixed(self, int x)"""
280 return _html
.HtmlWinParser_SetFontFixed(*args
, **kwargs
)
282 def GetAlign(*args
, **kwargs
):
283 """GetAlign(self) -> int"""
284 return _html
.HtmlWinParser_GetAlign(*args
, **kwargs
)
286 def SetAlign(*args
, **kwargs
):
287 """SetAlign(self, int a)"""
288 return _html
.HtmlWinParser_SetAlign(*args
, **kwargs
)
290 def GetLinkColor(*args
, **kwargs
):
291 """GetLinkColor(self) -> Colour"""
292 return _html
.HtmlWinParser_GetLinkColor(*args
, **kwargs
)
294 def SetLinkColor(*args
, **kwargs
):
295 """SetLinkColor(self, Colour clr)"""
296 return _html
.HtmlWinParser_SetLinkColor(*args
, **kwargs
)
298 def GetActualColor(*args
, **kwargs
):
299 """GetActualColor(self) -> Colour"""
300 return _html
.HtmlWinParser_GetActualColor(*args
, **kwargs
)
302 def SetActualColor(*args
, **kwargs
):
303 """SetActualColor(self, Colour clr)"""
304 return _html
.HtmlWinParser_SetActualColor(*args
, **kwargs
)
306 def SetLink(*args
, **kwargs
):
307 """SetLink(self, String link)"""
308 return _html
.HtmlWinParser_SetLink(*args
, **kwargs
)
310 def CreateCurrentFont(*args
, **kwargs
):
311 """CreateCurrentFont(self) -> Font"""
312 return _html
.HtmlWinParser_CreateCurrentFont(*args
, **kwargs
)
314 def GetLink(*args
, **kwargs
):
315 """GetLink(self) -> HtmlLinkInfo"""
316 return _html
.HtmlWinParser_GetLink(*args
, **kwargs
)
319 class HtmlWinParserPtr(HtmlWinParser
):
320 def __init__(self
, this
):
322 if not hasattr(self
,"thisown"): self
.thisown
= 0
323 self
.__class
__ = HtmlWinParser
324 _html
.HtmlWinParser_swigregister(HtmlWinParserPtr
)
326 class HtmlTagHandler(_core
.Object
):
328 return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
329 def __init__(self
, *args
, **kwargs
):
330 """__init__(self) -> HtmlTagHandler"""
331 newobj
= _html
.new_HtmlTagHandler(*args
, **kwargs
)
332 self
.this
= newobj
.this
335 self
._setCallbackInfo
(self
, HtmlTagHandler
)
337 def _setCallbackInfo(*args
, **kwargs
):
338 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
339 return _html
.HtmlTagHandler__setCallbackInfo(*args
, **kwargs
)
341 def SetParser(*args
, **kwargs
):
342 """SetParser(self, HtmlParser parser)"""
343 return _html
.HtmlTagHandler_SetParser(*args
, **kwargs
)
345 def GetParser(*args
, **kwargs
):
346 """GetParser(self) -> HtmlParser"""
347 return _html
.HtmlTagHandler_GetParser(*args
, **kwargs
)
349 def ParseInner(*args
, **kwargs
):
350 """ParseInner(self, HtmlTag tag)"""
351 return _html
.HtmlTagHandler_ParseInner(*args
, **kwargs
)
354 class HtmlTagHandlerPtr(HtmlTagHandler
):
355 def __init__(self
, this
):
357 if not hasattr(self
,"thisown"): self
.thisown
= 0
358 self
.__class
__ = HtmlTagHandler
359 _html
.HtmlTagHandler_swigregister(HtmlTagHandlerPtr
)
361 class HtmlWinTagHandler(HtmlTagHandler
):
363 return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
364 def __init__(self
, *args
, **kwargs
):
365 """__init__(self) -> HtmlWinTagHandler"""
366 newobj
= _html
.new_HtmlWinTagHandler(*args
, **kwargs
)
367 self
.this
= newobj
.this
370 self
._setCallbackInfo
(self
, HtmlWinTagHandler
)
372 def _setCallbackInfo(*args
, **kwargs
):
373 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
374 return _html
.HtmlWinTagHandler__setCallbackInfo(*args
, **kwargs
)
376 def SetParser(*args
, **kwargs
):
377 """SetParser(self, HtmlParser parser)"""
378 return _html
.HtmlWinTagHandler_SetParser(*args
, **kwargs
)
380 def GetParser(*args
, **kwargs
):
381 """GetParser(self) -> HtmlWinParser"""
382 return _html
.HtmlWinTagHandler_GetParser(*args
, **kwargs
)
384 def ParseInner(*args
, **kwargs
):
385 """ParseInner(self, HtmlTag tag)"""
386 return _html
.HtmlWinTagHandler_ParseInner(*args
, **kwargs
)
389 class HtmlWinTagHandlerPtr(HtmlWinTagHandler
):
390 def __init__(self
, this
):
392 if not hasattr(self
,"thisown"): self
.thisown
= 0
393 self
.__class
__ = HtmlWinTagHandler
394 _html
.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr
)
397 def HtmlWinParser_AddTagHandler(*args
, **kwargs
):
398 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
399 return _html
.HtmlWinParser_AddTagHandler(*args
, **kwargs
)
400 #---------------------------------------------------------------------------
402 class HtmlSelection(object):
404 return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
405 def __init__(self
, *args
, **kwargs
):
406 """__init__(self) -> HtmlSelection"""
407 newobj
= _html
.new_HtmlSelection(*args
, **kwargs
)
408 self
.this
= newobj
.this
411 def __del__(self
, destroy
=_html
.delete_HtmlSelection
):
414 if self
.thisown
: destroy(self
)
417 def Set(*args
, **kwargs
):
418 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
419 return _html
.HtmlSelection_Set(*args
, **kwargs
)
421 def SetCells(*args
, **kwargs
):
422 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
423 return _html
.HtmlSelection_SetCells(*args
, **kwargs
)
425 def GetFromCell(*args
, **kwargs
):
426 """GetFromCell(self) -> HtmlCell"""
427 return _html
.HtmlSelection_GetFromCell(*args
, **kwargs
)
429 def GetToCell(*args
, **kwargs
):
430 """GetToCell(self) -> HtmlCell"""
431 return _html
.HtmlSelection_GetToCell(*args
, **kwargs
)
433 def GetFromPos(*args
, **kwargs
):
434 """GetFromPos(self) -> Point"""
435 return _html
.HtmlSelection_GetFromPos(*args
, **kwargs
)
437 def GetToPos(*args
, **kwargs
):
438 """GetToPos(self) -> Point"""
439 return _html
.HtmlSelection_GetToPos(*args
, **kwargs
)
441 def GetFromPrivPos(*args
, **kwargs
):
442 """GetFromPrivPos(self) -> Point"""
443 return _html
.HtmlSelection_GetFromPrivPos(*args
, **kwargs
)
445 def GetToPrivPos(*args
, **kwargs
):
446 """GetToPrivPos(self) -> Point"""
447 return _html
.HtmlSelection_GetToPrivPos(*args
, **kwargs
)
449 def SetFromPrivPos(*args
, **kwargs
):
450 """SetFromPrivPos(self, Point pos)"""
451 return _html
.HtmlSelection_SetFromPrivPos(*args
, **kwargs
)
453 def SetToPrivPos(*args
, **kwargs
):
454 """SetToPrivPos(self, Point pos)"""
455 return _html
.HtmlSelection_SetToPrivPos(*args
, **kwargs
)
457 def ClearPrivPos(*args
, **kwargs
):
458 """ClearPrivPos(self)"""
459 return _html
.HtmlSelection_ClearPrivPos(*args
, **kwargs
)
461 def IsEmpty(*args
, **kwargs
):
462 """IsEmpty(self) -> bool"""
463 return _html
.HtmlSelection_IsEmpty(*args
, **kwargs
)
466 class HtmlSelectionPtr(HtmlSelection
):
467 def __init__(self
, this
):
469 if not hasattr(self
,"thisown"): self
.thisown
= 0
470 self
.__class
__ = HtmlSelection
471 _html
.HtmlSelection_swigregister(HtmlSelectionPtr
)
473 HTML_SEL_OUT
= _html
.HTML_SEL_OUT
474 HTML_SEL_IN
= _html
.HTML_SEL_IN
475 HTML_SEL_CHANGING
= _html
.HTML_SEL_CHANGING
476 class HtmlRenderingState(object):
478 return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
479 def __init__(self
, *args
, **kwargs
):
480 """__init__(self) -> HtmlRenderingState"""
481 newobj
= _html
.new_HtmlRenderingState(*args
, **kwargs
)
482 self
.this
= newobj
.this
485 def __del__(self
, destroy
=_html
.delete_HtmlRenderingState
):
488 if self
.thisown
: destroy(self
)
491 def SetSelectionState(*args
, **kwargs
):
492 """SetSelectionState(self, int s)"""
493 return _html
.HtmlRenderingState_SetSelectionState(*args
, **kwargs
)
495 def GetSelectionState(*args
, **kwargs
):
496 """GetSelectionState(self) -> int"""
497 return _html
.HtmlRenderingState_GetSelectionState(*args
, **kwargs
)
499 def SetFgColour(*args
, **kwargs
):
500 """SetFgColour(self, Colour c)"""
501 return _html
.HtmlRenderingState_SetFgColour(*args
, **kwargs
)
503 def GetFgColour(*args
, **kwargs
):
504 """GetFgColour(self) -> Colour"""
505 return _html
.HtmlRenderingState_GetFgColour(*args
, **kwargs
)
507 def SetBgColour(*args
, **kwargs
):
508 """SetBgColour(self, Colour c)"""
509 return _html
.HtmlRenderingState_SetBgColour(*args
, **kwargs
)
511 def GetBgColour(*args
, **kwargs
):
512 """GetBgColour(self) -> Colour"""
513 return _html
.HtmlRenderingState_GetBgColour(*args
, **kwargs
)
516 class HtmlRenderingStatePtr(HtmlRenderingState
):
517 def __init__(self
, this
):
519 if not hasattr(self
,"thisown"): self
.thisown
= 0
520 self
.__class
__ = HtmlRenderingState
521 _html
.HtmlRenderingState_swigregister(HtmlRenderingStatePtr
)
523 class HtmlRenderingStyle(object):
524 def __init__(self
): raise RuntimeError, "No constructor defined"
526 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
527 def GetSelectedTextColour(*args
, **kwargs
):
528 """GetSelectedTextColour(self, Colour clr) -> Colour"""
529 return _html
.HtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
531 def GetSelectedTextBgColour(*args
, **kwargs
):
532 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
533 return _html
.HtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
536 class HtmlRenderingStylePtr(HtmlRenderingStyle
):
537 def __init__(self
, this
):
539 if not hasattr(self
,"thisown"): self
.thisown
= 0
540 self
.__class
__ = HtmlRenderingStyle
541 _html
.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr
)
543 class DefaultHtmlRenderingStyle(HtmlRenderingStyle
):
544 def __init__(self
): raise RuntimeError, "No constructor defined"
546 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
547 def GetSelectedTextColour(*args
, **kwargs
):
548 """GetSelectedTextColour(self, Colour clr) -> Colour"""
549 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args
, **kwargs
)
551 def GetSelectedTextBgColour(*args
, **kwargs
):
552 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
553 return _html
.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args
, **kwargs
)
556 class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle
):
557 def __init__(self
, this
):
559 if not hasattr(self
,"thisown"): self
.thisown
= 0
560 self
.__class
__ = DefaultHtmlRenderingStyle
561 _html
.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr
)
563 class HtmlRenderingInfo(object):
565 return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
566 def __init__(self
, *args
, **kwargs
):
567 """__init__(self) -> HtmlRenderingInfo"""
568 newobj
= _html
.new_HtmlRenderingInfo(*args
, **kwargs
)
569 self
.this
= newobj
.this
572 def __del__(self
, destroy
=_html
.delete_HtmlRenderingInfo
):
575 if self
.thisown
: destroy(self
)
578 def SetSelection(*args
, **kwargs
):
579 """SetSelection(self, HtmlSelection s)"""
580 return _html
.HtmlRenderingInfo_SetSelection(*args
, **kwargs
)
582 def GetSelection(*args
, **kwargs
):
583 """GetSelection(self) -> HtmlSelection"""
584 return _html
.HtmlRenderingInfo_GetSelection(*args
, **kwargs
)
586 def SetStyle(*args
, **kwargs
):
587 """SetStyle(self, HtmlRenderingStyle style)"""
588 return _html
.HtmlRenderingInfo_SetStyle(*args
, **kwargs
)
590 def GetStyle(*args
, **kwargs
):
591 """GetStyle(self) -> HtmlRenderingStyle"""
592 return _html
.HtmlRenderingInfo_GetStyle(*args
, **kwargs
)
594 def GetState(*args
, **kwargs
):
595 """GetState(self) -> HtmlRenderingState"""
596 return _html
.HtmlRenderingInfo_GetState(*args
, **kwargs
)
599 class HtmlRenderingInfoPtr(HtmlRenderingInfo
):
600 def __init__(self
, this
):
602 if not hasattr(self
,"thisown"): self
.thisown
= 0
603 self
.__class
__ = HtmlRenderingInfo
604 _html
.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr
)
606 #---------------------------------------------------------------------------
608 HTML_FIND_EXACT
= _html
.HTML_FIND_EXACT
609 HTML_FIND_NEAREST_BEFORE
= _html
.HTML_FIND_NEAREST_BEFORE
610 HTML_FIND_NEAREST_AFTER
= _html
.HTML_FIND_NEAREST_AFTER
611 class HtmlCell(_core
.Object
):
613 return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
614 def __init__(self
, *args
, **kwargs
):
615 """__init__(self) -> HtmlCell"""
616 newobj
= _html
.new_HtmlCell(*args
, **kwargs
)
617 self
.this
= newobj
.this
620 def GetPosX(*args
, **kwargs
):
621 """GetPosX(self) -> int"""
622 return _html
.HtmlCell_GetPosX(*args
, **kwargs
)
624 def GetPosY(*args
, **kwargs
):
625 """GetPosY(self) -> int"""
626 return _html
.HtmlCell_GetPosY(*args
, **kwargs
)
628 def GetWidth(*args
, **kwargs
):
629 """GetWidth(self) -> int"""
630 return _html
.HtmlCell_GetWidth(*args
, **kwargs
)
632 def GetHeight(*args
, **kwargs
):
633 """GetHeight(self) -> int"""
634 return _html
.HtmlCell_GetHeight(*args
, **kwargs
)
636 def GetDescent(*args
, **kwargs
):
637 """GetDescent(self) -> int"""
638 return _html
.HtmlCell_GetDescent(*args
, **kwargs
)
640 def GetMaxTotalWidth(*args
, **kwargs
):
641 """GetMaxTotalWidth(self) -> int"""
642 return _html
.HtmlCell_GetMaxTotalWidth(*args
, **kwargs
)
644 def GetId(*args
, **kwargs
):
645 """GetId(self) -> String"""
646 return _html
.HtmlCell_GetId(*args
, **kwargs
)
648 def SetId(*args
, **kwargs
):
649 """SetId(self, String id)"""
650 return _html
.HtmlCell_SetId(*args
, **kwargs
)
652 def GetLink(*args
, **kwargs
):
653 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
654 return _html
.HtmlCell_GetLink(*args
, **kwargs
)
656 def GetNext(*args
, **kwargs
):
657 """GetNext(self) -> HtmlCell"""
658 return _html
.HtmlCell_GetNext(*args
, **kwargs
)
660 def GetParent(*args
, **kwargs
):
661 """GetParent(self) -> HtmlContainerCell"""
662 return _html
.HtmlCell_GetParent(*args
, **kwargs
)
664 def GetFirstChild(*args
, **kwargs
):
665 """GetFirstChild(self) -> HtmlCell"""
666 return _html
.HtmlCell_GetFirstChild(*args
, **kwargs
)
668 def GetCursor(*args
, **kwargs
):
669 """GetCursor(self) -> Cursor"""
670 return _html
.HtmlCell_GetCursor(*args
, **kwargs
)
672 def IsFormattingCell(*args
, **kwargs
):
673 """IsFormattingCell(self) -> bool"""
674 return _html
.HtmlCell_IsFormattingCell(*args
, **kwargs
)
676 def SetLink(*args
, **kwargs
):
677 """SetLink(self, HtmlLinkInfo link)"""
678 return _html
.HtmlCell_SetLink(*args
, **kwargs
)
680 def SetNext(*args
, **kwargs
):
681 """SetNext(self, HtmlCell cell)"""
682 return _html
.HtmlCell_SetNext(*args
, **kwargs
)
684 def SetParent(*args
, **kwargs
):
685 """SetParent(self, HtmlContainerCell p)"""
686 return _html
.HtmlCell_SetParent(*args
, **kwargs
)
688 def SetPos(*args
, **kwargs
):
689 """SetPos(self, int x, int y)"""
690 return _html
.HtmlCell_SetPos(*args
, **kwargs
)
692 def Layout(*args
, **kwargs
):
693 """Layout(self, int w)"""
694 return _html
.HtmlCell_Layout(*args
, **kwargs
)
696 def Draw(*args
, **kwargs
):
697 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
698 return _html
.HtmlCell_Draw(*args
, **kwargs
)
700 def DrawInvisible(*args
, **kwargs
):
701 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
702 return _html
.HtmlCell_DrawInvisible(*args
, **kwargs
)
704 def Find(*args
, **kwargs
):
705 """Find(self, int condition, void param) -> HtmlCell"""
706 return _html
.HtmlCell_Find(*args
, **kwargs
)
708 def AdjustPagebreak(*args
, **kwargs
):
709 """AdjustPagebreak(self, int INOUT) -> bool"""
710 return _html
.HtmlCell_AdjustPagebreak(*args
, **kwargs
)
712 def SetCanLiveOnPagebreak(*args
, **kwargs
):
713 """SetCanLiveOnPagebreak(self, bool can)"""
714 return _html
.HtmlCell_SetCanLiveOnPagebreak(*args
, **kwargs
)
716 def IsLinebreakAllowed(*args
, **kwargs
):
717 """IsLinebreakAllowed(self) -> bool"""
718 return _html
.HtmlCell_IsLinebreakAllowed(*args
, **kwargs
)
720 def IsTerminalCell(*args
, **kwargs
):
721 """IsTerminalCell(self) -> bool"""
722 return _html
.HtmlCell_IsTerminalCell(*args
, **kwargs
)
724 def FindCellByPos(*args
, **kwargs
):
725 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
726 return _html
.HtmlCell_FindCellByPos(*args
, **kwargs
)
728 def GetAbsPos(*args
, **kwargs
):
729 """GetAbsPos(self) -> Point"""
730 return _html
.HtmlCell_GetAbsPos(*args
, **kwargs
)
732 def GetFirstTerminal(*args
, **kwargs
):
733 """GetFirstTerminal(self) -> HtmlCell"""
734 return _html
.HtmlCell_GetFirstTerminal(*args
, **kwargs
)
736 def GetLastTerminal(*args
, **kwargs
):
737 """GetLastTerminal(self) -> HtmlCell"""
738 return _html
.HtmlCell_GetLastTerminal(*args
, **kwargs
)
740 def GetDepth(*args
, **kwargs
):
741 """GetDepth(self) -> unsigned int"""
742 return _html
.HtmlCell_GetDepth(*args
, **kwargs
)
744 def IsBefore(*args
, **kwargs
):
745 """IsBefore(self, HtmlCell cell) -> bool"""
746 return _html
.HtmlCell_IsBefore(*args
, **kwargs
)
748 def ConvertToText(*args
, **kwargs
):
749 """ConvertToText(self, HtmlSelection sel) -> String"""
750 return _html
.HtmlCell_ConvertToText(*args
, **kwargs
)
753 class HtmlCellPtr(HtmlCell
):
754 def __init__(self
, this
):
756 if not hasattr(self
,"thisown"): self
.thisown
= 0
757 self
.__class
__ = HtmlCell
758 _html
.HtmlCell_swigregister(HtmlCellPtr
)
760 class HtmlWordCell(HtmlCell
):
762 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
763 def __init__(self
, *args
, **kwargs
):
764 """__init__(self, String word, DC dc) -> HtmlWordCell"""
765 newobj
= _html
.new_HtmlWordCell(*args
, **kwargs
)
766 self
.this
= newobj
.this
770 class HtmlWordCellPtr(HtmlWordCell
):
771 def __init__(self
, this
):
773 if not hasattr(self
,"thisown"): self
.thisown
= 0
774 self
.__class
__ = HtmlWordCell
775 _html
.HtmlWordCell_swigregister(HtmlWordCellPtr
)
777 class HtmlContainerCell(HtmlCell
):
779 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
780 def __init__(self
, *args
, **kwargs
):
781 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
782 newobj
= _html
.new_HtmlContainerCell(*args
, **kwargs
)
783 self
.this
= newobj
.this
786 def InsertCell(*args
, **kwargs
):
787 """InsertCell(self, HtmlCell cell)"""
788 return _html
.HtmlContainerCell_InsertCell(*args
, **kwargs
)
790 def SetAlignHor(*args
, **kwargs
):
791 """SetAlignHor(self, int al)"""
792 return _html
.HtmlContainerCell_SetAlignHor(*args
, **kwargs
)
794 def GetAlignHor(*args
, **kwargs
):
795 """GetAlignHor(self) -> int"""
796 return _html
.HtmlContainerCell_GetAlignHor(*args
, **kwargs
)
798 def SetAlignVer(*args
, **kwargs
):
799 """SetAlignVer(self, int al)"""
800 return _html
.HtmlContainerCell_SetAlignVer(*args
, **kwargs
)
802 def GetAlignVer(*args
, **kwargs
):
803 """GetAlignVer(self) -> int"""
804 return _html
.HtmlContainerCell_GetAlignVer(*args
, **kwargs
)
806 def SetIndent(*args
, **kwargs
):
807 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
808 return _html
.HtmlContainerCell_SetIndent(*args
, **kwargs
)
810 def GetIndent(*args
, **kwargs
):
811 """GetIndent(self, int ind) -> int"""
812 return _html
.HtmlContainerCell_GetIndent(*args
, **kwargs
)
814 def GetIndentUnits(*args
, **kwargs
):
815 """GetIndentUnits(self, int ind) -> int"""
816 return _html
.HtmlContainerCell_GetIndentUnits(*args
, **kwargs
)
818 def SetAlign(*args
, **kwargs
):
819 """SetAlign(self, HtmlTag tag)"""
820 return _html
.HtmlContainerCell_SetAlign(*args
, **kwargs
)
822 def SetWidthFloat(*args
, **kwargs
):
823 """SetWidthFloat(self, int w, int units)"""
824 return _html
.HtmlContainerCell_SetWidthFloat(*args
, **kwargs
)
826 def SetWidthFloatFromTag(*args
, **kwargs
):
827 """SetWidthFloatFromTag(self, HtmlTag tag)"""
828 return _html
.HtmlContainerCell_SetWidthFloatFromTag(*args
, **kwargs
)
830 def SetMinHeight(*args
, **kwargs
):
831 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
832 return _html
.HtmlContainerCell_SetMinHeight(*args
, **kwargs
)
834 def SetBackgroundColour(*args
, **kwargs
):
835 """SetBackgroundColour(self, Colour clr)"""
836 return _html
.HtmlContainerCell_SetBackgroundColour(*args
, **kwargs
)
838 def GetBackgroundColour(*args
, **kwargs
):
839 """GetBackgroundColour(self) -> Colour"""
840 return _html
.HtmlContainerCell_GetBackgroundColour(*args
, **kwargs
)
842 def SetBorder(*args
, **kwargs
):
843 """SetBorder(self, Colour clr1, Colour clr2)"""
844 return _html
.HtmlContainerCell_SetBorder(*args
, **kwargs
)
846 def GetFirstChild(*args
, **kwargs
):
847 """GetFirstChild(self) -> HtmlCell"""
848 return _html
.HtmlContainerCell_GetFirstChild(*args
, **kwargs
)
851 class HtmlContainerCellPtr(HtmlContainerCell
):
852 def __init__(self
, this
):
854 if not hasattr(self
,"thisown"): self
.thisown
= 0
855 self
.__class
__ = HtmlContainerCell
856 _html
.HtmlContainerCell_swigregister(HtmlContainerCellPtr
)
858 class HtmlColourCell(HtmlCell
):
860 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
861 def __init__(self
, *args
, **kwargs
):
862 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
863 newobj
= _html
.new_HtmlColourCell(*args
, **kwargs
)
864 self
.this
= newobj
.this
868 class HtmlColourCellPtr(HtmlColourCell
):
869 def __init__(self
, this
):
871 if not hasattr(self
,"thisown"): self
.thisown
= 0
872 self
.__class
__ = HtmlColourCell
873 _html
.HtmlColourCell_swigregister(HtmlColourCellPtr
)
875 class HtmlFontCell(HtmlCell
):
877 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
878 def __init__(self
, *args
, **kwargs
):
879 """__init__(self, Font font) -> HtmlFontCell"""
880 newobj
= _html
.new_HtmlFontCell(*args
, **kwargs
)
881 self
.this
= newobj
.this
885 class HtmlFontCellPtr(HtmlFontCell
):
886 def __init__(self
, this
):
888 if not hasattr(self
,"thisown"): self
.thisown
= 0
889 self
.__class
__ = HtmlFontCell
890 _html
.HtmlFontCell_swigregister(HtmlFontCellPtr
)
892 class HtmlWidgetCell(HtmlCell
):
894 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
895 def __init__(self
, *args
, **kwargs
):
896 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
897 newobj
= _html
.new_HtmlWidgetCell(*args
, **kwargs
)
898 self
.this
= newobj
.this
902 class HtmlWidgetCellPtr(HtmlWidgetCell
):
903 def __init__(self
, this
):
905 if not hasattr(self
,"thisown"): self
.thisown
= 0
906 self
.__class
__ = HtmlWidgetCell
907 _html
.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr
)
909 #---------------------------------------------------------------------------
911 class HtmlFilter(_core
.Object
):
913 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
914 def __init__(self
, *args
, **kwargs
):
915 """__init__(self) -> HtmlFilter"""
916 newobj
= _html
.new_HtmlFilter(*args
, **kwargs
)
917 self
.this
= newobj
.this
920 self
._setCallbackInfo
(self
, HtmlFilter
)
922 def _setCallbackInfo(*args
, **kwargs
):
923 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
924 return _html
.HtmlFilter__setCallbackInfo(*args
, **kwargs
)
927 class HtmlFilterPtr(HtmlFilter
):
928 def __init__(self
, this
):
930 if not hasattr(self
,"thisown"): self
.thisown
= 0
931 self
.__class
__ = HtmlFilter
932 _html
.HtmlFilter_swigregister(HtmlFilterPtr
)
934 #---------------------------------------------------------------------------
936 class HtmlWindow(_windows
.ScrolledWindow
):
938 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
939 def __init__(self
, *args
, **kwargs
):
941 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
942 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
943 String name=HtmlWindowNameStr) -> HtmlWindow
945 newobj
= _html
.new_HtmlWindow(*args
, **kwargs
)
946 self
.this
= newobj
.this
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 SetTitle(*args
, **kwargs
):
1008 """SetTitle(self, String title)"""
1009 return _html
.HtmlWindow_SetTitle(*args
, **kwargs
)
1011 def SetBorders(*args
, **kwargs
):
1012 """SetBorders(self, int b)"""
1013 return _html
.HtmlWindow_SetBorders(*args
, **kwargs
)
1015 def ReadCustomization(*args
, **kwargs
):
1016 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1017 return _html
.HtmlWindow_ReadCustomization(*args
, **kwargs
)
1019 def WriteCustomization(*args
, **kwargs
):
1020 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1021 return _html
.HtmlWindow_WriteCustomization(*args
, **kwargs
)
1023 def HistoryBack(*args
, **kwargs
):
1024 """HistoryBack(self) -> bool"""
1025 return _html
.HtmlWindow_HistoryBack(*args
, **kwargs
)
1027 def HistoryForward(*args
, **kwargs
):
1028 """HistoryForward(self) -> bool"""
1029 return _html
.HtmlWindow_HistoryForward(*args
, **kwargs
)
1031 def HistoryCanBack(*args
, **kwargs
):
1032 """HistoryCanBack(self) -> bool"""
1033 return _html
.HtmlWindow_HistoryCanBack(*args
, **kwargs
)
1035 def HistoryCanForward(*args
, **kwargs
):
1036 """HistoryCanForward(self) -> bool"""
1037 return _html
.HtmlWindow_HistoryCanForward(*args
, **kwargs
)
1039 def HistoryClear(*args
, **kwargs
):
1040 """HistoryClear(self)"""
1041 return _html
.HtmlWindow_HistoryClear(*args
, **kwargs
)
1043 def GetInternalRepresentation(*args
, **kwargs
):
1044 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1045 return _html
.HtmlWindow_GetInternalRepresentation(*args
, **kwargs
)
1047 def GetParser(*args
, **kwargs
):
1048 """GetParser(self) -> HtmlWinParser"""
1049 return _html
.HtmlWindow_GetParser(*args
, **kwargs
)
1051 def ScrollToAnchor(*args
, **kwargs
):
1052 """ScrollToAnchor(self, String anchor) -> bool"""
1053 return _html
.HtmlWindow_ScrollToAnchor(*args
, **kwargs
)
1055 def HasAnchor(*args
, **kwargs
):
1056 """HasAnchor(self, String anchor) -> bool"""
1057 return _html
.HtmlWindow_HasAnchor(*args
, **kwargs
)
1059 def AddFilter(*args
, **kwargs
):
1060 """AddFilter(HtmlFilter filter)"""
1061 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1063 AddFilter
= staticmethod(AddFilter
)
1064 def SelectWord(*args
, **kwargs
):
1065 """SelectWord(self, Point pos)"""
1066 return _html
.HtmlWindow_SelectWord(*args
, **kwargs
)
1068 def SelectLine(*args
, **kwargs
):
1069 """SelectLine(self, Point pos)"""
1070 return _html
.HtmlWindow_SelectLine(*args
, **kwargs
)
1072 def SelectAll(*args
, **kwargs
):
1073 """SelectAll(self)"""
1074 return _html
.HtmlWindow_SelectAll(*args
, **kwargs
)
1076 def base_OnLinkClicked(*args
, **kwargs
):
1077 """base_OnLinkClicked(self, HtmlLinkInfo link)"""
1078 return _html
.HtmlWindow_base_OnLinkClicked(*args
, **kwargs
)
1080 def base_OnSetTitle(*args
, **kwargs
):
1081 """base_OnSetTitle(self, String title)"""
1082 return _html
.HtmlWindow_base_OnSetTitle(*args
, **kwargs
)
1084 def base_OnCellMouseHover(*args
, **kwargs
):
1085 """base_OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1086 return _html
.HtmlWindow_base_OnCellMouseHover(*args
, **kwargs
)
1088 def base_OnCellClicked(*args
, **kwargs
):
1089 """base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)"""
1090 return _html
.HtmlWindow_base_OnCellClicked(*args
, **kwargs
)
1092 def GetClassDefaultAttributes(*args
, **kwargs
):
1094 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1096 Get the default attributes for this class. This is useful if
1097 you want to use the same font or colour in your own control as
1098 in a standard control -- which is a much better idea than hard
1099 coding specific colours or fonts which might look completely out
1100 of place on the users system, especially if it uses themes.
1102 The variant parameter is only relevant under Mac currently and is
1103 ignore under other platforms. Under Mac, it will change the size of the
1104 returned font. See SetWindowVariant for more about this.
1106 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1108 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
1110 class HtmlWindowPtr(HtmlWindow
):
1111 def __init__(self
, this
):
1113 if not hasattr(self
,"thisown"): self
.thisown
= 0
1114 self
.__class
__ = HtmlWindow
1115 _html
.HtmlWindow_swigregister(HtmlWindowPtr
)
1117 def PreHtmlWindow(*args
, **kwargs
):
1118 """PreHtmlWindow() -> HtmlWindow"""
1119 val
= _html
.new_PreHtmlWindow(*args
, **kwargs
)
1123 def HtmlWindow_AddFilter(*args
, **kwargs
):
1124 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1125 return _html
.HtmlWindow_AddFilter(*args
, **kwargs
)
1127 def HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
):
1129 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1131 Get the default attributes for this class. This is useful if
1132 you want to use the same font or colour in your own control as
1133 in a standard control -- which is a much better idea than hard
1134 coding specific colours or fonts which might look completely out
1135 of place on the users system, especially if it uses themes.
1137 The variant parameter is only relevant under Mac currently and is
1138 ignore under other platforms. Under Mac, it will change the size of the
1139 returned font. See SetWindowVariant for more about this.
1141 return _html
.HtmlWindow_GetClassDefaultAttributes(*args
, **kwargs
)
1143 #---------------------------------------------------------------------------
1145 class HtmlDCRenderer(_core
.Object
):
1147 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1148 def __init__(self
, *args
, **kwargs
):
1149 """__init__(self) -> HtmlDCRenderer"""
1150 newobj
= _html
.new_HtmlDCRenderer(*args
, **kwargs
)
1151 self
.this
= newobj
.this
1154 def __del__(self
, destroy
=_html
.delete_HtmlDCRenderer
):
1157 if self
.thisown
: destroy(self
)
1160 def SetDC(*args
, **kwargs
):
1161 """SetDC(self, DC dc, int maxwidth)"""
1162 return _html
.HtmlDCRenderer_SetDC(*args
, **kwargs
)
1164 def SetSize(*args
, **kwargs
):
1165 """SetSize(self, int width, int height)"""
1166 return _html
.HtmlDCRenderer_SetSize(*args
, **kwargs
)
1168 def SetHtmlText(*args
, **kwargs
):
1169 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1170 return _html
.HtmlDCRenderer_SetHtmlText(*args
, **kwargs
)
1172 def SetFonts(*args
, **kwargs
):
1173 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1174 return _html
.HtmlDCRenderer_SetFonts(*args
, **kwargs
)
1176 def Render(*args
, **kwargs
):
1178 Render(self, int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
1179 int choices=None, int LCOUNT=0) -> int
1181 return _html
.HtmlDCRenderer_Render(*args
, **kwargs
)
1183 def GetTotalHeight(*args
, **kwargs
):
1184 """GetTotalHeight(self) -> int"""
1185 return _html
.HtmlDCRenderer_GetTotalHeight(*args
, **kwargs
)
1188 class HtmlDCRendererPtr(HtmlDCRenderer
):
1189 def __init__(self
, this
):
1191 if not hasattr(self
,"thisown"): self
.thisown
= 0
1192 self
.__class
__ = HtmlDCRenderer
1193 _html
.HtmlDCRenderer_swigregister(HtmlDCRendererPtr
)
1195 PAGE_ODD
= _html
.PAGE_ODD
1196 PAGE_EVEN
= _html
.PAGE_EVEN
1197 PAGE_ALL
= _html
.PAGE_ALL
1198 class HtmlPrintout(_windows
.Printout
):
1200 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1201 def __init__(self
, *args
, **kwargs
):
1202 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1203 newobj
= _html
.new_HtmlPrintout(*args
, **kwargs
)
1204 self
.this
= newobj
.this
1207 def SetHtmlText(*args
, **kwargs
):
1208 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1209 return _html
.HtmlPrintout_SetHtmlText(*args
, **kwargs
)
1211 def SetHtmlFile(*args
, **kwargs
):
1212 """SetHtmlFile(self, String htmlfile)"""
1213 return _html
.HtmlPrintout_SetHtmlFile(*args
, **kwargs
)
1215 def SetHeader(*args
, **kwargs
):
1216 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1217 return _html
.HtmlPrintout_SetHeader(*args
, **kwargs
)
1219 def SetFooter(*args
, **kwargs
):
1220 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1221 return _html
.HtmlPrintout_SetFooter(*args
, **kwargs
)
1223 def SetFonts(*args
, **kwargs
):
1224 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1225 return _html
.HtmlPrintout_SetFonts(*args
, **kwargs
)
1227 def SetMargins(*args
, **kwargs
):
1229 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1230 float right=25.2, float spaces=5)
1232 return _html
.HtmlPrintout_SetMargins(*args
, **kwargs
)
1234 def AddFilter(*args
, **kwargs
):
1235 """AddFilter(wxHtmlFilter filter)"""
1236 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1238 AddFilter
= staticmethod(AddFilter
)
1239 def CleanUpStatics(*args
, **kwargs
):
1240 """CleanUpStatics()"""
1241 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1243 CleanUpStatics
= staticmethod(CleanUpStatics
)
1245 class HtmlPrintoutPtr(HtmlPrintout
):
1246 def __init__(self
, this
):
1248 if not hasattr(self
,"thisown"): self
.thisown
= 0
1249 self
.__class
__ = HtmlPrintout
1250 _html
.HtmlPrintout_swigregister(HtmlPrintoutPtr
)
1252 def HtmlPrintout_AddFilter(*args
, **kwargs
):
1253 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1254 return _html
.HtmlPrintout_AddFilter(*args
, **kwargs
)
1256 def HtmlPrintout_CleanUpStatics(*args
, **kwargs
):
1257 """HtmlPrintout_CleanUpStatics()"""
1258 return _html
.HtmlPrintout_CleanUpStatics(*args
, **kwargs
)
1260 class HtmlEasyPrinting(_core
.Object
):
1262 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1263 def __init__(self
, *args
, **kwargs
):
1264 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1265 newobj
= _html
.new_HtmlEasyPrinting(*args
, **kwargs
)
1266 self
.this
= newobj
.this
1269 def __del__(self
, destroy
=_html
.delete_HtmlEasyPrinting
):
1272 if self
.thisown
: destroy(self
)
1275 def PreviewFile(*args
, **kwargs
):
1276 """PreviewFile(self, String htmlfile)"""
1277 return _html
.HtmlEasyPrinting_PreviewFile(*args
, **kwargs
)
1279 def PreviewText(*args
, **kwargs
):
1280 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1281 return _html
.HtmlEasyPrinting_PreviewText(*args
, **kwargs
)
1283 def PrintFile(*args
, **kwargs
):
1284 """PrintFile(self, String htmlfile)"""
1285 return _html
.HtmlEasyPrinting_PrintFile(*args
, **kwargs
)
1287 def PrintText(*args
, **kwargs
):
1288 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1289 return _html
.HtmlEasyPrinting_PrintText(*args
, **kwargs
)
1291 def PrinterSetup(*args
, **kwargs
):
1292 """PrinterSetup(self)"""
1293 return _html
.HtmlEasyPrinting_PrinterSetup(*args
, **kwargs
)
1295 def PageSetup(*args
, **kwargs
):
1296 """PageSetup(self)"""
1297 return _html
.HtmlEasyPrinting_PageSetup(*args
, **kwargs
)
1299 def SetHeader(*args
, **kwargs
):
1300 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1301 return _html
.HtmlEasyPrinting_SetHeader(*args
, **kwargs
)
1303 def SetFooter(*args
, **kwargs
):
1304 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1305 return _html
.HtmlEasyPrinting_SetFooter(*args
, **kwargs
)
1307 def SetFonts(*args
, **kwargs
):
1308 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1309 return _html
.HtmlEasyPrinting_SetFonts(*args
, **kwargs
)
1311 def GetPrintData(*args
, **kwargs
):
1312 """GetPrintData(self) -> PrintData"""
1313 return _html
.HtmlEasyPrinting_GetPrintData(*args
, **kwargs
)
1315 def GetPageSetupData(*args
, **kwargs
):
1316 """GetPageSetupData(self) -> PageSetupDialogData"""
1317 return _html
.HtmlEasyPrinting_GetPageSetupData(*args
, **kwargs
)
1320 class HtmlEasyPrintingPtr(HtmlEasyPrinting
):
1321 def __init__(self
, this
):
1323 if not hasattr(self
,"thisown"): self
.thisown
= 0
1324 self
.__class
__ = HtmlEasyPrinting
1325 _html
.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr
)
1327 #---------------------------------------------------------------------------
1329 class HtmlBookRecord(object):
1331 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1332 def __init__(self
, *args
, **kwargs
):
1333 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1334 newobj
= _html
.new_HtmlBookRecord(*args
, **kwargs
)
1335 self
.this
= newobj
.this
1338 def GetBookFile(*args
, **kwargs
):
1339 """GetBookFile(self) -> String"""
1340 return _html
.HtmlBookRecord_GetBookFile(*args
, **kwargs
)
1342 def GetTitle(*args
, **kwargs
):
1343 """GetTitle(self) -> String"""
1344 return _html
.HtmlBookRecord_GetTitle(*args
, **kwargs
)
1346 def GetStart(*args
, **kwargs
):
1347 """GetStart(self) -> String"""
1348 return _html
.HtmlBookRecord_GetStart(*args
, **kwargs
)
1350 def GetBasePath(*args
, **kwargs
):
1351 """GetBasePath(self) -> String"""
1352 return _html
.HtmlBookRecord_GetBasePath(*args
, **kwargs
)
1354 def SetContentsRange(*args
, **kwargs
):
1355 """SetContentsRange(self, int start, int end)"""
1356 return _html
.HtmlBookRecord_SetContentsRange(*args
, **kwargs
)
1358 def GetContentsStart(*args
, **kwargs
):
1359 """GetContentsStart(self) -> int"""
1360 return _html
.HtmlBookRecord_GetContentsStart(*args
, **kwargs
)
1362 def GetContentsEnd(*args
, **kwargs
):
1363 """GetContentsEnd(self) -> int"""
1364 return _html
.HtmlBookRecord_GetContentsEnd(*args
, **kwargs
)
1366 def SetTitle(*args
, **kwargs
):
1367 """SetTitle(self, String title)"""
1368 return _html
.HtmlBookRecord_SetTitle(*args
, **kwargs
)
1370 def SetBasePath(*args
, **kwargs
):
1371 """SetBasePath(self, String path)"""
1372 return _html
.HtmlBookRecord_SetBasePath(*args
, **kwargs
)
1374 def SetStart(*args
, **kwargs
):
1375 """SetStart(self, String start)"""
1376 return _html
.HtmlBookRecord_SetStart(*args
, **kwargs
)
1378 def GetFullPath(*args
, **kwargs
):
1379 """GetFullPath(self, String page) -> String"""
1380 return _html
.HtmlBookRecord_GetFullPath(*args
, **kwargs
)
1383 class HtmlBookRecordPtr(HtmlBookRecord
):
1384 def __init__(self
, this
):
1386 if not hasattr(self
,"thisown"): self
.thisown
= 0
1387 self
.__class
__ = HtmlBookRecord
1388 _html
.HtmlBookRecord_swigregister(HtmlBookRecordPtr
)
1390 class HtmlContentsItem(object):
1391 def __init__(self
): raise RuntimeError, "No constructor defined"
1393 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1394 def GetLevel(*args
, **kwargs
):
1395 """GetLevel(self) -> int"""
1396 return _html
.HtmlContentsItem_GetLevel(*args
, **kwargs
)
1398 def GetID(*args
, **kwargs
):
1399 """GetID(self) -> int"""
1400 return _html
.HtmlContentsItem_GetID(*args
, **kwargs
)
1402 def GetName(*args
, **kwargs
):
1403 """GetName(self) -> String"""
1404 return _html
.HtmlContentsItem_GetName(*args
, **kwargs
)
1406 def GetPage(*args
, **kwargs
):
1407 """GetPage(self) -> String"""
1408 return _html
.HtmlContentsItem_GetPage(*args
, **kwargs
)
1410 def GetBook(*args
, **kwargs
):
1411 """GetBook(self) -> HtmlBookRecord"""
1412 return _html
.HtmlContentsItem_GetBook(*args
, **kwargs
)
1415 class HtmlContentsItemPtr(HtmlContentsItem
):
1416 def __init__(self
, this
):
1418 if not hasattr(self
,"thisown"): self
.thisown
= 0
1419 self
.__class
__ = HtmlContentsItem
1420 _html
.HtmlContentsItem_swigregister(HtmlContentsItemPtr
)
1422 class HtmlSearchStatus(object):
1423 def __init__(self
): raise RuntimeError, "No constructor defined"
1425 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1426 def Search(*args
, **kwargs
):
1427 """Search(self) -> bool"""
1428 return _html
.HtmlSearchStatus_Search(*args
, **kwargs
)
1430 def IsActive(*args
, **kwargs
):
1431 """IsActive(self) -> bool"""
1432 return _html
.HtmlSearchStatus_IsActive(*args
, **kwargs
)
1434 def GetCurIndex(*args
, **kwargs
):
1435 """GetCurIndex(self) -> int"""
1436 return _html
.HtmlSearchStatus_GetCurIndex(*args
, **kwargs
)
1438 def GetMaxIndex(*args
, **kwargs
):
1439 """GetMaxIndex(self) -> int"""
1440 return _html
.HtmlSearchStatus_GetMaxIndex(*args
, **kwargs
)
1442 def GetName(*args
, **kwargs
):
1443 """GetName(self) -> String"""
1444 return _html
.HtmlSearchStatus_GetName(*args
, **kwargs
)
1446 def GetContentsItem(*args
, **kwargs
):
1447 """GetContentsItem(self) -> HtmlContentsItem"""
1448 return _html
.HtmlSearchStatus_GetContentsItem(*args
, **kwargs
)
1451 class HtmlSearchStatusPtr(HtmlSearchStatus
):
1452 def __init__(self
, this
):
1454 if not hasattr(self
,"thisown"): self
.thisown
= 0
1455 self
.__class
__ = HtmlSearchStatus
1456 _html
.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr
)
1458 class HtmlHelpData(object):
1460 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1461 def __init__(self
, *args
, **kwargs
):
1462 """__init__(self) -> HtmlHelpData"""
1463 newobj
= _html
.new_HtmlHelpData(*args
, **kwargs
)
1464 self
.this
= newobj
.this
1467 def __del__(self
, destroy
=_html
.delete_HtmlHelpData
):
1470 if self
.thisown
: destroy(self
)
1473 def SetTempDir(*args
, **kwargs
):
1474 """SetTempDir(self, String path)"""
1475 return _html
.HtmlHelpData_SetTempDir(*args
, **kwargs
)
1477 def AddBook(*args
, **kwargs
):
1478 """AddBook(self, String book) -> bool"""
1479 return _html
.HtmlHelpData_AddBook(*args
, **kwargs
)
1481 def FindPageByName(*args
, **kwargs
):
1482 """FindPageByName(self, String page) -> String"""
1483 return _html
.HtmlHelpData_FindPageByName(*args
, **kwargs
)
1485 def FindPageById(*args
, **kwargs
):
1486 """FindPageById(self, int id) -> String"""
1487 return _html
.HtmlHelpData_FindPageById(*args
, **kwargs
)
1489 def GetBookRecArray(*args
, **kwargs
):
1490 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1491 return _html
.HtmlHelpData_GetBookRecArray(*args
, **kwargs
)
1493 def GetContents(*args
, **kwargs
):
1494 """GetContents(self) -> HtmlContentsItem"""
1495 return _html
.HtmlHelpData_GetContents(*args
, **kwargs
)
1497 def GetContentsCnt(*args
, **kwargs
):
1498 """GetContentsCnt(self) -> int"""
1499 return _html
.HtmlHelpData_GetContentsCnt(*args
, **kwargs
)
1501 def GetIndex(*args
, **kwargs
):
1502 """GetIndex(self) -> HtmlContentsItem"""
1503 return _html
.HtmlHelpData_GetIndex(*args
, **kwargs
)
1505 def GetIndexCnt(*args
, **kwargs
):
1506 """GetIndexCnt(self) -> int"""
1507 return _html
.HtmlHelpData_GetIndexCnt(*args
, **kwargs
)
1510 class HtmlHelpDataPtr(HtmlHelpData
):
1511 def __init__(self
, this
):
1513 if not hasattr(self
,"thisown"): self
.thisown
= 0
1514 self
.__class
__ = HtmlHelpData
1515 _html
.HtmlHelpData_swigregister(HtmlHelpDataPtr
)
1517 class HtmlHelpFrame(_windows
.Frame
):
1519 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1520 def __init__(self
, *args
, **kwargs
):
1522 __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1523 HtmlHelpData data=None) -> HtmlHelpFrame
1525 newobj
= _html
.new_HtmlHelpFrame(*args
, **kwargs
)
1526 self
.this
= newobj
.this
1529 self
._setOORInfo
(self
)
1531 def GetData(*args
, **kwargs
):
1532 """GetData(self) -> HtmlHelpData"""
1533 return _html
.HtmlHelpFrame_GetData(*args
, **kwargs
)
1535 def SetTitleFormat(*args
, **kwargs
):
1536 """SetTitleFormat(self, String format)"""
1537 return _html
.HtmlHelpFrame_SetTitleFormat(*args
, **kwargs
)
1539 def Display(*args
, **kwargs
):
1540 """Display(self, String x)"""
1541 return _html
.HtmlHelpFrame_Display(*args
, **kwargs
)
1543 def DisplayID(*args
, **kwargs
):
1544 """DisplayID(self, int id)"""
1545 return _html
.HtmlHelpFrame_DisplayID(*args
, **kwargs
)
1547 def DisplayContents(*args
, **kwargs
):
1548 """DisplayContents(self)"""
1549 return _html
.HtmlHelpFrame_DisplayContents(*args
, **kwargs
)
1551 def DisplayIndex(*args
, **kwargs
):
1552 """DisplayIndex(self)"""
1553 return _html
.HtmlHelpFrame_DisplayIndex(*args
, **kwargs
)
1555 def KeywordSearch(*args
, **kwargs
):
1556 """KeywordSearch(self, String keyword) -> bool"""
1557 return _html
.HtmlHelpFrame_KeywordSearch(*args
, **kwargs
)
1559 def UseConfig(*args
, **kwargs
):
1560 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1561 return _html
.HtmlHelpFrame_UseConfig(*args
, **kwargs
)
1563 def ReadCustomization(*args
, **kwargs
):
1564 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1565 return _html
.HtmlHelpFrame_ReadCustomization(*args
, **kwargs
)
1567 def WriteCustomization(*args
, **kwargs
):
1568 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1569 return _html
.HtmlHelpFrame_WriteCustomization(*args
, **kwargs
)
1572 class HtmlHelpFramePtr(HtmlHelpFrame
):
1573 def __init__(self
, this
):
1575 if not hasattr(self
,"thisown"): self
.thisown
= 0
1576 self
.__class
__ = HtmlHelpFrame
1577 _html
.HtmlHelpFrame_swigregister(HtmlHelpFramePtr
)
1579 HF_TOOLBAR
= _html
.HF_TOOLBAR
1580 HF_FLATTOOLBAR
= _html
.HF_FLATTOOLBAR
1581 HF_CONTENTS
= _html
.HF_CONTENTS
1582 HF_INDEX
= _html
.HF_INDEX
1583 HF_SEARCH
= _html
.HF_SEARCH
1584 HF_BOOKMARKS
= _html
.HF_BOOKMARKS
1585 HF_OPENFILES
= _html
.HF_OPENFILES
1586 HF_PRINT
= _html
.HF_PRINT
1587 HF_DEFAULTSTYLE
= _html
.HF_DEFAULTSTYLE
1588 class HtmlHelpController(_core
.EvtHandler
):
1590 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1591 def __init__(self
, *args
, **kwargs
):
1592 """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
1593 newobj
= _html
.new_HtmlHelpController(*args
, **kwargs
)
1594 self
.this
= newobj
.this
1597 self
._setOORInfo
(self
)
1599 def __del__(self
, destroy
=_html
.delete_HtmlHelpController
):
1602 if self
.thisown
: destroy(self
)
1605 def SetTitleFormat(*args
, **kwargs
):
1606 """SetTitleFormat(self, String format)"""
1607 return _html
.HtmlHelpController_SetTitleFormat(*args
, **kwargs
)
1609 def SetTempDir(*args
, **kwargs
):
1610 """SetTempDir(self, String path)"""
1611 return _html
.HtmlHelpController_SetTempDir(*args
, **kwargs
)
1613 def AddBook(*args
, **kwargs
):
1614 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1615 return _html
.HtmlHelpController_AddBook(*args
, **kwargs
)
1617 def Display(*args
, **kwargs
):
1618 """Display(self, String x)"""
1619 return _html
.HtmlHelpController_Display(*args
, **kwargs
)
1621 def DisplayID(*args
, **kwargs
):
1622 """DisplayID(self, int id)"""
1623 return _html
.HtmlHelpController_DisplayID(*args
, **kwargs
)
1625 def DisplayContents(*args
, **kwargs
):
1626 """DisplayContents(self)"""
1627 return _html
.HtmlHelpController_DisplayContents(*args
, **kwargs
)
1629 def DisplayIndex(*args
, **kwargs
):
1630 """DisplayIndex(self)"""
1631 return _html
.HtmlHelpController_DisplayIndex(*args
, **kwargs
)
1633 def KeywordSearch(*args
, **kwargs
):
1634 """KeywordSearch(self, String keyword) -> bool"""
1635 return _html
.HtmlHelpController_KeywordSearch(*args
, **kwargs
)
1637 def UseConfig(*args
, **kwargs
):
1638 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1639 return _html
.HtmlHelpController_UseConfig(*args
, **kwargs
)
1641 def ReadCustomization(*args
, **kwargs
):
1642 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1643 return _html
.HtmlHelpController_ReadCustomization(*args
, **kwargs
)
1645 def WriteCustomization(*args
, **kwargs
):
1646 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1647 return _html
.HtmlHelpController_WriteCustomization(*args
, **kwargs
)
1649 def GetFrame(*args
, **kwargs
):
1650 """GetFrame(self) -> HtmlHelpFrame"""
1651 return _html
.HtmlHelpController_GetFrame(*args
, **kwargs
)
1654 class HtmlHelpControllerPtr(HtmlHelpController
):
1655 def __init__(self
, this
):
1657 if not hasattr(self
,"thisown"): self
.thisown
= 0
1658 self
.__class
__ = HtmlHelpController
1659 _html
.HtmlHelpController_swigregister(HtmlHelpControllerPtr
)