1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
20 from stattool
import *
22 from controls
import *
24 from controls2
import *
26 from windows2
import *
30 from windows3
import *
38 class wxHtmlLinkInfoPtr
:
39 def __init__(self
,this
):
42 def GetHref(self
, *_args
, **_kwargs
):
43 val
= apply(htmlc
.wxHtmlLinkInfo_GetHref
,(self
,) + _args
, _kwargs
)
45 def GetTarget(self
, *_args
, **_kwargs
):
46 val
= apply(htmlc
.wxHtmlLinkInfo_GetTarget
,(self
,) + _args
, _kwargs
)
48 def GetEvent(self
, *_args
, **_kwargs
):
49 val
= apply(htmlc
.wxHtmlLinkInfo_GetEvent
,(self
,) + _args
, _kwargs
)
50 if val
: val
= wxMouseEventPtr(val
)
52 def GetHtmlCell(self
, *_args
, **_kwargs
):
53 val
= apply(htmlc
.wxHtmlLinkInfo_GetHtmlCell
,(self
,) + _args
, _kwargs
)
54 if val
: val
= wxHtmlCellPtr(val
)
57 return "<C wxHtmlLinkInfo instance at %s>" % (self
.this
,)
58 class wxHtmlLinkInfo(wxHtmlLinkInfoPtr
):
59 def __init__(self
,*_args
,**_kwargs
):
60 self
.this
= apply(htmlc
.new_wxHtmlLinkInfo
,_args
,_kwargs
)
67 def __init__(self
,this
):
70 def GetName(self
, *_args
, **_kwargs
):
71 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
73 def HasParam(self
, *_args
, **_kwargs
):
74 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
76 def GetParam(self
, *_args
, **_kwargs
):
77 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
79 def GetAllParams(self
, *_args
, **_kwargs
):
80 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
82 def IsEnding(self
, *_args
, **_kwargs
):
83 val
= apply(htmlc
.wxHtmlTag_IsEnding
,(self
,) + _args
, _kwargs
)
85 def HasEnding(self
, *_args
, **_kwargs
):
86 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
88 def GetBeginPos(self
, *_args
, **_kwargs
):
89 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
91 def GetEndPos1(self
, *_args
, **_kwargs
):
92 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
94 def GetEndPos2(self
, *_args
, **_kwargs
):
95 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
98 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
99 class wxHtmlTag(wxHtmlTagPtr
):
100 def __init__(self
,this
):
106 class wxHtmlParserPtr
:
107 def __init__(self
,this
):
110 def SetFS(self
, *_args
, **_kwargs
):
111 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
113 def GetFS(self
, *_args
, **_kwargs
):
114 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
116 def Parse(self
, *_args
, **_kwargs
):
117 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
119 def InitParser(self
, *_args
, **_kwargs
):
120 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
122 def DoneParser(self
, *_args
, **_kwargs
):
123 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
125 def DoParsing(self
, *_args
, **_kwargs
):
126 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
128 def AddTagHandler(self
, *_args
, **_kwargs
):
129 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
131 def GetSource(self
, *_args
, **_kwargs
):
132 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
134 def PushTagHandler(self
, *_args
, **_kwargs
):
135 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
137 def PopTagHandler(self
, *_args
, **_kwargs
):
138 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
141 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
142 class wxHtmlParser(wxHtmlParserPtr
):
143 def __init__(self
,this
):
149 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
150 def __init__(self
,this
):
153 def SetDC(self
, *_args
, **_kwargs
):
154 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
156 def GetDC(self
, *_args
, **_kwargs
):
157 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
158 if val
: val
= wxDCPtr(val
)
160 def GetCharHeight(self
, *_args
, **_kwargs
):
161 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
163 def GetCharWidth(self
, *_args
, **_kwargs
):
164 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
166 def GetWindow(self
, *_args
, **_kwargs
):
167 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
168 if val
: val
= wxWindowPtr(val
)
170 def SetFonts(self
, *_args
, **_kwargs
):
171 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
173 def GetContainer(self
, *_args
, **_kwargs
):
174 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
175 if val
: val
= wxHtmlContainerCellPtr(val
)
177 def OpenContainer(self
, *_args
, **_kwargs
):
178 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
179 if val
: val
= wxHtmlContainerCellPtr(val
)
181 def SetContainer(self
, *_args
, **_kwargs
):
182 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
183 if val
: val
= wxHtmlContainerCellPtr(val
)
185 def CloseContainer(self
, *_args
, **_kwargs
):
186 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
187 if val
: val
= wxHtmlContainerCellPtr(val
)
189 def GetFontSize(self
, *_args
, **_kwargs
):
190 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
192 def SetFontSize(self
, *_args
, **_kwargs
):
193 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
195 def GetFontBold(self
, *_args
, **_kwargs
):
196 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
198 def SetFontBold(self
, *_args
, **_kwargs
):
199 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
201 def GetFontItalic(self
, *_args
, **_kwargs
):
202 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
204 def SetFontItalic(self
, *_args
, **_kwargs
):
205 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
207 def GetFontUnderlined(self
, *_args
, **_kwargs
):
208 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
210 def SetFontUnderlined(self
, *_args
, **_kwargs
):
211 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
213 def GetFontFixed(self
, *_args
, **_kwargs
):
214 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
216 def SetFontFixed(self
, *_args
, **_kwargs
):
217 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
219 def GetAlign(self
, *_args
, **_kwargs
):
220 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
222 def SetAlign(self
, *_args
, **_kwargs
):
223 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
225 def GetLinkColor(self
, *_args
, **_kwargs
):
226 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
227 if val
: val
= wxColourPtr(val
)
229 def SetLinkColor(self
, *_args
, **_kwargs
):
230 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
232 def GetActualColor(self
, *_args
, **_kwargs
):
233 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
234 if val
: val
= wxColourPtr(val
)
236 def SetActualColor(self
, *_args
, **_kwargs
):
237 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
239 def SetLink(self
, *_args
, **_kwargs
):
240 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
242 def CreateCurrentFont(self
, *_args
, **_kwargs
):
243 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
244 if val
: val
= wxFontPtr(val
)
246 def GetLink(self
, *_args
, **_kwargs
):
247 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
248 if val
: val
= wxHtmlLinkInfoPtr(val
) ; val
.thisown
= 1
251 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
252 class wxHtmlWinParser(wxHtmlWinParserPtr
):
253 def __init__(self
,*_args
,**_kwargs
):
254 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
260 class wxHtmlTagHandlerPtr
:
261 def __init__(self
,this
):
264 def _setSelf(self
, *_args
, **_kwargs
):
265 val
= apply(htmlc
.wxHtmlTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
267 def SetParser(self
, *_args
, **_kwargs
):
268 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
270 def GetParser(self
, *_args
, **_kwargs
):
271 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
272 if val
: val
= wxHtmlParserPtr(val
)
274 def ParseInner(self
, *_args
, **_kwargs
):
275 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
278 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
279 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
280 def __init__(self
,*_args
,**_kwargs
):
281 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
288 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
289 def __init__(self
,this
):
292 def _setSelf(self
, *_args
, **_kwargs
):
293 val
= apply(htmlc
.wxHtmlWinTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
295 def SetParser(self
, *_args
, **_kwargs
):
296 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
298 def GetParser(self
, *_args
, **_kwargs
):
299 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
300 if val
: val
= wxHtmlWinParserPtr(val
)
302 def ParseInner(self
, *_args
, **_kwargs
):
303 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
306 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
307 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
308 def __init__(self
,*_args
,**_kwargs
):
309 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
316 class wxHtmlCellPtr
:
317 def __init__(self
,this
):
320 def GetPosX(self
, *_args
, **_kwargs
):
321 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
323 def GetPosY(self
, *_args
, **_kwargs
):
324 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
326 def GetWidth(self
, *_args
, **_kwargs
):
327 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
329 def GetHeight(self
, *_args
, **_kwargs
):
330 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
332 def GetDescent(self
, *_args
, **_kwargs
):
333 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
335 def GetLink(self
, *_args
, **_kwargs
):
336 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
337 if val
: val
= wxHtmlLinkInfoPtr(val
)
339 def GetNext(self
, *_args
, **_kwargs
):
340 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
341 if val
: val
= wxHtmlCellPtr(val
)
343 def GetParent(self
, *_args
, **_kwargs
):
344 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
345 if val
: val
= wxHtmlContainerCellPtr(val
)
347 def SetLink(self
, *_args
, **_kwargs
):
348 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
350 def SetNext(self
, *_args
, **_kwargs
):
351 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
353 def SetParent(self
, *_args
, **_kwargs
):
354 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
356 def SetPos(self
, *_args
, **_kwargs
):
357 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
359 def Layout(self
, *_args
, **_kwargs
):
360 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
362 def Draw(self
, *_args
, **_kwargs
):
363 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
365 def DrawInvisible(self
, *_args
, **_kwargs
):
366 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
368 def Find(self
, *_args
, **_kwargs
):
369 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
370 if val
: val
= wxHtmlCellPtr(val
)
372 def AdjustPagebreak(self
, *_args
, **_kwargs
):
373 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
375 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
376 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
379 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
380 class wxHtmlCell(wxHtmlCellPtr
):
381 def __init__(self
,*_args
,**_kwargs
):
382 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
388 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
389 def __init__(self
,this
):
392 def InsertCell(self
, *_args
, **_kwargs
):
393 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
395 def SetAlignHor(self
, *_args
, **_kwargs
):
396 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
398 def GetAlignHor(self
, *_args
, **_kwargs
):
399 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
401 def SetAlignVer(self
, *_args
, **_kwargs
):
402 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
404 def GetAlignVer(self
, *_args
, **_kwargs
):
405 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
407 def SetIndent(self
, *_args
, **_kwargs
):
408 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
410 def GetIndent(self
, *_args
, **_kwargs
):
411 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
413 def GetIndentUnits(self
, *_args
, **_kwargs
):
414 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
416 def SetAlign(self
, *_args
, **_kwargs
):
417 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
419 def SetWidthFloat(self
, *_args
, **_kwargs
):
420 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
422 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
423 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
425 def SetMinHeight(self
, *_args
, **_kwargs
):
426 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
428 def GetMaxLineWidth(self
, *_args
, **_kwargs
):
429 val
= apply(htmlc
.wxHtmlContainerCell_GetMaxLineWidth
,(self
,) + _args
, _kwargs
)
431 def SetBackgroundColour(self
, *_args
, **_kwargs
):
432 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
434 def SetBorder(self
, *_args
, **_kwargs
):
435 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
437 def GetFirstCell(self
, *_args
, **_kwargs
):
438 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
439 if val
: val
= wxHtmlCellPtr(val
)
442 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
443 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
444 def __init__(self
,*_args
,**_kwargs
):
445 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
451 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
452 def __init__(self
,this
):
456 return "<C wxHtmlColourCell instance at %s>" % (self
.this
,)
457 class wxHtmlColourCell(wxHtmlColourCellPtr
):
458 def __init__(self
,*_args
,**_kwargs
):
459 self
.this
= apply(htmlc
.new_wxHtmlColourCell
,_args
,_kwargs
)
465 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
466 def __init__(self
,this
):
470 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
471 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
472 def __init__(self
,*_args
,**_kwargs
):
473 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
479 class HtmlHistoryItemPtr
:
480 def __init__(self
,this
):
483 def GetPos(self
, *_args
, **_kwargs
):
484 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
486 def SetPos(self
, *_args
, **_kwargs
):
487 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
489 def GetPage(self
, *_args
, **_kwargs
):
490 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
492 def GetAnchor(self
, *_args
, **_kwargs
):
493 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
496 return "<C HtmlHistoryItem instance at %s>" % (self
.this
,)
497 class HtmlHistoryItem(HtmlHistoryItemPtr
):
498 def __init__(self
,*_args
,**_kwargs
):
499 self
.this
= apply(htmlc
.new_HtmlHistoryItem
,_args
,_kwargs
)
505 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
506 def __init__(self
,this
):
509 def _setSelf(self
, *_args
, **_kwargs
):
510 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
512 def SetPage(self
, *_args
, **_kwargs
):
513 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
515 def LoadPage(self
, *_args
, **_kwargs
):
516 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
518 def GetOpenedPage(self
, *_args
, **_kwargs
):
519 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
521 def SetRelatedFrame(self
, *_args
, **_kwargs
):
522 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
524 def GetRelatedFrame(self
, *_args
, **_kwargs
):
525 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
526 if val
: val
= wxFramePtr(val
)
528 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
529 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
531 def SetFonts(self
, *_args
, **_kwargs
):
532 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
534 def SetTitle(self
, *_args
, **_kwargs
):
535 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
537 def SetBorders(self
, *_args
, **_kwargs
):
538 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
540 def ReadCustomization(self
, *_args
, **_kwargs
):
541 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
543 def WriteCustomization(self
, *_args
, **_kwargs
):
544 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
546 def HistoryBack(self
, *_args
, **_kwargs
):
547 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
549 def HistoryForward(self
, *_args
, **_kwargs
):
550 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
552 def HistoryClear(self
, *_args
, **_kwargs
):
553 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
555 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
556 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
557 if val
: val
= wxHtmlContainerCellPtr(val
)
559 def GetParser(self
, *_args
, **_kwargs
):
560 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
561 if val
: val
= wxHtmlWinParserPtr(val
)
563 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
564 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
566 def base_OnSetTitle(self
, *_args
, **_kwargs
):
567 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
570 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
571 class wxHtmlWindow(wxHtmlWindowPtr
):
572 def __init__(self
,*_args
,**_kwargs
):
573 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
576 wx
._StdWindowCallbacks
(self
)
577 wx
._StdOnScrollCallbacks
(self
)
582 class wxHtmlDCRendererPtr
:
583 def __init__(self
,this
):
586 def __del__(self
,htmlc
=htmlc
):
587 if self
.thisown
== 1 :
588 htmlc
.delete_wxHtmlDCRenderer(self
)
589 def SetDC(self
, *_args
, **_kwargs
):
590 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
592 def SetSize(self
, *_args
, **_kwargs
):
593 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
595 def SetHtmlText(self
, *_args
, **_kwargs
):
596 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
598 def Render(self
, *_args
, **_kwargs
):
599 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
601 def GetTotalHeight(self
, *_args
, **_kwargs
):
602 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
605 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
606 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
607 def __init__(self
,*_args
,**_kwargs
):
608 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
614 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
615 def __init__(self
,this
):
618 def __del__(self
,htmlc
=htmlc
):
619 if self
.thisown
== 1 :
620 htmlc
.delete_wxHtmlPrintout(self
)
621 def SetHtmlText(self
, *_args
, **_kwargs
):
622 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
624 def SetHtmlFile(self
, *_args
, **_kwargs
):
625 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
627 def SetHeader(self
, *_args
, **_kwargs
):
628 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
630 def SetFooter(self
, *_args
, **_kwargs
):
631 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
633 def SetMargins(self
, *_args
, **_kwargs
):
634 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
637 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
638 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
639 def __init__(self
,*_args
,**_kwargs
):
640 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
646 class wxHtmlEasyPrintingPtr
:
647 def __init__(self
,this
):
650 def __del__(self
,htmlc
=htmlc
):
651 if self
.thisown
== 1 :
652 htmlc
.delete_wxHtmlEasyPrinting(self
)
653 def PreviewFile(self
, *_args
, **_kwargs
):
654 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
656 def PreviewText(self
, *_args
, **_kwargs
):
657 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
659 def PrintFile(self
, *_args
, **_kwargs
):
660 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
662 def PrintText(self
, *_args
, **_kwargs
):
663 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
665 def PrinterSetup(self
, *_args
, **_kwargs
):
666 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
668 def PageSetup(self
, *_args
, **_kwargs
):
669 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
671 def SetHeader(self
, *_args
, **_kwargs
):
672 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
674 def SetFooter(self
, *_args
, **_kwargs
):
675 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
677 def GetPrintData(self
, *_args
, **_kwargs
):
678 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
679 if val
: val
= wxPrintDataPtr(val
)
681 def GetPageSetupData(self
, *_args
, **_kwargs
):
682 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
683 if val
: val
= wxPageSetupDialogDataPtr(val
)
686 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
687 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
688 def __init__(self
,*_args
,**_kwargs
):
689 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
697 #-------------- FUNCTION WRAPPERS ------------------
699 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
701 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
705 #-------------- VARIABLE WRAPPERS ------------------
707 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
708 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
709 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
710 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
711 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
712 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
713 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
714 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
715 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
716 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
717 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
718 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
719 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
720 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
721 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
722 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
723 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
724 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
725 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
726 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
727 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
728 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
731 #-------------- USER INCLUDE -----------------------
734 # Stuff these names into the wx namespace so wxPyConstructObject can find them
736 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
737 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
738 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
739 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
740 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
741 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
742 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
743 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
744 wx
.HtmlHistoryItemPtr
= HtmlHistoryItemPtr
745 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr
746 wx
.wxHtmlLinkInfoPtr
= wxHtmlLinkInfoPtr