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