1 # This file was created automatically by SWIG.
14 from clip_dnd
import *
26 from stattool
import *
28 from controls
import *
30 from controls2
import *
32 from windows2
import *
36 from windows3
import *
46 class wxHtmlLinkInfoPtr(wxObjectPtr
):
47 def __init__(self
,this
):
50 def GetHref(self
, *_args
, **_kwargs
):
51 val
= apply(htmlc
.wxHtmlLinkInfo_GetHref
,(self
,) + _args
, _kwargs
)
53 def GetTarget(self
, *_args
, **_kwargs
):
54 val
= apply(htmlc
.wxHtmlLinkInfo_GetTarget
,(self
,) + _args
, _kwargs
)
56 def GetEvent(self
, *_args
, **_kwargs
):
57 val
= apply(htmlc
.wxHtmlLinkInfo_GetEvent
,(self
,) + _args
, _kwargs
)
59 def GetHtmlCell(self
, *_args
, **_kwargs
):
60 val
= apply(htmlc
.wxHtmlLinkInfo_GetHtmlCell
,(self
,) + _args
, _kwargs
)
61 if val
: val
= wxHtmlCellPtr(val
)
63 def SetEvent(self
, *_args
, **_kwargs
):
64 val
= apply(htmlc
.wxHtmlLinkInfo_SetEvent
,(self
,) + _args
, _kwargs
)
66 def SetHtmlCell(self
, *_args
, **_kwargs
):
67 val
= apply(htmlc
.wxHtmlLinkInfo_SetHtmlCell
,(self
,) + _args
, _kwargs
)
70 return "<C wxHtmlLinkInfo instance at %s>" % (self
.this
,)
71 class wxHtmlLinkInfo(wxHtmlLinkInfoPtr
):
72 def __init__(self
,*_args
,**_kwargs
):
73 self
.this
= apply(htmlc
.new_wxHtmlLinkInfo
,_args
,_kwargs
)
79 class wxHtmlTagPtr(wxObjectPtr
):
80 def __init__(self
,this
):
83 def GetName(self
, *_args
, **_kwargs
):
84 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
86 def HasParam(self
, *_args
, **_kwargs
):
87 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
89 def GetParam(self
, *_args
, **_kwargs
):
90 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
92 def GetAllParams(self
, *_args
, **_kwargs
):
93 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
95 def HasEnding(self
, *_args
, **_kwargs
):
96 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
98 def GetBeginPos(self
, *_args
, **_kwargs
):
99 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
101 def GetEndPos1(self
, *_args
, **_kwargs
):
102 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
104 def GetEndPos2(self
, *_args
, **_kwargs
):
105 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
108 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
109 class wxHtmlTag(wxHtmlTagPtr
):
110 def __init__(self
,this
):
116 class wxHtmlParserPtr(wxObjectPtr
):
117 def __init__(self
,this
):
120 def SetFS(self
, *_args
, **_kwargs
):
121 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
123 def GetFS(self
, *_args
, **_kwargs
):
124 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
126 def Parse(self
, *_args
, **_kwargs
):
127 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
129 def InitParser(self
, *_args
, **_kwargs
):
130 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
132 def DoneParser(self
, *_args
, **_kwargs
):
133 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
135 def DoParsing(self
, *_args
, **_kwargs
):
136 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
138 def StopParsing(self
, *_args
, **_kwargs
):
139 val
= apply(htmlc
.wxHtmlParser_StopParsing
,(self
,) + _args
, _kwargs
)
141 def AddTagHandler(self
, *_args
, **_kwargs
):
142 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
144 def GetSource(self
, *_args
, **_kwargs
):
145 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
147 def PushTagHandler(self
, *_args
, **_kwargs
):
148 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
150 def PopTagHandler(self
, *_args
, **_kwargs
):
151 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
154 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
155 class wxHtmlParser(wxHtmlParserPtr
):
156 def __init__(self
,this
):
162 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
163 def __init__(self
,this
):
166 def SetDC(self
, *_args
, **_kwargs
):
167 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
169 def GetDC(self
, *_args
, **_kwargs
):
170 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
172 def GetCharHeight(self
, *_args
, **_kwargs
):
173 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
175 def GetCharWidth(self
, *_args
, **_kwargs
):
176 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
178 def GetWindow(self
, *_args
, **_kwargs
):
179 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
181 def SetFonts(self
, *_args
, **_kwargs
):
182 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
184 def GetContainer(self
, *_args
, **_kwargs
):
185 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
186 if val
: val
= wxHtmlContainerCellPtr(val
)
188 def OpenContainer(self
, *_args
, **_kwargs
):
189 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
190 if val
: val
= wxHtmlContainerCellPtr(val
)
192 def SetContainer(self
, *_args
, **_kwargs
):
193 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
194 if val
: val
= wxHtmlContainerCellPtr(val
)
196 def CloseContainer(self
, *_args
, **_kwargs
):
197 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
198 if val
: val
= wxHtmlContainerCellPtr(val
)
200 def GetFontSize(self
, *_args
, **_kwargs
):
201 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
203 def SetFontSize(self
, *_args
, **_kwargs
):
204 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
206 def GetFontBold(self
, *_args
, **_kwargs
):
207 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
209 def SetFontBold(self
, *_args
, **_kwargs
):
210 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
212 def GetFontItalic(self
, *_args
, **_kwargs
):
213 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
215 def SetFontItalic(self
, *_args
, **_kwargs
):
216 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
218 def GetFontUnderlined(self
, *_args
, **_kwargs
):
219 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
221 def SetFontUnderlined(self
, *_args
, **_kwargs
):
222 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
224 def GetFontFixed(self
, *_args
, **_kwargs
):
225 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
227 def SetFontFixed(self
, *_args
, **_kwargs
):
228 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
230 def GetAlign(self
, *_args
, **_kwargs
):
231 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
233 def SetAlign(self
, *_args
, **_kwargs
):
234 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
236 def GetLinkColor(self
, *_args
, **_kwargs
):
237 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
238 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
240 def SetLinkColor(self
, *_args
, **_kwargs
):
241 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
243 def GetActualColor(self
, *_args
, **_kwargs
):
244 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
245 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
247 def SetActualColor(self
, *_args
, **_kwargs
):
248 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
250 def SetLink(self
, *_args
, **_kwargs
):
251 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
253 def CreateCurrentFont(self
, *_args
, **_kwargs
):
254 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
255 if val
: val
= wxFontPtr(val
)
257 def GetLink(self
, *_args
, **_kwargs
):
258 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
259 if val
: val
= wxHtmlLinkInfoPtr(val
) ; val
.thisown
= 1
262 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
263 class wxHtmlWinParser(wxHtmlWinParserPtr
):
264 def __init__(self
,*_args
,**_kwargs
):
265 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
271 class wxHtmlTagHandlerPtr(wxObjectPtr
):
272 def __init__(self
,this
):
275 def _setCallbackInfo(self
, *_args
, **_kwargs
):
276 val
= apply(htmlc
.wxHtmlTagHandler__setCallbackInfo
,(self
,) + _args
, _kwargs
)
278 def SetParser(self
, *_args
, **_kwargs
):
279 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
281 def GetParser(self
, *_args
, **_kwargs
):
282 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
283 if val
: val
= wxHtmlParserPtr(val
)
285 def ParseInner(self
, *_args
, **_kwargs
):
286 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
289 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
290 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
291 def __init__(self
,*_args
,**_kwargs
):
292 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
294 self
._setCallbackInfo
(self
, wxHtmlTagHandler
)
299 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
300 def __init__(self
,this
):
303 def _setCallbackInfo(self
, *_args
, **_kwargs
):
304 val
= apply(htmlc
.wxHtmlWinTagHandler__setCallbackInfo
,(self
,) + _args
, _kwargs
)
306 def SetParser(self
, *_args
, **_kwargs
):
307 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
309 def GetParser(self
, *_args
, **_kwargs
):
310 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
311 if val
: val
= wxHtmlWinParserPtr(val
)
313 def ParseInner(self
, *_args
, **_kwargs
):
314 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
317 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
318 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
319 def __init__(self
,*_args
,**_kwargs
):
320 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
322 self
._setCallbackInfo
(self
, wxHtmlWinTagHandler
)
327 class wxHtmlCellPtr(wxObjectPtr
):
328 def __init__(self
,this
):
331 def GetPosX(self
, *_args
, **_kwargs
):
332 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
334 def GetPosY(self
, *_args
, **_kwargs
):
335 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
337 def GetWidth(self
, *_args
, **_kwargs
):
338 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
340 def GetHeight(self
, *_args
, **_kwargs
):
341 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
343 def GetDescent(self
, *_args
, **_kwargs
):
344 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
346 def GetLink(self
, *_args
, **_kwargs
):
347 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
348 if val
: val
= wxHtmlLinkInfoPtr(val
)
350 def GetNext(self
, *_args
, **_kwargs
):
351 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
352 if val
: val
= wxHtmlCellPtr(val
)
354 def GetParent(self
, *_args
, **_kwargs
):
355 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
356 if val
: val
= wxHtmlContainerCellPtr(val
)
358 def SetLink(self
, *_args
, **_kwargs
):
359 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
361 def SetNext(self
, *_args
, **_kwargs
):
362 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
364 def SetParent(self
, *_args
, **_kwargs
):
365 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
367 def SetPos(self
, *_args
, **_kwargs
):
368 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
370 def Layout(self
, *_args
, **_kwargs
):
371 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
373 def Draw(self
, *_args
, **_kwargs
):
374 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
376 def DrawInvisible(self
, *_args
, **_kwargs
):
377 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
379 def Find(self
, *_args
, **_kwargs
):
380 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
381 if val
: val
= wxHtmlCellPtr(val
)
383 def AdjustPagebreak(self
, *_args
, **_kwargs
):
384 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
386 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
387 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
390 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
391 class wxHtmlCell(wxHtmlCellPtr
):
392 def __init__(self
,*_args
,**_kwargs
):
393 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
399 class wxHtmlWordCellPtr(wxHtmlCellPtr
):
400 def __init__(self
,this
):
404 return "<C wxHtmlWordCell instance at %s>" % (self
.this
,)
405 class wxHtmlWordCell(wxHtmlWordCellPtr
):
406 def __init__(self
,*_args
,**_kwargs
):
407 self
.this
= apply(htmlc
.new_wxHtmlWordCell
,_args
,_kwargs
)
413 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
414 def __init__(self
,this
):
417 def InsertCell(self
, *_args
, **_kwargs
):
418 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
420 def SetAlignHor(self
, *_args
, **_kwargs
):
421 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
423 def GetAlignHor(self
, *_args
, **_kwargs
):
424 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
426 def SetAlignVer(self
, *_args
, **_kwargs
):
427 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
429 def GetAlignVer(self
, *_args
, **_kwargs
):
430 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
432 def SetIndent(self
, *_args
, **_kwargs
):
433 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
435 def GetIndent(self
, *_args
, **_kwargs
):
436 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
438 def GetIndentUnits(self
, *_args
, **_kwargs
):
439 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
441 def SetAlign(self
, *_args
, **_kwargs
):
442 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
444 def SetWidthFloat(self
, *_args
, **_kwargs
):
445 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
447 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
448 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
450 def SetMinHeight(self
, *_args
, **_kwargs
):
451 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
453 def SetBackgroundColour(self
, *_args
, **_kwargs
):
454 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
456 def GetBackgroundColour(self
, *_args
, **_kwargs
):
457 val
= apply(htmlc
.wxHtmlContainerCell_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
458 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
460 def SetBorder(self
, *_args
, **_kwargs
):
461 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
463 def GetFirstCell(self
, *_args
, **_kwargs
):
464 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
465 if val
: val
= wxHtmlCellPtr(val
)
468 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
469 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
470 def __init__(self
,*_args
,**_kwargs
):
471 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
477 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
478 def __init__(self
,this
):
482 return "<C wxHtmlColourCell instance at %s>" % (self
.this
,)
483 class wxHtmlColourCell(wxHtmlColourCellPtr
):
484 def __init__(self
,*_args
,**_kwargs
):
485 self
.this
= apply(htmlc
.new_wxHtmlColourCell
,_args
,_kwargs
)
491 class wxHtmlFontCellPtr(wxHtmlCellPtr
):
492 def __init__(self
,this
):
496 return "<C wxHtmlFontCell instance at %s>" % (self
.this
,)
497 class wxHtmlFontCell(wxHtmlFontCellPtr
):
498 def __init__(self
,*_args
,**_kwargs
):
499 self
.this
= apply(htmlc
.new_wxHtmlFontCell
,_args
,_kwargs
)
505 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
506 def __init__(self
,this
):
510 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
511 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
512 def __init__(self
,*_args
,**_kwargs
):
513 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
519 class wxHtmlFilterPtr(wxObjectPtr
):
520 def __init__(self
,this
):
523 def _setCallbackInfo(self
, *_args
, **_kwargs
):
524 val
= apply(htmlc
.wxHtmlFilter__setCallbackInfo
,(self
,) + _args
, _kwargs
)
527 return "<C wxHtmlFilter instance at %s>" % (self
.this
,)
528 class wxHtmlFilter(wxHtmlFilterPtr
):
529 def __init__(self
,*_args
,**_kwargs
):
530 self
.this
= apply(htmlc
.new_wxHtmlFilter
,_args
,_kwargs
)
532 self
._setCallbackInfo
(self
, wxHtmlFilter
)
537 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
538 def __init__(self
,this
):
541 def Create(self
, *_args
, **_kwargs
):
542 val
= apply(htmlc
.wxHtmlWindow_Create
,(self
,) + _args
, _kwargs
)
544 def _setCallbackInfo(self
, *_args
, **_kwargs
):
545 val
= apply(htmlc
.wxHtmlWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
547 def SetPage(self
, *_args
, **_kwargs
):
548 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
550 def LoadPage(self
, *_args
, **_kwargs
):
551 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
553 def AppendToPage(self
, *_args
, **_kwargs
):
554 val
= apply(htmlc
.wxHtmlWindow_AppendToPage
,(self
,) + _args
, _kwargs
)
556 def GetOpenedPage(self
, *_args
, **_kwargs
):
557 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
559 def GetOpenedAnchor(self
, *_args
, **_kwargs
):
560 val
= apply(htmlc
.wxHtmlWindow_GetOpenedAnchor
,(self
,) + _args
, _kwargs
)
562 def GetOpenedPageTitle(self
, *_args
, **_kwargs
):
563 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPageTitle
,(self
,) + _args
, _kwargs
)
565 def SetRelatedFrame(self
, *_args
, **_kwargs
):
566 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
568 def GetRelatedFrame(self
, *_args
, **_kwargs
):
569 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
571 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
572 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
574 def SetFonts(self
, *_args
, **_kwargs
):
575 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
577 def SetTitle(self
, *_args
, **_kwargs
):
578 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
580 def SetBorders(self
, *_args
, **_kwargs
):
581 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
583 def ReadCustomization(self
, *_args
, **_kwargs
):
584 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
586 def WriteCustomization(self
, *_args
, **_kwargs
):
587 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
589 def HistoryBack(self
, *_args
, **_kwargs
):
590 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
592 def HistoryForward(self
, *_args
, **_kwargs
):
593 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
595 def HistoryCanBack(self
, *_args
, **_kwargs
):
596 val
= apply(htmlc
.wxHtmlWindow_HistoryCanBack
,(self
,) + _args
, _kwargs
)
598 def HistoryCanForward(self
, *_args
, **_kwargs
):
599 val
= apply(htmlc
.wxHtmlWindow_HistoryCanForward
,(self
,) + _args
, _kwargs
)
601 def HistoryClear(self
, *_args
, **_kwargs
):
602 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
604 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
605 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
606 if val
: val
= wxHtmlContainerCellPtr(val
)
608 def GetParser(self
, *_args
, **_kwargs
):
609 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
610 if val
: val
= wxHtmlWinParserPtr(val
)
612 def ScrollToAnchor(self
, *_args
, **_kwargs
):
613 val
= apply(htmlc
.wxHtmlWindow_ScrollToAnchor
,(self
,) + _args
, _kwargs
)
615 def HasAnchor(self
, *_args
, **_kwargs
):
616 val
= apply(htmlc
.wxHtmlWindow_HasAnchor
,(self
,) + _args
, _kwargs
)
618 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
619 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
621 def base_OnSetTitle(self
, *_args
, **_kwargs
):
622 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
624 def base_OnCellMouseHover(self
, *_args
, **_kwargs
):
625 val
= apply(htmlc
.wxHtmlWindow_base_OnCellMouseHover
,(self
,) + _args
, _kwargs
)
627 def base_OnCellClicked(self
, *_args
, **_kwargs
):
628 val
= apply(htmlc
.wxHtmlWindow_base_OnCellClicked
,(self
,) + _args
, _kwargs
)
631 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
632 class wxHtmlWindow(wxHtmlWindowPtr
):
633 def __init__(self
,*_args
,**_kwargs
):
634 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
636 self
._setCallbackInfo
(self
, wxHtmlWindow
)
637 self
._setOORInfo
(self
)
641 def wxPreHtmlWindow(*_args
,**_kwargs
):
642 val
= wxHtmlWindowPtr(apply(htmlc
.new_wxPreHtmlWindow
,_args
,_kwargs
))
648 class wxHtmlDCRendererPtr(wxObjectPtr
):
649 def __init__(self
,this
):
652 def __del__(self
, delfunc
=htmlc
.delete_wxHtmlDCRenderer
):
653 if self
.thisown
== 1:
658 def SetDC(self
, *_args
, **_kwargs
):
659 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
661 def SetSize(self
, *_args
, **_kwargs
):
662 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
664 def SetHtmlText(self
, *_args
, **_kwargs
):
665 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
667 def SetFonts(self
, *_args
, **_kwargs
):
668 val
= apply(htmlc
.wxHtmlDCRenderer_SetFonts
,(self
,) + _args
, _kwargs
)
670 def Render(self
, *_args
, **_kwargs
):
671 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
673 def GetTotalHeight(self
, *_args
, **_kwargs
):
674 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
677 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
678 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
679 def __init__(self
,*_args
,**_kwargs
):
680 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
686 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
687 def __init__(self
,this
):
690 def SetHtmlText(self
, *_args
, **_kwargs
):
691 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
693 def SetHtmlFile(self
, *_args
, **_kwargs
):
694 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
696 def SetHeader(self
, *_args
, **_kwargs
):
697 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
699 def SetFooter(self
, *_args
, **_kwargs
):
700 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
702 def SetFonts(self
, *_args
, **_kwargs
):
703 val
= apply(htmlc
.wxHtmlPrintout_SetFonts
,(self
,) + _args
, _kwargs
)
705 def SetMargins(self
, *_args
, **_kwargs
):
706 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
709 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
710 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
711 def __init__(self
,*_args
,**_kwargs
):
712 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
718 class wxHtmlEasyPrintingPtr(wxObjectPtr
):
719 def __init__(self
,this
):
722 def __del__(self
, delfunc
=htmlc
.delete_wxHtmlEasyPrinting
):
723 if self
.thisown
== 1:
728 def PreviewFile(self
, *_args
, **_kwargs
):
729 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
731 def PreviewText(self
, *_args
, **_kwargs
):
732 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
734 def PrintFile(self
, *_args
, **_kwargs
):
735 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
737 def PrintText(self
, *_args
, **_kwargs
):
738 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
740 def PrinterSetup(self
, *_args
, **_kwargs
):
741 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
743 def PageSetup(self
, *_args
, **_kwargs
):
744 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
746 def SetHeader(self
, *_args
, **_kwargs
):
747 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
749 def SetFooter(self
, *_args
, **_kwargs
):
750 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
752 def SetFonts(self
, *_args
, **_kwargs
):
753 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFonts
,(self
,) + _args
, _kwargs
)
755 def GetPrintData(self
, *_args
, **_kwargs
):
756 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
757 if val
: val
= wxPrintDataPtr(val
)
759 def GetPageSetupData(self
, *_args
, **_kwargs
):
760 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
761 if val
: val
= wxPageSetupDialogDataPtr(val
)
764 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
765 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
766 def __init__(self
,*_args
,**_kwargs
):
767 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
775 #-------------- FUNCTION WRAPPERS ------------------
777 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
779 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
783 #-------------- VARIABLE WRAPPERS ------------------
785 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
786 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
787 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
788 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
789 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
790 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
791 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
792 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
793 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
794 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
795 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
796 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
797 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
798 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
799 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
800 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
801 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
802 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
803 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
804 wxHW_SCROLLBAR_NEVER
= htmlc
.wxHW_SCROLLBAR_NEVER
805 wxHW_SCROLLBAR_AUTO
= htmlc
.wxHW_SCROLLBAR_AUTO
806 wxHTML_OPEN
= htmlc
.wxHTML_OPEN
807 wxHTML_BLOCK
= htmlc
.wxHTML_BLOCK
808 wxHTML_REDIRECT
= htmlc
.wxHTML_REDIRECT
809 wxHTML_URL_PAGE
= htmlc
.wxHTML_URL_PAGE
810 wxHTML_URL_IMAGE
= htmlc
.wxHTML_URL_IMAGE
811 wxHTML_URL_OTHER
= htmlc
.wxHTML_URL_OTHER
812 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
813 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
814 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
817 #-------------- USER INCLUDE -----------------------
820 # Stuff these names into the wx namespace so wxPyConstructObject can find them
822 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
823 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
824 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
825 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
826 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
827 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
828 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
829 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
830 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr
831 wx
.wxHtmlLinkInfoPtr
= wxHtmlLinkInfoPtr
832 wx
.wxHtmlFilterPtr
= wxHtmlFilterPtr