]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/html.py
More lib and demo changes for dropping the wx prefix, from Jeff G.
[wxWidgets.git] / wxPython / src / gtk / html.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 import _html
5
6 import windows
7 import core
8 wx = core
9 #---------------------------------------------------------------------------
10
11 HTML_ALIGN_LEFT = _html.HTML_ALIGN_LEFT
12 HTML_ALIGN_CENTER = _html.HTML_ALIGN_CENTER
13 HTML_ALIGN_RIGHT = _html.HTML_ALIGN_RIGHT
14 HTML_ALIGN_BOTTOM = _html.HTML_ALIGN_BOTTOM
15 HTML_ALIGN_TOP = _html.HTML_ALIGN_TOP
16 HTML_CLR_FOREGROUND = _html.HTML_CLR_FOREGROUND
17 HTML_CLR_BACKGROUND = _html.HTML_CLR_BACKGROUND
18 HTML_UNITS_PIXELS = _html.HTML_UNITS_PIXELS
19 HTML_UNITS_PERCENT = _html.HTML_UNITS_PERCENT
20 HTML_INDENT_LEFT = _html.HTML_INDENT_LEFT
21 HTML_INDENT_RIGHT = _html.HTML_INDENT_RIGHT
22 HTML_INDENT_TOP = _html.HTML_INDENT_TOP
23 HTML_INDENT_BOTTOM = _html.HTML_INDENT_BOTTOM
24 HTML_INDENT_HORIZONTAL = _html.HTML_INDENT_HORIZONTAL
25 HTML_INDENT_VERTICAL = _html.HTML_INDENT_VERTICAL
26 HTML_INDENT_ALL = _html.HTML_INDENT_ALL
27 HTML_COND_ISANCHOR = _html.HTML_COND_ISANCHOR
28 HTML_COND_ISIMAGEMAP = _html.HTML_COND_ISIMAGEMAP
29 HTML_COND_USER = _html.HTML_COND_USER
30 HTML_FONT_SIZE_1 = _html.HTML_FONT_SIZE_1
31 HTML_FONT_SIZE_2 = _html.HTML_FONT_SIZE_2
32 HTML_FONT_SIZE_3 = _html.HTML_FONT_SIZE_3
33 HTML_FONT_SIZE_4 = _html.HTML_FONT_SIZE_4
34 HTML_FONT_SIZE_5 = _html.HTML_FONT_SIZE_5
35 HTML_FONT_SIZE_6 = _html.HTML_FONT_SIZE_6
36 HTML_FONT_SIZE_7 = _html.HTML_FONT_SIZE_7
37 HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER
38 HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO
39 HW_NO_SELECTION = _html.HW_NO_SELECTION
40 HW_DEFAULT_STYLE = _html.HW_DEFAULT_STYLE
41 HTML_OPEN = _html.HTML_OPEN
42 HTML_BLOCK = _html.HTML_BLOCK
43 HTML_REDIRECT = _html.HTML_REDIRECT
44 HTML_URL_PAGE = _html.HTML_URL_PAGE
45 HTML_URL_IMAGE = _html.HTML_URL_IMAGE
46 HTML_URL_OTHER = _html.HTML_URL_OTHER
47 class HtmlLinkInfo(core.Object):
48 def __repr__(self):
49 return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
50 def __init__(self, *args, **kwargs):
51 """__init__(String href, String target=EmptyString) -> HtmlLinkInfo"""
52 newobj = _html.new_HtmlLinkInfo(*args, **kwargs)
53 self.this = newobj.this
54 self.thisown = 1
55 del newobj.thisown
56 def GetHref(*args, **kwargs):
57 """GetHref() -> String"""
58 return _html.HtmlLinkInfo_GetHref(*args, **kwargs)
59
60 def GetTarget(*args, **kwargs):
61 """GetTarget() -> String"""
62 return _html.HtmlLinkInfo_GetTarget(*args, **kwargs)
63
64 def GetEvent(*args, **kwargs):
65 """GetEvent() -> MouseEvent"""
66 return _html.HtmlLinkInfo_GetEvent(*args, **kwargs)
67
68 def GetHtmlCell(*args, **kwargs):
69 """GetHtmlCell() -> HtmlCell"""
70 return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs)
71
72 def SetEvent(*args, **kwargs):
73 """SetEvent(MouseEvent e)"""
74 return _html.HtmlLinkInfo_SetEvent(*args, **kwargs)
75
76 def SetHtmlCell(*args, **kwargs):
77 """SetHtmlCell(HtmlCell e)"""
78 return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs)
79
80
81 class HtmlLinkInfoPtr(HtmlLinkInfo):
82 def __init__(self, this):
83 self.this = this
84 if not hasattr(self,"thisown"): self.thisown = 0
85 self.__class__ = HtmlLinkInfo
86 _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr)
87 cvar = _html.cvar
88 HtmlWindowNameStr = cvar.HtmlWindowNameStr
89 HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
90 HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
91
92 class HtmlTag(core.Object):
93 def __init__(self): raise RuntimeError, "No constructor defined"
94 def __repr__(self):
95 return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
96 def GetName(*args, **kwargs):
97 """GetName() -> String"""
98 return _html.HtmlTag_GetName(*args, **kwargs)
99
100 def HasParam(*args, **kwargs):
101 """HasParam(String par) -> bool"""
102 return _html.HtmlTag_HasParam(*args, **kwargs)
103
104 def GetParam(*args, **kwargs):
105 """GetParam(String par, int with_commas=False) -> String"""
106 return _html.HtmlTag_GetParam(*args, **kwargs)
107
108 def GetAllParams(*args, **kwargs):
109 """GetAllParams() -> String"""
110 return _html.HtmlTag_GetAllParams(*args, **kwargs)
111
112 def HasEnding(*args, **kwargs):
113 """HasEnding() -> bool"""
114 return _html.HtmlTag_HasEnding(*args, **kwargs)
115
116 def GetBeginPos(*args, **kwargs):
117 """GetBeginPos() -> int"""
118 return _html.HtmlTag_GetBeginPos(*args, **kwargs)
119
120 def GetEndPos1(*args, **kwargs):
121 """GetEndPos1() -> int"""
122 return _html.HtmlTag_GetEndPos1(*args, **kwargs)
123
124 def GetEndPos2(*args, **kwargs):
125 """GetEndPos2() -> int"""
126 return _html.HtmlTag_GetEndPos2(*args, **kwargs)
127
128
129 class HtmlTagPtr(HtmlTag):
130 def __init__(self, this):
131 self.this = this
132 if not hasattr(self,"thisown"): self.thisown = 0
133 self.__class__ = HtmlTag
134 _html.HtmlTag_swigregister(HtmlTagPtr)
135
136 class HtmlParser(core.Object):
137 def __init__(self): raise RuntimeError, "No constructor defined"
138 def __repr__(self):
139 return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
140 def SetFS(*args, **kwargs):
141 """SetFS(FileSystem fs)"""
142 return _html.HtmlParser_SetFS(*args, **kwargs)
143
144 def GetFS(*args, **kwargs):
145 """GetFS() -> FileSystem"""
146 return _html.HtmlParser_GetFS(*args, **kwargs)
147
148 def Parse(*args, **kwargs):
149 """Parse(String source) -> Object"""
150 return _html.HtmlParser_Parse(*args, **kwargs)
151
152 def InitParser(*args, **kwargs):
153 """InitParser(String source)"""
154 return _html.HtmlParser_InitParser(*args, **kwargs)
155
156 def DoneParser(*args, **kwargs):
157 """DoneParser()"""
158 return _html.HtmlParser_DoneParser(*args, **kwargs)
159
160 def DoParsing(*args, **kwargs):
161 """DoParsing(int begin_pos, int end_pos)"""
162 return _html.HtmlParser_DoParsing(*args, **kwargs)
163
164 def StopParsing(*args, **kwargs):
165 """StopParsing()"""
166 return _html.HtmlParser_StopParsing(*args, **kwargs)
167
168 def AddTagHandler(*args, **kwargs):
169 """AddTagHandler(HtmlTagHandler handler)"""
170 return _html.HtmlParser_AddTagHandler(*args, **kwargs)
171
172 def GetSource(*args, **kwargs):
173 """GetSource() -> String"""
174 return _html.HtmlParser_GetSource(*args, **kwargs)
175
176 def PushTagHandler(*args, **kwargs):
177 """PushTagHandler(HtmlTagHandler handler, String tags)"""
178 return _html.HtmlParser_PushTagHandler(*args, **kwargs)
179
180 def PopTagHandler(*args, **kwargs):
181 """PopTagHandler()"""
182 return _html.HtmlParser_PopTagHandler(*args, **kwargs)
183
184
185 class HtmlParserPtr(HtmlParser):
186 def __init__(self, this):
187 self.this = this
188 if not hasattr(self,"thisown"): self.thisown = 0
189 self.__class__ = HtmlParser
190 _html.HtmlParser_swigregister(HtmlParserPtr)
191
192 class HtmlWinParser(HtmlParser):
193 def __repr__(self):
194 return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
195 def __init__(self, *args, **kwargs):
196 """__init__(HtmlWindow wnd=None) -> HtmlWinParser"""
197 newobj = _html.new_HtmlWinParser(*args, **kwargs)
198 self.this = newobj.this
199 self.thisown = 1
200 del newobj.thisown
201 def SetDC(*args, **kwargs):
202 """SetDC(DC dc)"""
203 return _html.HtmlWinParser_SetDC(*args, **kwargs)
204
205 def GetDC(*args, **kwargs):
206 """GetDC() -> DC"""
207 return _html.HtmlWinParser_GetDC(*args, **kwargs)
208
209 def GetCharHeight(*args, **kwargs):
210 """GetCharHeight() -> int"""
211 return _html.HtmlWinParser_GetCharHeight(*args, **kwargs)
212
213 def GetCharWidth(*args, **kwargs):
214 """GetCharWidth() -> int"""
215 return _html.HtmlWinParser_GetCharWidth(*args, **kwargs)
216
217 def GetWindow(*args, **kwargs):
218 """GetWindow() -> HtmlWindow"""
219 return _html.HtmlWinParser_GetWindow(*args, **kwargs)
220
221 def SetFonts(*args, **kwargs):
222 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
223 return _html.HtmlWinParser_SetFonts(*args, **kwargs)
224
225 def GetContainer(*args, **kwargs):
226 """GetContainer() -> HtmlContainerCell"""
227 return _html.HtmlWinParser_GetContainer(*args, **kwargs)
228
229 def OpenContainer(*args, **kwargs):
230 """OpenContainer() -> HtmlContainerCell"""
231 return _html.HtmlWinParser_OpenContainer(*args, **kwargs)
232
233 def SetContainer(*args, **kwargs):
234 """SetContainer(HtmlContainerCell c) -> HtmlContainerCell"""
235 return _html.HtmlWinParser_SetContainer(*args, **kwargs)
236
237 def CloseContainer(*args, **kwargs):
238 """CloseContainer() -> HtmlContainerCell"""
239 return _html.HtmlWinParser_CloseContainer(*args, **kwargs)
240
241 def GetFontSize(*args, **kwargs):
242 """GetFontSize() -> int"""
243 return _html.HtmlWinParser_GetFontSize(*args, **kwargs)
244
245 def SetFontSize(*args, **kwargs):
246 """SetFontSize(int s)"""
247 return _html.HtmlWinParser_SetFontSize(*args, **kwargs)
248
249 def GetFontBold(*args, **kwargs):
250 """GetFontBold() -> int"""
251 return _html.HtmlWinParser_GetFontBold(*args, **kwargs)
252
253 def SetFontBold(*args, **kwargs):
254 """SetFontBold(int x)"""
255 return _html.HtmlWinParser_SetFontBold(*args, **kwargs)
256
257 def GetFontItalic(*args, **kwargs):
258 """GetFontItalic() -> int"""
259 return _html.HtmlWinParser_GetFontItalic(*args, **kwargs)
260
261 def SetFontItalic(*args, **kwargs):
262 """SetFontItalic(int x)"""
263 return _html.HtmlWinParser_SetFontItalic(*args, **kwargs)
264
265 def GetFontUnderlined(*args, **kwargs):
266 """GetFontUnderlined() -> int"""
267 return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs)
268
269 def SetFontUnderlined(*args, **kwargs):
270 """SetFontUnderlined(int x)"""
271 return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs)
272
273 def GetFontFixed(*args, **kwargs):
274 """GetFontFixed() -> int"""
275 return _html.HtmlWinParser_GetFontFixed(*args, **kwargs)
276
277 def SetFontFixed(*args, **kwargs):
278 """SetFontFixed(int x)"""
279 return _html.HtmlWinParser_SetFontFixed(*args, **kwargs)
280
281 def GetAlign(*args, **kwargs):
282 """GetAlign() -> int"""
283 return _html.HtmlWinParser_GetAlign(*args, **kwargs)
284
285 def SetAlign(*args, **kwargs):
286 """SetAlign(int a)"""
287 return _html.HtmlWinParser_SetAlign(*args, **kwargs)
288
289 def GetLinkColor(*args, **kwargs):
290 """GetLinkColor() -> Colour"""
291 return _html.HtmlWinParser_GetLinkColor(*args, **kwargs)
292
293 def SetLinkColor(*args, **kwargs):
294 """SetLinkColor(Colour clr)"""
295 return _html.HtmlWinParser_SetLinkColor(*args, **kwargs)
296
297 def GetActualColor(*args, **kwargs):
298 """GetActualColor() -> Colour"""
299 return _html.HtmlWinParser_GetActualColor(*args, **kwargs)
300
301 def SetActualColor(*args, **kwargs):
302 """SetActualColor(Colour clr)"""
303 return _html.HtmlWinParser_SetActualColor(*args, **kwargs)
304
305 def SetLink(*args, **kwargs):
306 """SetLink(String link)"""
307 return _html.HtmlWinParser_SetLink(*args, **kwargs)
308
309 def CreateCurrentFont(*args, **kwargs):
310 """CreateCurrentFont() -> Font"""
311 return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs)
312
313 def GetLink(*args, **kwargs):
314 """GetLink() -> HtmlLinkInfo"""
315 return _html.HtmlWinParser_GetLink(*args, **kwargs)
316
317
318 class HtmlWinParserPtr(HtmlWinParser):
319 def __init__(self, this):
320 self.this = this
321 if not hasattr(self,"thisown"): self.thisown = 0
322 self.__class__ = HtmlWinParser
323 _html.HtmlWinParser_swigregister(HtmlWinParserPtr)
324
325 class HtmlTagHandler(core.Object):
326 def __repr__(self):
327 return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
328 def __init__(self, *args, **kwargs):
329 """__init__() -> HtmlTagHandler"""
330 newobj = _html.new_HtmlTagHandler(*args, **kwargs)
331 self.this = newobj.this
332 self.thisown = 1
333 del newobj.thisown
334 self._setCallbackInfo(self, HtmlTagHandler)
335
336 def _setCallbackInfo(*args, **kwargs):
337 """_setCallbackInfo(PyObject self, PyObject _class)"""
338 return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs)
339
340 def SetParser(*args, **kwargs):
341 """SetParser(HtmlParser parser)"""
342 return _html.HtmlTagHandler_SetParser(*args, **kwargs)
343
344 def GetParser(*args, **kwargs):
345 """GetParser() -> HtmlParser"""
346 return _html.HtmlTagHandler_GetParser(*args, **kwargs)
347
348 def ParseInner(*args, **kwargs):
349 """ParseInner(HtmlTag tag)"""
350 return _html.HtmlTagHandler_ParseInner(*args, **kwargs)
351
352
353 class HtmlTagHandlerPtr(HtmlTagHandler):
354 def __init__(self, this):
355 self.this = this
356 if not hasattr(self,"thisown"): self.thisown = 0
357 self.__class__ = HtmlTagHandler
358 _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr)
359
360 class HtmlWinTagHandler(HtmlTagHandler):
361 def __repr__(self):
362 return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
363 def __init__(self, *args, **kwargs):
364 """__init__() -> HtmlWinTagHandler"""
365 newobj = _html.new_HtmlWinTagHandler(*args, **kwargs)
366 self.this = newobj.this
367 self.thisown = 1
368 del newobj.thisown
369 self._setCallbackInfo(self, HtmlWinTagHandler)
370
371 def _setCallbackInfo(*args, **kwargs):
372 """_setCallbackInfo(PyObject self, PyObject _class)"""
373 return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs)
374
375 def SetParser(*args, **kwargs):
376 """SetParser(HtmlParser parser)"""
377 return _html.HtmlWinTagHandler_SetParser(*args, **kwargs)
378
379 def GetParser(*args, **kwargs):
380 """GetParser() -> HtmlWinParser"""
381 return _html.HtmlWinTagHandler_GetParser(*args, **kwargs)
382
383 def ParseInner(*args, **kwargs):
384 """ParseInner(HtmlTag tag)"""
385 return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs)
386
387
388 class HtmlWinTagHandlerPtr(HtmlWinTagHandler):
389 def __init__(self, this):
390 self.this = this
391 if not hasattr(self,"thisown"): self.thisown = 0
392 self.__class__ = HtmlWinTagHandler
393 _html.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr)
394
395
396 def HtmlWinParser_AddTagHandler(*args, **kwargs):
397 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
398 return _html.HtmlWinParser_AddTagHandler(*args, **kwargs)
399 #---------------------------------------------------------------------------
400
401 class HtmlSelection(object):
402 def __repr__(self):
403 return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
404 def __init__(self, *args, **kwargs):
405 """__init__() -> HtmlSelection"""
406 newobj = _html.new_HtmlSelection(*args, **kwargs)
407 self.this = newobj.this
408 self.thisown = 1
409 del newobj.thisown
410 def __del__(self, destroy=_html.delete_HtmlSelection):
411 """__del__()"""
412 try:
413 if self.thisown: destroy(self)
414 except: pass
415
416 def Set(*args, **kwargs):
417 """Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
418 return _html.HtmlSelection_Set(*args, **kwargs)
419
420 def SetCells(*args, **kwargs):
421 """SetCells(HtmlCell fromCell, HtmlCell toCell)"""
422 return _html.HtmlSelection_SetCells(*args, **kwargs)
423
424 def GetFromCell(*args, **kwargs):
425 """GetFromCell() -> HtmlCell"""
426 return _html.HtmlSelection_GetFromCell(*args, **kwargs)
427
428 def GetToCell(*args, **kwargs):
429 """GetToCell() -> HtmlCell"""
430 return _html.HtmlSelection_GetToCell(*args, **kwargs)
431
432 def GetFromPos(*args, **kwargs):
433 """GetFromPos() -> Point"""
434 return _html.HtmlSelection_GetFromPos(*args, **kwargs)
435
436 def GetToPos(*args, **kwargs):
437 """GetToPos() -> Point"""
438 return _html.HtmlSelection_GetToPos(*args, **kwargs)
439
440 def GetFromPrivPos(*args, **kwargs):
441 """GetFromPrivPos() -> Point"""
442 return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs)
443
444 def GetToPrivPos(*args, **kwargs):
445 """GetToPrivPos() -> Point"""
446 return _html.HtmlSelection_GetToPrivPos(*args, **kwargs)
447
448 def SetFromPrivPos(*args, **kwargs):
449 """SetFromPrivPos(Point pos)"""
450 return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs)
451
452 def SetToPrivPos(*args, **kwargs):
453 """SetToPrivPos(Point pos)"""
454 return _html.HtmlSelection_SetToPrivPos(*args, **kwargs)
455
456 def ClearPrivPos(*args, **kwargs):
457 """ClearPrivPos()"""
458 return _html.HtmlSelection_ClearPrivPos(*args, **kwargs)
459
460 def IsEmpty(*args, **kwargs):
461 """IsEmpty() -> bool"""
462 return _html.HtmlSelection_IsEmpty(*args, **kwargs)
463
464
465 class HtmlSelectionPtr(HtmlSelection):
466 def __init__(self, this):
467 self.this = this
468 if not hasattr(self,"thisown"): self.thisown = 0
469 self.__class__ = HtmlSelection
470 _html.HtmlSelection_swigregister(HtmlSelectionPtr)
471
472 HTML_SEL_OUT = _html.HTML_SEL_OUT
473 HTML_SEL_IN = _html.HTML_SEL_IN
474 HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
475 class HtmlRenderingState(object):
476 def __repr__(self):
477 return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
478 def __init__(self, *args, **kwargs):
479 """__init__() -> HtmlRenderingState"""
480 newobj = _html.new_HtmlRenderingState(*args, **kwargs)
481 self.this = newobj.this
482 self.thisown = 1
483 del newobj.thisown
484 def __del__(self, destroy=_html.delete_HtmlRenderingState):
485 """__del__()"""
486 try:
487 if self.thisown: destroy(self)
488 except: pass
489
490 def SetSelectionState(*args, **kwargs):
491 """SetSelectionState(int s)"""
492 return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs)
493
494 def GetSelectionState(*args, **kwargs):
495 """GetSelectionState() -> int"""
496 return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs)
497
498 def SetFgColour(*args, **kwargs):
499 """SetFgColour(Colour c)"""
500 return _html.HtmlRenderingState_SetFgColour(*args, **kwargs)
501
502 def GetFgColour(*args, **kwargs):
503 """GetFgColour() -> Colour"""
504 return _html.HtmlRenderingState_GetFgColour(*args, **kwargs)
505
506 def SetBgColour(*args, **kwargs):
507 """SetBgColour(Colour c)"""
508 return _html.HtmlRenderingState_SetBgColour(*args, **kwargs)
509
510 def GetBgColour(*args, **kwargs):
511 """GetBgColour() -> Colour"""
512 return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
513
514
515 class HtmlRenderingStatePtr(HtmlRenderingState):
516 def __init__(self, this):
517 self.this = this
518 if not hasattr(self,"thisown"): self.thisown = 0
519 self.__class__ = HtmlRenderingState
520 _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr)
521
522 class HtmlRenderingStyle(object):
523 def __init__(self): raise RuntimeError, "No constructor defined"
524 def __repr__(self):
525 return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
526 def GetSelectedTextColour(*args, **kwargs):
527 """GetSelectedTextColour(Colour clr) -> Colour"""
528 return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
529
530 def GetSelectedTextBgColour(*args, **kwargs):
531 """GetSelectedTextBgColour(Colour clr) -> Colour"""
532 return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
533
534
535 class HtmlRenderingStylePtr(HtmlRenderingStyle):
536 def __init__(self, this):
537 self.this = this
538 if not hasattr(self,"thisown"): self.thisown = 0
539 self.__class__ = HtmlRenderingStyle
540 _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr)
541
542 class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
543 def __init__(self): raise RuntimeError, "No constructor defined"
544 def __repr__(self):
545 return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
546 def GetSelectedTextColour(*args, **kwargs):
547 """GetSelectedTextColour(Colour clr) -> Colour"""
548 return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
549
550 def GetSelectedTextBgColour(*args, **kwargs):
551 """GetSelectedTextBgColour(Colour clr) -> Colour"""
552 return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
553
554
555 class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle):
556 def __init__(self, this):
557 self.this = this
558 if not hasattr(self,"thisown"): self.thisown = 0
559 self.__class__ = DefaultHtmlRenderingStyle
560 _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr)
561
562 class HtmlRenderingInfo(object):
563 def __repr__(self):
564 return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
565 def __init__(self, *args, **kwargs):
566 """__init__() -> HtmlRenderingInfo"""
567 newobj = _html.new_HtmlRenderingInfo(*args, **kwargs)
568 self.this = newobj.this
569 self.thisown = 1
570 del newobj.thisown
571 def __del__(self, destroy=_html.delete_HtmlRenderingInfo):
572 """__del__()"""
573 try:
574 if self.thisown: destroy(self)
575 except: pass
576
577 def SetSelection(*args, **kwargs):
578 """SetSelection(HtmlSelection s)"""
579 return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs)
580
581 def GetSelection(*args, **kwargs):
582 """GetSelection() -> HtmlSelection"""
583 return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs)
584
585 def SetStyle(*args, **kwargs):
586 """SetStyle(HtmlRenderingStyle style)"""
587 return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs)
588
589 def GetStyle(*args, **kwargs):
590 """GetStyle() -> HtmlRenderingStyle"""
591 return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs)
592
593 def GetState(*args, **kwargs):
594 """GetState() -> HtmlRenderingState"""
595 return _html.HtmlRenderingInfo_GetState(*args, **kwargs)
596
597
598 class HtmlRenderingInfoPtr(HtmlRenderingInfo):
599 def __init__(self, this):
600 self.this = this
601 if not hasattr(self,"thisown"): self.thisown = 0
602 self.__class__ = HtmlRenderingInfo
603 _html.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr)
604
605 #---------------------------------------------------------------------------
606
607 HTML_FIND_EXACT = _html.HTML_FIND_EXACT
608 HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
609 HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
610 class HtmlCell(core.Object):
611 def __repr__(self):
612 return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
613 def __init__(self, *args, **kwargs):
614 """__init__() -> HtmlCell"""
615 newobj = _html.new_HtmlCell(*args, **kwargs)
616 self.this = newobj.this
617 self.thisown = 1
618 del newobj.thisown
619 def GetPosX(*args, **kwargs):
620 """GetPosX() -> int"""
621 return _html.HtmlCell_GetPosX(*args, **kwargs)
622
623 def GetPosY(*args, **kwargs):
624 """GetPosY() -> int"""
625 return _html.HtmlCell_GetPosY(*args, **kwargs)
626
627 def GetWidth(*args, **kwargs):
628 """GetWidth() -> int"""
629 return _html.HtmlCell_GetWidth(*args, **kwargs)
630
631 def GetHeight(*args, **kwargs):
632 """GetHeight() -> int"""
633 return _html.HtmlCell_GetHeight(*args, **kwargs)
634
635 def GetDescent(*args, **kwargs):
636 """GetDescent() -> int"""
637 return _html.HtmlCell_GetDescent(*args, **kwargs)
638
639 def GetLink(*args, **kwargs):
640 """GetLink(int x=0, int y=0) -> HtmlLinkInfo"""
641 return _html.HtmlCell_GetLink(*args, **kwargs)
642
643 def GetNext(*args, **kwargs):
644 """GetNext() -> HtmlCell"""
645 return _html.HtmlCell_GetNext(*args, **kwargs)
646
647 def GetParent(*args, **kwargs):
648 """GetParent() -> HtmlContainerCell"""
649 return _html.HtmlCell_GetParent(*args, **kwargs)
650
651 def GetFirstChild(*args, **kwargs):
652 """GetFirstChild() -> HtmlCell"""
653 return _html.HtmlCell_GetFirstChild(*args, **kwargs)
654
655 def GetCursor(*args, **kwargs):
656 """GetCursor() -> Cursor"""
657 return _html.HtmlCell_GetCursor(*args, **kwargs)
658
659 def IsFormattingCell(*args, **kwargs):
660 """IsFormattingCell() -> bool"""
661 return _html.HtmlCell_IsFormattingCell(*args, **kwargs)
662
663 def SetLink(*args, **kwargs):
664 """SetLink(HtmlLinkInfo link)"""
665 return _html.HtmlCell_SetLink(*args, **kwargs)
666
667 def SetNext(*args, **kwargs):
668 """SetNext(HtmlCell cell)"""
669 return _html.HtmlCell_SetNext(*args, **kwargs)
670
671 def SetParent(*args, **kwargs):
672 """SetParent(HtmlContainerCell p)"""
673 return _html.HtmlCell_SetParent(*args, **kwargs)
674
675 def SetPos(*args, **kwargs):
676 """SetPos(int x, int y)"""
677 return _html.HtmlCell_SetPos(*args, **kwargs)
678
679 def Layout(*args, **kwargs):
680 """Layout(int w)"""
681 return _html.HtmlCell_Layout(*args, **kwargs)
682
683 def Draw(*args, **kwargs):
684 """Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
685 return _html.HtmlCell_Draw(*args, **kwargs)
686
687 def DrawInvisible(*args, **kwargs):
688 """DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info)"""
689 return _html.HtmlCell_DrawInvisible(*args, **kwargs)
690
691 def Find(*args, **kwargs):
692 """Find(int condition, void param) -> HtmlCell"""
693 return _html.HtmlCell_Find(*args, **kwargs)
694
695 def AdjustPagebreak(*args, **kwargs):
696 """AdjustPagebreak(int INOUT) -> bool"""
697 return _html.HtmlCell_AdjustPagebreak(*args, **kwargs)
698
699 def SetCanLiveOnPagebreak(*args, **kwargs):
700 """SetCanLiveOnPagebreak(bool can)"""
701 return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs)
702
703 def IsLinebreakAllowed(*args, **kwargs):
704 """IsLinebreakAllowed() -> bool"""
705 return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs)
706
707 def IsTerminalCell(*args, **kwargs):
708 """IsTerminalCell() -> bool"""
709 return _html.HtmlCell_IsTerminalCell(*args, **kwargs)
710
711 def FindCellByPos(*args, **kwargs):
712 """FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
713 return _html.HtmlCell_FindCellByPos(*args, **kwargs)
714
715 def GetAbsPos(*args, **kwargs):
716 """GetAbsPos() -> Point"""
717 return _html.HtmlCell_GetAbsPos(*args, **kwargs)
718
719 def GetFirstTerminal(*args, **kwargs):
720 """GetFirstTerminal() -> HtmlCell"""
721 return _html.HtmlCell_GetFirstTerminal(*args, **kwargs)
722
723 def GetLastTerminal(*args, **kwargs):
724 """GetLastTerminal() -> HtmlCell"""
725 return _html.HtmlCell_GetLastTerminal(*args, **kwargs)
726
727 def GetDepth(*args, **kwargs):
728 """GetDepth() -> unsigned int"""
729 return _html.HtmlCell_GetDepth(*args, **kwargs)
730
731 def IsBefore(*args, **kwargs):
732 """IsBefore(HtmlCell cell) -> bool"""
733 return _html.HtmlCell_IsBefore(*args, **kwargs)
734
735 def ConvertToText(*args, **kwargs):
736 """ConvertToText(HtmlSelection sel) -> String"""
737 return _html.HtmlCell_ConvertToText(*args, **kwargs)
738
739
740 class HtmlCellPtr(HtmlCell):
741 def __init__(self, this):
742 self.this = this
743 if not hasattr(self,"thisown"): self.thisown = 0
744 self.__class__ = HtmlCell
745 _html.HtmlCell_swigregister(HtmlCellPtr)
746
747 class HtmlWordCell(HtmlCell):
748 def __repr__(self):
749 return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
750 def __init__(self, *args, **kwargs):
751 """__init__(String word, DC dc) -> HtmlWordCell"""
752 newobj = _html.new_HtmlWordCell(*args, **kwargs)
753 self.this = newobj.this
754 self.thisown = 1
755 del newobj.thisown
756
757 class HtmlWordCellPtr(HtmlWordCell):
758 def __init__(self, this):
759 self.this = this
760 if not hasattr(self,"thisown"): self.thisown = 0
761 self.__class__ = HtmlWordCell
762 _html.HtmlWordCell_swigregister(HtmlWordCellPtr)
763
764 class HtmlContainerCell(HtmlCell):
765 def __repr__(self):
766 return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
767 def __init__(self, *args, **kwargs):
768 """__init__(HtmlContainerCell parent) -> HtmlContainerCell"""
769 newobj = _html.new_HtmlContainerCell(*args, **kwargs)
770 self.this = newobj.this
771 self.thisown = 1
772 del newobj.thisown
773 def InsertCell(*args, **kwargs):
774 """InsertCell(HtmlCell cell)"""
775 return _html.HtmlContainerCell_InsertCell(*args, **kwargs)
776
777 def SetAlignHor(*args, **kwargs):
778 """SetAlignHor(int al)"""
779 return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs)
780
781 def GetAlignHor(*args, **kwargs):
782 """GetAlignHor() -> int"""
783 return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs)
784
785 def SetAlignVer(*args, **kwargs):
786 """SetAlignVer(int al)"""
787 return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs)
788
789 def GetAlignVer(*args, **kwargs):
790 """GetAlignVer() -> int"""
791 return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs)
792
793 def SetIndent(*args, **kwargs):
794 """SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)"""
795 return _html.HtmlContainerCell_SetIndent(*args, **kwargs)
796
797 def GetIndent(*args, **kwargs):
798 """GetIndent(int ind) -> int"""
799 return _html.HtmlContainerCell_GetIndent(*args, **kwargs)
800
801 def GetIndentUnits(*args, **kwargs):
802 """GetIndentUnits(int ind) -> int"""
803 return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs)
804
805 def SetAlign(*args, **kwargs):
806 """SetAlign(HtmlTag tag)"""
807 return _html.HtmlContainerCell_SetAlign(*args, **kwargs)
808
809 def SetWidthFloat(*args, **kwargs):
810 """SetWidthFloat(int w, int units)"""
811 return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs)
812
813 def SetWidthFloatFromTag(*args, **kwargs):
814 """SetWidthFloatFromTag(HtmlTag tag)"""
815 return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs)
816
817 def SetMinHeight(*args, **kwargs):
818 """SetMinHeight(int h, int align=HTML_ALIGN_TOP)"""
819 return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs)
820
821 def SetBackgroundColour(*args, **kwargs):
822 """SetBackgroundColour(Colour clr)"""
823 return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs)
824
825 def GetBackgroundColour(*args, **kwargs):
826 """GetBackgroundColour() -> Colour"""
827 return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs)
828
829 def SetBorder(*args, **kwargs):
830 """SetBorder(Colour clr1, Colour clr2)"""
831 return _html.HtmlContainerCell_SetBorder(*args, **kwargs)
832
833 def GetFirstChild(*args, **kwargs):
834 """GetFirstChild() -> HtmlCell"""
835 return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
836
837
838 class HtmlContainerCellPtr(HtmlContainerCell):
839 def __init__(self, this):
840 self.this = this
841 if not hasattr(self,"thisown"): self.thisown = 0
842 self.__class__ = HtmlContainerCell
843 _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr)
844
845 class HtmlColourCell(HtmlCell):
846 def __repr__(self):
847 return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
848 def __init__(self, *args, **kwargs):
849 """__init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
850 newobj = _html.new_HtmlColourCell(*args, **kwargs)
851 self.this = newobj.this
852 self.thisown = 1
853 del newobj.thisown
854
855 class HtmlColourCellPtr(HtmlColourCell):
856 def __init__(self, this):
857 self.this = this
858 if not hasattr(self,"thisown"): self.thisown = 0
859 self.__class__ = HtmlColourCell
860 _html.HtmlColourCell_swigregister(HtmlColourCellPtr)
861
862 class HtmlFontCell(HtmlCell):
863 def __repr__(self):
864 return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
865 def __init__(self, *args, **kwargs):
866 """__init__(Font font) -> HtmlFontCell"""
867 newobj = _html.new_HtmlFontCell(*args, **kwargs)
868 self.this = newobj.this
869 self.thisown = 1
870 del newobj.thisown
871
872 class HtmlFontCellPtr(HtmlFontCell):
873 def __init__(self, this):
874 self.this = this
875 if not hasattr(self,"thisown"): self.thisown = 0
876 self.__class__ = HtmlFontCell
877 _html.HtmlFontCell_swigregister(HtmlFontCellPtr)
878
879 class HtmlWidgetCell(HtmlCell):
880 def __repr__(self):
881 return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
882 def __init__(self, *args, **kwargs):
883 """__init__(Window wnd, int w=0) -> HtmlWidgetCell"""
884 newobj = _html.new_HtmlWidgetCell(*args, **kwargs)
885 self.this = newobj.this
886 self.thisown = 1
887 del newobj.thisown
888
889 class HtmlWidgetCellPtr(HtmlWidgetCell):
890 def __init__(self, this):
891 self.this = this
892 if not hasattr(self,"thisown"): self.thisown = 0
893 self.__class__ = HtmlWidgetCell
894 _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr)
895
896 #---------------------------------------------------------------------------
897
898 class HtmlFilter(core.Object):
899 def __repr__(self):
900 return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
901 def __init__(self, *args, **kwargs):
902 """__init__() -> HtmlFilter"""
903 newobj = _html.new_HtmlFilter(*args, **kwargs)
904 self.this = newobj.this
905 self.thisown = 1
906 del newobj.thisown
907 self._setCallbackInfo(self, HtmlFilter)
908
909 def _setCallbackInfo(*args, **kwargs):
910 """_setCallbackInfo(PyObject self, PyObject _class)"""
911 return _html.HtmlFilter__setCallbackInfo(*args, **kwargs)
912
913
914 class HtmlFilterPtr(HtmlFilter):
915 def __init__(self, this):
916 self.this = this
917 if not hasattr(self,"thisown"): self.thisown = 0
918 self.__class__ = HtmlFilter
919 _html.HtmlFilter_swigregister(HtmlFilterPtr)
920
921 #---------------------------------------------------------------------------
922
923 class HtmlWindow(windows.ScrolledWindow):
924 def __repr__(self):
925 return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
926 def __init__(self, *args, **kwargs):
927 """
928 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
929 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
930 String name=HtmlWindowNameStr) -> HtmlWindow
931 """
932 newobj = _html.new_HtmlWindow(*args, **kwargs)
933 self.this = newobj.this
934 self.thisown = 1
935 del newobj.thisown
936 self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self)
937
938 def Create(*args, **kwargs):
939 """
940 Create(Window parent, int id=-1, Point pos=DefaultPosition,
941 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
942 String name=HtmlWindowNameStr) -> bool
943 """
944 return _html.HtmlWindow_Create(*args, **kwargs)
945
946 def _setCallbackInfo(*args, **kwargs):
947 """_setCallbackInfo(PyObject self, PyObject _class)"""
948 return _html.HtmlWindow__setCallbackInfo(*args, **kwargs)
949
950 def SetPage(*args, **kwargs):
951 """SetPage(String source) -> bool"""
952 return _html.HtmlWindow_SetPage(*args, **kwargs)
953
954 def LoadPage(*args, **kwargs):
955 """LoadPage(String location) -> bool"""
956 return _html.HtmlWindow_LoadPage(*args, **kwargs)
957
958 def LoadFile(*args, **kwargs):
959 """LoadFile(String filename) -> bool"""
960 return _html.HtmlWindow_LoadFile(*args, **kwargs)
961
962 def AppendToPage(*args, **kwargs):
963 """AppendToPage(String source) -> bool"""
964 return _html.HtmlWindow_AppendToPage(*args, **kwargs)
965
966 def GetOpenedPage(*args, **kwargs):
967 """GetOpenedPage() -> String"""
968 return _html.HtmlWindow_GetOpenedPage(*args, **kwargs)
969
970 def GetOpenedAnchor(*args, **kwargs):
971 """GetOpenedAnchor() -> String"""
972 return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs)
973
974 def GetOpenedPageTitle(*args, **kwargs):
975 """GetOpenedPageTitle() -> String"""
976 return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs)
977
978 def SetRelatedFrame(*args, **kwargs):
979 """SetRelatedFrame(Frame frame, String format)"""
980 return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs)
981
982 def GetRelatedFrame(*args, **kwargs):
983 """GetRelatedFrame() -> Frame"""
984 return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs)
985
986 def SetRelatedStatusBar(*args, **kwargs):
987 """SetRelatedStatusBar(int bar)"""
988 return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs)
989
990 def SetFonts(*args, **kwargs):
991 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
992 return _html.HtmlWindow_SetFonts(*args, **kwargs)
993
994 def SetTitle(*args, **kwargs):
995 """SetTitle(String title)"""
996 return _html.HtmlWindow_SetTitle(*args, **kwargs)
997
998 def SetBorders(*args, **kwargs):
999 """SetBorders(int b)"""
1000 return _html.HtmlWindow_SetBorders(*args, **kwargs)
1001
1002 def ReadCustomization(*args, **kwargs):
1003 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
1004 return _html.HtmlWindow_ReadCustomization(*args, **kwargs)
1005
1006 def WriteCustomization(*args, **kwargs):
1007 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
1008 return _html.HtmlWindow_WriteCustomization(*args, **kwargs)
1009
1010 def HistoryBack(*args, **kwargs):
1011 """HistoryBack() -> bool"""
1012 return _html.HtmlWindow_HistoryBack(*args, **kwargs)
1013
1014 def HistoryForward(*args, **kwargs):
1015 """HistoryForward() -> bool"""
1016 return _html.HtmlWindow_HistoryForward(*args, **kwargs)
1017
1018 def HistoryCanBack(*args, **kwargs):
1019 """HistoryCanBack() -> bool"""
1020 return _html.HtmlWindow_HistoryCanBack(*args, **kwargs)
1021
1022 def HistoryCanForward(*args, **kwargs):
1023 """HistoryCanForward() -> bool"""
1024 return _html.HtmlWindow_HistoryCanForward(*args, **kwargs)
1025
1026 def HistoryClear(*args, **kwargs):
1027 """HistoryClear()"""
1028 return _html.HtmlWindow_HistoryClear(*args, **kwargs)
1029
1030 def GetInternalRepresentation(*args, **kwargs):
1031 """GetInternalRepresentation() -> HtmlContainerCell"""
1032 return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs)
1033
1034 def GetParser(*args, **kwargs):
1035 """GetParser() -> HtmlWinParser"""
1036 return _html.HtmlWindow_GetParser(*args, **kwargs)
1037
1038 def ScrollToAnchor(*args, **kwargs):
1039 """ScrollToAnchor(String anchor) -> bool"""
1040 return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs)
1041
1042 def HasAnchor(*args, **kwargs):
1043 """HasAnchor(String anchor) -> bool"""
1044 return _html.HtmlWindow_HasAnchor(*args, **kwargs)
1045
1046 def AddFilter(*args, **kwargs):
1047 """HtmlWindow.AddFilter(HtmlFilter filter)"""
1048 return _html.HtmlWindow_AddFilter(*args, **kwargs)
1049
1050 AddFilter = staticmethod(AddFilter)
1051 def base_OnLinkClicked(*args, **kwargs):
1052 """base_OnLinkClicked(HtmlLinkInfo link)"""
1053 return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs)
1054
1055 def base_OnSetTitle(*args, **kwargs):
1056 """base_OnSetTitle(String title)"""
1057 return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs)
1058
1059 def base_OnCellMouseHover(*args, **kwargs):
1060 """base_OnCellMouseHover(HtmlCell cell, int x, int y)"""
1061 return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs)
1062
1063 def base_OnCellClicked(*args, **kwargs):
1064 """base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)"""
1065 return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs)
1066
1067
1068 class HtmlWindowPtr(HtmlWindow):
1069 def __init__(self, this):
1070 self.this = this
1071 if not hasattr(self,"thisown"): self.thisown = 0
1072 self.__class__ = HtmlWindow
1073 _html.HtmlWindow_swigregister(HtmlWindowPtr)
1074
1075 def PreHtmlWindow(*args, **kwargs):
1076 """PreHtmlWindow() -> HtmlWindow"""
1077 val = _html.new_PreHtmlWindow(*args, **kwargs)
1078 val.thisown = 1
1079 return val
1080
1081 def HtmlWindow_AddFilter(*args, **kwargs):
1082 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1083 return _html.HtmlWindow_AddFilter(*args, **kwargs)
1084
1085 #---------------------------------------------------------------------------
1086
1087 class HtmlDCRenderer(core.Object):
1088 def __repr__(self):
1089 return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1090 def __init__(self, *args, **kwargs):
1091 """__init__() -> HtmlDCRenderer"""
1092 newobj = _html.new_HtmlDCRenderer(*args, **kwargs)
1093 self.this = newobj.this
1094 self.thisown = 1
1095 del newobj.thisown
1096 def __del__(self, destroy=_html.delete_HtmlDCRenderer):
1097 """__del__()"""
1098 try:
1099 if self.thisown: destroy(self)
1100 except: pass
1101
1102 def SetDC(*args, **kwargs):
1103 """SetDC(DC dc, int maxwidth)"""
1104 return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
1105
1106 def SetSize(*args, **kwargs):
1107 """SetSize(int width, int height)"""
1108 return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
1109
1110 def SetHtmlText(*args, **kwargs):
1111 """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
1112 return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
1113
1114 def SetFonts(*args, **kwargs):
1115 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
1116 return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
1117
1118 def Render(*args, **kwargs):
1119 """
1120 Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX,
1121 int choices=None, int LCOUNT=0) -> int
1122 """
1123 return _html.HtmlDCRenderer_Render(*args, **kwargs)
1124
1125 def GetTotalHeight(*args, **kwargs):
1126 """GetTotalHeight() -> int"""
1127 return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
1128
1129
1130 class HtmlDCRendererPtr(HtmlDCRenderer):
1131 def __init__(self, this):
1132 self.this = this
1133 if not hasattr(self,"thisown"): self.thisown = 0
1134 self.__class__ = HtmlDCRenderer
1135 _html.HtmlDCRenderer_swigregister(HtmlDCRendererPtr)
1136
1137 PAGE_ODD = _html.PAGE_ODD
1138 PAGE_EVEN = _html.PAGE_EVEN
1139 PAGE_ALL = _html.PAGE_ALL
1140 class HtmlPrintout(windows.Printout):
1141 def __repr__(self):
1142 return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1143 def __init__(self, *args, **kwargs):
1144 """__init__(String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1145 newobj = _html.new_HtmlPrintout(*args, **kwargs)
1146 self.this = newobj.this
1147 self.thisown = 1
1148 del newobj.thisown
1149 def SetHtmlText(*args, **kwargs):
1150 """SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)"""
1151 return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
1152
1153 def SetHtmlFile(*args, **kwargs):
1154 """SetHtmlFile(String htmlfile)"""
1155 return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
1156
1157 def SetHeader(*args, **kwargs):
1158 """SetHeader(String header, int pg=PAGE_ALL)"""
1159 return _html.HtmlPrintout_SetHeader(*args, **kwargs)
1160
1161 def SetFooter(*args, **kwargs):
1162 """SetFooter(String footer, int pg=PAGE_ALL)"""
1163 return _html.HtmlPrintout_SetFooter(*args, **kwargs)
1164
1165 def SetFonts(*args, **kwargs):
1166 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
1167 return _html.HtmlPrintout_SetFonts(*args, **kwargs)
1168
1169 def SetMargins(*args, **kwargs):
1170 """
1171 SetMargins(float top=25.2, float bottom=25.2, float left=25.2,
1172 float right=25.2, float spaces=5)
1173 """
1174 return _html.HtmlPrintout_SetMargins(*args, **kwargs)
1175
1176 def AddFilter(*args, **kwargs):
1177 """HtmlPrintout.AddFilter(wxHtmlFilter filter)"""
1178 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
1179
1180 AddFilter = staticmethod(AddFilter)
1181 def CleanUpStatics(*args, **kwargs):
1182 """HtmlPrintout.CleanUpStatics()"""
1183 return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
1184
1185 CleanUpStatics = staticmethod(CleanUpStatics)
1186
1187 class HtmlPrintoutPtr(HtmlPrintout):
1188 def __init__(self, this):
1189 self.this = this
1190 if not hasattr(self,"thisown"): self.thisown = 0
1191 self.__class__ = HtmlPrintout
1192 _html.HtmlPrintout_swigregister(HtmlPrintoutPtr)
1193
1194 def HtmlPrintout_AddFilter(*args, **kwargs):
1195 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1196 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
1197
1198 def HtmlPrintout_CleanUpStatics(*args, **kwargs):
1199 """HtmlPrintout_CleanUpStatics()"""
1200 return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
1201
1202 class HtmlEasyPrinting(core.Object):
1203 def __repr__(self):
1204 return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1205 def __init__(self, *args, **kwargs):
1206 """__init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1207 newobj = _html.new_HtmlEasyPrinting(*args, **kwargs)
1208 self.this = newobj.this
1209 self.thisown = 1
1210 del newobj.thisown
1211 def __del__(self, destroy=_html.delete_HtmlEasyPrinting):
1212 """__del__()"""
1213 try:
1214 if self.thisown: destroy(self)
1215 except: pass
1216
1217 def PreviewFile(*args, **kwargs):
1218 """PreviewFile(String htmlfile)"""
1219 return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs)
1220
1221 def PreviewText(*args, **kwargs):
1222 """PreviewText(String htmltext, String basepath=EmptyString)"""
1223 return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs)
1224
1225 def PrintFile(*args, **kwargs):
1226 """PrintFile(String htmlfile)"""
1227 return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs)
1228
1229 def PrintText(*args, **kwargs):
1230 """PrintText(String htmltext, String basepath=EmptyString)"""
1231 return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
1232
1233 def PrinterSetup(*args, **kwargs):
1234 """PrinterSetup()"""
1235 return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs)
1236
1237 def PageSetup(*args, **kwargs):
1238 """PageSetup()"""
1239 return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
1240
1241 def SetHeader(*args, **kwargs):
1242 """SetHeader(String header, int pg=PAGE_ALL)"""
1243 return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs)
1244
1245 def SetFooter(*args, **kwargs):
1246 """SetFooter(String footer, int pg=PAGE_ALL)"""
1247 return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs)
1248
1249 def SetFonts(*args, **kwargs):
1250 """SetFonts(String normal_face, String fixed_face, PyObject sizes=None)"""
1251 return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
1252
1253 def GetPrintData(*args, **kwargs):
1254 """GetPrintData() -> PrintData"""
1255 return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs)
1256
1257 def GetPageSetupData(*args, **kwargs):
1258 """GetPageSetupData() -> PageSetupDialogData"""
1259 return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
1260
1261
1262 class HtmlEasyPrintingPtr(HtmlEasyPrinting):
1263 def __init__(self, this):
1264 self.this = this
1265 if not hasattr(self,"thisown"): self.thisown = 0
1266 self.__class__ = HtmlEasyPrinting
1267 _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr)
1268
1269 #---------------------------------------------------------------------------
1270
1271 class HtmlBookRecord(object):
1272 def __repr__(self):
1273 return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1274 def __init__(self, *args, **kwargs):
1275 """__init__(String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1276 newobj = _html.new_HtmlBookRecord(*args, **kwargs)
1277 self.this = newobj.this
1278 self.thisown = 1
1279 del newobj.thisown
1280 def GetBookFile(*args, **kwargs):
1281 """GetBookFile() -> String"""
1282 return _html.HtmlBookRecord_GetBookFile(*args, **kwargs)
1283
1284 def GetTitle(*args, **kwargs):
1285 """GetTitle() -> String"""
1286 return _html.HtmlBookRecord_GetTitle(*args, **kwargs)
1287
1288 def GetStart(*args, **kwargs):
1289 """GetStart() -> String"""
1290 return _html.HtmlBookRecord_GetStart(*args, **kwargs)
1291
1292 def GetBasePath(*args, **kwargs):
1293 """GetBasePath() -> String"""
1294 return _html.HtmlBookRecord_GetBasePath(*args, **kwargs)
1295
1296 def SetContentsRange(*args, **kwargs):
1297 """SetContentsRange(int start, int end)"""
1298 return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs)
1299
1300 def GetContentsStart(*args, **kwargs):
1301 """GetContentsStart() -> int"""
1302 return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs)
1303
1304 def GetContentsEnd(*args, **kwargs):
1305 """GetContentsEnd() -> int"""
1306 return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs)
1307
1308 def SetTitle(*args, **kwargs):
1309 """SetTitle(String title)"""
1310 return _html.HtmlBookRecord_SetTitle(*args, **kwargs)
1311
1312 def SetBasePath(*args, **kwargs):
1313 """SetBasePath(String path)"""
1314 return _html.HtmlBookRecord_SetBasePath(*args, **kwargs)
1315
1316 def SetStart(*args, **kwargs):
1317 """SetStart(String start)"""
1318 return _html.HtmlBookRecord_SetStart(*args, **kwargs)
1319
1320 def GetFullPath(*args, **kwargs):
1321 """GetFullPath(String page) -> String"""
1322 return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
1323
1324
1325 class HtmlBookRecordPtr(HtmlBookRecord):
1326 def __init__(self, this):
1327 self.this = this
1328 if not hasattr(self,"thisown"): self.thisown = 0
1329 self.__class__ = HtmlBookRecord
1330 _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr)
1331
1332 class HtmlContentsItem(object):
1333 def __init__(self): raise RuntimeError, "No constructor defined"
1334 def __repr__(self):
1335 return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1336 def GetLevel(*args, **kwargs):
1337 """GetLevel() -> int"""
1338 return _html.HtmlContentsItem_GetLevel(*args, **kwargs)
1339
1340 def GetID(*args, **kwargs):
1341 """GetID() -> int"""
1342 return _html.HtmlContentsItem_GetID(*args, **kwargs)
1343
1344 def GetName(*args, **kwargs):
1345 """GetName() -> String"""
1346 return _html.HtmlContentsItem_GetName(*args, **kwargs)
1347
1348 def GetPage(*args, **kwargs):
1349 """GetPage() -> String"""
1350 return _html.HtmlContentsItem_GetPage(*args, **kwargs)
1351
1352 def GetBook(*args, **kwargs):
1353 """GetBook() -> HtmlBookRecord"""
1354 return _html.HtmlContentsItem_GetBook(*args, **kwargs)
1355
1356
1357 class HtmlContentsItemPtr(HtmlContentsItem):
1358 def __init__(self, this):
1359 self.this = this
1360 if not hasattr(self,"thisown"): self.thisown = 0
1361 self.__class__ = HtmlContentsItem
1362 _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr)
1363
1364 class HtmlSearchStatus(object):
1365 def __init__(self): raise RuntimeError, "No constructor defined"
1366 def __repr__(self):
1367 return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1368 def Search(*args, **kwargs):
1369 """Search() -> bool"""
1370 return _html.HtmlSearchStatus_Search(*args, **kwargs)
1371
1372 def IsActive(*args, **kwargs):
1373 """IsActive() -> bool"""
1374 return _html.HtmlSearchStatus_IsActive(*args, **kwargs)
1375
1376 def GetCurIndex(*args, **kwargs):
1377 """GetCurIndex() -> int"""
1378 return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs)
1379
1380 def GetMaxIndex(*args, **kwargs):
1381 """GetMaxIndex() -> int"""
1382 return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs)
1383
1384 def GetName(*args, **kwargs):
1385 """GetName() -> String"""
1386 return _html.HtmlSearchStatus_GetName(*args, **kwargs)
1387
1388 def GetContentsItem(*args, **kwargs):
1389 """GetContentsItem() -> HtmlContentsItem"""
1390 return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs)
1391
1392
1393 class HtmlSearchStatusPtr(HtmlSearchStatus):
1394 def __init__(self, this):
1395 self.this = this
1396 if not hasattr(self,"thisown"): self.thisown = 0
1397 self.__class__ = HtmlSearchStatus
1398 _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr)
1399
1400 class HtmlHelpData(object):
1401 def __repr__(self):
1402 return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1403 def __init__(self, *args, **kwargs):
1404 """__init__() -> HtmlHelpData"""
1405 newobj = _html.new_HtmlHelpData(*args, **kwargs)
1406 self.this = newobj.this
1407 self.thisown = 1
1408 del newobj.thisown
1409 def __del__(self, destroy=_html.delete_HtmlHelpData):
1410 """__del__()"""
1411 try:
1412 if self.thisown: destroy(self)
1413 except: pass
1414
1415 def SetTempDir(*args, **kwargs):
1416 """SetTempDir(String path)"""
1417 return _html.HtmlHelpData_SetTempDir(*args, **kwargs)
1418
1419 def AddBook(*args, **kwargs):
1420 """AddBook(String book) -> bool"""
1421 return _html.HtmlHelpData_AddBook(*args, **kwargs)
1422
1423 def FindPageByName(*args, **kwargs):
1424 """FindPageByName(String page) -> String"""
1425 return _html.HtmlHelpData_FindPageByName(*args, **kwargs)
1426
1427 def FindPageById(*args, **kwargs):
1428 """FindPageById(int id) -> String"""
1429 return _html.HtmlHelpData_FindPageById(*args, **kwargs)
1430
1431 def GetBookRecArray(*args, **kwargs):
1432 """GetBookRecArray() -> wxHtmlBookRecArray"""
1433 return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
1434
1435 def GetContents(*args, **kwargs):
1436 """GetContents() -> HtmlContentsItem"""
1437 return _html.HtmlHelpData_GetContents(*args, **kwargs)
1438
1439 def GetContentsCnt(*args, **kwargs):
1440 """GetContentsCnt() -> int"""
1441 return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs)
1442
1443 def GetIndex(*args, **kwargs):
1444 """GetIndex() -> HtmlContentsItem"""
1445 return _html.HtmlHelpData_GetIndex(*args, **kwargs)
1446
1447 def GetIndexCnt(*args, **kwargs):
1448 """GetIndexCnt() -> int"""
1449 return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs)
1450
1451
1452 class HtmlHelpDataPtr(HtmlHelpData):
1453 def __init__(self, this):
1454 self.this = this
1455 if not hasattr(self,"thisown"): self.thisown = 0
1456 self.__class__ = HtmlHelpData
1457 _html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
1458
1459 class HtmlHelpFrame(windows.Frame):
1460 def __repr__(self):
1461 return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1462 def __init__(self, *args, **kwargs):
1463 """
1464 __init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
1465 HtmlHelpData data=None) -> HtmlHelpFrame
1466 """
1467 newobj = _html.new_HtmlHelpFrame(*args, **kwargs)
1468 self.this = newobj.this
1469 self.thisown = 1
1470 del newobj.thisown
1471 self._setOORInfo(self)
1472
1473 def GetData(*args, **kwargs):
1474 """GetData() -> HtmlHelpData"""
1475 return _html.HtmlHelpFrame_GetData(*args, **kwargs)
1476
1477 def SetTitleFormat(*args, **kwargs):
1478 """SetTitleFormat(String format)"""
1479 return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
1480
1481 def Display(*args, **kwargs):
1482 """Display(String x)"""
1483 return _html.HtmlHelpFrame_Display(*args, **kwargs)
1484
1485 def DisplayID(*args, **kwargs):
1486 """DisplayID(int id)"""
1487 return _html.HtmlHelpFrame_DisplayID(*args, **kwargs)
1488
1489 def DisplayContents(*args, **kwargs):
1490 """DisplayContents()"""
1491 return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs)
1492
1493 def DisplayIndex(*args, **kwargs):
1494 """DisplayIndex()"""
1495 return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs)
1496
1497 def KeywordSearch(*args, **kwargs):
1498 """KeywordSearch(String keyword) -> bool"""
1499 return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs)
1500
1501 def UseConfig(*args, **kwargs):
1502 """UseConfig(ConfigBase config, String rootpath=EmptyString)"""
1503 return _html.HtmlHelpFrame_UseConfig(*args, **kwargs)
1504
1505 def ReadCustomization(*args, **kwargs):
1506 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
1507 return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs)
1508
1509 def WriteCustomization(*args, **kwargs):
1510 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
1511 return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs)
1512
1513
1514 class HtmlHelpFramePtr(HtmlHelpFrame):
1515 def __init__(self, this):
1516 self.this = this
1517 if not hasattr(self,"thisown"): self.thisown = 0
1518 self.__class__ = HtmlHelpFrame
1519 _html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr)
1520
1521 HF_TOOLBAR = _html.HF_TOOLBAR
1522 HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR
1523 HF_CONTENTS = _html.HF_CONTENTS
1524 HF_INDEX = _html.HF_INDEX
1525 HF_SEARCH = _html.HF_SEARCH
1526 HF_BOOKMARKS = _html.HF_BOOKMARKS
1527 HF_OPENFILES = _html.HF_OPENFILES
1528 HF_PRINT = _html.HF_PRINT
1529 HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE
1530 class HtmlHelpController(core.EvtHandler):
1531 def __repr__(self):
1532 return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
1533 def __init__(self, *args, **kwargs):
1534 """__init__(int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
1535 newobj = _html.new_HtmlHelpController(*args, **kwargs)
1536 self.this = newobj.this
1537 self.thisown = 1
1538 del newobj.thisown
1539 self._setOORInfo(self)
1540
1541 def __del__(self, destroy=_html.delete_HtmlHelpController):
1542 """__del__()"""
1543 try:
1544 if self.thisown: destroy(self)
1545 except: pass
1546
1547 def SetTitleFormat(*args, **kwargs):
1548 """SetTitleFormat(String format)"""
1549 return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs)
1550
1551 def SetTempDir(*args, **kwargs):
1552 """SetTempDir(String path)"""
1553 return _html.HtmlHelpController_SetTempDir(*args, **kwargs)
1554
1555 def AddBook(*args, **kwargs):
1556 """AddBook(String book, int show_wait_msg=False) -> bool"""
1557 return _html.HtmlHelpController_AddBook(*args, **kwargs)
1558
1559 def Display(*args, **kwargs):
1560 """Display(String x)"""
1561 return _html.HtmlHelpController_Display(*args, **kwargs)
1562
1563 def DisplayID(*args, **kwargs):
1564 """DisplayID(int id)"""
1565 return _html.HtmlHelpController_DisplayID(*args, **kwargs)
1566
1567 def DisplayContents(*args, **kwargs):
1568 """DisplayContents()"""
1569 return _html.HtmlHelpController_DisplayContents(*args, **kwargs)
1570
1571 def DisplayIndex(*args, **kwargs):
1572 """DisplayIndex()"""
1573 return _html.HtmlHelpController_DisplayIndex(*args, **kwargs)
1574
1575 def KeywordSearch(*args, **kwargs):
1576 """KeywordSearch(String keyword) -> bool"""
1577 return _html.HtmlHelpController_KeywordSearch(*args, **kwargs)
1578
1579 def UseConfig(*args, **kwargs):
1580 """UseConfig(ConfigBase config, String rootpath=EmptyString)"""
1581 return _html.HtmlHelpController_UseConfig(*args, **kwargs)
1582
1583 def ReadCustomization(*args, **kwargs):
1584 """ReadCustomization(ConfigBase cfg, String path=EmptyString)"""
1585 return _html.HtmlHelpController_ReadCustomization(*args, **kwargs)
1586
1587 def WriteCustomization(*args, **kwargs):
1588 """WriteCustomization(ConfigBase cfg, String path=EmptyString)"""
1589 return _html.HtmlHelpController_WriteCustomization(*args, **kwargs)
1590
1591 def GetFrame(*args, **kwargs):
1592 """GetFrame() -> HtmlHelpFrame"""
1593 return _html.HtmlHelpController_GetFrame(*args, **kwargs)
1594
1595
1596 class HtmlHelpControllerPtr(HtmlHelpController):
1597 def __init__(self, this):
1598 self.this = this
1599 if not hasattr(self,"thisown"): self.thisown = 0
1600 self.__class__ = HtmlHelpController
1601 _html.HtmlHelpController_swigregister(HtmlHelpControllerPtr)
1602
1603