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