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