1 # This file was created automatically by SWIG.
18 from stattool
import *
20 from controls
import *
22 from controls2
import *
24 from windows2
import *
28 from windows3
import *
38 def __init__(self
,this
):
41 def GetName(self
, *_args
, **_kwargs
):
42 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
44 def HasParam(self
, *_args
, **_kwargs
):
45 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
47 def GetParam(self
, *_args
, **_kwargs
):
48 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
50 def GetAllParams(self
, *_args
, **_kwargs
):
51 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
53 def IsEnding(self
, *_args
, **_kwargs
):
54 val
= apply(htmlc
.wxHtmlTag_IsEnding
,(self
,) + _args
, _kwargs
)
56 def HasEnding(self
, *_args
, **_kwargs
):
57 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
59 def GetBeginPos(self
, *_args
, **_kwargs
):
60 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
62 def GetEndPos1(self
, *_args
, **_kwargs
):
63 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
65 def GetEndPos2(self
, *_args
, **_kwargs
):
66 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
69 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
70 class wxHtmlTag(wxHtmlTagPtr
):
71 def __init__(self
,this
):
77 class wxHtmlParserPtr
:
78 def __init__(self
,this
):
81 def SetFS(self
, *_args
, **_kwargs
):
82 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
84 def GetFS(self
, *_args
, **_kwargs
):
85 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
87 def Parse(self
, *_args
, **_kwargs
):
88 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
90 def InitParser(self
, *_args
, **_kwargs
):
91 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
93 def DoneParser(self
, *_args
, **_kwargs
):
94 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
96 def DoParsing(self
, *_args
, **_kwargs
):
97 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
99 def AddTagHandler(self
, *_args
, **_kwargs
):
100 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
102 def GetSource(self
, *_args
, **_kwargs
):
103 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
105 def PushTagHandler(self
, *_args
, **_kwargs
):
106 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
108 def PopTagHandler(self
, *_args
, **_kwargs
):
109 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
112 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
113 class wxHtmlParser(wxHtmlParserPtr
):
114 def __init__(self
,this
):
120 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
121 def __init__(self
,this
):
124 def SetDC(self
, *_args
, **_kwargs
):
125 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
127 def GetDC(self
, *_args
, **_kwargs
):
128 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
129 if val
: val
= wxDCPtr(val
)
131 def GetCharHeight(self
, *_args
, **_kwargs
):
132 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
134 def GetCharWidth(self
, *_args
, **_kwargs
):
135 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
137 def GetWindow(self
, *_args
, **_kwargs
):
138 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
139 if val
: val
= wxWindowPtr(val
)
141 def SetFonts(self
, *_args
, **_kwargs
):
142 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
144 def GetContainer(self
, *_args
, **_kwargs
):
145 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
146 if val
: val
= wxHtmlContainerCellPtr(val
)
148 def OpenContainer(self
, *_args
, **_kwargs
):
149 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
150 if val
: val
= wxHtmlContainerCellPtr(val
)
152 def SetContainer(self
, *_args
, **_kwargs
):
153 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
154 if val
: val
= wxHtmlContainerCellPtr(val
)
156 def CloseContainer(self
, *_args
, **_kwargs
):
157 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
158 if val
: val
= wxHtmlContainerCellPtr(val
)
160 def GetFontSize(self
, *_args
, **_kwargs
):
161 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
163 def SetFontSize(self
, *_args
, **_kwargs
):
164 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
166 def GetFontBold(self
, *_args
, **_kwargs
):
167 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
169 def SetFontBold(self
, *_args
, **_kwargs
):
170 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
172 def GetFontItalic(self
, *_args
, **_kwargs
):
173 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
175 def SetFontItalic(self
, *_args
, **_kwargs
):
176 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
178 def GetFontUnderlined(self
, *_args
, **_kwargs
):
179 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
181 def SetFontUnderlined(self
, *_args
, **_kwargs
):
182 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
184 def GetFontFixed(self
, *_args
, **_kwargs
):
185 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
187 def SetFontFixed(self
, *_args
, **_kwargs
):
188 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
190 def GetAlign(self
, *_args
, **_kwargs
):
191 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
193 def SetAlign(self
, *_args
, **_kwargs
):
194 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
196 def GetLinkColor(self
, *_args
, **_kwargs
):
197 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
198 if val
: val
= wxColourPtr(val
)
200 def SetLinkColor(self
, *_args
, **_kwargs
):
201 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
203 def GetActualColor(self
, *_args
, **_kwargs
):
204 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
205 if val
: val
= wxColourPtr(val
)
207 def SetActualColor(self
, *_args
, **_kwargs
):
208 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
210 def GetLink(self
, *_args
, **_kwargs
):
211 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
213 def SetLink(self
, *_args
, **_kwargs
):
214 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
216 def CreateCurrentFont(self
, *_args
, **_kwargs
):
217 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
218 if val
: val
= wxFontPtr(val
)
221 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
222 class wxHtmlWinParser(wxHtmlWinParserPtr
):
223 def __init__(self
,*_args
,**_kwargs
):
224 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
230 class wxHtmlTagHandlerPtr
:
231 def __init__(self
,this
):
234 def _setSelf(self
, *_args
, **_kwargs
):
235 val
= apply(htmlc
.wxHtmlTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
237 def SetParser(self
, *_args
, **_kwargs
):
238 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
240 def GetParser(self
, *_args
, **_kwargs
):
241 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
242 if val
: val
= wxHtmlParserPtr(val
)
244 def ParseInner(self
, *_args
, **_kwargs
):
245 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
248 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
249 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
250 def __init__(self
,*_args
,**_kwargs
):
251 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
258 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
259 def __init__(self
,this
):
262 def _setSelf(self
, *_args
, **_kwargs
):
263 val
= apply(htmlc
.wxHtmlWinTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
265 def SetParser(self
, *_args
, **_kwargs
):
266 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
268 def GetParser(self
, *_args
, **_kwargs
):
269 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
270 if val
: val
= wxHtmlWinParserPtr(val
)
272 def ParseInner(self
, *_args
, **_kwargs
):
273 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
276 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
277 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
278 def __init__(self
,*_args
,**_kwargs
):
279 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
286 class wxHtmlCellPtr
:
287 def __init__(self
,this
):
290 def SetParent(self
, *_args
, **_kwargs
):
291 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
293 def GetParent(self
, *_args
, **_kwargs
):
294 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
295 if val
: val
= wxHtmlContainerCellPtr(val
)
297 def GetPosX(self
, *_args
, **_kwargs
):
298 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
300 def GetPosY(self
, *_args
, **_kwargs
):
301 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
303 def GetWidth(self
, *_args
, **_kwargs
):
304 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
306 def GetHeight(self
, *_args
, **_kwargs
):
307 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
309 def GetDescent(self
, *_args
, **_kwargs
):
310 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
312 def GetLink(self
, *_args
, **_kwargs
):
313 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
315 def GetNext(self
, *_args
, **_kwargs
):
316 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
317 if val
: val
= wxHtmlCellPtr(val
)
319 def SetPos(self
, *_args
, **_kwargs
):
320 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
322 def SetLink(self
, *_args
, **_kwargs
):
323 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
325 def SetNext(self
, *_args
, **_kwargs
):
326 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
328 def Layout(self
, *_args
, **_kwargs
):
329 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
331 def Draw(self
, *_args
, **_kwargs
):
332 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
334 def DrawInvisible(self
, *_args
, **_kwargs
):
335 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
337 def Find(self
, *_args
, **_kwargs
):
338 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
339 if val
: val
= wxHtmlCellPtr(val
)
341 def AdjustPagebreak(self
, *_args
, **_kwargs
):
342 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
344 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
345 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
348 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
349 class wxHtmlCell(wxHtmlCellPtr
):
350 def __init__(self
,*_args
,**_kwargs
):
351 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
357 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
358 def __init__(self
,this
):
361 def InsertCell(self
, *_args
, **_kwargs
):
362 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
364 def SetAlignHor(self
, *_args
, **_kwargs
):
365 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
367 def GetAlignHor(self
, *_args
, **_kwargs
):
368 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
370 def SetAlignVer(self
, *_args
, **_kwargs
):
371 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
373 def GetAlignVer(self
, *_args
, **_kwargs
):
374 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
376 def SetIndent(self
, *_args
, **_kwargs
):
377 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
379 def GetIndent(self
, *_args
, **_kwargs
):
380 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
382 def GetIndentUnits(self
, *_args
, **_kwargs
):
383 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
385 def SetAlign(self
, *_args
, **_kwargs
):
386 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
388 def SetWidthFloat(self
, *_args
, **_kwargs
):
389 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
391 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
392 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
394 def SetMinHeight(self
, *_args
, **_kwargs
):
395 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
397 def GetMaxLineWidth(self
, *_args
, **_kwargs
):
398 val
= apply(htmlc
.wxHtmlContainerCell_GetMaxLineWidth
,(self
,) + _args
, _kwargs
)
400 def SetBackgroundColour(self
, *_args
, **_kwargs
):
401 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
403 def SetBorder(self
, *_args
, **_kwargs
):
404 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
406 def GetFirstCell(self
, *_args
, **_kwargs
):
407 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
408 if val
: val
= wxHtmlCellPtr(val
)
411 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
412 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
413 def __init__(self
,*_args
,**_kwargs
):
414 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
420 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
421 def __init__(self
,this
):
425 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
426 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
427 def __init__(self
,*_args
,**_kwargs
):
428 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
434 class HtmlHistoryItemPtr
:
435 def __init__(self
,this
):
438 def GetPos(self
, *_args
, **_kwargs
):
439 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
441 def SetPos(self
, *_args
, **_kwargs
):
442 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
444 def GetPage(self
, *_args
, **_kwargs
):
445 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
447 def GetAnchor(self
, *_args
, **_kwargs
):
448 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
451 return "<C HtmlHistoryItem instance at %s>" % (self
.this
,)
452 class HtmlHistoryItem(HtmlHistoryItemPtr
):
453 def __init__(self
,*_args
,**_kwargs
):
454 self
.this
= apply(htmlc
.new_HtmlHistoryItem
,_args
,_kwargs
)
460 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
461 def __init__(self
,this
):
464 def _setSelf(self
, *_args
, **_kwargs
):
465 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
467 def SetPage(self
, *_args
, **_kwargs
):
468 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
470 def LoadPage(self
, *_args
, **_kwargs
):
471 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
473 def GetOpenedPage(self
, *_args
, **_kwargs
):
474 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
476 def SetRelatedFrame(self
, *_args
, **_kwargs
):
477 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
479 def GetRelatedFrame(self
, *_args
, **_kwargs
):
480 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
481 if val
: val
= wxFramePtr(val
)
483 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
484 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
486 def SetFonts(self
, *_args
, **_kwargs
):
487 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
489 def SetTitle(self
, *_args
, **_kwargs
):
490 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
492 def SetBorders(self
, *_args
, **_kwargs
):
493 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
495 def ReadCustomization(self
, *_args
, **_kwargs
):
496 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
498 def WriteCustomization(self
, *_args
, **_kwargs
):
499 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
501 def HistoryBack(self
, *_args
, **_kwargs
):
502 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
504 def HistoryForward(self
, *_args
, **_kwargs
):
505 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
507 def HistoryClear(self
, *_args
, **_kwargs
):
508 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
510 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
511 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
512 if val
: val
= wxHtmlContainerCellPtr(val
)
514 def GetParser(self
, *_args
, **_kwargs
):
515 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
516 if val
: val
= wxHtmlWinParserPtr(val
)
518 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
519 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
522 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
523 class wxHtmlWindow(wxHtmlWindowPtr
):
524 def __init__(self
,*_args
,**_kwargs
):
525 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
528 wx
._StdWindowCallbacks
(self
)
529 wx
._StdOnScrollCallbacks
(self
)
534 class wxHtmlDCRendererPtr
:
535 def __init__(self
,this
):
538 def __del__(self
,htmlc
=htmlc
):
539 if self
.thisown
== 1 :
540 htmlc
.delete_wxHtmlDCRenderer(self
)
541 def SetDC(self
, *_args
, **_kwargs
):
542 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
544 def SetSize(self
, *_args
, **_kwargs
):
545 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
547 def SetHtmlText(self
, *_args
, **_kwargs
):
548 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
550 def Render(self
, *_args
, **_kwargs
):
551 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
553 def GetTotalHeight(self
, *_args
, **_kwargs
):
554 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
557 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
558 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
559 def __init__(self
,*_args
,**_kwargs
):
560 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
566 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
567 def __init__(self
,this
):
570 def __del__(self
,htmlc
=htmlc
):
571 if self
.thisown
== 1 :
572 htmlc
.delete_wxHtmlPrintout(self
)
573 def SetHtmlText(self
, *_args
, **_kwargs
):
574 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
576 def SetHtmlFile(self
, *_args
, **_kwargs
):
577 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
579 def SetHeader(self
, *_args
, **_kwargs
):
580 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
582 def SetFooter(self
, *_args
, **_kwargs
):
583 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
585 def SetMargins(self
, *_args
, **_kwargs
):
586 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
589 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
590 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
591 def __init__(self
,*_args
,**_kwargs
):
592 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
598 class wxHtmlEasyPrintingPtr
:
599 def __init__(self
,this
):
602 def __del__(self
,htmlc
=htmlc
):
603 if self
.thisown
== 1 :
604 htmlc
.delete_wxHtmlEasyPrinting(self
)
605 def PreviewFile(self
, *_args
, **_kwargs
):
606 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
608 def PreviewText(self
, *_args
, **_kwargs
):
609 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
611 def PrintFile(self
, *_args
, **_kwargs
):
612 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
614 def PrintText(self
, *_args
, **_kwargs
):
615 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
617 def PrinterSetup(self
, *_args
, **_kwargs
):
618 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
620 def PageSetup(self
, *_args
, **_kwargs
):
621 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
623 def SetHeader(self
, *_args
, **_kwargs
):
624 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
626 def SetFooter(self
, *_args
, **_kwargs
):
627 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
629 def GetPrintData(self
, *_args
, **_kwargs
):
630 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
631 if val
: val
= wxPrintDataPtr(val
)
633 def GetPageSetupData(self
, *_args
, **_kwargs
):
634 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
635 if val
: val
= wxPageSetupDialogDataPtr(val
)
638 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
639 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
640 def __init__(self
,*_args
,**_kwargs
):
641 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
649 #-------------- FUNCTION WRAPPERS ------------------
651 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
653 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
657 #-------------- VARIABLE WRAPPERS ------------------
659 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
660 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
661 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
662 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
663 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
664 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
665 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
666 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
667 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
668 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
669 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
670 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
671 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
672 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
673 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
674 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
675 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
676 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
677 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
678 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
679 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
680 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
683 #-------------- USER INCLUDE -----------------------
686 # Stuff these names into the wx namespace so wxPyConstructObject can find them
688 wx
.wxHtmlTagPtr
= wxHtmlTag
689 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
690 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
691 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
692 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
693 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
694 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
695 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
696 wx
.HtmlHistoryItemPtr
= HtmlHistoryItemPtr
697 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr