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 AddTagHandler(self
, *_args
, **_kwargs
):
139 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
141 def GetSource(self
, *_args
, **_kwargs
):
142 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
144 def PushTagHandler(self
, *_args
, **_kwargs
):
145 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
147 def PopTagHandler(self
, *_args
, **_kwargs
):
148 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
151 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
152 class wxHtmlParser(wxHtmlParserPtr
):
153 def __init__(self
,this
):
159 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
160 def __init__(self
,this
):
163 def SetDC(self
, *_args
, **_kwargs
):
164 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
166 def GetDC(self
, *_args
, **_kwargs
):
167 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
169 def GetCharHeight(self
, *_args
, **_kwargs
):
170 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
172 def GetCharWidth(self
, *_args
, **_kwargs
):
173 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
175 def GetWindow(self
, *_args
, **_kwargs
):
176 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
178 def SetFonts(self
, *_args
, **_kwargs
):
179 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
181 def GetContainer(self
, *_args
, **_kwargs
):
182 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
183 if val
: val
= wxHtmlContainerCellPtr(val
)
185 def OpenContainer(self
, *_args
, **_kwargs
):
186 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
187 if val
: val
= wxHtmlContainerCellPtr(val
)
189 def SetContainer(self
, *_args
, **_kwargs
):
190 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
191 if val
: val
= wxHtmlContainerCellPtr(val
)
193 def CloseContainer(self
, *_args
, **_kwargs
):
194 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
195 if val
: val
= wxHtmlContainerCellPtr(val
)
197 def GetFontSize(self
, *_args
, **_kwargs
):
198 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
200 def SetFontSize(self
, *_args
, **_kwargs
):
201 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
203 def GetFontBold(self
, *_args
, **_kwargs
):
204 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
206 def SetFontBold(self
, *_args
, **_kwargs
):
207 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
209 def GetFontItalic(self
, *_args
, **_kwargs
):
210 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
212 def SetFontItalic(self
, *_args
, **_kwargs
):
213 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
215 def GetFontUnderlined(self
, *_args
, **_kwargs
):
216 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
218 def SetFontUnderlined(self
, *_args
, **_kwargs
):
219 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
221 def GetFontFixed(self
, *_args
, **_kwargs
):
222 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
224 def SetFontFixed(self
, *_args
, **_kwargs
):
225 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
227 def GetAlign(self
, *_args
, **_kwargs
):
228 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
230 def SetAlign(self
, *_args
, **_kwargs
):
231 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
233 def GetLinkColor(self
, *_args
, **_kwargs
):
234 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
235 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
237 def SetLinkColor(self
, *_args
, **_kwargs
):
238 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
240 def GetActualColor(self
, *_args
, **_kwargs
):
241 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
242 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
244 def SetActualColor(self
, *_args
, **_kwargs
):
245 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
247 def SetLink(self
, *_args
, **_kwargs
):
248 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
250 def CreateCurrentFont(self
, *_args
, **_kwargs
):
251 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
252 if val
: val
= wxFontPtr(val
)
254 def GetLink(self
, *_args
, **_kwargs
):
255 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
256 if val
: val
= wxHtmlLinkInfoPtr(val
) ; val
.thisown
= 1
259 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
260 class wxHtmlWinParser(wxHtmlWinParserPtr
):
261 def __init__(self
,*_args
,**_kwargs
):
262 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
268 class wxHtmlTagHandlerPtr(wxObjectPtr
):
269 def __init__(self
,this
):
272 def _setCallbackInfo(self
, *_args
, **_kwargs
):
273 val
= apply(htmlc
.wxHtmlTagHandler__setCallbackInfo
,(self
,) + _args
, _kwargs
)
275 def SetParser(self
, *_args
, **_kwargs
):
276 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
278 def GetParser(self
, *_args
, **_kwargs
):
279 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
280 if val
: val
= wxHtmlParserPtr(val
)
282 def ParseInner(self
, *_args
, **_kwargs
):
283 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
286 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
287 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
288 def __init__(self
,*_args
,**_kwargs
):
289 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
291 self
._setCallbackInfo
(self
, wxHtmlTagHandler
)
296 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
297 def __init__(self
,this
):
300 def _setCallbackInfo(self
, *_args
, **_kwargs
):
301 val
= apply(htmlc
.wxHtmlWinTagHandler__setCallbackInfo
,(self
,) + _args
, _kwargs
)
303 def SetParser(self
, *_args
, **_kwargs
):
304 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
306 def GetParser(self
, *_args
, **_kwargs
):
307 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
308 if val
: val
= wxHtmlWinParserPtr(val
)
310 def ParseInner(self
, *_args
, **_kwargs
):
311 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
314 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
315 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
316 def __init__(self
,*_args
,**_kwargs
):
317 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
319 self
._setCallbackInfo
(self
, wxHtmlWinTagHandler
)
324 class wxHtmlCellPtr(wxObjectPtr
):
325 def __init__(self
,this
):
328 def GetPosX(self
, *_args
, **_kwargs
):
329 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
331 def GetPosY(self
, *_args
, **_kwargs
):
332 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
334 def GetWidth(self
, *_args
, **_kwargs
):
335 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
337 def GetHeight(self
, *_args
, **_kwargs
):
338 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
340 def GetDescent(self
, *_args
, **_kwargs
):
341 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
343 def GetLink(self
, *_args
, **_kwargs
):
344 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
345 if val
: val
= wxHtmlLinkInfoPtr(val
)
347 def GetNext(self
, *_args
, **_kwargs
):
348 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
349 if val
: val
= wxHtmlCellPtr(val
)
351 def GetParent(self
, *_args
, **_kwargs
):
352 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
353 if val
: val
= wxHtmlContainerCellPtr(val
)
355 def SetLink(self
, *_args
, **_kwargs
):
356 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
358 def SetNext(self
, *_args
, **_kwargs
):
359 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
361 def SetParent(self
, *_args
, **_kwargs
):
362 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
364 def SetPos(self
, *_args
, **_kwargs
):
365 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
367 def Layout(self
, *_args
, **_kwargs
):
368 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
370 def Draw(self
, *_args
, **_kwargs
):
371 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
373 def DrawInvisible(self
, *_args
, **_kwargs
):
374 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
376 def Find(self
, *_args
, **_kwargs
):
377 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
378 if val
: val
= wxHtmlCellPtr(val
)
380 def AdjustPagebreak(self
, *_args
, **_kwargs
):
381 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
383 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
384 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
387 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
388 class wxHtmlCell(wxHtmlCellPtr
):
389 def __init__(self
,*_args
,**_kwargs
):
390 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
396 class wxHtmlWordCellPtr(wxHtmlCellPtr
):
397 def __init__(self
,this
):
401 return "<C wxHtmlWordCell instance at %s>" % (self
.this
,)
402 class wxHtmlWordCell(wxHtmlWordCellPtr
):
403 def __init__(self
,*_args
,**_kwargs
):
404 self
.this
= apply(htmlc
.new_wxHtmlWordCell
,_args
,_kwargs
)
410 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
411 def __init__(self
,this
):
414 def InsertCell(self
, *_args
, **_kwargs
):
415 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
417 def SetAlignHor(self
, *_args
, **_kwargs
):
418 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
420 def GetAlignHor(self
, *_args
, **_kwargs
):
421 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
423 def SetAlignVer(self
, *_args
, **_kwargs
):
424 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
426 def GetAlignVer(self
, *_args
, **_kwargs
):
427 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
429 def SetIndent(self
, *_args
, **_kwargs
):
430 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
432 def GetIndent(self
, *_args
, **_kwargs
):
433 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
435 def GetIndentUnits(self
, *_args
, **_kwargs
):
436 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
438 def SetAlign(self
, *_args
, **_kwargs
):
439 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
441 def SetWidthFloat(self
, *_args
, **_kwargs
):
442 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
444 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
445 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
447 def SetMinHeight(self
, *_args
, **_kwargs
):
448 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
450 def SetBackgroundColour(self
, *_args
, **_kwargs
):
451 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
453 def SetBorder(self
, *_args
, **_kwargs
):
454 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
456 def GetFirstCell(self
, *_args
, **_kwargs
):
457 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
458 if val
: val
= wxHtmlCellPtr(val
)
461 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
462 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
463 def __init__(self
,*_args
,**_kwargs
):
464 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
470 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
471 def __init__(self
,this
):
475 return "<C wxHtmlColourCell instance at %s>" % (self
.this
,)
476 class wxHtmlColourCell(wxHtmlColourCellPtr
):
477 def __init__(self
,*_args
,**_kwargs
):
478 self
.this
= apply(htmlc
.new_wxHtmlColourCell
,_args
,_kwargs
)
484 class wxHtmlFontCellPtr(wxHtmlCellPtr
):
485 def __init__(self
,this
):
489 return "<C wxHtmlFontCell instance at %s>" % (self
.this
,)
490 class wxHtmlFontCell(wxHtmlFontCellPtr
):
491 def __init__(self
,*_args
,**_kwargs
):
492 self
.this
= apply(htmlc
.new_wxHtmlFontCell
,_args
,_kwargs
)
498 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
499 def __init__(self
,this
):
503 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
504 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
505 def __init__(self
,*_args
,**_kwargs
):
506 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
512 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
513 def __init__(self
,this
):
516 def Create(self
, *_args
, **_kwargs
):
517 val
= apply(htmlc
.wxHtmlWindow_Create
,(self
,) + _args
, _kwargs
)
519 def _setCallbackInfo(self
, *_args
, **_kwargs
):
520 val
= apply(htmlc
.wxHtmlWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
522 def SetPage(self
, *_args
, **_kwargs
):
523 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
525 def LoadPage(self
, *_args
, **_kwargs
):
526 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
528 def AppendToPage(self
, *_args
, **_kwargs
):
529 val
= apply(htmlc
.wxHtmlWindow_AppendToPage
,(self
,) + _args
, _kwargs
)
531 def GetOpenedPage(self
, *_args
, **_kwargs
):
532 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
534 def GetOpenedAnchor(self
, *_args
, **_kwargs
):
535 val
= apply(htmlc
.wxHtmlWindow_GetOpenedAnchor
,(self
,) + _args
, _kwargs
)
537 def GetOpenedPageTitle(self
, *_args
, **_kwargs
):
538 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPageTitle
,(self
,) + _args
, _kwargs
)
540 def SetRelatedFrame(self
, *_args
, **_kwargs
):
541 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
543 def GetRelatedFrame(self
, *_args
, **_kwargs
):
544 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
546 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
547 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
549 def SetFonts(self
, *_args
, **_kwargs
):
550 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
552 def SetTitle(self
, *_args
, **_kwargs
):
553 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
555 def SetBorders(self
, *_args
, **_kwargs
):
556 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
558 def ReadCustomization(self
, *_args
, **_kwargs
):
559 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
561 def WriteCustomization(self
, *_args
, **_kwargs
):
562 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
564 def HistoryBack(self
, *_args
, **_kwargs
):
565 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
567 def HistoryForward(self
, *_args
, **_kwargs
):
568 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
570 def HistoryCanBack(self
, *_args
, **_kwargs
):
571 val
= apply(htmlc
.wxHtmlWindow_HistoryCanBack
,(self
,) + _args
, _kwargs
)
573 def HistoryCanForward(self
, *_args
, **_kwargs
):
574 val
= apply(htmlc
.wxHtmlWindow_HistoryCanForward
,(self
,) + _args
, _kwargs
)
576 def HistoryClear(self
, *_args
, **_kwargs
):
577 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
579 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
580 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
581 if val
: val
= wxHtmlContainerCellPtr(val
)
583 def GetParser(self
, *_args
, **_kwargs
):
584 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
585 if val
: val
= wxHtmlWinParserPtr(val
)
587 def ScrollToAnchor(self
, *_args
, **_kwargs
):
588 val
= apply(htmlc
.wxHtmlWindow_ScrollToAnchor
,(self
,) + _args
, _kwargs
)
590 def HasAnchor(self
, *_args
, **_kwargs
):
591 val
= apply(htmlc
.wxHtmlWindow_HasAnchor
,(self
,) + _args
, _kwargs
)
593 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
594 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
596 def base_OnSetTitle(self
, *_args
, **_kwargs
):
597 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
599 def base_OnCellMouseHover(self
, *_args
, **_kwargs
):
600 val
= apply(htmlc
.wxHtmlWindow_base_OnCellMouseHover
,(self
,) + _args
, _kwargs
)
602 def base_OnCellClicked(self
, *_args
, **_kwargs
):
603 val
= apply(htmlc
.wxHtmlWindow_base_OnCellClicked
,(self
,) + _args
, _kwargs
)
606 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
607 class wxHtmlWindow(wxHtmlWindowPtr
):
608 def __init__(self
,*_args
,**_kwargs
):
609 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
611 self
._setCallbackInfo
(self
, wxHtmlWindow
)
612 self
._setOORInfo
(self
)
616 def wxPreHtmlWindow(*_args
,**_kwargs
):
617 val
= wxHtmlWindowPtr(apply(htmlc
.new_wxPreHtmlWindow
,_args
,_kwargs
))
623 class wxHtmlDCRendererPtr(wxObjectPtr
):
624 def __init__(self
,this
):
627 def __del__(self
,htmlc
=htmlc
):
628 if self
.thisown
== 1 :
629 htmlc
.delete_wxHtmlDCRenderer(self
)
630 def SetDC(self
, *_args
, **_kwargs
):
631 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
633 def SetSize(self
, *_args
, **_kwargs
):
634 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
636 def SetHtmlText(self
, *_args
, **_kwargs
):
637 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
639 def Render(self
, *_args
, **_kwargs
):
640 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
642 def GetTotalHeight(self
, *_args
, **_kwargs
):
643 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
646 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
647 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
648 def __init__(self
,*_args
,**_kwargs
):
649 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
655 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
656 def __init__(self
,this
):
659 def SetHtmlText(self
, *_args
, **_kwargs
):
660 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
662 def SetHtmlFile(self
, *_args
, **_kwargs
):
663 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
665 def SetHeader(self
, *_args
, **_kwargs
):
666 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
668 def SetFooter(self
, *_args
, **_kwargs
):
669 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
671 def SetMargins(self
, *_args
, **_kwargs
):
672 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
675 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
676 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
677 def __init__(self
,*_args
,**_kwargs
):
678 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
684 class wxHtmlEasyPrintingPtr(wxObjectPtr
):
685 def __init__(self
,this
):
688 def __del__(self
,htmlc
=htmlc
):
689 if self
.thisown
== 1 :
690 htmlc
.delete_wxHtmlEasyPrinting(self
)
691 def PreviewFile(self
, *_args
, **_kwargs
):
692 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
694 def PreviewText(self
, *_args
, **_kwargs
):
695 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
697 def PrintFile(self
, *_args
, **_kwargs
):
698 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
700 def PrintText(self
, *_args
, **_kwargs
):
701 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
703 def PrinterSetup(self
, *_args
, **_kwargs
):
704 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
706 def PageSetup(self
, *_args
, **_kwargs
):
707 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
709 def SetHeader(self
, *_args
, **_kwargs
):
710 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
712 def SetFooter(self
, *_args
, **_kwargs
):
713 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
715 def GetPrintData(self
, *_args
, **_kwargs
):
716 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
717 if val
: val
= wxPrintDataPtr(val
)
719 def GetPageSetupData(self
, *_args
, **_kwargs
):
720 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
721 if val
: val
= wxPageSetupDialogDataPtr(val
)
724 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
725 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
726 def __init__(self
,*_args
,**_kwargs
):
727 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
735 #-------------- FUNCTION WRAPPERS ------------------
737 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
739 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
743 #-------------- VARIABLE WRAPPERS ------------------
745 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
746 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
747 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
748 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
749 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
750 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
751 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
752 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
753 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
754 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
755 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
756 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
757 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
758 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
759 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
760 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
761 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
762 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
763 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
764 wxHW_SCROLLBAR_NEVER
= htmlc
.wxHW_SCROLLBAR_NEVER
765 wxHW_SCROLLBAR_AUTO
= htmlc
.wxHW_SCROLLBAR_AUTO
766 wxHTML_OPEN
= htmlc
.wxHTML_OPEN
767 wxHTML_BLOCK
= htmlc
.wxHTML_BLOCK
768 wxHTML_REDIRECT
= htmlc
.wxHTML_REDIRECT
769 wxHTML_URL_PAGE
= htmlc
.wxHTML_URL_PAGE
770 wxHTML_URL_IMAGE
= htmlc
.wxHTML_URL_IMAGE
771 wxHTML_URL_OTHER
= htmlc
.wxHTML_URL_OTHER
772 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
773 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
774 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
777 #-------------- USER INCLUDE -----------------------
780 # Stuff these names into the wx namespace so wxPyConstructObject can find them
782 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
783 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
784 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
785 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
786 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
787 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
788 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
789 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
790 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr
791 wx
.wxHtmlLinkInfoPtr
= wxHtmlLinkInfoPtr