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