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