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