]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxPython/modules/html/html.py
Created and wrapped wxPyControlPoint
[wxWidgets.git] / utils / wxPython / modules / html / html.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import htmlc
3
4from misc import *
5
6from misc2 import *
7
8from windows import *
9
10from gdi import *
11
12from events import *
13
14from mdi import *
15
16from frames import *
17
18from stattool import *
19
20from controls import *
21
22from controls2 import *
23
24from windows2 import *
25
26from cmndlgs import *
27
28from windows3 import *
29
30from image import *
31
32from printfw import *
33import wx,htmlhelper
34widget = htmlc
35class wxHtmlTagPtr :
36 def __init__(self,this):
37 self.this = this
38 self.thisown = 0
39 def GetName(self, *_args, **_kwargs):
40 val = apply(htmlc.wxHtmlTag_GetName,(self,) + _args, _kwargs)
41 return val
42 def HasParam(self, *_args, **_kwargs):
43 val = apply(htmlc.wxHtmlTag_HasParam,(self,) + _args, _kwargs)
44 return val
45 def GetParam(self, *_args, **_kwargs):
46 val = apply(htmlc.wxHtmlTag_GetParam,(self,) + _args, _kwargs)
47 return val
48 def GetAllParams(self, *_args, **_kwargs):
49 val = apply(htmlc.wxHtmlTag_GetAllParams,(self,) + _args, _kwargs)
50 return val
51 def IsEnding(self, *_args, **_kwargs):
52 val = apply(htmlc.wxHtmlTag_IsEnding,(self,) + _args, _kwargs)
53 return val
54 def HasEnding(self, *_args, **_kwargs):
55 val = apply(htmlc.wxHtmlTag_HasEnding,(self,) + _args, _kwargs)
56 return val
57 def GetBeginPos(self, *_args, **_kwargs):
58 val = apply(htmlc.wxHtmlTag_GetBeginPos,(self,) + _args, _kwargs)
59 return val
60 def GetEndPos1(self, *_args, **_kwargs):
61 val = apply(htmlc.wxHtmlTag_GetEndPos1,(self,) + _args, _kwargs)
62 return val
63 def GetEndPos2(self, *_args, **_kwargs):
64 val = apply(htmlc.wxHtmlTag_GetEndPos2,(self,) + _args, _kwargs)
65 return val
66 def __repr__(self):
67 return "<C wxHtmlTag instance at %s>" % (self.this,)
68class wxHtmlTag(wxHtmlTagPtr):
69 def __init__(self,this):
70 self.this = this
71
72
73
74
75class wxHtmlParserPtr :
76 def __init__(self,this):
77 self.this = this
78 self.thisown = 0
79 def SetFS(self, *_args, **_kwargs):
80 val = apply(htmlc.wxHtmlParser_SetFS,(self,) + _args, _kwargs)
81 return val
82 def GetFS(self, *_args, **_kwargs):
83 val = apply(htmlc.wxHtmlParser_GetFS,(self,) + _args, _kwargs)
84 return val
85 def Parse(self, *_args, **_kwargs):
86 val = apply(htmlc.wxHtmlParser_Parse,(self,) + _args, _kwargs)
87 return val
88 def InitParser(self, *_args, **_kwargs):
89 val = apply(htmlc.wxHtmlParser_InitParser,(self,) + _args, _kwargs)
90 return val
91 def DoneParser(self, *_args, **_kwargs):
92 val = apply(htmlc.wxHtmlParser_DoneParser,(self,) + _args, _kwargs)
93 return val
94 def DoParsing(self, *_args, **_kwargs):
95 val = apply(htmlc.wxHtmlParser_DoParsing,(self,) + _args, _kwargs)
96 return val
97 def AddTagHandler(self, *_args, **_kwargs):
98 val = apply(htmlc.wxHtmlParser_AddTagHandler,(self,) + _args, _kwargs)
99 return val
100 def GetSource(self, *_args, **_kwargs):
101 val = apply(htmlc.wxHtmlParser_GetSource,(self,) + _args, _kwargs)
102 return val
103 def __repr__(self):
104 return "<C wxHtmlParser instance at %s>" % (self.this,)
105class wxHtmlParser(wxHtmlParserPtr):
106 def __init__(self,this):
107 self.this = this
108
109
110
111
112class wxHtmlWinParserPtr(wxHtmlParserPtr):
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
116 def SetDC(self, *_args, **_kwargs):
117 val = apply(htmlc.wxHtmlWinParser_SetDC,(self,) + _args, _kwargs)
118 return val
119 def GetDC(self, *_args, **_kwargs):
120 val = apply(htmlc.wxHtmlWinParser_GetDC,(self,) + _args, _kwargs)
121 if val: val = wxDCPtr(val)
122 return val
123 def GetCharHeight(self, *_args, **_kwargs):
124 val = apply(htmlc.wxHtmlWinParser_GetCharHeight,(self,) + _args, _kwargs)
125 return val
126 def GetCharWidth(self, *_args, **_kwargs):
127 val = apply(htmlc.wxHtmlWinParser_GetCharWidth,(self,) + _args, _kwargs)
128 return val
129 def GetWindow(self, *_args, **_kwargs):
130 val = apply(htmlc.wxHtmlWinParser_GetWindow,(self,) + _args, _kwargs)
131 if val: val = wxWindowPtr(val)
132 return val
133 def SetFonts(self, *_args, **_kwargs):
134 val = apply(htmlc.wxHtmlWinParser_SetFonts,(self,) + _args, _kwargs)
135 return val
136 def GetContainer(self, *_args, **_kwargs):
137 val = apply(htmlc.wxHtmlWinParser_GetContainer,(self,) + _args, _kwargs)
138 if val: val = wxHtmlContainerCellPtr(val)
139 return val
140 def OpenContainer(self, *_args, **_kwargs):
141 val = apply(htmlc.wxHtmlWinParser_OpenContainer,(self,) + _args, _kwargs)
142 if val: val = wxHtmlContainerCellPtr(val)
143 return val
144 def CloseContainer(self, *_args, **_kwargs):
145 val = apply(htmlc.wxHtmlWinParser_CloseContainer,(self,) + _args, _kwargs)
146 if val: val = wxHtmlContainerCellPtr(val)
147 return val
148 def GetFontSize(self, *_args, **_kwargs):
149 val = apply(htmlc.wxHtmlWinParser_GetFontSize,(self,) + _args, _kwargs)
150 return val
151 def SetFontSize(self, *_args, **_kwargs):
152 val = apply(htmlc.wxHtmlWinParser_SetFontSize,(self,) + _args, _kwargs)
153 return val
154 def GetFontBold(self, *_args, **_kwargs):
155 val = apply(htmlc.wxHtmlWinParser_GetFontBold,(self,) + _args, _kwargs)
156 return val
157 def SetFontBold(self, *_args, **_kwargs):
158 val = apply(htmlc.wxHtmlWinParser_SetFontBold,(self,) + _args, _kwargs)
159 return val
160 def GetFontItalic(self, *_args, **_kwargs):
161 val = apply(htmlc.wxHtmlWinParser_GetFontItalic,(self,) + _args, _kwargs)
162 return val
163 def SetFontItalic(self, *_args, **_kwargs):
164 val = apply(htmlc.wxHtmlWinParser_SetFontItalic,(self,) + _args, _kwargs)
165 return val
166 def GetFontUnderlined(self, *_args, **_kwargs):
167 val = apply(htmlc.wxHtmlWinParser_GetFontUnderlined,(self,) + _args, _kwargs)
168 return val
169 def SetFontUnderlined(self, *_args, **_kwargs):
170 val = apply(htmlc.wxHtmlWinParser_SetFontUnderlined,(self,) + _args, _kwargs)
171 return val
172 def GetFontFixed(self, *_args, **_kwargs):
173 val = apply(htmlc.wxHtmlWinParser_GetFontFixed,(self,) + _args, _kwargs)
174 return val
175 def SetFontFixed(self, *_args, **_kwargs):
176 val = apply(htmlc.wxHtmlWinParser_SetFontFixed,(self,) + _args, _kwargs)
177 return val
178 def GetAlign(self, *_args, **_kwargs):
179 val = apply(htmlc.wxHtmlWinParser_GetAlign,(self,) + _args, _kwargs)
180 return val
181 def SetAlign(self, *_args, **_kwargs):
182 val = apply(htmlc.wxHtmlWinParser_SetAlign,(self,) + _args, _kwargs)
183 return val
184 def GetLinkColor(self, *_args, **_kwargs):
185 val = apply(htmlc.wxHtmlWinParser_GetLinkColor,(self,) + _args, _kwargs)
186 if val: val = wxColourPtr(val)
187 return val
188 def SetLinkColor(self, *_args, **_kwargs):
189 val = apply(htmlc.wxHtmlWinParser_SetLinkColor,(self,) + _args, _kwargs)
190 return val
191 def GetActualColor(self, *_args, **_kwargs):
192 val = apply(htmlc.wxHtmlWinParser_GetActualColor,(self,) + _args, _kwargs)
193 if val: val = wxColourPtr(val)
194 return val
195 def SetActualColor(self, *_args, **_kwargs):
196 val = apply(htmlc.wxHtmlWinParser_SetActualColor,(self,) + _args, _kwargs)
197 return val
198 def GetLink(self, *_args, **_kwargs):
199 val = apply(htmlc.wxHtmlWinParser_GetLink,(self,) + _args, _kwargs)
200 return val
201 def SetLink(self, *_args, **_kwargs):
202 val = apply(htmlc.wxHtmlWinParser_SetLink,(self,) + _args, _kwargs)
203 return val
204 def CreateCurrentFont(self, *_args, **_kwargs):
205 val = apply(htmlc.wxHtmlWinParser_CreateCurrentFont,(self,) + _args, _kwargs)
206 if val: val = wxFontPtr(val)
207 return val
208 def __repr__(self):
209 return "<C wxHtmlWinParser instance at %s>" % (self.this,)
210class wxHtmlWinParser(wxHtmlWinParserPtr):
211 def __init__(self,*_args,**_kwargs):
212 self.this = apply(htmlc.new_wxHtmlWinParser,_args,_kwargs)
213 self.thisown = 1
214
215
216
217
218class wxHtmlTagHandlerPtr :
219 def __init__(self,this):
220 self.this = this
221 self.thisown = 0
222 def _setSelf(self, *_args, **_kwargs):
223 val = apply(htmlc.wxHtmlTagHandler__setSelf,(self,) + _args, _kwargs)
224 return val
225 def SetParser(self, *_args, **_kwargs):
226 val = apply(htmlc.wxHtmlTagHandler_SetParser,(self,) + _args, _kwargs)
227 return val
228 def GetParser(self, *_args, **_kwargs):
229 val = apply(htmlc.wxHtmlTagHandler_GetParser,(self,) + _args, _kwargs)
230 if val: val = wxHtmlParserPtr(val)
231 return val
232 def ParseInner(self, *_args, **_kwargs):
233 val = apply(htmlc.wxHtmlTagHandler_ParseInner,(self,) + _args, _kwargs)
234 return val
235 def __repr__(self):
236 return "<C wxHtmlTagHandler instance at %s>" % (self.this,)
237class wxHtmlTagHandler(wxHtmlTagHandlerPtr):
238 def __init__(self,*_args,**_kwargs):
239 self.this = apply(htmlc.new_wxHtmlTagHandler,_args,_kwargs)
240 self.thisown = 1
241 self._setSelf(self)
242
243
244
245
246class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr):
247 def __init__(self,this):
248 self.this = this
249 self.thisown = 0
250 def _setSelf(self, *_args, **_kwargs):
251 val = apply(htmlc.wxHtmlWinTagHandler__setSelf,(self,) + _args, _kwargs)
252 return val
253 def SetParser(self, *_args, **_kwargs):
254 val = apply(htmlc.wxHtmlWinTagHandler_SetParser,(self,) + _args, _kwargs)
255 return val
256 def GetParser(self, *_args, **_kwargs):
257 val = apply(htmlc.wxHtmlWinTagHandler_GetParser,(self,) + _args, _kwargs)
258 if val: val = wxHtmlWinParserPtr(val)
259 return val
260 def ParseInner(self, *_args, **_kwargs):
261 val = apply(htmlc.wxHtmlWinTagHandler_ParseInner,(self,) + _args, _kwargs)
262 return val
263 def __repr__(self):
264 return "<C wxHtmlWinTagHandler instance at %s>" % (self.this,)
265class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr):
266 def __init__(self,*_args,**_kwargs):
267 self.this = apply(htmlc.new_wxHtmlWinTagHandler,_args,_kwargs)
268 self.thisown = 1
269 self._setSelf(self)
270
271
272
273
274class wxHtmlCellPtr :
275 def __init__(self,this):
276 self.this = this
277 self.thisown = 0
278 def SetParent(self, *_args, **_kwargs):
279 val = apply(htmlc.wxHtmlCell_SetParent,(self,) + _args, _kwargs)
280 return val
281 def GetParent(self, *_args, **_kwargs):
282 val = apply(htmlc.wxHtmlCell_GetParent,(self,) + _args, _kwargs)
283 if val: val = wxHtmlContainerCellPtr(val)
284 return val
285 def GetPosX(self, *_args, **_kwargs):
286 val = apply(htmlc.wxHtmlCell_GetPosX,(self,) + _args, _kwargs)
287 return val
288 def GetPosY(self, *_args, **_kwargs):
289 val = apply(htmlc.wxHtmlCell_GetPosY,(self,) + _args, _kwargs)
290 return val
291 def GetWidth(self, *_args, **_kwargs):
292 val = apply(htmlc.wxHtmlCell_GetWidth,(self,) + _args, _kwargs)
293 return val
294 def GetHeight(self, *_args, **_kwargs):
295 val = apply(htmlc.wxHtmlCell_GetHeight,(self,) + _args, _kwargs)
296 return val
297 def GetDescent(self, *_args, **_kwargs):
298 val = apply(htmlc.wxHtmlCell_GetDescent,(self,) + _args, _kwargs)
299 return val
300 def GetLink(self, *_args, **_kwargs):
301 val = apply(htmlc.wxHtmlCell_GetLink,(self,) + _args, _kwargs)
302 return val
303 def GetNext(self, *_args, **_kwargs):
304 val = apply(htmlc.wxHtmlCell_GetNext,(self,) + _args, _kwargs)
305 if val: val = wxHtmlCellPtr(val)
306 return val
307 def SetPos(self, *_args, **_kwargs):
308 val = apply(htmlc.wxHtmlCell_SetPos,(self,) + _args, _kwargs)
309 return val
310 def SetLink(self, *_args, **_kwargs):
311 val = apply(htmlc.wxHtmlCell_SetLink,(self,) + _args, _kwargs)
312 return val
313 def SetNext(self, *_args, **_kwargs):
314 val = apply(htmlc.wxHtmlCell_SetNext,(self,) + _args, _kwargs)
315 return val
316 def Layout(self, *_args, **_kwargs):
317 val = apply(htmlc.wxHtmlCell_Layout,(self,) + _args, _kwargs)
318 return val
319 def Draw(self, *_args, **_kwargs):
320 val = apply(htmlc.wxHtmlCell_Draw,(self,) + _args, _kwargs)
321 return val
322 def DrawInvisible(self, *_args, **_kwargs):
323 val = apply(htmlc.wxHtmlCell_DrawInvisible,(self,) + _args, _kwargs)
324 return val
325 def Find(self, *_args, **_kwargs):
326 val = apply(htmlc.wxHtmlCell_Find,(self,) + _args, _kwargs)
327 if val: val = wxHtmlCellPtr(val)
328 return val
329 def __repr__(self):
330 return "<C wxHtmlCell instance at %s>" % (self.this,)
331class wxHtmlCell(wxHtmlCellPtr):
332 def __init__(self,*_args,**_kwargs):
333 self.this = apply(htmlc.new_wxHtmlCell,_args,_kwargs)
334 self.thisown = 1
335
336
337
338
339class wxHtmlContainerCellPtr(wxHtmlCellPtr):
340 def __init__(self,this):
341 self.this = this
342 self.thisown = 0
343 def InsertCell(self, *_args, **_kwargs):
344 val = apply(htmlc.wxHtmlContainerCell_InsertCell,(self,) + _args, _kwargs)
345 return val
346 def SetAlignHor(self, *_args, **_kwargs):
347 val = apply(htmlc.wxHtmlContainerCell_SetAlignHor,(self,) + _args, _kwargs)
348 return val
349 def GetAlignHor(self, *_args, **_kwargs):
350 val = apply(htmlc.wxHtmlContainerCell_GetAlignHor,(self,) + _args, _kwargs)
351 return val
352 def SetAlignVer(self, *_args, **_kwargs):
353 val = apply(htmlc.wxHtmlContainerCell_SetAlignVer,(self,) + _args, _kwargs)
354 return val
355 def GetAlignVer(self, *_args, **_kwargs):
356 val = apply(htmlc.wxHtmlContainerCell_GetAlignVer,(self,) + _args, _kwargs)
357 return val
358 def SetIndent(self, *_args, **_kwargs):
359 val = apply(htmlc.wxHtmlContainerCell_SetIndent,(self,) + _args, _kwargs)
360 return val
361 def GetIndent(self, *_args, **_kwargs):
362 val = apply(htmlc.wxHtmlContainerCell_GetIndent,(self,) + _args, _kwargs)
363 return val
364 def GetIndentUnits(self, *_args, **_kwargs):
365 val = apply(htmlc.wxHtmlContainerCell_GetIndentUnits,(self,) + _args, _kwargs)
366 return val
367 def SetAlign(self, *_args, **_kwargs):
368 val = apply(htmlc.wxHtmlContainerCell_SetAlign,(self,) + _args, _kwargs)
369 return val
370 def SetWidthFloat(self, *_args, **_kwargs):
371 val = apply(htmlc.wxHtmlContainerCell_SetWidthFloat,(self,) + _args, _kwargs)
372 return val
373 def SetWidthFloatFromTag(self, *_args, **_kwargs):
374 val = apply(htmlc.wxHtmlContainerCell_SetWidthFloatFromTag,(self,) + _args, _kwargs)
375 return val
376 def SetMinHeight(self, *_args, **_kwargs):
377 val = apply(htmlc.wxHtmlContainerCell_SetMinHeight,(self,) + _args, _kwargs)
378 return val
379 def GetMaxLineWidth(self, *_args, **_kwargs):
380 val = apply(htmlc.wxHtmlContainerCell_GetMaxLineWidth,(self,) + _args, _kwargs)
381 return val
382 def SetBackgroundColour(self, *_args, **_kwargs):
383 val = apply(htmlc.wxHtmlContainerCell_SetBackgroundColour,(self,) + _args, _kwargs)
384 return val
385 def SetBorder(self, *_args, **_kwargs):
386 val = apply(htmlc.wxHtmlContainerCell_SetBorder,(self,) + _args, _kwargs)
387 return val
388 def GetFirstCell(self, *_args, **_kwargs):
389 val = apply(htmlc.wxHtmlContainerCell_GetFirstCell,(self,) + _args, _kwargs)
390 if val: val = wxHtmlCellPtr(val)
391 return val
392 def __repr__(self):
393 return "<C wxHtmlContainerCell instance at %s>" % (self.this,)
394class wxHtmlContainerCell(wxHtmlContainerCellPtr):
395 def __init__(self,*_args,**_kwargs):
396 self.this = apply(htmlc.new_wxHtmlContainerCell,_args,_kwargs)
397 self.thisown = 1
398
399
400
401
402class wxHtmlWidgetCellPtr(wxHtmlCellPtr):
403 def __init__(self,this):
404 self.this = this
405 self.thisown = 0
406 def __repr__(self):
407 return "<C wxHtmlWidgetCell instance at %s>" % (self.this,)
408class wxHtmlWidgetCell(wxHtmlWidgetCellPtr):
409 def __init__(self,*_args,**_kwargs):
410 self.this = apply(htmlc.new_wxHtmlWidgetCell,_args,_kwargs)
411 self.thisown = 1
412
413
414
415
416class HtmlHistoryItemPtr :
417 def __init__(self,this):
418 self.this = this
419 self.thisown = 0
420 def GetPos(self, *_args, **_kwargs):
421 val = apply(htmlc.HtmlHistoryItem_GetPos,(self,) + _args, _kwargs)
422 return val
423 def SetPos(self, *_args, **_kwargs):
424 val = apply(htmlc.HtmlHistoryItem_SetPos,(self,) + _args, _kwargs)
425 return val
426 def GetPage(self, *_args, **_kwargs):
427 val = apply(htmlc.HtmlHistoryItem_GetPage,(self,) + _args, _kwargs)
428 return val
429 def GetAnchor(self, *_args, **_kwargs):
430 val = apply(htmlc.HtmlHistoryItem_GetAnchor,(self,) + _args, _kwargs)
431 return val
432 def __repr__(self):
433 return "<C HtmlHistoryItem instance at %s>" % (self.this,)
434class HtmlHistoryItem(HtmlHistoryItemPtr):
435 def __init__(self,*_args,**_kwargs):
436 self.this = apply(htmlc.new_HtmlHistoryItem,_args,_kwargs)
437 self.thisown = 1
438
439
440
441
442class wxHtmlWindowPtr(wxScrolledWindowPtr):
443 def __init__(self,this):
444 self.this = this
445 self.thisown = 0
446 def _setSelf(self, *_args, **_kwargs):
447 val = apply(htmlc.wxHtmlWindow__setSelf,(self,) + _args, _kwargs)
448 return val
449 def SetPage(self, *_args, **_kwargs):
450 val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
451 return val
452 def LoadPage(self, *_args, **_kwargs):
453 val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
454 return val
455 def GetOpenedPage(self, *_args, **_kwargs):
456 val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
457 return val
458 def SetRelatedFrame(self, *_args, **_kwargs):
459 val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
460 return val
461 def GetRelatedFrame(self, *_args, **_kwargs):
462 val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
463 if val: val = wxFramePtr(val)
464 return val
465 def SetRelatedStatusBar(self, *_args, **_kwargs):
466 val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
467 return val
468 def SetFonts(self, *_args, **_kwargs):
469 val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
470 return val
471 def SetTitle(self, *_args, **_kwargs):
472 val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
473 return val
474 def SetBorders(self, *_args, **_kwargs):
475 val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
476 return val
477 def ReadCustomization(self, *_args, **_kwargs):
478 val = apply(htmlc.wxHtmlWindow_ReadCustomization,(self,) + _args, _kwargs)
479 return val
480 def WriteCustomization(self, *_args, **_kwargs):
481 val = apply(htmlc.wxHtmlWindow_WriteCustomization,(self,) + _args, _kwargs)
482 return val
483 def HistoryBack(self, *_args, **_kwargs):
484 val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
485 return val
486 def HistoryForward(self, *_args, **_kwargs):
487 val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
488 return val
489 def HistoryClear(self, *_args, **_kwargs):
490 val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
491 return val
492 def GetInternalRepresentation(self, *_args, **_kwargs):
493 val = apply(htmlc.wxHtmlWindow_GetInternalRepresentation,(self,) + _args, _kwargs)
494 if val: val = wxHtmlContainerCellPtr(val)
495 return val
496 def GetParser(self, *_args, **_kwargs):
497 val = apply(htmlc.wxHtmlWindow_GetParser,(self,) + _args, _kwargs)
498 if val: val = wxHtmlWinParserPtr(val)
499 return val
500 def base_OnLinkClicked(self, *_args, **_kwargs):
501 val = apply(htmlc.wxHtmlWindow_base_OnLinkClicked,(self,) + _args, _kwargs)
502 return val
503 def __repr__(self):
504 return "<C wxHtmlWindow instance at %s>" % (self.this,)
505class wxHtmlWindow(wxHtmlWindowPtr):
506 def __init__(self,*_args,**_kwargs):
507 self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
508 self.thisown = 1
509 self._setSelf(self)
510 wx._StdWindowCallbacks(self)
511 wx._StdOnScrollCallbacks(self)
512
513
514
515
516
517
518#-------------- FUNCTION WRAPPERS ------------------
519
520wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler
521
522wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter
523
524
525
526#-------------- VARIABLE WRAPPERS ------------------
527
528HTML_ALIGN_LEFT = htmlc.HTML_ALIGN_LEFT
529HTML_ALIGN_CENTER = htmlc.HTML_ALIGN_CENTER
530HTML_ALIGN_RIGHT = htmlc.HTML_ALIGN_RIGHT
531HTML_ALIGN_BOTTOM = htmlc.HTML_ALIGN_BOTTOM
532HTML_ALIGN_TOP = htmlc.HTML_ALIGN_TOP
533HTML_CLR_FOREGROUND = htmlc.HTML_CLR_FOREGROUND
534HTML_CLR_BACKGROUND = htmlc.HTML_CLR_BACKGROUND
535HTML_UNITS_PIXELS = htmlc.HTML_UNITS_PIXELS
536HTML_UNITS_PERCENT = htmlc.HTML_UNITS_PERCENT
537HTML_INDENT_LEFT = htmlc.HTML_INDENT_LEFT
538HTML_INDENT_RIGHT = htmlc.HTML_INDENT_RIGHT
539HTML_INDENT_TOP = htmlc.HTML_INDENT_TOP
540HTML_INDENT_BOTTOM = htmlc.HTML_INDENT_BOTTOM
541HTML_INDENT_HORIZONTAL = htmlc.HTML_INDENT_HORIZONTAL
542HTML_INDENT_VERTICAL = htmlc.HTML_INDENT_VERTICAL
543HTML_INDENT_ALL = htmlc.HTML_INDENT_ALL
544HTML_COND_ISANCHOR = htmlc.HTML_COND_ISANCHOR
545HTML_COND_ISIMAGEMAP = htmlc.HTML_COND_ISIMAGEMAP
546HTML_COND_USER = htmlc.HTML_COND_USER
547
548
549#-------------- USER INCLUDE -----------------------
550
551
552# Stuff these names into the wx namespace so wxPyConstructObject can find them
553import wx
554wx.wxHtmlTagPtr = wxHtmlTag
555wx.wxHtmlParserPtr = wxHtmlParserPtr
556wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr
557wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr
558wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr
559wx.wxHtmlCellPtr = wxHtmlCellPtr
560wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr
561wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr
562wx.HtmlHistoryItemPtr = HtmlHistoryItemPtr
563wx.wxHtmlWindowPtr = wxHtmlWindowPtr