]>
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 | |
30 | HW_SCROLLBAR_NEVER = _html.HW_SCROLLBAR_NEVER | |
31 | HW_SCROLLBAR_AUTO = _html.HW_SCROLLBAR_AUTO | |
32 | HW_NO_SELECTION = _html.HW_NO_SELECTION | |
33 | HW_DEFAULT_STYLE = _html.HW_DEFAULT_STYLE | |
34 | HTML_OPEN = _html.HTML_OPEN | |
35 | HTML_BLOCK = _html.HTML_BLOCK | |
36 | HTML_REDIRECT = _html.HTML_REDIRECT | |
37 | HTML_URL_PAGE = _html.HTML_URL_PAGE | |
38 | HTML_URL_IMAGE = _html.HTML_URL_IMAGE | |
39 | HTML_URL_OTHER = _html.HTML_URL_OTHER | |
40 | class HtmlLinkInfo(core.Object): | |
41 | def __init__(self, *args, **kwargs): | |
42 | newobj = _html.new_HtmlLinkInfo(*args, **kwargs) | |
43 | self.this = newobj.this | |
44 | self.thisown = 1 | |
45 | del newobj.thisown | |
46 | def GetHref(*args, **kwargs): return _html.HtmlLinkInfo_GetHref(*args, **kwargs) | |
47 | def GetTarget(*args, **kwargs): return _html.HtmlLinkInfo_GetTarget(*args, **kwargs) | |
48 | def GetEvent(*args, **kwargs): return _html.HtmlLinkInfo_GetEvent(*args, **kwargs) | |
49 | def GetHtmlCell(*args, **kwargs): return _html.HtmlLinkInfo_GetHtmlCell(*args, **kwargs) | |
50 | def SetEvent(*args, **kwargs): return _html.HtmlLinkInfo_SetEvent(*args, **kwargs) | |
51 | def SetHtmlCell(*args, **kwargs): return _html.HtmlLinkInfo_SetHtmlCell(*args, **kwargs) | |
52 | def __repr__(self): | |
53 | return "<%s.%s; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
c368d904 | 54 | |
d14a1e28 RD |
55 | class HtmlLinkInfoPtr(HtmlLinkInfo): |
56 | def __init__(self, this): | |
9c00cfa3 | 57 | self.this = this |
d14a1e28 RD |
58 | if not hasattr(self,"thisown"): self.thisown = 0 |
59 | self.__class__ = HtmlLinkInfo | |
60 | _html.HtmlLinkInfo_swigregister(HtmlLinkInfoPtr) | |
61 | ||
62 | class HtmlTag(core.Object): | |
63 | def GetName(*args, **kwargs): return _html.HtmlTag_GetName(*args, **kwargs) | |
64 | def HasParam(*args, **kwargs): return _html.HtmlTag_HasParam(*args, **kwargs) | |
65 | def GetParam(*args, **kwargs): return _html.HtmlTag_GetParam(*args, **kwargs) | |
66 | def GetAllParams(*args, **kwargs): return _html.HtmlTag_GetAllParams(*args, **kwargs) | |
67 | def HasEnding(*args, **kwargs): return _html.HtmlTag_HasEnding(*args, **kwargs) | |
68 | def GetBeginPos(*args, **kwargs): return _html.HtmlTag_GetBeginPos(*args, **kwargs) | |
69 | def GetEndPos1(*args, **kwargs): return _html.HtmlTag_GetEndPos1(*args, **kwargs) | |
70 | def GetEndPos2(*args, **kwargs): return _html.HtmlTag_GetEndPos2(*args, **kwargs) | |
71 | def __init__(self): raise RuntimeError, "No constructor defined" | |
9c00cfa3 | 72 | def __repr__(self): |
d14a1e28 | 73 | return "<%s.%s; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
9c00cfa3 | 74 | |
d14a1e28 RD |
75 | class HtmlTagPtr(HtmlTag): |
76 | def __init__(self, this): | |
0f66a9f3 | 77 | self.this = this |
d14a1e28 RD |
78 | if not hasattr(self,"thisown"): self.thisown = 0 |
79 | self.__class__ = HtmlTag | |
80 | _html.HtmlTag_swigregister(HtmlTagPtr) | |
81 | ||
82 | class HtmlParser(core.Object): | |
83 | def SetFS(*args, **kwargs): return _html.HtmlParser_SetFS(*args, **kwargs) | |
84 | def GetFS(*args, **kwargs): return _html.HtmlParser_GetFS(*args, **kwargs) | |
85 | def Parse(*args, **kwargs): return _html.HtmlParser_Parse(*args, **kwargs) | |
86 | def InitParser(*args, **kwargs): return _html.HtmlParser_InitParser(*args, **kwargs) | |
87 | def DoneParser(*args, **kwargs): return _html.HtmlParser_DoneParser(*args, **kwargs) | |
88 | def DoParsing(*args, **kwargs): return _html.HtmlParser_DoParsing(*args, **kwargs) | |
89 | def StopParsing(*args, **kwargs): return _html.HtmlParser_StopParsing(*args, **kwargs) | |
90 | def AddTagHandler(*args, **kwargs): return _html.HtmlParser_AddTagHandler(*args, **kwargs) | |
91 | def GetSource(*args, **kwargs): return _html.HtmlParser_GetSource(*args, **kwargs) | |
92 | def PushTagHandler(*args, **kwargs): return _html.HtmlParser_PushTagHandler(*args, **kwargs) | |
93 | def PopTagHandler(*args, **kwargs): return _html.HtmlParser_PopTagHandler(*args, **kwargs) | |
94 | def __init__(self): raise RuntimeError, "No constructor defined" | |
0f66a9f3 | 95 | def __repr__(self): |
d14a1e28 | 96 | return "<%s.%s; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
0f66a9f3 | 97 | |
d14a1e28 RD |
98 | class HtmlParserPtr(HtmlParser): |
99 | def __init__(self, this): | |
100 | self.this = this | |
101 | if not hasattr(self,"thisown"): self.thisown = 0 | |
102 | self.__class__ = HtmlParser | |
103 | _html.HtmlParser_swigregister(HtmlParserPtr) | |
104 | ||
105 | class HtmlWinParser(HtmlParser): | |
106 | def __init__(self, *args, **kwargs): | |
107 | newobj = _html.new_HtmlWinParser(*args, **kwargs) | |
108 | self.this = newobj.this | |
109 | self.thisown = 1 | |
110 | del newobj.thisown | |
111 | def SetDC(*args, **kwargs): return _html.HtmlWinParser_SetDC(*args, **kwargs) | |
112 | def GetDC(*args, **kwargs): return _html.HtmlWinParser_GetDC(*args, **kwargs) | |
113 | def GetCharHeight(*args, **kwargs): return _html.HtmlWinParser_GetCharHeight(*args, **kwargs) | |
114 | def GetCharWidth(*args, **kwargs): return _html.HtmlWinParser_GetCharWidth(*args, **kwargs) | |
115 | def GetWindow(*args, **kwargs): return _html.HtmlWinParser_GetWindow(*args, **kwargs) | |
116 | def SetFonts(*args, **kwargs): return _html.HtmlWinParser_SetFonts(*args, **kwargs) | |
117 | def GetContainer(*args, **kwargs): return _html.HtmlWinParser_GetContainer(*args, **kwargs) | |
118 | def OpenContainer(*args, **kwargs): return _html.HtmlWinParser_OpenContainer(*args, **kwargs) | |
119 | def SetContainer(*args, **kwargs): return _html.HtmlWinParser_SetContainer(*args, **kwargs) | |
120 | def CloseContainer(*args, **kwargs): return _html.HtmlWinParser_CloseContainer(*args, **kwargs) | |
121 | def GetFontSize(*args, **kwargs): return _html.HtmlWinParser_GetFontSize(*args, **kwargs) | |
122 | def SetFontSize(*args, **kwargs): return _html.HtmlWinParser_SetFontSize(*args, **kwargs) | |
123 | def GetFontBold(*args, **kwargs): return _html.HtmlWinParser_GetFontBold(*args, **kwargs) | |
124 | def SetFontBold(*args, **kwargs): return _html.HtmlWinParser_SetFontBold(*args, **kwargs) | |
125 | def GetFontItalic(*args, **kwargs): return _html.HtmlWinParser_GetFontItalic(*args, **kwargs) | |
126 | def SetFontItalic(*args, **kwargs): return _html.HtmlWinParser_SetFontItalic(*args, **kwargs) | |
127 | def GetFontUnderlined(*args, **kwargs): return _html.HtmlWinParser_GetFontUnderlined(*args, **kwargs) | |
128 | def SetFontUnderlined(*args, **kwargs): return _html.HtmlWinParser_SetFontUnderlined(*args, **kwargs) | |
129 | def GetFontFixed(*args, **kwargs): return _html.HtmlWinParser_GetFontFixed(*args, **kwargs) | |
130 | def SetFontFixed(*args, **kwargs): return _html.HtmlWinParser_SetFontFixed(*args, **kwargs) | |
131 | def GetAlign(*args, **kwargs): return _html.HtmlWinParser_GetAlign(*args, **kwargs) | |
132 | def SetAlign(*args, **kwargs): return _html.HtmlWinParser_SetAlign(*args, **kwargs) | |
133 | def GetLinkColor(*args, **kwargs): return _html.HtmlWinParser_GetLinkColor(*args, **kwargs) | |
134 | def SetLinkColor(*args, **kwargs): return _html.HtmlWinParser_SetLinkColor(*args, **kwargs) | |
135 | def GetActualColor(*args, **kwargs): return _html.HtmlWinParser_GetActualColor(*args, **kwargs) | |
136 | def SetActualColor(*args, **kwargs): return _html.HtmlWinParser_SetActualColor(*args, **kwargs) | |
137 | def SetLink(*args, **kwargs): return _html.HtmlWinParser_SetLink(*args, **kwargs) | |
138 | def CreateCurrentFont(*args, **kwargs): return _html.HtmlWinParser_CreateCurrentFont(*args, **kwargs) | |
139 | def GetLink(*args, **kwargs): return _html.HtmlWinParser_GetLink(*args, **kwargs) | |
140 | def __repr__(self): | |
141 | return "<%s.%s; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
0f66a9f3 | 142 | |
d14a1e28 RD |
143 | class HtmlWinParserPtr(HtmlWinParser): |
144 | def __init__(self, this): | |
145 | self.this = this | |
146 | if not hasattr(self,"thisown"): self.thisown = 0 | |
147 | self.__class__ = HtmlWinParser | |
148 | _html.HtmlWinParser_swigregister(HtmlWinParserPtr) | |
149 | ||
150 | class HtmlTagHandler(core.Object): | |
151 | def __init__(self, *args, **kwargs): | |
152 | newobj = _html.new_HtmlTagHandler(*args, **kwargs) | |
153 | self.this = newobj.this | |
154 | self.thisown = 1 | |
155 | del newobj.thisown | |
156 | self._setCallbackInfo(self, HtmlTagHandler) | |
157 | def _setCallbackInfo(*args, **kwargs): return _html.HtmlTagHandler__setCallbackInfo(*args, **kwargs) | |
158 | def SetParser(*args, **kwargs): return _html.HtmlTagHandler_SetParser(*args, **kwargs) | |
159 | def GetParser(*args, **kwargs): return _html.HtmlTagHandler_GetParser(*args, **kwargs) | |
160 | def ParseInner(*args, **kwargs): return _html.HtmlTagHandler_ParseInner(*args, **kwargs) | |
161 | def __repr__(self): | |
162 | return "<%s.%s; proxy of C++ wxPyHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
0f66a9f3 | 163 | |
d14a1e28 RD |
164 | class HtmlTagHandlerPtr(HtmlTagHandler): |
165 | def __init__(self, this): | |
0f66a9f3 | 166 | self.this = this |
d14a1e28 RD |
167 | if not hasattr(self,"thisown"): self.thisown = 0 |
168 | self.__class__ = HtmlTagHandler | |
169 | _html.HtmlTagHandler_swigregister(HtmlTagHandlerPtr) | |
170 | ||
171 | class HtmlWinTagHandler(HtmlTagHandler): | |
172 | def __init__(self, *args, **kwargs): | |
173 | newobj = _html.new_HtmlWinTagHandler(*args, **kwargs) | |
174 | self.this = newobj.this | |
175 | self.thisown = 1 | |
176 | del newobj.thisown | |
177 | self._setCallbackInfo(self, HtmlWinTagHandler) | |
178 | def _setCallbackInfo(*args, **kwargs): return _html.HtmlWinTagHandler__setCallbackInfo(*args, **kwargs) | |
179 | def SetParser(*args, **kwargs): return _html.HtmlWinTagHandler_SetParser(*args, **kwargs) | |
180 | def GetParser(*args, **kwargs): return _html.HtmlWinTagHandler_GetParser(*args, **kwargs) | |
181 | def ParseInner(*args, **kwargs): return _html.HtmlWinTagHandler_ParseInner(*args, **kwargs) | |
0f66a9f3 | 182 | def __repr__(self): |
d14a1e28 RD |
183 | return "<%s.%s; proxy of C++ wxPyHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
184 | ||
185 | class HtmlWinTagHandlerPtr(HtmlWinTagHandler): | |
186 | def __init__(self, this): | |
0f66a9f3 | 187 | self.this = this |
d14a1e28 RD |
188 | if not hasattr(self,"thisown"): self.thisown = 0 |
189 | self.__class__ = HtmlWinTagHandler | |
190 | _html.HtmlWinTagHandler_swigregister(HtmlWinTagHandlerPtr) | |
0f66a9f3 RD |
191 | |
192 | ||
d14a1e28 RD |
193 | HtmlWinParser_AddTagHandler = _html.HtmlWinParser_AddTagHandler |
194 | #--------------------------------------------------------------------------- | |
0f66a9f3 | 195 | |
d14a1e28 RD |
196 | class HtmlSelection(object): |
197 | def __init__(self, *args, **kwargs): | |
198 | newobj = _html.new_HtmlSelection(*args, **kwargs) | |
199 | self.this = newobj.this | |
200 | self.thisown = 1 | |
201 | del newobj.thisown | |
202 | def __del__(self, destroy=_html.delete_HtmlSelection): | |
203 | try: | |
204 | if self.thisown: destroy(self) | |
205 | except: pass | |
206 | def Set(*args, **kwargs): return _html.HtmlSelection_Set(*args, **kwargs) | |
207 | def SetCells(*args, **kwargs): return _html.HtmlSelection_SetCells(*args, **kwargs) | |
208 | def GetFromCell(*args, **kwargs): return _html.HtmlSelection_GetFromCell(*args, **kwargs) | |
209 | def GetToCell(*args, **kwargs): return _html.HtmlSelection_GetToCell(*args, **kwargs) | |
210 | def GetFromPos(*args, **kwargs): return _html.HtmlSelection_GetFromPos(*args, **kwargs) | |
211 | def GetToPos(*args, **kwargs): return _html.HtmlSelection_GetToPos(*args, **kwargs) | |
212 | def GetFromPrivPos(*args, **kwargs): return _html.HtmlSelection_GetFromPrivPos(*args, **kwargs) | |
213 | def GetToPrivPos(*args, **kwargs): return _html.HtmlSelection_GetToPrivPos(*args, **kwargs) | |
214 | def SetFromPrivPos(*args, **kwargs): return _html.HtmlSelection_SetFromPrivPos(*args, **kwargs) | |
215 | def SetToPrivPos(*args, **kwargs): return _html.HtmlSelection_SetToPrivPos(*args, **kwargs) | |
216 | def ClearPrivPos(*args, **kwargs): return _html.HtmlSelection_ClearPrivPos(*args, **kwargs) | |
217 | def IsEmpty(*args, **kwargs): return _html.HtmlSelection_IsEmpty(*args, **kwargs) | |
218 | def __repr__(self): | |
219 | return "<%s.%s; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
0f66a9f3 | 220 | |
d14a1e28 RD |
221 | class HtmlSelectionPtr(HtmlSelection): |
222 | def __init__(self, this): | |
0f66a9f3 | 223 | self.this = this |
d14a1e28 RD |
224 | if not hasattr(self,"thisown"): self.thisown = 0 |
225 | self.__class__ = HtmlSelection | |
226 | _html.HtmlSelection_swigregister(HtmlSelectionPtr) | |
227 | ||
228 | HTML_SEL_OUT = _html.HTML_SEL_OUT | |
229 | HTML_SEL_IN = _html.HTML_SEL_IN | |
230 | HTML_SEL_CHANGING = _html.HTML_SEL_CHANGING | |
231 | class HtmlRenderingState(object): | |
232 | def __init__(self, *args, **kwargs): | |
233 | newobj = _html.new_HtmlRenderingState(*args, **kwargs) | |
234 | self.this = newobj.this | |
0f66a9f3 | 235 | self.thisown = 1 |
d14a1e28 RD |
236 | del newobj.thisown |
237 | def __del__(self, destroy=_html.delete_HtmlRenderingState): | |
238 | try: | |
239 | if self.thisown: destroy(self) | |
240 | except: pass | |
241 | def SetSelectionState(*args, **kwargs): return _html.HtmlRenderingState_SetSelectionState(*args, **kwargs) | |
242 | def GetSelectionState(*args, **kwargs): return _html.HtmlRenderingState_GetSelectionState(*args, **kwargs) | |
243 | def SetFgColour(*args, **kwargs): return _html.HtmlRenderingState_SetFgColour(*args, **kwargs) | |
244 | def GetFgColour(*args, **kwargs): return _html.HtmlRenderingState_GetFgColour(*args, **kwargs) | |
245 | def SetBgColour(*args, **kwargs): return _html.HtmlRenderingState_SetBgColour(*args, **kwargs) | |
246 | def GetBgColour(*args, **kwargs): return _html.HtmlRenderingState_GetBgColour(*args, **kwargs) | |
247 | def __repr__(self): | |
248 | return "<%s.%s; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
0f66a9f3 | 249 | |
d14a1e28 RD |
250 | class HtmlRenderingStatePtr(HtmlRenderingState): |
251 | def __init__(self, this): | |
0f66a9f3 | 252 | self.this = this |
d14a1e28 RD |
253 | if not hasattr(self,"thisown"): self.thisown = 0 |
254 | self.__class__ = HtmlRenderingState | |
255 | _html.HtmlRenderingState_swigregister(HtmlRenderingStatePtr) | |
256 | ||
257 | class HtmlRenderingStyle(object): | |
258 | def GetSelectedTextColour(*args, **kwargs): return _html.HtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) | |
259 | def GetSelectedTextBgColour(*args, **kwargs): return _html.HtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) | |
260 | def __init__(self): raise RuntimeError, "No constructor defined" | |
0f66a9f3 | 261 | def __repr__(self): |
d14a1e28 | 262 | return "<%s.%s; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
0f66a9f3 | 263 | |
d14a1e28 RD |
264 | class HtmlRenderingStylePtr(HtmlRenderingStyle): |
265 | def __init__(self, this): | |
0f66a9f3 | 266 | self.this = this |
d14a1e28 RD |
267 | if not hasattr(self,"thisown"): self.thisown = 0 |
268 | self.__class__ = HtmlRenderingStyle | |
269 | _html.HtmlRenderingStyle_swigregister(HtmlRenderingStylePtr) | |
270 | ||
271 | class DefaultHtmlRenderingStyle(HtmlRenderingStyle): | |
272 | def GetSelectedTextColour(*args, **kwargs): return _html.DefaultHtmlRenderingStyle_GetSelectedTextColour(*args, **kwargs) | |
273 | def GetSelectedTextBgColour(*args, **kwargs): return _html.DefaultHtmlRenderingStyle_GetSelectedTextBgColour(*args, **kwargs) | |
274 | def __init__(self): raise RuntimeError, "No constructor defined" | |
0f66a9f3 | 275 | def __repr__(self): |
d14a1e28 | 276 | return "<%s.%s; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
0f66a9f3 | 277 | |
d14a1e28 RD |
278 | class DefaultHtmlRenderingStylePtr(DefaultHtmlRenderingStyle): |
279 | def __init__(self, this): | |
dd116e73 | 280 | self.this = this |
d14a1e28 RD |
281 | if not hasattr(self,"thisown"): self.thisown = 0 |
282 | self.__class__ = DefaultHtmlRenderingStyle | |
283 | _html.DefaultHtmlRenderingStyle_swigregister(DefaultHtmlRenderingStylePtr) | |
284 | ||
285 | class HtmlRenderingInfo(object): | |
286 | def __init__(self, *args, **kwargs): | |
287 | newobj = _html.new_HtmlRenderingInfo(*args, **kwargs) | |
288 | self.this = newobj.this | |
dd116e73 | 289 | self.thisown = 1 |
d14a1e28 RD |
290 | del newobj.thisown |
291 | def __del__(self, destroy=_html.delete_HtmlRenderingInfo): | |
292 | try: | |
293 | if self.thisown: destroy(self) | |
294 | except: pass | |
295 | def SetSelection(*args, **kwargs): return _html.HtmlRenderingInfo_SetSelection(*args, **kwargs) | |
296 | def GetSelection(*args, **kwargs): return _html.HtmlRenderingInfo_GetSelection(*args, **kwargs) | |
297 | def SetStyle(*args, **kwargs): return _html.HtmlRenderingInfo_SetStyle(*args, **kwargs) | |
298 | def GetStyle(*args, **kwargs): return _html.HtmlRenderingInfo_GetStyle(*args, **kwargs) | |
299 | def GetState(*args, **kwargs): return _html.HtmlRenderingInfo_GetState(*args, **kwargs) | |
300 | def __repr__(self): | |
301 | return "<%s.%s; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
dd116e73 | 302 | |
d14a1e28 RD |
303 | class HtmlRenderingInfoPtr(HtmlRenderingInfo): |
304 | def __init__(self, this): | |
dd116e73 | 305 | self.this = this |
d14a1e28 RD |
306 | if not hasattr(self,"thisown"): self.thisown = 0 |
307 | self.__class__ = HtmlRenderingInfo | |
308 | _html.HtmlRenderingInfo_swigregister(HtmlRenderingInfoPtr) | |
309 | ||
310 | #--------------------------------------------------------------------------- | |
311 | ||
312 | HTML_FIND_EXACT = _html.HTML_FIND_EXACT | |
313 | HTML_FIND_NEAREST_BEFORE = _html.HTML_FIND_NEAREST_BEFORE | |
314 | HTML_FIND_NEAREST_AFTER = _html.HTML_FIND_NEAREST_AFTER | |
315 | class HtmlCell(core.Object): | |
316 | def __init__(self, *args, **kwargs): | |
317 | newobj = _html.new_HtmlCell(*args, **kwargs) | |
318 | self.this = newobj.this | |
dd116e73 | 319 | self.thisown = 1 |
d14a1e28 RD |
320 | del newobj.thisown |
321 | def GetPosX(*args, **kwargs): return _html.HtmlCell_GetPosX(*args, **kwargs) | |
322 | def GetPosY(*args, **kwargs): return _html.HtmlCell_GetPosY(*args, **kwargs) | |
323 | def GetWidth(*args, **kwargs): return _html.HtmlCell_GetWidth(*args, **kwargs) | |
324 | def GetHeight(*args, **kwargs): return _html.HtmlCell_GetHeight(*args, **kwargs) | |
325 | def GetDescent(*args, **kwargs): return _html.HtmlCell_GetDescent(*args, **kwargs) | |
326 | def GetLink(*args, **kwargs): return _html.HtmlCell_GetLink(*args, **kwargs) | |
327 | def GetNext(*args, **kwargs): return _html.HtmlCell_GetNext(*args, **kwargs) | |
328 | def GetParent(*args, **kwargs): return _html.HtmlCell_GetParent(*args, **kwargs) | |
329 | def GetFirstChild(*args, **kwargs): return _html.HtmlCell_GetFirstChild(*args, **kwargs) | |
330 | def GetCursor(*args, **kwargs): return _html.HtmlCell_GetCursor(*args, **kwargs) | |
331 | def IsFormattingCell(*args, **kwargs): return _html.HtmlCell_IsFormattingCell(*args, **kwargs) | |
332 | def SetLink(*args, **kwargs): return _html.HtmlCell_SetLink(*args, **kwargs) | |
333 | def SetNext(*args, **kwargs): return _html.HtmlCell_SetNext(*args, **kwargs) | |
334 | def SetParent(*args, **kwargs): return _html.HtmlCell_SetParent(*args, **kwargs) | |
335 | def SetPos(*args, **kwargs): return _html.HtmlCell_SetPos(*args, **kwargs) | |
336 | def Layout(*args, **kwargs): return _html.HtmlCell_Layout(*args, **kwargs) | |
337 | def Draw(*args, **kwargs): return _html.HtmlCell_Draw(*args, **kwargs) | |
338 | def DrawInvisible(*args, **kwargs): return _html.HtmlCell_DrawInvisible(*args, **kwargs) | |
339 | def Find(*args, **kwargs): return _html.HtmlCell_Find(*args, **kwargs) | |
340 | def AdjustPagebreak(*args, **kwargs): return _html.HtmlCell_AdjustPagebreak(*args, **kwargs) | |
341 | def SetCanLiveOnPagebreak(*args, **kwargs): return _html.HtmlCell_SetCanLiveOnPagebreak(*args, **kwargs) | |
342 | def IsLinebreakAllowed(*args, **kwargs): return _html.HtmlCell_IsLinebreakAllowed(*args, **kwargs) | |
343 | def IsTerminalCell(*args, **kwargs): return _html.HtmlCell_IsTerminalCell(*args, **kwargs) | |
344 | def FindCellByPos(*args, **kwargs): return _html.HtmlCell_FindCellByPos(*args, **kwargs) | |
345 | def GetAbsPos(*args, **kwargs): return _html.HtmlCell_GetAbsPos(*args, **kwargs) | |
346 | def GetFirstTerminal(*args, **kwargs): return _html.HtmlCell_GetFirstTerminal(*args, **kwargs) | |
347 | def GetLastTerminal(*args, **kwargs): return _html.HtmlCell_GetLastTerminal(*args, **kwargs) | |
348 | def GetDepth(*args, **kwargs): return _html.HtmlCell_GetDepth(*args, **kwargs) | |
349 | def IsBefore(*args, **kwargs): return _html.HtmlCell_IsBefore(*args, **kwargs) | |
350 | def ConvertToText(*args, **kwargs): return _html.HtmlCell_ConvertToText(*args, **kwargs) | |
351 | def __repr__(self): | |
352 | return "<%s.%s; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
dd116e73 | 353 | |
d14a1e28 RD |
354 | class HtmlCellPtr(HtmlCell): |
355 | def __init__(self, this): | |
dd116e73 | 356 | self.this = this |
d14a1e28 RD |
357 | if not hasattr(self,"thisown"): self.thisown = 0 |
358 | self.__class__ = HtmlCell | |
359 | _html.HtmlCell_swigregister(HtmlCellPtr) | |
360 | ||
361 | class HtmlWordCell(HtmlCell): | |
362 | def __init__(self, *args, **kwargs): | |
363 | newobj = _html.new_HtmlWordCell(*args, **kwargs) | |
364 | self.this = newobj.this | |
365 | self.thisown = 1 | |
366 | del newobj.thisown | |
dd116e73 | 367 | def __repr__(self): |
d14a1e28 | 368 | return "<%s.%s; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
dd116e73 | 369 | |
d14a1e28 RD |
370 | class HtmlWordCellPtr(HtmlWordCell): |
371 | def __init__(self, this): | |
dd116e73 | 372 | self.this = this |
d14a1e28 RD |
373 | if not hasattr(self,"thisown"): self.thisown = 0 |
374 | self.__class__ = HtmlWordCell | |
375 | _html.HtmlWordCell_swigregister(HtmlWordCellPtr) | |
376 | ||
377 | class HtmlContainerCell(HtmlCell): | |
378 | def __init__(self, *args, **kwargs): | |
379 | newobj = _html.new_HtmlContainerCell(*args, **kwargs) | |
380 | self.this = newobj.this | |
381 | self.thisown = 1 | |
382 | del newobj.thisown | |
383 | def InsertCell(*args, **kwargs): return _html.HtmlContainerCell_InsertCell(*args, **kwargs) | |
384 | def SetAlignHor(*args, **kwargs): return _html.HtmlContainerCell_SetAlignHor(*args, **kwargs) | |
385 | def GetAlignHor(*args, **kwargs): return _html.HtmlContainerCell_GetAlignHor(*args, **kwargs) | |
386 | def SetAlignVer(*args, **kwargs): return _html.HtmlContainerCell_SetAlignVer(*args, **kwargs) | |
387 | def GetAlignVer(*args, **kwargs): return _html.HtmlContainerCell_GetAlignVer(*args, **kwargs) | |
388 | def SetIndent(*args, **kwargs): return _html.HtmlContainerCell_SetIndent(*args, **kwargs) | |
389 | def GetIndent(*args, **kwargs): return _html.HtmlContainerCell_GetIndent(*args, **kwargs) | |
390 | def GetIndentUnits(*args, **kwargs): return _html.HtmlContainerCell_GetIndentUnits(*args, **kwargs) | |
391 | def SetAlign(*args, **kwargs): return _html.HtmlContainerCell_SetAlign(*args, **kwargs) | |
392 | def SetWidthFloat(*args, **kwargs): return _html.HtmlContainerCell_SetWidthFloat(*args, **kwargs) | |
393 | def SetWidthFloatFromTag(*args, **kwargs): return _html.HtmlContainerCell_SetWidthFloatFromTag(*args, **kwargs) | |
394 | def SetMinHeight(*args, **kwargs): return _html.HtmlContainerCell_SetMinHeight(*args, **kwargs) | |
395 | def SetBackgroundColour(*args, **kwargs): return _html.HtmlContainerCell_SetBackgroundColour(*args, **kwargs) | |
396 | def GetBackgroundColour(*args, **kwargs): return _html.HtmlContainerCell_GetBackgroundColour(*args, **kwargs) | |
397 | def SetBorder(*args, **kwargs): return _html.HtmlContainerCell_SetBorder(*args, **kwargs) | |
398 | def GetFirstChild(*args, **kwargs): return _html.HtmlContainerCell_GetFirstChild(*args, **kwargs) | |
dd116e73 | 399 | def __repr__(self): |
d14a1e28 | 400 | return "<%s.%s; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
dd116e73 | 401 | |
d14a1e28 RD |
402 | class HtmlContainerCellPtr(HtmlContainerCell): |
403 | def __init__(self, this): | |
dd116e73 | 404 | self.this = this |
d14a1e28 RD |
405 | if not hasattr(self,"thisown"): self.thisown = 0 |
406 | self.__class__ = HtmlContainerCell | |
407 | _html.HtmlContainerCell_swigregister(HtmlContainerCellPtr) | |
408 | ||
409 | class HtmlColourCell(HtmlCell): | |
410 | def __init__(self, *args, **kwargs): | |
411 | newobj = _html.new_HtmlColourCell(*args, **kwargs) | |
412 | self.this = newobj.this | |
dd116e73 | 413 | self.thisown = 1 |
d14a1e28 RD |
414 | del newobj.thisown |
415 | def __repr__(self): | |
416 | return "<%s.%s; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
dd116e73 | 417 | |
d14a1e28 RD |
418 | class HtmlColourCellPtr(HtmlColourCell): |
419 | def __init__(self, this): | |
e166644c | 420 | self.this = this |
d14a1e28 RD |
421 | if not hasattr(self,"thisown"): self.thisown = 0 |
422 | self.__class__ = HtmlColourCell | |
423 | _html.HtmlColourCell_swigregister(HtmlColourCellPtr) | |
424 | ||
425 | class HtmlFontCell(HtmlCell): | |
426 | def __init__(self, *args, **kwargs): | |
427 | newobj = _html.new_HtmlFontCell(*args, **kwargs) | |
428 | self.this = newobj.this | |
e166644c | 429 | self.thisown = 1 |
d14a1e28 RD |
430 | del newobj.thisown |
431 | def __repr__(self): | |
432 | return "<%s.%s; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e166644c | 433 | |
d14a1e28 RD |
434 | class HtmlFontCellPtr(HtmlFontCell): |
435 | def __init__(self, this): | |
9df61a29 | 436 | self.this = this |
d14a1e28 RD |
437 | if not hasattr(self,"thisown"): self.thisown = 0 |
438 | self.__class__ = HtmlFontCell | |
439 | _html.HtmlFontCell_swigregister(HtmlFontCellPtr) | |
440 | ||
441 | class HtmlWidgetCell(HtmlCell): | |
442 | def __init__(self, *args, **kwargs): | |
443 | newobj = _html.new_HtmlWidgetCell(*args, **kwargs) | |
444 | self.this = newobj.this | |
9df61a29 | 445 | self.thisown = 1 |
d14a1e28 RD |
446 | del newobj.thisown |
447 | def __repr__(self): | |
448 | return "<%s.%s; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
9df61a29 | 449 | |
d14a1e28 RD |
450 | class HtmlWidgetCellPtr(HtmlWidgetCell): |
451 | def __init__(self, this): | |
452 | self.this = this | |
453 | if not hasattr(self,"thisown"): self.thisown = 0 | |
454 | self.__class__ = HtmlWidgetCell | |
455 | _html.HtmlWidgetCell_swigregister(HtmlWidgetCellPtr) | |
9df61a29 | 456 | |
d14a1e28 | 457 | #--------------------------------------------------------------------------- |
9df61a29 | 458 | |
d14a1e28 RD |
459 | class HtmlFilter(core.Object): |
460 | def __init__(self, *args, **kwargs): | |
461 | newobj = _html.new_HtmlFilter(*args, **kwargs) | |
462 | self.this = newobj.this | |
e166644c | 463 | self.thisown = 1 |
d14a1e28 RD |
464 | del newobj.thisown |
465 | self._setCallbackInfo(self, HtmlFilter) | |
466 | def _setCallbackInfo(*args, **kwargs): return _html.HtmlFilter__setCallbackInfo(*args, **kwargs) | |
467 | def __repr__(self): | |
468 | return "<%s.%s; proxy of C++ wxPyHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e166644c | 469 | |
d14a1e28 RD |
470 | class HtmlFilterPtr(HtmlFilter): |
471 | def __init__(self, this): | |
472 | self.this = this | |
473 | if not hasattr(self,"thisown"): self.thisown = 0 | |
474 | self.__class__ = HtmlFilter | |
475 | _html.HtmlFilter_swigregister(HtmlFilterPtr) | |
e166644c | 476 | |
d14a1e28 | 477 | #--------------------------------------------------------------------------- |
e166644c | 478 | |
d14a1e28 RD |
479 | class HtmlWindow(windows.ScrolledWindow): |
480 | def __init__(self, *args, **kwargs): | |
481 | newobj = _html.new_HtmlWindow(*args, **kwargs) | |
482 | self.this = newobj.this | |
483 | self.thisown = 1 | |
484 | del newobj.thisown | |
485 | self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self) | |
486 | def Create(*args, **kwargs): return _html.HtmlWindow_Create(*args, **kwargs) | |
487 | def _setCallbackInfo(*args, **kwargs): return _html.HtmlWindow__setCallbackInfo(*args, **kwargs) | |
488 | def SetPage(*args, **kwargs): return _html.HtmlWindow_SetPage(*args, **kwargs) | |
489 | def LoadPage(*args, **kwargs): return _html.HtmlWindow_LoadPage(*args, **kwargs) | |
490 | def LoadFile(*args, **kwargs): return _html.HtmlWindow_LoadFile(*args, **kwargs) | |
491 | def AppendToPage(*args, **kwargs): return _html.HtmlWindow_AppendToPage(*args, **kwargs) | |
492 | def GetOpenedPage(*args, **kwargs): return _html.HtmlWindow_GetOpenedPage(*args, **kwargs) | |
493 | def GetOpenedAnchor(*args, **kwargs): return _html.HtmlWindow_GetOpenedAnchor(*args, **kwargs) | |
494 | def GetOpenedPageTitle(*args, **kwargs): return _html.HtmlWindow_GetOpenedPageTitle(*args, **kwargs) | |
495 | def SetRelatedFrame(*args, **kwargs): return _html.HtmlWindow_SetRelatedFrame(*args, **kwargs) | |
496 | def GetRelatedFrame(*args, **kwargs): return _html.HtmlWindow_GetRelatedFrame(*args, **kwargs) | |
497 | def SetRelatedStatusBar(*args, **kwargs): return _html.HtmlWindow_SetRelatedStatusBar(*args, **kwargs) | |
498 | def SetFonts(*args, **kwargs): return _html.HtmlWindow_SetFonts(*args, **kwargs) | |
499 | def SetTitle(*args, **kwargs): return _html.HtmlWindow_SetTitle(*args, **kwargs) | |
500 | def SetBorders(*args, **kwargs): return _html.HtmlWindow_SetBorders(*args, **kwargs) | |
501 | def ReadCustomization(*args, **kwargs): return _html.HtmlWindow_ReadCustomization(*args, **kwargs) | |
502 | def WriteCustomization(*args, **kwargs): return _html.HtmlWindow_WriteCustomization(*args, **kwargs) | |
503 | def HistoryBack(*args, **kwargs): return _html.HtmlWindow_HistoryBack(*args, **kwargs) | |
504 | def HistoryForward(*args, **kwargs): return _html.HtmlWindow_HistoryForward(*args, **kwargs) | |
505 | def HistoryCanBack(*args, **kwargs): return _html.HtmlWindow_HistoryCanBack(*args, **kwargs) | |
506 | def HistoryCanForward(*args, **kwargs): return _html.HtmlWindow_HistoryCanForward(*args, **kwargs) | |
507 | def HistoryClear(*args, **kwargs): return _html.HtmlWindow_HistoryClear(*args, **kwargs) | |
508 | def GetInternalRepresentation(*args, **kwargs): return _html.HtmlWindow_GetInternalRepresentation(*args, **kwargs) | |
509 | def GetParser(*args, **kwargs): return _html.HtmlWindow_GetParser(*args, **kwargs) | |
510 | def ScrollToAnchor(*args, **kwargs): return _html.HtmlWindow_ScrollToAnchor(*args, **kwargs) | |
511 | def HasAnchor(*args, **kwargs): return _html.HtmlWindow_HasAnchor(*args, **kwargs) | |
512 | AddFilter = staticmethod(_html.HtmlWindow_AddFilter) | |
513 | def base_OnLinkClicked(*args, **kwargs): return _html.HtmlWindow_base_OnLinkClicked(*args, **kwargs) | |
514 | def base_OnSetTitle(*args, **kwargs): return _html.HtmlWindow_base_OnSetTitle(*args, **kwargs) | |
515 | def base_OnCellMouseHover(*args, **kwargs): return _html.HtmlWindow_base_OnCellMouseHover(*args, **kwargs) | |
516 | def base_OnCellClicked(*args, **kwargs): return _html.HtmlWindow_base_OnCellClicked(*args, **kwargs) | |
517 | def __repr__(self): | |
518 | return "<%s.%s; proxy of C++ wxPyHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e166644c | 519 | |
d14a1e28 RD |
520 | class HtmlWindowPtr(HtmlWindow): |
521 | def __init__(self, this): | |
9c00cfa3 | 522 | self.this = this |
d14a1e28 RD |
523 | if not hasattr(self,"thisown"): self.thisown = 0 |
524 | self.__class__ = HtmlWindow | |
525 | _html.HtmlWindow_swigregister(HtmlWindowPtr) | |
9c00cfa3 | 526 | |
d14a1e28 RD |
527 | def PreHtmlWindow(*args, **kwargs): |
528 | val = _html.new_PreHtmlWindow(*args, **kwargs) | |
529 | val.thisown = 1 | |
530 | return val | |
9c00cfa3 | 531 | |
d14a1e28 | 532 | HtmlWindow_AddFilter = _html.HtmlWindow_AddFilter |
9c00cfa3 | 533 | |
d14a1e28 | 534 | #--------------------------------------------------------------------------- |
9c00cfa3 | 535 | |
d14a1e28 RD |
536 | class HtmlDCRenderer(core.Object): |
537 | def __init__(self, *args, **kwargs): | |
538 | newobj = _html.new_HtmlDCRenderer(*args, **kwargs) | |
539 | self.this = newobj.this | |
9df61a29 | 540 | self.thisown = 1 |
d14a1e28 RD |
541 | del newobj.thisown |
542 | def __del__(self, destroy=_html.delete_HtmlDCRenderer): | |
543 | try: | |
544 | if self.thisown: destroy(self) | |
545 | except: pass | |
546 | def SetDC(*args, **kwargs): return _html.HtmlDCRenderer_SetDC(*args, **kwargs) | |
547 | def SetSize(*args, **kwargs): return _html.HtmlDCRenderer_SetSize(*args, **kwargs) | |
548 | def SetHtmlText(*args, **kwargs): return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs) | |
549 | def SetFonts(*args, **kwargs): return _html.HtmlDCRenderer_SetFonts(*args, **kwargs) | |
550 | def Render(*args, **kwargs): return _html.HtmlDCRenderer_Render(*args, **kwargs) | |
551 | def GetTotalHeight(*args, **kwargs): return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs) | |
552 | def __repr__(self): | |
553 | return "<%s.%s; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
9df61a29 | 554 | |
d14a1e28 RD |
555 | class HtmlDCRendererPtr(HtmlDCRenderer): |
556 | def __init__(self, this): | |
e166644c | 557 | self.this = this |
d14a1e28 RD |
558 | if not hasattr(self,"thisown"): self.thisown = 0 |
559 | self.__class__ = HtmlDCRenderer | |
560 | _html.HtmlDCRenderer_swigregister(HtmlDCRendererPtr) | |
561 | ||
562 | PAGE_ODD = _html.PAGE_ODD | |
563 | PAGE_EVEN = _html.PAGE_EVEN | |
564 | PAGE_ALL = _html.PAGE_ALL | |
565 | class HtmlPrintout(windows.Printout): | |
566 | def __init__(self, *args, **kwargs): | |
567 | newobj = _html.new_HtmlPrintout(*args, **kwargs) | |
568 | self.this = newobj.this | |
e166644c | 569 | self.thisown = 1 |
d14a1e28 RD |
570 | del newobj.thisown |
571 | def SetHtmlText(*args, **kwargs): return _html.HtmlPrintout_SetHtmlText(*args, **kwargs) | |
572 | def SetHtmlFile(*args, **kwargs): return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs) | |
573 | def SetHeader(*args, **kwargs): return _html.HtmlPrintout_SetHeader(*args, **kwargs) | |
574 | def SetFooter(*args, **kwargs): return _html.HtmlPrintout_SetFooter(*args, **kwargs) | |
575 | def SetFonts(*args, **kwargs): return _html.HtmlPrintout_SetFonts(*args, **kwargs) | |
576 | def SetMargins(*args, **kwargs): return _html.HtmlPrintout_SetMargins(*args, **kwargs) | |
577 | AddFilter = staticmethod(_html.HtmlPrintout_AddFilter) | |
578 | CleanUpStatics = staticmethod(_html.HtmlPrintout_CleanUpStatics) | |
579 | def __repr__(self): | |
580 | return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e166644c | 581 | |
d14a1e28 RD |
582 | class HtmlPrintoutPtr(HtmlPrintout): |
583 | def __init__(self, this): | |
584 | self.this = this | |
585 | if not hasattr(self,"thisown"): self.thisown = 0 | |
586 | self.__class__ = HtmlPrintout | |
587 | _html.HtmlPrintout_swigregister(HtmlPrintoutPtr) | |
e166644c | 588 | |
d14a1e28 | 589 | HtmlPrintout_AddFilter = _html.HtmlPrintout_AddFilter |
e166644c | 590 | |
d14a1e28 | 591 | HtmlPrintout_CleanUpStatics = _html.HtmlPrintout_CleanUpStatics |
e166644c | 592 | |
d14a1e28 RD |
593 | class HtmlEasyPrinting(core.Object): |
594 | def __init__(self, *args, **kwargs): | |
595 | newobj = _html.new_HtmlEasyPrinting(*args, **kwargs) | |
596 | self.this = newobj.this | |
b67a9327 | 597 | self.thisown = 1 |
d14a1e28 RD |
598 | del newobj.thisown |
599 | def __del__(self, destroy=_html.delete_HtmlEasyPrinting): | |
600 | try: | |
601 | if self.thisown: destroy(self) | |
602 | except: pass | |
603 | def PreviewFile(*args, **kwargs): return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs) | |
604 | def PreviewText(*args, **kwargs): return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs) | |
605 | def PrintFile(*args, **kwargs): return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs) | |
606 | def PrintText(*args, **kwargs): return _html.HtmlEasyPrinting_PrintText(*args, **kwargs) | |
607 | def PrinterSetup(*args, **kwargs): return _html.HtmlEasyPrinting_PrinterSetup(*args, **kwargs) | |
608 | def PageSetup(*args, **kwargs): return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs) | |
609 | def SetHeader(*args, **kwargs): return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs) | |
610 | def SetFooter(*args, **kwargs): return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs) | |
611 | def SetFonts(*args, **kwargs): return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs) | |
612 | def GetPrintData(*args, **kwargs): return _html.HtmlEasyPrinting_GetPrintData(*args, **kwargs) | |
613 | def GetPageSetupData(*args, **kwargs): return _html.HtmlEasyPrinting_GetPageSetupData(*args, **kwargs) | |
614 | def __repr__(self): | |
615 | return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
b67a9327 | 616 | |
d14a1e28 RD |
617 | class HtmlEasyPrintingPtr(HtmlEasyPrinting): |
618 | def __init__(self, this): | |
619 | self.this = this | |
620 | if not hasattr(self,"thisown"): self.thisown = 0 | |
621 | self.__class__ = HtmlEasyPrinting | |
622 | _html.HtmlEasyPrinting_swigregister(HtmlEasyPrintingPtr) | |
b67a9327 | 623 | |
d14a1e28 | 624 | #--------------------------------------------------------------------------- |
b67a9327 | 625 | |
d14a1e28 RD |
626 | class HtmlBookRecord(object): |
627 | def __init__(self, *args, **kwargs): | |
628 | newobj = _html.new_HtmlBookRecord(*args, **kwargs) | |
629 | self.this = newobj.this | |
630 | self.thisown = 1 | |
631 | del newobj.thisown | |
632 | def GetBookFile(*args, **kwargs): return _html.HtmlBookRecord_GetBookFile(*args, **kwargs) | |
633 | def GetTitle(*args, **kwargs): return _html.HtmlBookRecord_GetTitle(*args, **kwargs) | |
634 | def GetStart(*args, **kwargs): return _html.HtmlBookRecord_GetStart(*args, **kwargs) | |
635 | def GetBasePath(*args, **kwargs): return _html.HtmlBookRecord_GetBasePath(*args, **kwargs) | |
636 | def SetContentsRange(*args, **kwargs): return _html.HtmlBookRecord_SetContentsRange(*args, **kwargs) | |
637 | def GetContentsStart(*args, **kwargs): return _html.HtmlBookRecord_GetContentsStart(*args, **kwargs) | |
638 | def GetContentsEnd(*args, **kwargs): return _html.HtmlBookRecord_GetContentsEnd(*args, **kwargs) | |
639 | def SetTitle(*args, **kwargs): return _html.HtmlBookRecord_SetTitle(*args, **kwargs) | |
640 | def SetBasePath(*args, **kwargs): return _html.HtmlBookRecord_SetBasePath(*args, **kwargs) | |
641 | def SetStart(*args, **kwargs): return _html.HtmlBookRecord_SetStart(*args, **kwargs) | |
642 | def GetFullPath(*args, **kwargs): return _html.HtmlBookRecord_GetFullPath(*args, **kwargs) | |
643 | def __repr__(self): | |
644 | return "<%s.%s; proxy of C++ wxHtmlBookRecord instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
b67a9327 | 645 | |
d14a1e28 RD |
646 | class HtmlBookRecordPtr(HtmlBookRecord): |
647 | def __init__(self, this): | |
325274bb | 648 | self.this = this |
d14a1e28 RD |
649 | if not hasattr(self,"thisown"): self.thisown = 0 |
650 | self.__class__ = HtmlBookRecord | |
651 | _html.HtmlBookRecord_swigregister(HtmlBookRecordPtr) | |
652 | ||
653 | class HtmlContentsItem(object): | |
654 | def GetLevel(*args, **kwargs): return _html.HtmlContentsItem_GetLevel(*args, **kwargs) | |
655 | def GetID(*args, **kwargs): return _html.HtmlContentsItem_GetID(*args, **kwargs) | |
656 | def GetName(*args, **kwargs): return _html.HtmlContentsItem_GetName(*args, **kwargs) | |
657 | def GetPage(*args, **kwargs): return _html.HtmlContentsItem_GetPage(*args, **kwargs) | |
658 | def GetBook(*args, **kwargs): return _html.HtmlContentsItem_GetBook(*args, **kwargs) | |
659 | def __init__(self): raise RuntimeError, "No constructor defined" | |
325274bb | 660 | def __repr__(self): |
d14a1e28 | 661 | return "<%s.%s; proxy of C++ wxHtmlContentsItem instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
325274bb | 662 | |
d14a1e28 RD |
663 | class HtmlContentsItemPtr(HtmlContentsItem): |
664 | def __init__(self, this): | |
dc2f8a65 | 665 | self.this = this |
d14a1e28 RD |
666 | if not hasattr(self,"thisown"): self.thisown = 0 |
667 | self.__class__ = HtmlContentsItem | |
668 | _html.HtmlContentsItem_swigregister(HtmlContentsItemPtr) | |
669 | ||
670 | class HtmlSearchStatus(object): | |
671 | def Search(*args, **kwargs): return _html.HtmlSearchStatus_Search(*args, **kwargs) | |
672 | def IsActive(*args, **kwargs): return _html.HtmlSearchStatus_IsActive(*args, **kwargs) | |
673 | def GetCurIndex(*args, **kwargs): return _html.HtmlSearchStatus_GetCurIndex(*args, **kwargs) | |
674 | def GetMaxIndex(*args, **kwargs): return _html.HtmlSearchStatus_GetMaxIndex(*args, **kwargs) | |
675 | def GetName(*args, **kwargs): return _html.HtmlSearchStatus_GetName(*args, **kwargs) | |
676 | def GetContentsItem(*args, **kwargs): return _html.HtmlSearchStatus_GetContentsItem(*args, **kwargs) | |
677 | def __init__(self): raise RuntimeError, "No constructor defined" | |
dc2f8a65 | 678 | def __repr__(self): |
d14a1e28 | 679 | return "<%s.%s; proxy of C++ wxHtmlSearchStatus instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
dc2f8a65 | 680 | |
d14a1e28 RD |
681 | class HtmlSearchStatusPtr(HtmlSearchStatus): |
682 | def __init__(self, this): | |
dc2f8a65 | 683 | self.this = this |
d14a1e28 RD |
684 | if not hasattr(self,"thisown"): self.thisown = 0 |
685 | self.__class__ = HtmlSearchStatus | |
686 | _html.HtmlSearchStatus_swigregister(HtmlSearchStatusPtr) | |
687 | ||
688 | class HtmlHelpData(object): | |
689 | def __init__(self, *args, **kwargs): | |
690 | newobj = _html.new_HtmlHelpData(*args, **kwargs) | |
691 | self.this = newobj.this | |
dc2f8a65 | 692 | self.thisown = 1 |
d14a1e28 RD |
693 | del newobj.thisown |
694 | def __del__(self, destroy=_html.delete_HtmlHelpData): | |
695 | try: | |
696 | if self.thisown: destroy(self) | |
697 | except: pass | |
698 | def SetTempDir(*args, **kwargs): return _html.HtmlHelpData_SetTempDir(*args, **kwargs) | |
699 | def AddBook(*args, **kwargs): return _html.HtmlHelpData_AddBook(*args, **kwargs) | |
700 | def FindPageByName(*args, **kwargs): return _html.HtmlHelpData_FindPageByName(*args, **kwargs) | |
701 | def FindPageById(*args, **kwargs): return _html.HtmlHelpData_FindPageById(*args, **kwargs) | |
702 | def GetBookRecArray(*args, **kwargs): return _html.HtmlHelpData_GetBookRecArray(*args, **kwargs) | |
703 | def GetContents(*args, **kwargs): return _html.HtmlHelpData_GetContents(*args, **kwargs) | |
704 | def GetContentsCnt(*args, **kwargs): return _html.HtmlHelpData_GetContentsCnt(*args, **kwargs) | |
705 | def GetIndex(*args, **kwargs): return _html.HtmlHelpData_GetIndex(*args, **kwargs) | |
706 | def GetIndexCnt(*args, **kwargs): return _html.HtmlHelpData_GetIndexCnt(*args, **kwargs) | |
707 | def __repr__(self): | |
708 | return "<%s.%s; proxy of C++ wxHtmlHelpData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
dc2f8a65 | 709 | |
d14a1e28 RD |
710 | class HtmlHelpDataPtr(HtmlHelpData): |
711 | def __init__(self, this): | |
dc2f8a65 | 712 | self.this = this |
d14a1e28 RD |
713 | if not hasattr(self,"thisown"): self.thisown = 0 |
714 | self.__class__ = HtmlHelpData | |
715 | _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) | |
716 | ||
717 | class HtmlHelpFrame(windows.Frame): | |
718 | def __init__(self, *args, **kwargs): | |
719 | newobj = _html.new_HtmlHelpFrame(*args, **kwargs) | |
720 | self.this = newobj.this | |
dc2f8a65 | 721 | self.thisown = 1 |
d14a1e28 RD |
722 | del newobj.thisown |
723 | self._setOORInfo(self) | |
724 | def GetData(*args, **kwargs): return _html.HtmlHelpFrame_GetData(*args, **kwargs) | |
725 | def SetTitleFormat(*args, **kwargs): return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) | |
726 | def Display(*args, **kwargs): return _html.HtmlHelpFrame_Display(*args, **kwargs) | |
727 | def DisplayID(*args, **kwargs): return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) | |
728 | def DisplayContents(*args, **kwargs): return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) | |
729 | def DisplayIndex(*args, **kwargs): return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) | |
730 | def KeywordSearch(*args, **kwargs): return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) | |
731 | def UseConfig(*args, **kwargs): return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) | |
732 | def ReadCustomization(*args, **kwargs): return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) | |
733 | def WriteCustomization(*args, **kwargs): return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) | |
734 | def __repr__(self): | |
735 | return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
dc2f8a65 | 736 | |
d14a1e28 RD |
737 | class HtmlHelpFramePtr(HtmlHelpFrame): |
738 | def __init__(self, this): | |
739 | self.this = this | |
740 | if not hasattr(self,"thisown"): self.thisown = 0 | |
741 | self.__class__ = HtmlHelpFrame | |
742 | _html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr) | |
743 | ||
744 | HF_TOOLBAR = _html.HF_TOOLBAR | |
745 | HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR | |
746 | HF_CONTENTS = _html.HF_CONTENTS | |
747 | HF_INDEX = _html.HF_INDEX | |
748 | HF_SEARCH = _html.HF_SEARCH | |
749 | HF_BOOKMARKS = _html.HF_BOOKMARKS | |
750 | HF_OPENFILES = _html.HF_OPENFILES | |
751 | HF_PRINT = _html.HF_PRINT | |
752 | HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE | |
753 | class HtmlHelpController(core.EvtHandler): | |
754 | def __init__(self, *args, **kwargs): | |
755 | newobj = _html.new_HtmlHelpController(*args, **kwargs) | |
756 | self.this = newobj.this | |
757 | self.thisown = 1 | |
758 | del newobj.thisown | |
759 | self._setOORInfo(self) | |
760 | def __del__(self, destroy=_html.delete_HtmlHelpController): | |
761 | try: | |
762 | if self.thisown: destroy(self) | |
763 | except: pass | |
764 | def SetTitleFormat(*args, **kwargs): return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) | |
765 | def SetTempDir(*args, **kwargs): return _html.HtmlHelpController_SetTempDir(*args, **kwargs) | |
766 | def AddBook(*args, **kwargs): return _html.HtmlHelpController_AddBook(*args, **kwargs) | |
767 | def Display(*args, **kwargs): return _html.HtmlHelpController_Display(*args, **kwargs) | |
768 | def DisplayID(*args, **kwargs): return _html.HtmlHelpController_DisplayID(*args, **kwargs) | |
769 | def DisplayContents(*args, **kwargs): return _html.HtmlHelpController_DisplayContents(*args, **kwargs) | |
770 | def DisplayIndex(*args, **kwargs): return _html.HtmlHelpController_DisplayIndex(*args, **kwargs) | |
771 | def KeywordSearch(*args, **kwargs): return _html.HtmlHelpController_KeywordSearch(*args, **kwargs) | |
772 | def UseConfig(*args, **kwargs): return _html.HtmlHelpController_UseConfig(*args, **kwargs) | |
773 | def ReadCustomization(*args, **kwargs): return _html.HtmlHelpController_ReadCustomization(*args, **kwargs) | |
774 | def WriteCustomization(*args, **kwargs): return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) | |
775 | def GetFrame(*args, **kwargs): return _html.HtmlHelpController_GetFrame(*args, **kwargs) | |
776 | def __repr__(self): | |
777 | return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
dc2f8a65 | 778 | |
d14a1e28 RD |
779 | class HtmlHelpControllerPtr(HtmlHelpController): |
780 | def __init__(self, this): | |
781 | self.this = this | |
782 | if not hasattr(self,"thisown"): self.thisown = 0 | |
783 | self.__class__ = HtmlHelpController | |
784 | _html.HtmlHelpController_swigregister(HtmlHelpControllerPtr) | |
dc2f8a65 RD |
785 | |
786 |