]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/html.py
Gobs of changes needed to get up to date with today's CVS
[wxWidgets.git] / wxPython / src / msw / html.py
1 # This file was created automatically by SWIG 1.3.29.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 """
5 Classes for a simple HTML rendering window, HTML Help Window, etc.
6 """
7
8 import _html
9 import new
10 new_instancemethod = new.instancemethod
11 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
12 if (name == "thisown"): return self.this.own(value)
13 if (name == "this"):
14 if type(value).__name__ == 'PySwigObject':
15 self.__dict__[name] = value
16 return
17 method = class_type.__swig_setmethods__.get(name,None)
18 if method: return method(self,value)
19 if (not static) or hasattr(self,name):
20 self.__dict__[name] = value
21 else:
22 raise AttributeError("You cannot add attributes to %s" % self)
23
24 def _swig_setattr(self,class_type,name,value):
25 return _swig_setattr_nondynamic(self,class_type,name,value,0)
26
27 def _swig_getattr(self,class_type,name):
28 if (name == "thisown"): return self.this.own()
29 method = class_type.__swig_getmethods__.get(name,None)
30 if method: return method(self)
31 raise AttributeError,name
32
33 def _swig_repr(self):
34 try: strthis = "proxy of " + self.this.__repr__()
35 except: strthis = ""
36 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
37
38 import types
39 try:
40 _object = types.ObjectType
41 _newclass = 1
42 except AttributeError:
43 class _object : pass
44 _newclass = 0
45 del types
46
47
48 def _swig_setattr_nondynamic_method(set):
49 def set_attr(self,name,value):
50 if (name == "thisown"): return self.this.own(value)
51 if hasattr(self,name) or (name == "this"):
52 set(self,name,value)
53 else:
54 raise AttributeError("You cannot add attributes to %s" % self)
55 return set_attr
56
57
58 import _windows
59 import _core
60 wx = _core
61 __docfilter__ = wx.__DocFilter(globals())
62 #---------------------------------------------------------------------------
63
64 HTML_ALIGN_LEFT = _html.HTML_ALIGN_LEFT
65 HTML_ALIGN_CENTER = _html.HTML_ALIGN_CENTER
66 HTML_ALIGN_RIGHT = _html.HTML_ALIGN_RIGHT
67 HTML_ALIGN_BOTTOM = _html.HTML_ALIGN_BOTTOM
68 HTML_ALIGN_TOP = _html.HTML_ALIGN_TOP
69 HTML_CLR_FOREGROUND = _html.HTML_CLR_FOREGROUND
70 HTML_CLR_BACKGROUND = _html.HTML_CLR_BACKGROUND
71 HTML_UNITS_PIXELS = _html.HTML_UNITS_PIXELS
72 HTML_UNITS_PERCENT = _html.HTML_UNITS_PERCENT
73 HTML_INDENT_LEFT = _html.HTML_INDENT_LEFT
74 HTML_INDENT_RIGHT = _html.HTML_INDENT_RIGHT
75 HTML_INDENT_TOP = _html.HTML_INDENT_TOP
76 HTML_INDENT_BOTTOM = _html.HTML_INDENT_BOTTOM
77 HTML_INDENT_HORIZONTAL = _html.HTML_INDENT_HORIZONTAL
78 HTML_INDENT_VERTICAL = _html.HTML_INDENT_VERTICAL
79 HTML_INDENT_ALL = _html.HTML_INDENT_ALL
80 HTML_COND_ISANCHOR = _html.HTML_COND_ISANCHOR
81 HTML_COND_ISIMAGEMAP = _html.HTML_COND_ISIMAGEMAP
82 HTML_COND_USER = _html.HTML_COND_USER
83 HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER
84 HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO
85 HW_NO_SELECTION = _html.HW_NO_SELECTION
86 HW_DEFAULT_STYLE = _html.HW_DEFAULT_STYLE
87 HTML_OPEN = _html.HTML_OPEN
88 HTML_BLOCK = _html.HTML_BLOCK
89 HTML_REDIRECT = _html.HTML_REDIRECT
90 HTML_URL_PAGE = _html.HTML_URL_PAGE
91 HTML_URL_IMAGE = _html.HTML_URL_IMAGE
92 HTML_URL_OTHER = _html.HTML_URL_OTHER
93 class HtmlLinkInfo(_core.Object):
94 """Proxy of C++ HtmlLinkInfo class"""
95 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
96 __repr__ = _swig_repr
97 def __init__(self, *args, **kwargs):
98 """__init__(self, String href, String target=EmptyString) -> HtmlLinkInfo"""
99 _html.HtmlLinkInfo_swiginit(self,_html.new_HtmlLinkInfo(*args, **kwargs))
100 def GetHref(*args, **kwargs):
101 """GetHref(self) -> String"""
102 return _html.HtmlLinkInfo_GetHref(*args, **kwargs)
103
104 def GetTarget(*args, **kwargs):
105 """GetTarget(self) -> String"""
106 return _html.HtmlLinkInfo_GetTarget(*args, **kwargs)
107
108 def GetEvent(*args, **kwargs):
109 """GetEvent(self) -> MouseEvent"""
110 return _html.HtmlLinkInfo_GetEvent(*args, **kwargs)
111
112 def GetHtmlCell(*args, **kwargs):
113 """GetHtmlCell(self) -> HtmlCell"""
114 return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs)
115
116 def SetEvent(*args, **kwargs):
117 """SetEvent(self, MouseEvent e)"""
118 return _html.HtmlLinkInfo_SetEvent(*args, **kwargs)
119
120 def SetHtmlCell(*args, **kwargs):
121 """SetHtmlCell(self, HtmlCell e)"""
122 return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs)
123
124 Event = property(GetEvent,SetEvent,doc="See `GetEvent` and `SetEvent`")
125 Href = property(GetHref,doc="See `GetHref`")
126 HtmlCell = property(GetHtmlCell,SetHtmlCell,doc="See `GetHtmlCell` and `SetHtmlCell`")
127 Target = property(GetTarget,doc="See `GetTarget`")
128 _html.HtmlLinkInfo_swigregister(HtmlLinkInfo)
129 cvar = _html.cvar
130 HtmlWindowNameStr = cvar.HtmlWindowNameStr
131 HtmlPrintoutTitleStr = cvar.HtmlPrintoutTitleStr
132 HtmlPrintingTitleStr = cvar.HtmlPrintingTitleStr
133
134 class HtmlTag(_core.Object):
135 """Proxy of C++ HtmlTag class"""
136 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
137 def __init__(self): raise AttributeError, "No constructor defined"
138 __repr__ = _swig_repr
139 def GetName(*args, **kwargs):
140 """GetName(self) -> String"""
141 return _html.HtmlTag_GetName(*args, **kwargs)
142
143 def HasParam(*args, **kwargs):
144 """HasParam(self, String par) -> bool"""
145 return _html.HtmlTag_HasParam(*args, **kwargs)
146
147 def GetParam(*args, **kwargs):
148 """GetParam(self, String par, int with_commas=False) -> String"""
149 return _html.HtmlTag_GetParam(*args, **kwargs)
150
151 def GetAllParams(*args, **kwargs):
152 """GetAllParams(self) -> String"""
153 return _html.HtmlTag_GetAllParams(*args, **kwargs)
154
155 def HasEnding(*args, **kwargs):
156 """HasEnding(self) -> bool"""
157 return _html.HtmlTag_HasEnding(*args, **kwargs)
158
159 def GetBeginPos(*args, **kwargs):
160 """GetBeginPos(self) -> int"""
161 return _html.HtmlTag_GetBeginPos(*args, **kwargs)
162
163 def GetEndPos1(*args, **kwargs):
164 """GetEndPos1(self) -> int"""
165 return _html.HtmlTag_GetEndPos1(*args, **kwargs)
166
167 def GetEndPos2(*args, **kwargs):
168 """GetEndPos2(self) -> int"""
169 return _html.HtmlTag_GetEndPos2(*args, **kwargs)
170
171 AllParams = property(GetAllParams,doc="See `GetAllParams`")
172 BeginPos = property(GetBeginPos,doc="See `GetBeginPos`")
173 EndPos1 = property(GetEndPos1,doc="See `GetEndPos1`")
174 EndPos2 = property(GetEndPos2,doc="See `GetEndPos2`")
175 Name = property(GetName,doc="See `GetName`")
176 _html.HtmlTag_swigregister(HtmlTag)
177
178 class HtmlParser(_core.Object):
179 """Proxy of C++ HtmlParser class"""
180 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
181 def __init__(self): raise AttributeError, "No constructor defined"
182 __repr__ = _swig_repr
183 def SetFS(*args, **kwargs):
184 """SetFS(self, FileSystem fs)"""
185 return _html.HtmlParser_SetFS(*args, **kwargs)
186
187 def GetFS(*args, **kwargs):
188 """GetFS(self) -> FileSystem"""
189 return _html.HtmlParser_GetFS(*args, **kwargs)
190
191 def Parse(*args, **kwargs):
192 """Parse(self, String source) -> Object"""
193 return _html.HtmlParser_Parse(*args, **kwargs)
194
195 def InitParser(*args, **kwargs):
196 """InitParser(self, String source)"""
197 return _html.HtmlParser_InitParser(*args, **kwargs)
198
199 def DoneParser(*args, **kwargs):
200 """DoneParser(self)"""
201 return _html.HtmlParser_DoneParser(*args, **kwargs)
202
203 def DoParsing(*args, **kwargs):
204 """DoParsing(self, int begin_pos, int end_pos)"""
205 return _html.HtmlParser_DoParsing(*args, **kwargs)
206
207 def StopParsing(*args, **kwargs):
208 """StopParsing(self)"""
209 return _html.HtmlParser_StopParsing(*args, **kwargs)
210
211 def AddTagHandler(*args, **kwargs):
212 """AddTagHandler(self, HtmlTagHandler handler)"""
213 return _html.HtmlParser_AddTagHandler(*args, **kwargs)
214
215 def GetSource(*args, **kwargs):
216 """GetSource(self) -> String"""
217 return _html.HtmlParser_GetSource(*args, **kwargs)
218
219 def PushTagHandler(*args, **kwargs):
220 """PushTagHandler(self, HtmlTagHandler handler, String tags)"""
221 return _html.HtmlParser_PushTagHandler(*args, **kwargs)
222
223 def PopTagHandler(*args, **kwargs):
224 """PopTagHandler(self)"""
225 return _html.HtmlParser_PopTagHandler(*args, **kwargs)
226
227 def GetInnerSource(*args, **kwargs):
228 """GetInnerSource(self, HtmlTag tag) -> String"""
229 return _html.HtmlParser_GetInnerSource(*args, **kwargs)
230
231 FS = property(GetFS,SetFS,doc="See `GetFS` and `SetFS`")
232 Source = property(GetSource,doc="See `GetSource`")
233 _html.HtmlParser_swigregister(HtmlParser)
234
235 class HtmlWinParser(HtmlParser):
236 """Proxy of C++ HtmlWinParser class"""
237 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
238 __repr__ = _swig_repr
239 def __init__(self, *args, **kwargs):
240 """__init__(self, HtmlWindow wnd=None) -> HtmlWinParser"""
241 _html.HtmlWinParser_swiginit(self,_html.new_HtmlWinParser(*args, **kwargs))
242 def SetDC(*args, **kwargs):
243 """SetDC(self, DC dc)"""
244 return _html.HtmlWinParser_SetDC(*args, **kwargs)
245
246 def GetDC(*args, **kwargs):
247 """GetDC(self) -> DC"""
248 return _html.HtmlWinParser_GetDC(*args, **kwargs)
249
250 def GetCharHeight(*args, **kwargs):
251 """GetCharHeight(self) -> int"""
252 return _html.HtmlWinParser_GetCharHeight(*args, **kwargs)
253
254 def GetCharWidth(*args, **kwargs):
255 """GetCharWidth(self) -> int"""
256 return _html.HtmlWinParser_GetCharWidth(*args, **kwargs)
257
258 def GetWindow(*args, **kwargs):
259 """GetWindow(self) -> HtmlWindow"""
260 return _html.HtmlWinParser_GetWindow(*args, **kwargs)
261
262 GetWindow = wx._deprecated(GetWindow)
263 def GetWindowInterface(*args, **kwargs):
264 """GetWindowInterface(self) -> HtmlWindowInterface"""
265 return _html.HtmlWinParser_GetWindowInterface(*args, **kwargs)
266
267 def SetFonts(*args, **kwargs):
268 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
269 return _html.HtmlWinParser_SetFonts(*args, **kwargs)
270
271 def SetStandardFonts(*args, **kwargs):
272 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
273 return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
274
275 def GetContainer(*args, **kwargs):
276 """GetContainer(self) -> HtmlContainerCell"""
277 return _html.HtmlWinParser_GetContainer(*args, **kwargs)
278
279 def OpenContainer(*args, **kwargs):
280 """OpenContainer(self) -> HtmlContainerCell"""
281 return _html.HtmlWinParser_OpenContainer(*args, **kwargs)
282
283 def SetContainer(*args, **kwargs):
284 """SetContainer(self, HtmlContainerCell c) -> HtmlContainerCell"""
285 return _html.HtmlWinParser_SetContainer(*args, **kwargs)
286
287 def CloseContainer(*args, **kwargs):
288 """CloseContainer(self) -> HtmlContainerCell"""
289 return _html.HtmlWinParser_CloseContainer(*args, **kwargs)
290
291 def GetFontSize(*args, **kwargs):
292 """GetFontSize(self) -> int"""
293 return _html.HtmlWinParser_GetFontSize(*args, **kwargs)
294
295 def SetFontSize(*args, **kwargs):
296 """SetFontSize(self, int s)"""
297 return _html.HtmlWinParser_SetFontSize(*args, **kwargs)
298
299 def GetFontBold(*args, **kwargs):
300 """GetFontBold(self) -> int"""
301 return _html.HtmlWinParser_GetFontBold(*args, **kwargs)
302
303 def SetFontBold(*args, **kwargs):
304 """SetFontBold(self, int x)"""
305 return _html.HtmlWinParser_SetFontBold(*args, **kwargs)
306
307 def GetFontItalic(*args, **kwargs):
308 """GetFontItalic(self) -> int"""
309 return _html.HtmlWinParser_GetFontItalic(*args, **kwargs)
310
311 def SetFontItalic(*args, **kwargs):
312 """SetFontItalic(self, int x)"""
313 return _html.HtmlWinParser_SetFontItalic(*args, **kwargs)
314
315 def GetFontUnderlined(*args, **kwargs):
316 """GetFontUnderlined(self) -> int"""
317 return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs)
318
319 def SetFontUnderlined(*args, **kwargs):
320 """SetFontUnderlined(self, int x)"""
321 return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs)
322
323 def GetFontFixed(*args, **kwargs):
324 """GetFontFixed(self) -> int"""
325 return _html.HtmlWinParser_GetFontFixed(*args, **kwargs)
326
327 def SetFontFixed(*args, **kwargs):
328 """SetFontFixed(self, int x)"""
329 return _html.HtmlWinParser_SetFontFixed(*args, **kwargs)
330
331 def GetAlign(*args, **kwargs):
332 """GetAlign(self) -> int"""
333 return _html.HtmlWinParser_GetAlign(*args, **kwargs)
334
335 def SetAlign(*args, **kwargs):
336 """SetAlign(self, int a)"""
337 return _html.HtmlWinParser_SetAlign(*args, **kwargs)
338
339 def GetLinkColor(*args, **kwargs):
340 """GetLinkColor(self) -> Colour"""
341 return _html.HtmlWinParser_GetLinkColor(*args, **kwargs)
342
343 def SetLinkColor(*args, **kwargs):
344 """SetLinkColor(self, Colour clr)"""
345 return _html.HtmlWinParser_SetLinkColor(*args, **kwargs)
346
347 def GetActualColor(*args, **kwargs):
348 """GetActualColor(self) -> Colour"""
349 return _html.HtmlWinParser_GetActualColor(*args, **kwargs)
350
351 def SetActualColor(*args, **kwargs):
352 """SetActualColor(self, Colour clr)"""
353 return _html.HtmlWinParser_SetActualColor(*args, **kwargs)
354
355 GetActualColour = GetActualColor
356 SetActualColour = SetActualColor
357
358 def SetLink(*args, **kwargs):
359 """SetLink(self, String link)"""
360 return _html.HtmlWinParser_SetLink(*args, **kwargs)
361
362 def CreateCurrentFont(*args, **kwargs):
363 """CreateCurrentFont(self) -> Font"""
364 return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs)
365
366 def GetLink(*args, **kwargs):
367 """GetLink(self) -> HtmlLinkInfo"""
368 return _html.HtmlWinParser_GetLink(*args, **kwargs)
369
370 ActualColor = property(GetActualColor,SetActualColor,doc="See `GetActualColor` and `SetActualColor`")
371 ActualColour = property(GetActualColour,SetActualColour,doc="See `GetActualColour` and `SetActualColour`")
372 Align = property(GetAlign,SetAlign,doc="See `GetAlign` and `SetAlign`")
373 CharHeight = property(GetCharHeight,doc="See `GetCharHeight`")
374 CharWidth = property(GetCharWidth,doc="See `GetCharWidth`")
375 Container = property(GetContainer,SetContainer,doc="See `GetContainer` and `SetContainer`")
376 DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`")
377 FontBold = property(GetFontBold,SetFontBold,doc="See `GetFontBold` and `SetFontBold`")
378 FontFixed = property(GetFontFixed,SetFontFixed,doc="See `GetFontFixed` and `SetFontFixed`")
379 FontItalic = property(GetFontItalic,SetFontItalic,doc="See `GetFontItalic` and `SetFontItalic`")
380 FontSize = property(GetFontSize,SetFontSize,doc="See `GetFontSize` and `SetFontSize`")
381 FontUnderlined = property(GetFontUnderlined,SetFontUnderlined,doc="See `GetFontUnderlined` and `SetFontUnderlined`")
382 Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
383 LinkColor = property(GetLinkColor,SetLinkColor,doc="See `GetLinkColor` and `SetLinkColor`")
384 WindowInterface = property(GetWindowInterface,doc="See `GetWindowInterface`")
385 _html.HtmlWinParser_swigregister(HtmlWinParser)
386
387 class HtmlTagHandler(_core.Object):
388 """Proxy of C++ HtmlTagHandler class"""
389 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
390 __repr__ = _swig_repr
391 def __init__(self, *args, **kwargs):
392 """__init__(self) -> HtmlTagHandler"""
393 _html.HtmlTagHandler_swiginit(self,_html.new_HtmlTagHandler(*args, **kwargs))
394 self._setCallbackInfo(self, HtmlTagHandler)
395
396 def _setCallbackInfo(*args, **kwargs):
397 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
398 return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs)
399
400 def SetParser(*args, **kwargs):
401 """SetParser(self, HtmlParser parser)"""
402 return _html.HtmlTagHandler_SetParser(*args, **kwargs)
403
404 def GetParser(*args, **kwargs):
405 """GetParser(self) -> HtmlParser"""
406 return _html.HtmlTagHandler_GetParser(*args, **kwargs)
407
408 def ParseInner(*args, **kwargs):
409 """ParseInner(self, HtmlTag tag)"""
410 return _html.HtmlTagHandler_ParseInner(*args, **kwargs)
411
412 Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
413 _html.HtmlTagHandler_swigregister(HtmlTagHandler)
414
415 class HtmlWinTagHandler(HtmlTagHandler):
416 """Proxy of C++ HtmlWinTagHandler class"""
417 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
418 __repr__ = _swig_repr
419 def __init__(self, *args, **kwargs):
420 """__init__(self) -> HtmlWinTagHandler"""
421 _html.HtmlWinTagHandler_swiginit(self,_html.new_HtmlWinTagHandler(*args, **kwargs))
422 self._setCallbackInfo(self, HtmlWinTagHandler)
423
424 def _setCallbackInfo(*args, **kwargs):
425 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
426 return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs)
427
428 def SetParser(*args, **kwargs):
429 """SetParser(self, HtmlParser parser)"""
430 return _html.HtmlWinTagHandler_SetParser(*args, **kwargs)
431
432 def GetParser(*args, **kwargs):
433 """GetParser(self) -> HtmlWinParser"""
434 return _html.HtmlWinTagHandler_GetParser(*args, **kwargs)
435
436 def ParseInner(*args, **kwargs):
437 """ParseInner(self, HtmlTag tag)"""
438 return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs)
439
440 Parser = property(GetParser,SetParser,doc="See `GetParser` and `SetParser`")
441 _html.HtmlWinTagHandler_swigregister(HtmlWinTagHandler)
442
443
444 def HtmlWinParser_AddTagHandler(*args, **kwargs):
445 """HtmlWinParser_AddTagHandler(PyObject tagHandlerClass)"""
446 return _html.HtmlWinParser_AddTagHandler(*args, **kwargs)
447 #---------------------------------------------------------------------------
448
449 class HtmlSelection(object):
450 """Proxy of C++ HtmlSelection class"""
451 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
452 __repr__ = _swig_repr
453 def __init__(self, *args, **kwargs):
454 """__init__(self) -> HtmlSelection"""
455 _html.HtmlSelection_swiginit(self,_html.new_HtmlSelection(*args, **kwargs))
456 __swig_destroy__ = _html.delete_HtmlSelection
457 __del__ = lambda self : None;
458 def Set(*args, **kwargs):
459 """Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)"""
460 return _html.HtmlSelection_Set(*args, **kwargs)
461
462 def SetCells(*args, **kwargs):
463 """SetCells(self, HtmlCell fromCell, HtmlCell toCell)"""
464 return _html.HtmlSelection_SetCells(*args, **kwargs)
465
466 def GetFromCell(*args, **kwargs):
467 """GetFromCell(self) -> HtmlCell"""
468 return _html.HtmlSelection_GetFromCell(*args, **kwargs)
469
470 def GetToCell(*args, **kwargs):
471 """GetToCell(self) -> HtmlCell"""
472 return _html.HtmlSelection_GetToCell(*args, **kwargs)
473
474 def GetFromPos(*args, **kwargs):
475 """GetFromPos(self) -> Point"""
476 return _html.HtmlSelection_GetFromPos(*args, **kwargs)
477
478 def GetToPos(*args, **kwargs):
479 """GetToPos(self) -> Point"""
480 return _html.HtmlSelection_GetToPos(*args, **kwargs)
481
482 def GetFromPrivPos(*args, **kwargs):
483 """GetFromPrivPos(self) -> Point"""
484 return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs)
485
486 def GetToPrivPos(*args, **kwargs):
487 """GetToPrivPos(self) -> Point"""
488 return _html.HtmlSelection_GetToPrivPos(*args, **kwargs)
489
490 def SetFromPrivPos(*args, **kwargs):
491 """SetFromPrivPos(self, Point pos)"""
492 return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs)
493
494 def SetToPrivPos(*args, **kwargs):
495 """SetToPrivPos(self, Point pos)"""
496 return _html.HtmlSelection_SetToPrivPos(*args, **kwargs)
497
498 def ClearPrivPos(*args, **kwargs):
499 """ClearPrivPos(self)"""
500 return _html.HtmlSelection_ClearPrivPos(*args, **kwargs)
501
502 def IsEmpty(*args, **kwargs):
503 """IsEmpty(self) -> bool"""
504 return _html.HtmlSelection_IsEmpty(*args, **kwargs)
505
506 FromCell = property(GetFromCell,doc="See `GetFromCell`")
507 FromPos = property(GetFromPos,doc="See `GetFromPos`")
508 FromPrivPos = property(GetFromPrivPos,SetFromPrivPos,doc="See `GetFromPrivPos` and `SetFromPrivPos`")
509 ToCell = property(GetToCell,doc="See `GetToCell`")
510 ToPos = property(GetToPos,doc="See `GetToPos`")
511 ToPrivPos = property(GetToPrivPos,SetToPrivPos,doc="See `GetToPrivPos` and `SetToPrivPos`")
512 _html.HtmlSelection_swigregister(HtmlSelection)
513
514 HTML_SEL_OUT = _html.HTML_SEL_OUT
515 HTML_SEL_IN = _html.HTML_SEL_IN
516 HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING
517 class HtmlRenderingState(object):
518 """Proxy of C++ HtmlRenderingState class"""
519 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
520 __repr__ = _swig_repr
521 def __init__(self, *args, **kwargs):
522 """__init__(self) -> HtmlRenderingState"""
523 _html.HtmlRenderingState_swiginit(self,_html.new_HtmlRenderingState(*args, **kwargs))
524 __swig_destroy__ = _html.delete_HtmlRenderingState
525 __del__ = lambda self : None;
526 def SetSelectionState(*args, **kwargs):
527 """SetSelectionState(self, int s)"""
528 return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs)
529
530 def GetSelectionState(*args, **kwargs):
531 """GetSelectionState(self) -> int"""
532 return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs)
533
534 def SetFgColour(*args, **kwargs):
535 """SetFgColour(self, Colour c)"""
536 return _html.HtmlRenderingState_SetFgColour(*args, **kwargs)
537
538 def GetFgColour(*args, **kwargs):
539 """GetFgColour(self) -> Colour"""
540 return _html.HtmlRenderingState_GetFgColour(*args, **kwargs)
541
542 def SetBgColour(*args, **kwargs):
543 """SetBgColour(self, Colour c)"""
544 return _html.HtmlRenderingState_SetBgColour(*args, **kwargs)
545
546 def GetBgColour(*args, **kwargs):
547 """GetBgColour(self) -> Colour"""
548 return _html.HtmlRenderingState_GetBgColour(*args, **kwargs)
549
550 BgColour = property(GetBgColour,SetBgColour,doc="See `GetBgColour` and `SetBgColour`")
551 FgColour = property(GetFgColour,SetFgColour,doc="See `GetFgColour` and `SetFgColour`")
552 SelectionState = property(GetSelectionState,SetSelectionState,doc="See `GetSelectionState` and `SetSelectionState`")
553 _html.HtmlRenderingState_swigregister(HtmlRenderingState)
554
555 class HtmlRenderingStyle(object):
556 """Proxy of C++ HtmlRenderingStyle class"""
557 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
558 def __init__(self): raise AttributeError, "No constructor defined"
559 __repr__ = _swig_repr
560 def GetSelectedTextColour(*args, **kwargs):
561 """GetSelectedTextColour(self, Colour clr) -> Colour"""
562 return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs)
563
564 def GetSelectedTextBgColour(*args, **kwargs):
565 """GetSelectedTextBgColour(self, Colour clr) -> Colour"""
566 return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs)
567
568 SelectedTextBgColour = property(GetSelectedTextBgColour,doc="See `GetSelectedTextBgColour`")
569 SelectedTextColour = property(GetSelectedTextColour,doc="See `GetSelectedTextColour`")
570 _html.HtmlRenderingStyle_swigregister(HtmlRenderingStyle)
571
572 class DefaultHtmlRenderingStyle(HtmlRenderingStyle):
573 """Proxy of C++ DefaultHtmlRenderingStyle class"""
574 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
575 def __init__(self): raise AttributeError, "No constructor defined"
576 __repr__ = _swig_repr
577 _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStyle)
578
579 class HtmlRenderingInfo(object):
580 """Proxy of C++ HtmlRenderingInfo class"""
581 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
582 __repr__ = _swig_repr
583 def __init__(self, *args, **kwargs):
584 """__init__(self) -> HtmlRenderingInfo"""
585 _html.HtmlRenderingInfo_swiginit(self,_html.new_HtmlRenderingInfo(*args, **kwargs))
586 __swig_destroy__ = _html.delete_HtmlRenderingInfo
587 __del__ = lambda self : None;
588 def SetSelection(*args, **kwargs):
589 """SetSelection(self, HtmlSelection s)"""
590 return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs)
591
592 def GetSelection(*args, **kwargs):
593 """GetSelection(self) -> HtmlSelection"""
594 return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs)
595
596 def SetStyle(*args, **kwargs):
597 """SetStyle(self, HtmlRenderingStyle style)"""
598 return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs)
599
600 def GetStyle(*args, **kwargs):
601 """GetStyle(self) -> HtmlRenderingStyle"""
602 return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs)
603
604 def GetState(*args, **kwargs):
605 """GetState(self) -> HtmlRenderingState"""
606 return _html.HtmlRenderingInfo_GetState(*args, **kwargs)
607
608 Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
609 State = property(GetState,doc="See `GetState`")
610 Style = property(GetStyle,SetStyle,doc="See `GetStyle` and `SetStyle`")
611 _html.HtmlRenderingInfo_swigregister(HtmlRenderingInfo)
612
613 #---------------------------------------------------------------------------
614
615 HTML_FIND_EXACT = _html.HTML_FIND_EXACT
616 HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE
617 HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER
618 class HtmlCell(_core.Object):
619 """Proxy of C++ HtmlCell class"""
620 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
621 __repr__ = _swig_repr
622 def __init__(self, *args, **kwargs):
623 """__init__(self) -> HtmlCell"""
624 _html.HtmlCell_swiginit(self,_html.new_HtmlCell(*args, **kwargs))
625 __swig_destroy__ = _html.delete_HtmlCell
626 __del__ = lambda self : None;
627 def GetPosX(*args, **kwargs):
628 """GetPosX(self) -> int"""
629 return _html.HtmlCell_GetPosX(*args, **kwargs)
630
631 def GetPosY(*args, **kwargs):
632 """GetPosY(self) -> int"""
633 return _html.HtmlCell_GetPosY(*args, **kwargs)
634
635 def GetWidth(*args, **kwargs):
636 """GetWidth(self) -> int"""
637 return _html.HtmlCell_GetWidth(*args, **kwargs)
638
639 def GetHeight(*args, **kwargs):
640 """GetHeight(self) -> int"""
641 return _html.HtmlCell_GetHeight(*args, **kwargs)
642
643 def GetDescent(*args, **kwargs):
644 """GetDescent(self) -> int"""
645 return _html.HtmlCell_GetDescent(*args, **kwargs)
646
647 def GetMaxTotalWidth(*args, **kwargs):
648 """GetMaxTotalWidth(self) -> int"""
649 return _html.HtmlCell_GetMaxTotalWidth(*args, **kwargs)
650
651 def GetId(*args, **kwargs):
652 """GetId(self) -> String"""
653 return _html.HtmlCell_GetId(*args, **kwargs)
654
655 def SetId(*args, **kwargs):
656 """SetId(self, String id)"""
657 return _html.HtmlCell_SetId(*args, **kwargs)
658
659 def GetLink(*args, **kwargs):
660 """GetLink(self, int x=0, int y=0) -> HtmlLinkInfo"""
661 return _html.HtmlCell_GetLink(*args, **kwargs)
662
663 def GetNext(*args, **kwargs):
664 """GetNext(self) -> HtmlCell"""
665 return _html.HtmlCell_GetNext(*args, **kwargs)
666
667 def GetParent(*args, **kwargs):
668 """GetParent(self) -> HtmlContainerCell"""
669 return _html.HtmlCell_GetParent(*args, **kwargs)
670
671 def GetFirstChild(*args, **kwargs):
672 """GetFirstChild(self) -> HtmlCell"""
673 return _html.HtmlCell_GetFirstChild(*args, **kwargs)
674
675 def GetMouseCursor(*args, **kwargs):
676 """GetMouseCursor(self, HtmlWindowInterface window) -> Cursor"""
677 return _html.HtmlCell_GetMouseCursor(*args, **kwargs)
678
679 def GetCursor(*args, **kwargs):
680 """GetCursor(self) -> Cursor"""
681 return _html.HtmlCell_GetCursor(*args, **kwargs)
682
683 GetCursor = wx._deprecated(GetCursor)
684 def IsFormattingCell(*args, **kwargs):
685 """IsFormattingCell(self) -> bool"""
686 return _html.HtmlCell_IsFormattingCell(*args, **kwargs)
687
688 def SetLink(*args, **kwargs):
689 """SetLink(self, HtmlLinkInfo link)"""
690 return _html.HtmlCell_SetLink(*args, **kwargs)
691
692 def SetNext(*args, **kwargs):
693 """SetNext(self, HtmlCell cell)"""
694 return _html.HtmlCell_SetNext(*args, **kwargs)
695
696 def SetParent(*args, **kwargs):
697 """SetParent(self, HtmlContainerCell p)"""
698 return _html.HtmlCell_SetParent(*args, **kwargs)
699
700 def SetPos(*args, **kwargs):
701 """SetPos(self, int x, int y)"""
702 return _html.HtmlCell_SetPos(*args, **kwargs)
703
704 def Layout(*args, **kwargs):
705 """Layout(self, int w)"""
706 return _html.HtmlCell_Layout(*args, **kwargs)
707
708 def Draw(*args, **kwargs):
709 """Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)"""
710 return _html.HtmlCell_Draw(*args, **kwargs)
711
712 def DrawInvisible(*args, **kwargs):
713 """DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)"""
714 return _html.HtmlCell_DrawInvisible(*args, **kwargs)
715
716 def Find(*args, **kwargs):
717 """Find(self, int condition, void param) -> HtmlCell"""
718 return _html.HtmlCell_Find(*args, **kwargs)
719
720 def ProcessMouseClick(*args, **kwargs):
721 """ProcessMouseClick(self, HtmlWindowInterface window, Point pos, MouseEvent event) -> bool"""
722 return _html.HtmlCell_ProcessMouseClick(*args, **kwargs)
723
724 def SetCanLiveOnPagebreak(*args, **kwargs):
725 """SetCanLiveOnPagebreak(self, bool can)"""
726 return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs)
727
728 def IsLinebreakAllowed(*args, **kwargs):
729 """IsLinebreakAllowed(self) -> bool"""
730 return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs)
731
732 def IsTerminalCell(*args, **kwargs):
733 """IsTerminalCell(self) -> bool"""
734 return _html.HtmlCell_IsTerminalCell(*args, **kwargs)
735
736 def FindCellByPos(*args, **kwargs):
737 """FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -> HtmlCell"""
738 return _html.HtmlCell_FindCellByPos(*args, **kwargs)
739
740 def GetAbsPos(*args, **kwargs):
741 """GetAbsPos(self, HtmlCell rootCell=None) -> Point"""
742 return _html.HtmlCell_GetAbsPos(*args, **kwargs)
743
744 def GetRootCell(*args, **kwargs):
745 """GetRootCell(self) -> HtmlCell"""
746 return _html.HtmlCell_GetRootCell(*args, **kwargs)
747
748 def GetFirstTerminal(*args, **kwargs):
749 """GetFirstTerminal(self) -> HtmlCell"""
750 return _html.HtmlCell_GetFirstTerminal(*args, **kwargs)
751
752 def GetLastTerminal(*args, **kwargs):
753 """GetLastTerminal(self) -> HtmlCell"""
754 return _html.HtmlCell_GetLastTerminal(*args, **kwargs)
755
756 def GetDepth(*args, **kwargs):
757 """GetDepth(self) -> unsigned int"""
758 return _html.HtmlCell_GetDepth(*args, **kwargs)
759
760 def IsBefore(*args, **kwargs):
761 """IsBefore(self, HtmlCell cell) -> bool"""
762 return _html.HtmlCell_IsBefore(*args, **kwargs)
763
764 def ConvertToText(*args, **kwargs):
765 """ConvertToText(self, HtmlSelection sel) -> String"""
766 return _html.HtmlCell_ConvertToText(*args, **kwargs)
767
768 Cursor = property(GetCursor,doc="See `GetCursor`")
769 Depth = property(GetDepth,doc="See `GetDepth`")
770 Descent = property(GetDescent,doc="See `GetDescent`")
771 FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
772 FirstTerminal = property(GetFirstTerminal,doc="See `GetFirstTerminal`")
773 Height = property(GetHeight,doc="See `GetHeight`")
774 Id = property(GetId,SetId,doc="See `GetId` and `SetId`")
775 LastTerminal = property(GetLastTerminal,doc="See `GetLastTerminal`")
776 Link = property(GetLink,SetLink,doc="See `GetLink` and `SetLink`")
777 MaxTotalWidth = property(GetMaxTotalWidth,doc="See `GetMaxTotalWidth`")
778 MouseCursor = property(GetMouseCursor,doc="See `GetMouseCursor`")
779 Next = property(GetNext,SetNext,doc="See `GetNext` and `SetNext`")
780 Parent = property(GetParent,SetParent,doc="See `GetParent` and `SetParent`")
781 PosX = property(GetPosX,doc="See `GetPosX`")
782 PosY = property(GetPosY,doc="See `GetPosY`")
783 RootCell = property(GetRootCell,doc="See `GetRootCell`")
784 Width = property(GetWidth,doc="See `GetWidth`")
785 _html.HtmlCell_swigregister(HtmlCell)
786
787 class HtmlWordCell(HtmlCell):
788 """Proxy of C++ HtmlWordCell class"""
789 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
790 __repr__ = _swig_repr
791 def __init__(self, *args, **kwargs):
792 """__init__(self, String word, DC dc) -> HtmlWordCell"""
793 _html.HtmlWordCell_swiginit(self,_html.new_HtmlWordCell(*args, **kwargs))
794 def ConvertToText(*args, **kwargs):
795 """ConvertToText(self, HtmlSelection sel) -> String"""
796 return _html.HtmlWordCell_ConvertToText(*args, **kwargs)
797
798 def IsLinebreakAllowed(*args, **kwargs):
799 """IsLinebreakAllowed(self) -> bool"""
800 return _html.HtmlWordCell_IsLinebreakAllowed(*args, **kwargs)
801
802 def SetPreviousWord(*args, **kwargs):
803 """SetPreviousWord(self, HtmlWordCell cell)"""
804 return _html.HtmlWordCell_SetPreviousWord(*args, **kwargs)
805
806 _html.HtmlWordCell_swigregister(HtmlWordCell)
807
808 class HtmlContainerCell(HtmlCell):
809 """Proxy of C++ HtmlContainerCell class"""
810 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
811 __repr__ = _swig_repr
812 def __init__(self, *args, **kwargs):
813 """__init__(self, HtmlContainerCell parent) -> HtmlContainerCell"""
814 _html.HtmlContainerCell_swiginit(self,_html.new_HtmlContainerCell(*args, **kwargs))
815 def InsertCell(*args, **kwargs):
816 """InsertCell(self, HtmlCell cell)"""
817 return _html.HtmlContainerCell_InsertCell(*args, **kwargs)
818
819 def SetAlignHor(*args, **kwargs):
820 """SetAlignHor(self, int al)"""
821 return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs)
822
823 def GetAlignHor(*args, **kwargs):
824 """GetAlignHor(self) -> int"""
825 return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs)
826
827 def SetAlignVer(*args, **kwargs):
828 """SetAlignVer(self, int al)"""
829 return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs)
830
831 def GetAlignVer(*args, **kwargs):
832 """GetAlignVer(self) -> int"""
833 return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs)
834
835 def SetIndent(*args, **kwargs):
836 """SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)"""
837 return _html.HtmlContainerCell_SetIndent(*args, **kwargs)
838
839 def GetIndent(*args, **kwargs):
840 """GetIndent(self, int ind) -> int"""
841 return _html.HtmlContainerCell_GetIndent(*args, **kwargs)
842
843 def GetIndentUnits(*args, **kwargs):
844 """GetIndentUnits(self, int ind) -> int"""
845 return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs)
846
847 def SetAlign(*args, **kwargs):
848 """SetAlign(self, HtmlTag tag)"""
849 return _html.HtmlContainerCell_SetAlign(*args, **kwargs)
850
851 def SetWidthFloat(*args, **kwargs):
852 """SetWidthFloat(self, int w, int units)"""
853 return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs)
854
855 def SetWidthFloatFromTag(*args, **kwargs):
856 """SetWidthFloatFromTag(self, HtmlTag tag)"""
857 return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs)
858
859 def SetMinHeight(*args, **kwargs):
860 """SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)"""
861 return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs)
862
863 def SetBackgroundColour(*args, **kwargs):
864 """SetBackgroundColour(self, Colour clr)"""
865 return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs)
866
867 def GetBackgroundColour(*args, **kwargs):
868 """GetBackgroundColour(self) -> Colour"""
869 return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs)
870
871 def SetBorder(*args, **kwargs):
872 """SetBorder(self, Colour clr1, Colour clr2)"""
873 return _html.HtmlContainerCell_SetBorder(*args, **kwargs)
874
875 def GetFirstChild(*args, **kwargs):
876 """GetFirstChild(self) -> HtmlCell"""
877 return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs)
878
879 AlignHor = property(GetAlignHor,SetAlignHor,doc="See `GetAlignHor` and `SetAlignHor`")
880 AlignVer = property(GetAlignVer,SetAlignVer,doc="See `GetAlignVer` and `SetAlignVer`")
881 BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`")
882 FirstChild = property(GetFirstChild,doc="See `GetFirstChild`")
883 Indent = property(GetIndent,SetIndent,doc="See `GetIndent` and `SetIndent`")
884 IndentUnits = property(GetIndentUnits,doc="See `GetIndentUnits`")
885 _html.HtmlContainerCell_swigregister(HtmlContainerCell)
886
887 class HtmlColourCell(HtmlCell):
888 """Proxy of C++ HtmlColourCell class"""
889 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
890 __repr__ = _swig_repr
891 def __init__(self, *args, **kwargs):
892 """__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -> HtmlColourCell"""
893 _html.HtmlColourCell_swiginit(self,_html.new_HtmlColourCell(*args, **kwargs))
894 _html.HtmlColourCell_swigregister(HtmlColourCell)
895
896 class HtmlFontCell(HtmlCell):
897 """Proxy of C++ HtmlFontCell class"""
898 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
899 __repr__ = _swig_repr
900 def __init__(self, *args, **kwargs):
901 """__init__(self, Font font) -> HtmlFontCell"""
902 _html.HtmlFontCell_swiginit(self,_html.new_HtmlFontCell(*args, **kwargs))
903 _html.HtmlFontCell_swigregister(HtmlFontCell)
904
905 class HtmlWidgetCell(HtmlCell):
906 """Proxy of C++ HtmlWidgetCell class"""
907 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
908 __repr__ = _swig_repr
909 def __init__(self, *args, **kwargs):
910 """__init__(self, Window wnd, int w=0) -> HtmlWidgetCell"""
911 _html.HtmlWidgetCell_swiginit(self,_html.new_HtmlWidgetCell(*args, **kwargs))
912 _html.HtmlWidgetCell_swigregister(HtmlWidgetCell)
913
914 #---------------------------------------------------------------------------
915
916 class HtmlFilter(_core.Object):
917 """Proxy of C++ HtmlFilter class"""
918 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
919 __repr__ = _swig_repr
920 def __init__(self, *args, **kwargs):
921 """__init__(self) -> HtmlFilter"""
922 _html.HtmlFilter_swiginit(self,_html.new_HtmlFilter(*args, **kwargs))
923 self._setCallbackInfo(self, HtmlFilter)
924
925 def _setCallbackInfo(*args, **kwargs):
926 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
927 return _html.HtmlFilter__setCallbackInfo(*args, **kwargs)
928
929 _html.HtmlFilter_swigregister(HtmlFilter)
930
931 class HtmlWindowInterface(object):
932 """Proxy of C++ HtmlWindowInterface class"""
933 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
934 def __init__(self): raise AttributeError, "No constructor defined"
935 __repr__ = _swig_repr
936 __swig_destroy__ = _html.delete_HtmlWindowInterface
937 __del__ = lambda self : None;
938 def SetHTMLWindowTitle(*args, **kwargs):
939 """SetHTMLWindowTitle(self, String title)"""
940 return _html.HtmlWindowInterface_SetHTMLWindowTitle(*args, **kwargs)
941
942 def HTMLCoordsToWindow(*args, **kwargs):
943 """HTMLCoordsToWindow(self, HtmlCell cell, Point pos) -> Point"""
944 return _html.HtmlWindowInterface_HTMLCoordsToWindow(*args, **kwargs)
945
946 def GetHTMLWindow(*args, **kwargs):
947 """GetHTMLWindow(self) -> Window"""
948 return _html.HtmlWindowInterface_GetHTMLWindow(*args, **kwargs)
949
950 def GetHTMLBackgroundColour(*args, **kwargs):
951 """GetHTMLBackgroundColour(self) -> Colour"""
952 return _html.HtmlWindowInterface_GetHTMLBackgroundColour(*args, **kwargs)
953
954 def SetHTMLBackgroundColour(*args, **kwargs):
955 """SetHTMLBackgroundColour(self, Colour clr)"""
956 return _html.HtmlWindowInterface_SetHTMLBackgroundColour(*args, **kwargs)
957
958 def SetHTMLBackgroundImage(*args, **kwargs):
959 """SetHTMLBackgroundImage(self, Bitmap bmpBg)"""
960 return _html.HtmlWindowInterface_SetHTMLBackgroundImage(*args, **kwargs)
961
962 def SetHTMLStatusText(*args, **kwargs):
963 """SetHTMLStatusText(self, String text)"""
964 return _html.HtmlWindowInterface_SetHTMLStatusText(*args, **kwargs)
965
966 HTMLCursor_Default = _html.HtmlWindowInterface_HTMLCursor_Default
967 HTMLCursor_Link = _html.HtmlWindowInterface_HTMLCursor_Link
968 HTMLCursor_Text = _html.HtmlWindowInterface_HTMLCursor_Text
969 HTMLBackgroundColour = property(GetHTMLBackgroundColour,SetHTMLBackgroundColour,doc="See `GetHTMLBackgroundColour` and `SetHTMLBackgroundColour`")
970 HTMLWindow = property(GetHTMLWindow,doc="See `GetHTMLWindow`")
971 _html.HtmlWindowInterface_swigregister(HtmlWindowInterface)
972
973 #---------------------------------------------------------------------------
974
975 class HtmlWindow(_windows.ScrolledWindow):
976 """Proxy of C++ HtmlWindow class"""
977 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
978 __repr__ = _swig_repr
979 def __init__(self, *args, **kwargs):
980 """
981 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
982 Size size=DefaultSize, int style=HW_DEFAULT_STYLE,
983 String name=HtmlWindowNameStr) -> HtmlWindow
984 """
985 _html.HtmlWindow_swiginit(self,_html.new_HtmlWindow(*args, **kwargs))
986 self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self)
987
988 def Create(*args, **kwargs):
989 """
990 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
991 Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO,
992 String name=HtmlWindowNameStr) -> bool
993 """
994 return _html.HtmlWindow_Create(*args, **kwargs)
995
996 def _setCallbackInfo(*args, **kwargs):
997 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
998 return _html.HtmlWindow__setCallbackInfo(*args, **kwargs)
999
1000 def SetPage(*args, **kwargs):
1001 """SetPage(self, String source) -> bool"""
1002 return _html.HtmlWindow_SetPage(*args, **kwargs)
1003
1004 def LoadPage(*args, **kwargs):
1005 """LoadPage(self, String location) -> bool"""
1006 return _html.HtmlWindow_LoadPage(*args, **kwargs)
1007
1008 def LoadFile(*args, **kwargs):
1009 """LoadFile(self, String filename) -> bool"""
1010 return _html.HtmlWindow_LoadFile(*args, **kwargs)
1011
1012 def AppendToPage(*args, **kwargs):
1013 """AppendToPage(self, String source) -> bool"""
1014 return _html.HtmlWindow_AppendToPage(*args, **kwargs)
1015
1016 def GetOpenedPage(*args, **kwargs):
1017 """GetOpenedPage(self) -> String"""
1018 return _html.HtmlWindow_GetOpenedPage(*args, **kwargs)
1019
1020 def GetOpenedAnchor(*args, **kwargs):
1021 """GetOpenedAnchor(self) -> String"""
1022 return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs)
1023
1024 def GetOpenedPageTitle(*args, **kwargs):
1025 """GetOpenedPageTitle(self) -> String"""
1026 return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs)
1027
1028 def SetRelatedFrame(*args, **kwargs):
1029 """SetRelatedFrame(self, Frame frame, String format)"""
1030 return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs)
1031
1032 def GetRelatedFrame(*args, **kwargs):
1033 """GetRelatedFrame(self) -> Frame"""
1034 return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs)
1035
1036 def SetRelatedStatusBar(*args, **kwargs):
1037 """SetRelatedStatusBar(self, int bar)"""
1038 return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs)
1039
1040 def SetFonts(*args, **kwargs):
1041 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1042 return _html.HtmlWindow_SetFonts(*args, **kwargs)
1043
1044 def SetStandardFonts(*args, **kwargs):
1045 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1046 return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
1047
1048 def SetBorders(*args, **kwargs):
1049 """SetBorders(self, int b)"""
1050 return _html.HtmlWindow_SetBorders(*args, **kwargs)
1051
1052 def SetBackgroundImage(*args, **kwargs):
1053 """SetBackgroundImage(self, Bitmap bmpBg)"""
1054 return _html.HtmlWindow_SetBackgroundImage(*args, **kwargs)
1055
1056 def ReadCustomization(*args, **kwargs):
1057 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1058 return _html.HtmlWindow_ReadCustomization(*args, **kwargs)
1059
1060 def WriteCustomization(*args, **kwargs):
1061 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1062 return _html.HtmlWindow_WriteCustomization(*args, **kwargs)
1063
1064 def HistoryBack(*args, **kwargs):
1065 """HistoryBack(self) -> bool"""
1066 return _html.HtmlWindow_HistoryBack(*args, **kwargs)
1067
1068 def HistoryForward(*args, **kwargs):
1069 """HistoryForward(self) -> bool"""
1070 return _html.HtmlWindow_HistoryForward(*args, **kwargs)
1071
1072 def HistoryCanBack(*args, **kwargs):
1073 """HistoryCanBack(self) -> bool"""
1074 return _html.HtmlWindow_HistoryCanBack(*args, **kwargs)
1075
1076 def HistoryCanForward(*args, **kwargs):
1077 """HistoryCanForward(self) -> bool"""
1078 return _html.HtmlWindow_HistoryCanForward(*args, **kwargs)
1079
1080 def HistoryClear(*args, **kwargs):
1081 """HistoryClear(self)"""
1082 return _html.HtmlWindow_HistoryClear(*args, **kwargs)
1083
1084 def GetInternalRepresentation(*args, **kwargs):
1085 """GetInternalRepresentation(self) -> HtmlContainerCell"""
1086 return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs)
1087
1088 def GetParser(*args, **kwargs):
1089 """GetParser(self) -> HtmlWinParser"""
1090 return _html.HtmlWindow_GetParser(*args, **kwargs)
1091
1092 def ScrollToAnchor(*args, **kwargs):
1093 """ScrollToAnchor(self, String anchor) -> bool"""
1094 return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs)
1095
1096 def HasAnchor(*args, **kwargs):
1097 """HasAnchor(self, String anchor) -> bool"""
1098 return _html.HtmlWindow_HasAnchor(*args, **kwargs)
1099
1100 def AddFilter(*args, **kwargs):
1101 """AddFilter(HtmlFilter filter)"""
1102 return _html.HtmlWindow_AddFilter(*args, **kwargs)
1103
1104 AddFilter = staticmethod(AddFilter)
1105 def SelectWord(*args, **kwargs):
1106 """SelectWord(self, Point pos)"""
1107 return _html.HtmlWindow_SelectWord(*args, **kwargs)
1108
1109 def SelectLine(*args, **kwargs):
1110 """SelectLine(self, Point pos)"""
1111 return _html.HtmlWindow_SelectLine(*args, **kwargs)
1112
1113 def SelectAll(*args, **kwargs):
1114 """SelectAll(self)"""
1115 return _html.HtmlWindow_SelectAll(*args, **kwargs)
1116
1117 def SelectionToText(*args, **kwargs):
1118 """SelectionToText(self) -> String"""
1119 return _html.HtmlWindow_SelectionToText(*args, **kwargs)
1120
1121 def ToText(*args, **kwargs):
1122 """ToText(self) -> String"""
1123 return _html.HtmlWindow_ToText(*args, **kwargs)
1124
1125 def OnLinkClicked(*args, **kwargs):
1126 """OnLinkClicked(self, HtmlLinkInfo link)"""
1127 return _html.HtmlWindow_OnLinkClicked(*args, **kwargs)
1128
1129 def OnSetTitle(*args, **kwargs):
1130 """OnSetTitle(self, String title)"""
1131 return _html.HtmlWindow_OnSetTitle(*args, **kwargs)
1132
1133 def OnCellMouseHover(*args, **kwargs):
1134 """OnCellMouseHover(self, HtmlCell cell, int x, int y)"""
1135 return _html.HtmlWindow_OnCellMouseHover(*args, **kwargs)
1136
1137 def OnCellClicked(*args, **kwargs):
1138 """OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event) -> bool"""
1139 return _html.HtmlWindow_OnCellClicked(*args, **kwargs)
1140
1141 def OnOpeningURL(*args, **kwargs):
1142 """OnOpeningURL(self, int type, String url, String redirect) -> int"""
1143 return _html.HtmlWindow_OnOpeningURL(*args, **kwargs)
1144
1145 def base_OnLinkClicked(*args, **kw):
1146 return HtmlWindow.OnLinkClicked(*args, **kw)
1147 base_OnLinkClicked = wx._deprecated(base_OnLinkClicked,
1148 "Please use HtmlWindow.OnLinkClicked instead.")
1149
1150 def base_OnSetTitle(*args, **kw):
1151 return HtmlWindow.OnSetTitle(*args, **kw)
1152 base_OnSetTitle = wx._deprecated(base_OnSetTitle,
1153 "Please use HtmlWindow.OnSetTitle instead.")
1154
1155 def base_OnCellMouseHover(*args, **kw):
1156 return HtmlWindow.OnCellMouseHover(*args, **kw)
1157 base_OnCellMouseHover = wx._deprecated(base_OnCellMouseHover,
1158 "Please use HtmlWindow.OnCellMouseHover instead.")
1159
1160 def base_OnCellClicked(*args, **kw):
1161 return HtmlWindow.OnCellClicked(*args, **kw)
1162 base_OnCellClicked = wx._deprecated(base_OnCellClicked,
1163 "Please use HtmlWindow.OnCellClicked instead.")
1164
1165 def GetClassDefaultAttributes(*args, **kwargs):
1166 """
1167 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1168
1169 Get the default attributes for this class. This is useful if you want
1170 to use the same font or colour in your own control as in a standard
1171 control -- which is a much better idea than hard coding specific
1172 colours or fonts which might look completely out of place on the
1173 user's system, especially if it uses themes.
1174
1175 The variant parameter is only relevant under Mac currently and is
1176 ignore under other platforms. Under Mac, it will change the size of
1177 the returned font. See `wx.Window.SetWindowVariant` for more about
1178 this.
1179 """
1180 return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
1181
1182 GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
1183 HTMLCursor_Default = _html.HtmlWindow_HTMLCursor_Default
1184 HTMLCursor_Link = _html.HtmlWindow_HTMLCursor_Link
1185 HTMLCursor_Text = _html.HtmlWindow_HTMLCursor_Text
1186 def GetDefaultHTMLCursor(*args, **kwargs):
1187 """GetDefaultHTMLCursor(int type) -> Cursor"""
1188 return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
1189
1190 GetDefaultHTMLCursor = staticmethod(GetDefaultHTMLCursor)
1191 InternalRepresentation = property(GetInternalRepresentation,doc="See `GetInternalRepresentation`")
1192 OpenedAnchor = property(GetOpenedAnchor,doc="See `GetOpenedAnchor`")
1193 OpenedPage = property(GetOpenedPage,doc="See `GetOpenedPage`")
1194 OpenedPageTitle = property(GetOpenedPageTitle,doc="See `GetOpenedPageTitle`")
1195 Parser = property(GetParser,doc="See `GetParser`")
1196 RelatedFrame = property(GetRelatedFrame,doc="See `GetRelatedFrame`")
1197 _html.HtmlWindow_swigregister(HtmlWindow)
1198
1199 def PreHtmlWindow(*args, **kwargs):
1200 """PreHtmlWindow() -> HtmlWindow"""
1201 val = _html.new_PreHtmlWindow(*args, **kwargs)
1202 return val
1203
1204 def HtmlWindow_AddFilter(*args, **kwargs):
1205 """HtmlWindow_AddFilter(HtmlFilter filter)"""
1206 return _html.HtmlWindow_AddFilter(*args, **kwargs)
1207
1208 def HtmlWindow_GetClassDefaultAttributes(*args, **kwargs):
1209 """
1210 HtmlWindow_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1211
1212 Get the default attributes for this class. This is useful if you want
1213 to use the same font or colour in your own control as in a standard
1214 control -- which is a much better idea than hard coding specific
1215 colours or fonts which might look completely out of place on the
1216 user's system, especially if it uses themes.
1217
1218 The variant parameter is only relevant under Mac currently and is
1219 ignore under other platforms. Under Mac, it will change the size of
1220 the returned font. See `wx.Window.SetWindowVariant` for more about
1221 this.
1222 """
1223 return _html.HtmlWindow_GetClassDefaultAttributes(*args, **kwargs)
1224
1225 def HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs):
1226 """HtmlWindow_GetDefaultHTMLCursor(int type) -> Cursor"""
1227 return _html.HtmlWindow_GetDefaultHTMLCursor(*args, **kwargs)
1228
1229 #---------------------------------------------------------------------------
1230
1231 class HtmlDCRenderer(_core.Object):
1232 """Proxy of C++ HtmlDCRenderer class"""
1233 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1234 __repr__ = _swig_repr
1235 def __init__(self, *args, **kwargs):
1236 """__init__(self) -> HtmlDCRenderer"""
1237 _html.HtmlDCRenderer_swiginit(self,_html.new_HtmlDCRenderer(*args, **kwargs))
1238 __swig_destroy__ = _html.delete_HtmlDCRenderer
1239 __del__ = lambda self : None;
1240 def SetDC(*args, **kwargs):
1241 """SetDC(self, DC dc, int maxwidth)"""
1242 return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
1243
1244 def SetSize(*args, **kwargs):
1245 """SetSize(self, int width, int height)"""
1246 return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
1247
1248 def SetHtmlText(*args, **kwargs):
1249 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1250 return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
1251
1252 def SetFonts(*args, **kwargs):
1253 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1254 return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
1255
1256 def SetStandardFonts(*args, **kwargs):
1257 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1258 return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
1259
1260 def Render(*args, **kwargs):
1261 """
1262 Render(self, int x, int y, wxArrayInt known_pagebreaks, int from=0,
1263 int dont_render=False, int to=INT_MAX) -> int
1264 """
1265 return _html.HtmlDCRenderer_Render(*args, **kwargs)
1266
1267 def GetTotalHeight(*args, **kwargs):
1268 """GetTotalHeight(self) -> int"""
1269 return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
1270
1271 TotalHeight = property(GetTotalHeight,doc="See `GetTotalHeight`")
1272 _html.HtmlDCRenderer_swigregister(HtmlDCRenderer)
1273
1274 PAGE_ODD = _html.PAGE_ODD
1275 PAGE_EVEN = _html.PAGE_EVEN
1276 PAGE_ALL = _html.PAGE_ALL
1277 class HtmlPrintout(_windows.Printout):
1278 """Proxy of C++ HtmlPrintout class"""
1279 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1280 __repr__ = _swig_repr
1281 def __init__(self, *args, **kwargs):
1282 """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
1283 _html.HtmlPrintout_swiginit(self,_html.new_HtmlPrintout(*args, **kwargs))
1284 def SetHtmlText(*args, **kwargs):
1285 """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
1286 return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
1287
1288 def SetHtmlFile(*args, **kwargs):
1289 """SetHtmlFile(self, String htmlfile)"""
1290 return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
1291
1292 def SetHeader(*args, **kwargs):
1293 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1294 return _html.HtmlPrintout_SetHeader(*args, **kwargs)
1295
1296 def SetFooter(*args, **kwargs):
1297 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1298 return _html.HtmlPrintout_SetFooter(*args, **kwargs)
1299
1300 def SetFonts(*args, **kwargs):
1301 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1302 return _html.HtmlPrintout_SetFonts(*args, **kwargs)
1303
1304 def SetStandardFonts(*args, **kwargs):
1305 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1306 return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
1307
1308 def SetMargins(*args, **kwargs):
1309 """
1310 SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
1311 float right=25.2, float spaces=5)
1312 """
1313 return _html.HtmlPrintout_SetMargins(*args, **kwargs)
1314
1315 def AddFilter(*args, **kwargs):
1316 """AddFilter(wxHtmlFilter filter)"""
1317 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
1318
1319 AddFilter = staticmethod(AddFilter)
1320 def CleanUpStatics(*args, **kwargs):
1321 """CleanUpStatics()"""
1322 return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
1323
1324 CleanUpStatics = staticmethod(CleanUpStatics)
1325 _html.HtmlPrintout_swigregister(HtmlPrintout)
1326
1327 def HtmlPrintout_AddFilter(*args, **kwargs):
1328 """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
1329 return _html.HtmlPrintout_AddFilter(*args, **kwargs)
1330
1331 def HtmlPrintout_CleanUpStatics(*args):
1332 """HtmlPrintout_CleanUpStatics()"""
1333 return _html.HtmlPrintout_CleanUpStatics(*args)
1334
1335 class HtmlEasyPrinting(_core.Object):
1336 """Proxy of C++ HtmlEasyPrinting class"""
1337 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1338 __repr__ = _swig_repr
1339 def __init__(self, *args, **kwargs):
1340 """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
1341 _html.HtmlEasyPrinting_swiginit(self,_html.new_HtmlEasyPrinting(*args, **kwargs))
1342 __swig_destroy__ = _html.delete_HtmlEasyPrinting
1343 __del__ = lambda self : None;
1344 def PreviewFile(*args, **kwargs):
1345 """PreviewFile(self, String htmlfile)"""
1346 return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs)
1347
1348 def PreviewText(*args, **kwargs):
1349 """PreviewText(self, String htmltext, String basepath=EmptyString)"""
1350 return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs)
1351
1352 def PrintFile(*args, **kwargs):
1353 """PrintFile(self, String htmlfile)"""
1354 return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs)
1355
1356 def PrintText(*args, **kwargs):
1357 """PrintText(self, String htmltext, String basepath=EmptyString)"""
1358 return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
1359
1360 def PageSetup(*args, **kwargs):
1361 """PageSetup(self)"""
1362 return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
1363
1364 def SetHeader(*args, **kwargs):
1365 """SetHeader(self, String header, int pg=PAGE_ALL)"""
1366 return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs)
1367
1368 def SetFooter(*args, **kwargs):
1369 """SetFooter(self, String footer, int pg=PAGE_ALL)"""
1370 return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs)
1371
1372 def SetFonts(*args, **kwargs):
1373 """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
1374 return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
1375
1376 def SetStandardFonts(*args, **kwargs):
1377 """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
1378 return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
1379
1380 def GetPrintData(*args, **kwargs):
1381 """GetPrintData(self) -> PrintData"""
1382 return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs)
1383
1384 def GetPageSetupData(*args, **kwargs):
1385 """GetPageSetupData(self) -> PageSetupDialogData"""
1386 return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs)
1387
1388 PageSetupData = property(GetPageSetupData,doc="See `GetPageSetupData`")
1389 PrintData = property(GetPrintData,doc="See `GetPrintData`")
1390 _html.HtmlEasyPrinting_swigregister(HtmlEasyPrinting)
1391
1392 #---------------------------------------------------------------------------
1393
1394 class HtmlBookRecord(object):
1395 """Proxy of C++ HtmlBookRecord class"""
1396 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1397 __repr__ = _swig_repr
1398 def __init__(self, *args, **kwargs):
1399 """__init__(self, String bookfile, String basepath, String title, String start) -> HtmlBookRecord"""
1400 _html.HtmlBookRecord_swiginit(self,_html.new_HtmlBookRecord(*args, **kwargs))
1401 def GetBookFile(*args, **kwargs):
1402 """GetBookFile(self) -> String"""
1403 return _html.HtmlBookRecord_GetBookFile(*args, **kwargs)
1404
1405 def GetTitle(*args, **kwargs):
1406 """GetTitle(self) -> String"""
1407 return _html.HtmlBookRecord_GetTitle(*args, **kwargs)
1408
1409 def GetStart(*args, **kwargs):
1410 """GetStart(self) -> String"""
1411 return _html.HtmlBookRecord_GetStart(*args, **kwargs)
1412
1413 def GetBasePath(*args, **kwargs):
1414 """GetBasePath(self) -> String"""
1415 return _html.HtmlBookRecord_GetBasePath(*args, **kwargs)
1416
1417 def SetContentsRange(*args, **kwargs):
1418 """SetContentsRange(self, int start, int end)"""
1419 return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs)
1420
1421 def GetContentsStart(*args, **kwargs):
1422 """GetContentsStart(self) -> int"""
1423 return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs)
1424
1425 def GetContentsEnd(*args, **kwargs):
1426 """GetContentsEnd(self) -> int"""
1427 return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs)
1428
1429 def SetTitle(*args, **kwargs):
1430 """SetTitle(self, String title)"""
1431 return _html.HtmlBookRecord_SetTitle(*args, **kwargs)
1432
1433 def SetBasePath(*args, **kwargs):
1434 """SetBasePath(self, String path)"""
1435 return _html.HtmlBookRecord_SetBasePath(*args, **kwargs)
1436
1437 def SetStart(*args, **kwargs):
1438 """SetStart(self, String start)"""
1439 return _html.HtmlBookRecord_SetStart(*args, **kwargs)
1440
1441 def GetFullPath(*args, **kwargs):
1442 """GetFullPath(self, String page) -> String"""
1443 return _html.HtmlBookRecord_GetFullPath(*args, **kwargs)
1444
1445 BasePath = property(GetBasePath,SetBasePath,doc="See `GetBasePath` and `SetBasePath`")
1446 BookFile = property(GetBookFile,doc="See `GetBookFile`")
1447 ContentsEnd = property(GetContentsEnd,doc="See `GetContentsEnd`")
1448 ContentsStart = property(GetContentsStart,doc="See `GetContentsStart`")
1449 FullPath = property(GetFullPath,doc="See `GetFullPath`")
1450 Start = property(GetStart,SetStart,doc="See `GetStart` and `SetStart`")
1451 Title = property(GetTitle,SetTitle,doc="See `GetTitle` and `SetTitle`")
1452 _html.HtmlBookRecord_swigregister(HtmlBookRecord)
1453
1454 class HtmlSearchStatus(object):
1455 """Proxy of C++ HtmlSearchStatus class"""
1456 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1457 def __init__(self): raise AttributeError, "No constructor defined"
1458 __repr__ = _swig_repr
1459 def Search(*args, **kwargs):
1460 """Search(self) -> bool"""
1461 return _html.HtmlSearchStatus_Search(*args, **kwargs)
1462
1463 def IsActive(*args, **kwargs):
1464 """IsActive(self) -> bool"""
1465 return _html.HtmlSearchStatus_IsActive(*args, **kwargs)
1466
1467 def GetCurIndex(*args, **kwargs):
1468 """GetCurIndex(self) -> int"""
1469 return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs)
1470
1471 def GetMaxIndex(*args, **kwargs):
1472 """GetMaxIndex(self) -> int"""
1473 return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs)
1474
1475 def GetName(*args, **kwargs):
1476 """GetName(self) -> String"""
1477 return _html.HtmlSearchStatus_GetName(*args, **kwargs)
1478
1479 CurIndex = property(GetCurIndex,doc="See `GetCurIndex`")
1480 MaxIndex = property(GetMaxIndex,doc="See `GetMaxIndex`")
1481 Name = property(GetName,doc="See `GetName`")
1482 _html.HtmlSearchStatus_swigregister(HtmlSearchStatus)
1483
1484 class HtmlHelpData(object):
1485 """Proxy of C++ HtmlHelpData class"""
1486 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1487 __repr__ = _swig_repr
1488 def __init__(self, *args, **kwargs):
1489 """__init__(self) -> HtmlHelpData"""
1490 _html.HtmlHelpData_swiginit(self,_html.new_HtmlHelpData(*args, **kwargs))
1491 __swig_destroy__ = _html.delete_HtmlHelpData
1492 __del__ = lambda self : None;
1493 def SetTempDir(*args, **kwargs):
1494 """SetTempDir(self, String path)"""
1495 return _html.HtmlHelpData_SetTempDir(*args, **kwargs)
1496
1497 def AddBook(*args, **kwargs):
1498 """AddBook(self, String book) -> bool"""
1499 return _html.HtmlHelpData_AddBook(*args, **kwargs)
1500
1501 def FindPageByName(*args, **kwargs):
1502 """FindPageByName(self, String page) -> String"""
1503 return _html.HtmlHelpData_FindPageByName(*args, **kwargs)
1504
1505 def FindPageById(*args, **kwargs):
1506 """FindPageById(self, int id) -> String"""
1507 return _html.HtmlHelpData_FindPageById(*args, **kwargs)
1508
1509 def GetBookRecArray(*args, **kwargs):
1510 """GetBookRecArray(self) -> wxHtmlBookRecArray"""
1511 return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs)
1512
1513 BookRecArray = property(GetBookRecArray,doc="See `GetBookRecArray`")
1514 _html.HtmlHelpData_swigregister(HtmlHelpData)
1515
1516 HF_TOOLBAR = _html.HF_TOOLBAR
1517 HF_CONTENTS = _html.HF_CONTENTS
1518 HF_INDEX = _html.HF_INDEX
1519 HF_SEARCH = _html.HF_SEARCH
1520 HF_BOOKMARKS = _html.HF_BOOKMARKS
1521 HF_OPEN_FILES = _html.HF_OPEN_FILES
1522 HF_PRINT = _html.HF_PRINT
1523 HF_FLAT_TOOLBAR = _html.HF_FLAT_TOOLBAR
1524 HF_MERGE_BOOKS = _html.HF_MERGE_BOOKS
1525 HF_ICONS_BOOK = _html.HF_ICONS_BOOK
1526 HF_ICONS_BOOK_CHAPTER = _html.HF_ICONS_BOOK_CHAPTER
1527 HF_ICONS_FOLDER = _html.HF_ICONS_FOLDER
1528 HF_DEFAULT_STYLE = _html.HF_DEFAULT_STYLE
1529 HF_EMBEDDED = _html.HF_EMBEDDED
1530 HF_DIALOG = _html.HF_DIALOG
1531 HF_FRAME = _html.HF_FRAME
1532 HF_MODAL = _html.HF_MODAL
1533 ID_HTML_PANEL = _html.ID_HTML_PANEL
1534 ID_HTML_BACK = _html.ID_HTML_BACK
1535 ID_HTML_FORWARD = _html.ID_HTML_FORWARD
1536 ID_HTML_UPNODE = _html.ID_HTML_UPNODE
1537 ID_HTML_UP = _html.ID_HTML_UP
1538 ID_HTML_DOWN = _html.ID_HTML_DOWN
1539 ID_HTML_PRINT = _html.ID_HTML_PRINT
1540 ID_HTML_OPENFILE = _html.ID_HTML_OPENFILE
1541 ID_HTML_OPTIONS = _html.ID_HTML_OPTIONS
1542 ID_HTML_BOOKMARKSLIST = _html.ID_HTML_BOOKMARKSLIST
1543 ID_HTML_BOOKMARKSADD = _html.ID_HTML_BOOKMARKSADD
1544 ID_HTML_BOOKMARKSREMOVE = _html.ID_HTML_BOOKMARKSREMOVE
1545 ID_HTML_TREECTRL = _html.ID_HTML_TREECTRL
1546 ID_HTML_INDEXPAGE = _html.ID_HTML_INDEXPAGE
1547 ID_HTML_INDEXLIST = _html.ID_HTML_INDEXLIST
1548 ID_HTML_INDEXTEXT = _html.ID_HTML_INDEXTEXT
1549 ID_HTML_INDEXBUTTON = _html.ID_HTML_INDEXBUTTON
1550 ID_HTML_INDEXBUTTONALL = _html.ID_HTML_INDEXBUTTONALL
1551 ID_HTML_NOTEBOOK = _html.ID_HTML_NOTEBOOK
1552 ID_HTML_SEARCHPAGE = _html.ID_HTML_SEARCHPAGE
1553 ID_HTML_SEARCHTEXT = _html.ID_HTML_SEARCHTEXT
1554 ID_HTML_SEARCHLIST = _html.ID_HTML_SEARCHLIST
1555 ID_HTML_SEARCHBUTTON = _html.ID_HTML_SEARCHBUTTON
1556 ID_HTML_SEARCHCHOICE = _html.ID_HTML_SEARCHCHOICE
1557 ID_HTML_COUNTINFO = _html.ID_HTML_COUNTINFO
1558 class HtmlHelpWindow(_core.Window):
1559 """Proxy of C++ HtmlHelpWindow class"""
1560 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1561 __repr__ = _swig_repr
1562 def __init__(self, *args, **kwargs):
1563 """
1564 __init__(self, Window parent, int ?, Point pos=DefaultPosition, Size size=DefaultSize,
1565 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1566 int helpStyle=HF_DEFAULT_STYLE,
1567 HtmlHelpData data=None) -> HtmlHelpWindow
1568 """
1569 _html.HtmlHelpWindow_swiginit(self,_html.new_HtmlHelpWindow(*args, **kwargs))
1570 self._setOORInfo(self)
1571
1572 def Create(*args, **kwargs):
1573 """
1574 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1575 int style=wxTAB_TRAVERSAL|wxNO_BORDER,
1576 int helpStyle=HF_DEFAULT_STYLE) -> bool
1577 """
1578 return _html.HtmlHelpWindow_Create(*args, **kwargs)
1579
1580 def GetData(*args, **kwargs):
1581 """GetData(self) -> HtmlHelpData"""
1582 return _html.HtmlHelpWindow_GetData(*args, **kwargs)
1583
1584 def GetController(*args, **kwargs):
1585 """GetController(self) -> HtmlHelpController"""
1586 return _html.HtmlHelpWindow_GetController(*args, **kwargs)
1587
1588 def SetController(*args, **kwargs):
1589 """SetController(self, HtmlHelpController controller)"""
1590 return _html.HtmlHelpWindow_SetController(*args, **kwargs)
1591
1592 def Display(*args, **kwargs):
1593 """Display(self, String x) -> bool"""
1594 return _html.HtmlHelpWindow_Display(*args, **kwargs)
1595
1596 def DisplayID(*args, **kwargs):
1597 """DisplayID(self, int id) -> bool"""
1598 return _html.HtmlHelpWindow_DisplayID(*args, **kwargs)
1599
1600 def DisplayContents(*args, **kwargs):
1601 """DisplayContents(self) -> bool"""
1602 return _html.HtmlHelpWindow_DisplayContents(*args, **kwargs)
1603
1604 def DisplayIndex(*args, **kwargs):
1605 """DisplayIndex(self) -> bool"""
1606 return _html.HtmlHelpWindow_DisplayIndex(*args, **kwargs)
1607
1608 def KeywordSearch(*args, **kwargs):
1609 """KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1610 return _html.HtmlHelpWindow_KeywordSearch(*args, **kwargs)
1611
1612 def UseConfig(*args, **kwargs):
1613 """UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
1614 return _html.HtmlHelpWindow_UseConfig(*args, **kwargs)
1615
1616 def ReadCustomization(*args, **kwargs):
1617 """ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1618 return _html.HtmlHelpWindow_ReadCustomization(*args, **kwargs)
1619
1620 def WriteCustomization(*args, **kwargs):
1621 """WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
1622 return _html.HtmlHelpWindow_WriteCustomization(*args, **kwargs)
1623
1624 def NotifyPageChanged(*args, **kwargs):
1625 """NotifyPageChanged(self)"""
1626 return _html.HtmlHelpWindow_NotifyPageChanged(*args, **kwargs)
1627
1628 def RefreshLists(*args, **kwargs):
1629 """RefreshLists(self)"""
1630 return _html.HtmlHelpWindow_RefreshLists(*args, **kwargs)
1631
1632 def GetHtmlWindow(*args, **kwargs):
1633 """GetHtmlWindow(self) -> wxHtmlWindow"""
1634 return _html.HtmlHelpWindow_GetHtmlWindow(*args, **kwargs)
1635
1636 def GetSplitterWindow(*args, **kwargs):
1637 """GetSplitterWindow(self) -> SplitterWindow"""
1638 return _html.HtmlHelpWindow_GetSplitterWindow(*args, **kwargs)
1639
1640 def GetToolBar(*args, **kwargs):
1641 """GetToolBar(self) -> wxToolBar"""
1642 return _html.HtmlHelpWindow_GetToolBar(*args, **kwargs)
1643
1644 def GetCfgData(*args, **kwargs):
1645 """GetCfgData(self) -> wxHtmlHelpFrameCfg"""
1646 return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
1647
1648 def GetTreeCtrl(*args, **kwargs):
1649 """GetTreeCtrl(self) -> wxPyTreeCtrl"""
1650 return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
1651
1652 CfgData = property(GetCfgData,doc="See `GetCfgData`")
1653 Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
1654 Data = property(GetData,doc="See `GetData`")
1655 HtmlWindow = property(GetHtmlWindow,doc="See `GetHtmlWindow`")
1656 SplitterWindow = property(GetSplitterWindow,doc="See `GetSplitterWindow`")
1657 ToolBar = property(GetToolBar,doc="See `GetToolBar`")
1658 TreeCtrl = property(GetTreeCtrl,doc="See `GetTreeCtrl`")
1659 _html.HtmlHelpWindow_swigregister(HtmlHelpWindow)
1660
1661 def PreHtmlHelpWindow(*args, **kwargs):
1662 """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
1663 val = _html.new_PreHtmlHelpWindow(*args, **kwargs)
1664 self._setOORInfo(self)
1665 return val
1666
1667 wxEVT_COMMAND_HTML_CELL_CLICKED = _html.wxEVT_COMMAND_HTML_CELL_CLICKED
1668 wxEVT_COMMAND_HTML_CELL_HOVER = _html.wxEVT_COMMAND_HTML_CELL_HOVER
1669 wxEVT_COMMAND_HTML_LINK_CLICKED = _html.wxEVT_COMMAND_HTML_LINK_CLICKED
1670 class HtmlCellEvent(_core.CommandEvent):
1671 """Proxy of C++ HtmlCellEvent class"""
1672 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1673 __repr__ = _swig_repr
1674 def __init__(self, *args, **kwargs):
1675 """
1676 __init__(self, EventType commandType, int id, HtmlCell cell, Point pt,
1677 MouseEvent ev) -> HtmlCellEvent
1678 """
1679 _html.HtmlCellEvent_swiginit(self,_html.new_HtmlCellEvent(*args, **kwargs))
1680 def GetCell(*args, **kwargs):
1681 """GetCell(self) -> HtmlCell"""
1682 return _html.HtmlCellEvent_GetCell(*args, **kwargs)
1683
1684 def GetPoint(*args, **kwargs):
1685 """GetPoint(self) -> Point"""
1686 return _html.HtmlCellEvent_GetPoint(*args, **kwargs)
1687
1688 def GetMouseEvent(*args, **kwargs):
1689 """GetMouseEvent(self) -> MouseEvent"""
1690 return _html.HtmlCellEvent_GetMouseEvent(*args, **kwargs)
1691
1692 def SetLinkClicked(*args, **kwargs):
1693 """SetLinkClicked(self, bool linkclicked)"""
1694 return _html.HtmlCellEvent_SetLinkClicked(*args, **kwargs)
1695
1696 def GetLinkClicked(*args, **kwargs):
1697 """GetLinkClicked(self) -> bool"""
1698 return _html.HtmlCellEvent_GetLinkClicked(*args, **kwargs)
1699
1700 _html.HtmlCellEvent_swigregister(HtmlCellEvent)
1701
1702 class HtmlLinkEvent(_core.CommandEvent):
1703 """Proxy of C++ HtmlLinkEvent class"""
1704 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1705 __repr__ = _swig_repr
1706 def __init__(self, *args, **kwargs):
1707 """__init__(self, int id, HtmlLinkInfo linkinfo) -> HtmlLinkEvent"""
1708 _html.HtmlLinkEvent_swiginit(self,_html.new_HtmlLinkEvent(*args, **kwargs))
1709 def GetLinkInfo(*args, **kwargs):
1710 """GetLinkInfo(self) -> HtmlLinkInfo"""
1711 return _html.HtmlLinkEvent_GetLinkInfo(*args, **kwargs)
1712
1713 _html.HtmlLinkEvent_swigregister(HtmlLinkEvent)
1714
1715 EVT_HTML_CELL_CLICKED = wx.PyEventBinder( wxEVT_COMMAND_HTML_CELL_CLICKED, 1 )
1716 EVT_HTML_CELL_HOVER = wx.PyEventBinder( wxEVT_COMMAND_HTML_CELL_HOVER, 1 )
1717 EVT_HTML_LINK_CLICKED = wx.PyEventBinder( wxEVT_COMMAND_HTML_LINK_CLICKED, 1 )
1718
1719 class HtmlHelpFrame(_windows.Frame):
1720 """Proxy of C++ HtmlHelpFrame class"""
1721 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1722 __repr__ = _swig_repr
1723 def __init__(self, *args, **kwargs):
1724 """
1725 __init__(self, Window parent, int ?, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
1726 HtmlHelpData data=None,
1727 ConfigBase config=None, String rootpath=EmptyString) -> HtmlHelpFrame
1728 """
1729 _html.HtmlHelpFrame_swiginit(self,_html.new_HtmlHelpFrame(*args, **kwargs))
1730 self._setOORInfo(self)
1731
1732 def Create(*args, **kwargs):
1733 """
1734 Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE,
1735 ConfigBase config=None,
1736 String rootpath=EmptyString) -> bool
1737 """
1738 return _html.HtmlHelpFrame_Create(*args, **kwargs)
1739
1740 def GetData(*args, **kwargs):
1741 """GetData(self) -> HtmlHelpData"""
1742 return _html.HtmlHelpFrame_GetData(*args, **kwargs)
1743
1744 def SetTitleFormat(*args, **kwargs):
1745 """SetTitleFormat(self, String format)"""
1746 return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
1747
1748 def AddGrabIfNeeded(*args, **kwargs):
1749 """AddGrabIfNeeded(self)"""
1750 return _html.HtmlHelpFrame_AddGrabIfNeeded(*args, **kwargs)
1751
1752 def GetController(*args, **kwargs):
1753 """GetController(self) -> HtmlHelpController"""
1754 return _html.HtmlHelpFrame_GetController(*args, **kwargs)
1755
1756 def SetController(*args, **kwargs):
1757 """SetController(self, HtmlHelpController controller)"""
1758 return _html.HtmlHelpFrame_SetController(*args, **kwargs)
1759
1760 def GetHelpWindow(*args, **kwargs):
1761 """GetHelpWindow(self) -> HtmlHelpWindow"""
1762 return _html.HtmlHelpFrame_GetHelpWindow(*args, **kwargs)
1763
1764 # For compatibility from before the refactor
1765 def Display(self, x):
1766 return self.GetHelpWindow().Display(x)
1767 def DisplayID(self, x):
1768 return self.GetHelpWindow().DisplayID(id)
1769 def DisplayContents(self):
1770 return self.GetHelpWindow().DisplayContents()
1771 def DisplayIndex(self):
1772 return self.GetHelpWindow().DisplayIndex()
1773
1774 def KeywordSearch(self, keyword):
1775 return self.GetHelpWindow().KeywordSearch(keyword)
1776
1777 def UseConfig(self, config, rootpath=""):
1778 return self.GetHelpWindow().UseConfig(config, rootpath)
1779 def ReadCustomization(self, config, rootpath=""):
1780 return self.GetHelpWindow().ReadCustomization(config, rootpath)
1781 def WriteCustomization(self, config, rootpath=""):
1782 return self.GetHelpWindow().WriteCustomization(config, rootpath)
1783
1784 Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
1785 Data = property(GetData,doc="See `GetData`")
1786 HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
1787 _html.HtmlHelpFrame_swigregister(HtmlHelpFrame)
1788
1789 def PreHtmlHelpFrame(*args, **kwargs):
1790 """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
1791 val = _html.new_PreHtmlHelpFrame(*args, **kwargs)
1792 self._setOORInfo(self)
1793 return val
1794
1795 class HtmlHelpDialog(_windows.Dialog):
1796 """Proxy of C++ HtmlHelpDialog class"""
1797 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1798 __repr__ = _swig_repr
1799 def __init__(self, *args, **kwargs):
1800 """
1801 __init__(self, Window parent, int ?, String title=EmptyString, int style=HF_DEFAULT_STYLE,
1802 HtmlHelpData data=None) -> HtmlHelpDialog
1803 """
1804 _html.HtmlHelpDialog_swiginit(self,_html.new_HtmlHelpDialog(*args, **kwargs))
1805 self._setOORInfo(self)
1806
1807 def Create(*args, **kwargs):
1808 """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
1809 return _html.HtmlHelpDialog_Create(*args, **kwargs)
1810
1811 def GetData(*args, **kwargs):
1812 """GetData(self) -> HtmlHelpData"""
1813 return _html.HtmlHelpDialog_GetData(*args, **kwargs)
1814
1815 def GetController(*args, **kwargs):
1816 """GetController(self) -> HtmlHelpController"""
1817 return _html.HtmlHelpDialog_GetController(*args, **kwargs)
1818
1819 def SetController(*args, **kwargs):
1820 """SetController(self, HtmlHelpController controller)"""
1821 return _html.HtmlHelpDialog_SetController(*args, **kwargs)
1822
1823 def GetHelpWindow(*args, **kwargs):
1824 """GetHelpWindow(self) -> HtmlHelpWindow"""
1825 return _html.HtmlHelpDialog_GetHelpWindow(*args, **kwargs)
1826
1827 def SetTitleFormat(*args, **kwargs):
1828 """SetTitleFormat(self, String format)"""
1829 return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs)
1830
1831 Controller = property(GetController,SetController,doc="See `GetController` and `SetController`")
1832 Data = property(GetData,doc="See `GetData`")
1833 HelpWindow = property(GetHelpWindow,doc="See `GetHelpWindow`")
1834 _html.HtmlHelpDialog_swigregister(HtmlHelpDialog)
1835
1836 def PreHtmlHelpDialog(*args, **kwargs):
1837 """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
1838 val = _html.new_PreHtmlHelpDialog(*args, **kwargs)
1839 self._setOORInfo(self)
1840 return val
1841
1842 class HelpControllerBase(_core.Object):
1843 """Proxy of C++ HelpControllerBase class"""
1844 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1845 def __init__(self): raise AttributeError, "No constructor defined"
1846 __repr__ = _swig_repr
1847 def Initialize(*args):
1848 """
1849 Initialize(self, String file, int server) -> bool
1850 Initialize(self, String file) -> bool
1851 """
1852 return _html.HelpControllerBase_Initialize(*args)
1853
1854 def SetViewer(*args, **kwargs):
1855 """SetViewer(self, String viewer, long flags=0)"""
1856 return _html.HelpControllerBase_SetViewer(*args, **kwargs)
1857
1858 def LoadFile(*args, **kwargs):
1859 """LoadFile(self, String file=wxEmptyString) -> bool"""
1860 return _html.HelpControllerBase_LoadFile(*args, **kwargs)
1861
1862 def DisplayContents(*args, **kwargs):
1863 """DisplayContents(self) -> bool"""
1864 return _html.HelpControllerBase_DisplayContents(*args, **kwargs)
1865
1866 def DisplayContextPopup(*args, **kwargs):
1867 """DisplayContextPopup(self, int contextId) -> bool"""
1868 return _html.HelpControllerBase_DisplayContextPopup(*args, **kwargs)
1869
1870 def DisplayTextPopup(*args, **kwargs):
1871 """DisplayTextPopup(self, String text, Point pos) -> bool"""
1872 return _html.HelpControllerBase_DisplayTextPopup(*args, **kwargs)
1873
1874 def DisplaySection(*args):
1875 """
1876 DisplaySection(self, int sectionNo) -> bool
1877 DisplaySection(self, String section) -> bool
1878 """
1879 return _html.HelpControllerBase_DisplaySection(*args)
1880
1881 def DisplayBlock(*args, **kwargs):
1882 """DisplayBlock(self, long blockNo) -> bool"""
1883 return _html.HelpControllerBase_DisplayBlock(*args, **kwargs)
1884
1885 def KeywordSearch(*args, **kwargs):
1886 """KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
1887 return _html.HelpControllerBase_KeywordSearch(*args, **kwargs)
1888
1889 def SetFrameParameters(*args, **kwargs):
1890 """
1891 SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
1892 bool newFrameEachTime=False)
1893 """
1894 return _html.HelpControllerBase_SetFrameParameters(*args, **kwargs)
1895
1896 def GetFrameParameters(*args, **kwargs):
1897 """GetFrameParameters(self, Size size=None, Point pos=None, bool newFrameEachTime=None) -> Frame"""
1898 return _html.HelpControllerBase_GetFrameParameters(*args, **kwargs)
1899
1900 def Quit(*args, **kwargs):
1901 """Quit(self) -> bool"""
1902 return _html.HelpControllerBase_Quit(*args, **kwargs)
1903
1904 def OnQuit(*args, **kwargs):
1905 """OnQuit(self)"""
1906 return _html.HelpControllerBase_OnQuit(*args, **kwargs)
1907
1908 def SetParentWindow(*args, **kwargs):
1909 """SetParentWindow(self, Window win)"""
1910 return _html.HelpControllerBase_SetParentWindow(*args, **kwargs)
1911
1912 def GetParentWindow(*args, **kwargs):
1913 """GetParentWindow(self) -> Window"""
1914 return _html.HelpControllerBase_GetParentWindow(*args, **kwargs)
1915
1916 ParentWindow = property(GetParentWindow,SetParentWindow,doc="See `GetParentWindow` and `SetParentWindow`")
1917 _html.HelpControllerBase_swigregister(HelpControllerBase)
1918
1919 class HtmlHelpController(HelpControllerBase):
1920 """Proxy of C++ HtmlHelpController class"""
1921 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1922 __repr__ = _swig_repr
1923 def __init__(self, *args, **kwargs):
1924 """__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController"""
1925 _html.HtmlHelpController_swiginit(self,_html.new_HtmlHelpController(*args, **kwargs))
1926 __swig_destroy__ = _html.delete_HtmlHelpController
1927 __del__ = lambda self : None;
1928 def GetHelpWindow(*args, **kwargs):
1929 """GetHelpWindow(self) -> HtmlHelpWindow"""
1930 return _html.HtmlHelpController_GetHelpWindow(*args, **kwargs)
1931
1932 def SetHelpWindow(*args, **kwargs):
1933 """SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
1934 return _html.HtmlHelpController_SetHelpWindow(*args, **kwargs)
1935
1936 def GetFrame(*args, **kwargs):
1937 """GetFrame(self) -> HtmlHelpFrame"""
1938 return _html.HtmlHelpController_GetFrame(*args, **kwargs)
1939
1940 def GetDialog(*args, **kwargs):
1941 """GetDialog(self) -> HtmlHelpDialog"""
1942 return _html.HtmlHelpController_GetDialog(*args, **kwargs)
1943
1944 def SetTitleFormat(*args, **kwargs):
1945 """SetTitleFormat(self, String format)"""
1946 return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs)
1947
1948 def SetTempDir(*args, **kwargs):
1949 """SetTempDir(self, String path)"""
1950 return _html.HtmlHelpController_SetTempDir(*args, **kwargs)
1951
1952 def AddBook(*args, **kwargs):
1953 """AddBook(self, String book, int show_wait_msg=False) -> bool"""
1954 return _html.HtmlHelpController_AddBook(*args, **kwargs)
1955
1956 def Display(*args, **kwargs):
1957 """Display(self, String x)"""
1958 return _html.HtmlHelpController_Display(*args, **kwargs)
1959
1960 def DisplayID(*args, **kwargs):
1961 """DisplayID(self, int id)"""
1962 return _html.HtmlHelpController_DisplayID(*args, **kwargs)
1963
1964 def DisplayContents(*args, **kwargs):
1965 """DisplayContents(self)"""
1966 return _html.HtmlHelpController_DisplayContents(*args, **kwargs)
1967
1968 def DisplayIndex(*args, **kwargs):
1969 """DisplayIndex(self)"""
1970 return _html.HtmlHelpController_DisplayIndex(*args, **kwargs)
1971
1972 def KeywordSearch(*args, **kwargs):
1973 """KeywordSearch(self, String keyword) -> bool"""
1974 return _html.HtmlHelpController_KeywordSearch(*args, **kwargs)
1975
1976 def UseConfig(*args, **kwargs):
1977 """UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
1978 return _html.HtmlHelpController_UseConfig(*args, **kwargs)
1979
1980 def ReadCustomization(*args, **kwargs):
1981 """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1982 return _html.HtmlHelpController_ReadCustomization(*args, **kwargs)
1983
1984 def WriteCustomization(*args, **kwargs):
1985 """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
1986 return _html.HtmlHelpController_WriteCustomization(*args, **kwargs)
1987
1988 def MakeModalIfNeeded(*args, **kwargs):
1989 """MakeModalIfNeeded(self)"""
1990 return _html.HtmlHelpController_MakeModalIfNeeded(*args, **kwargs)
1991
1992 def FindTopLevelWindow(*args, **kwargs):
1993 """FindTopLevelWindow(self) -> Window"""
1994 return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs)
1995
1996 Dialog = property(GetDialog,doc="See `GetDialog`")
1997 Frame = property(GetFrame,doc="See `GetFrame`")
1998 HelpWindow = property(GetHelpWindow,SetHelpWindow,doc="See `GetHelpWindow` and `SetHelpWindow`")
1999 _html.HtmlHelpController_swigregister(HtmlHelpController)
2000
2001 class HtmlModalHelp(object):
2002 """Proxy of C++ HtmlModalHelp class"""
2003 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2004 __repr__ = _swig_repr
2005 def __init__(self, *args, **kwargs):
2006 """
2007 __init__(self, Window parent, String helpFile, String topic=wxEmptyString,
2008 int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
2009 """
2010 _html.HtmlModalHelp_swiginit(self,_html.new_HtmlModalHelp(*args, **kwargs))
2011 _html.HtmlModalHelp_swigregister(HtmlModalHelp)
2012
2013
2014