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