1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
22 from stattool
import *
24 from controls
import *
26 from controls2
import *
28 from windows2
import *
32 from windows3
import *
44 class wxHtmlLinkInfoPtr
:
45 def __init__(self
,this
):
48 def GetHref(self
, *_args
, **_kwargs
):
49 val
= apply(htmlc
.wxHtmlLinkInfo_GetHref
,(self
,) + _args
, _kwargs
)
51 def GetTarget(self
, *_args
, **_kwargs
):
52 val
= apply(htmlc
.wxHtmlLinkInfo_GetTarget
,(self
,) + _args
, _kwargs
)
54 def GetEvent(self
, *_args
, **_kwargs
):
55 val
= apply(htmlc
.wxHtmlLinkInfo_GetEvent
,(self
,) + _args
, _kwargs
)
56 if val
: val
= wxMouseEventPtr(val
)
58 def GetHtmlCell(self
, *_args
, **_kwargs
):
59 val
= apply(htmlc
.wxHtmlLinkInfo_GetHtmlCell
,(self
,) + _args
, _kwargs
)
60 if val
: val
= wxHtmlCellPtr(val
)
62 def SetEvent(self
, *_args
, **_kwargs
):
63 val
= apply(htmlc
.wxHtmlLinkInfo_SetEvent
,(self
,) + _args
, _kwargs
)
65 def SetHtmlCell(self
, *_args
, **_kwargs
):
66 val
= apply(htmlc
.wxHtmlLinkInfo_SetHtmlCell
,(self
,) + _args
, _kwargs
)
69 return "<C wxHtmlLinkInfo instance at %s>" % (self
.this
,)
70 class wxHtmlLinkInfo(wxHtmlLinkInfoPtr
):
71 def __init__(self
,*_args
,**_kwargs
):
72 self
.this
= apply(htmlc
.new_wxHtmlLinkInfo
,_args
,_kwargs
)
79 def __init__(self
,this
):
82 def GetName(self
, *_args
, **_kwargs
):
83 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
85 def HasParam(self
, *_args
, **_kwargs
):
86 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
88 def GetParam(self
, *_args
, **_kwargs
):
89 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
91 def GetAllParams(self
, *_args
, **_kwargs
):
92 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
94 def IsEnding(self
, *_args
, **_kwargs
):
95 val
= apply(htmlc
.wxHtmlTag_IsEnding
,(self
,) + _args
, _kwargs
)
97 def HasEnding(self
, *_args
, **_kwargs
):
98 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
100 def GetBeginPos(self
, *_args
, **_kwargs
):
101 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
103 def GetEndPos1(self
, *_args
, **_kwargs
):
104 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
106 def GetEndPos2(self
, *_args
, **_kwargs
):
107 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
110 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
111 class wxHtmlTag(wxHtmlTagPtr
):
112 def __init__(self
,this
):
118 class wxHtmlParserPtr
:
119 def __init__(self
,this
):
122 def SetFS(self
, *_args
, **_kwargs
):
123 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
125 def GetFS(self
, *_args
, **_kwargs
):
126 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
127 if val
: val
= wxFileSystemPtr(val
)
129 def Parse(self
, *_args
, **_kwargs
):
130 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
132 def InitParser(self
, *_args
, **_kwargs
):
133 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
135 def DoneParser(self
, *_args
, **_kwargs
):
136 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
138 def DoParsing(self
, *_args
, **_kwargs
):
139 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(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
)
171 if val
: val
= wxDCPtr(val
)
173 def GetCharHeight(self
, *_args
, **_kwargs
):
174 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
176 def GetCharWidth(self
, *_args
, **_kwargs
):
177 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
179 def GetWindow(self
, *_args
, **_kwargs
):
180 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
181 if val
: val
= wxWindowPtr(val
)
183 def SetFonts(self
, *_args
, **_kwargs
):
184 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
186 def GetContainer(self
, *_args
, **_kwargs
):
187 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
188 if val
: val
= wxHtmlContainerCellPtr(val
)
190 def OpenContainer(self
, *_args
, **_kwargs
):
191 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
192 if val
: val
= wxHtmlContainerCellPtr(val
)
194 def SetContainer(self
, *_args
, **_kwargs
):
195 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
196 if val
: val
= wxHtmlContainerCellPtr(val
)
198 def CloseContainer(self
, *_args
, **_kwargs
):
199 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
200 if val
: val
= wxHtmlContainerCellPtr(val
)
202 def GetFontSize(self
, *_args
, **_kwargs
):
203 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
205 def SetFontSize(self
, *_args
, **_kwargs
):
206 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
208 def GetFontBold(self
, *_args
, **_kwargs
):
209 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
211 def SetFontBold(self
, *_args
, **_kwargs
):
212 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
214 def GetFontItalic(self
, *_args
, **_kwargs
):
215 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
217 def SetFontItalic(self
, *_args
, **_kwargs
):
218 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
220 def GetFontUnderlined(self
, *_args
, **_kwargs
):
221 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
223 def SetFontUnderlined(self
, *_args
, **_kwargs
):
224 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
226 def GetFontFixed(self
, *_args
, **_kwargs
):
227 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
229 def SetFontFixed(self
, *_args
, **_kwargs
):
230 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
232 def GetAlign(self
, *_args
, **_kwargs
):
233 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
235 def SetAlign(self
, *_args
, **_kwargs
):
236 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
238 def GetLinkColor(self
, *_args
, **_kwargs
):
239 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
240 if val
: val
= wxColourPtr(val
)
242 def SetLinkColor(self
, *_args
, **_kwargs
):
243 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
245 def GetActualColor(self
, *_args
, **_kwargs
):
246 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
247 if val
: val
= wxColourPtr(val
)
249 def SetActualColor(self
, *_args
, **_kwargs
):
250 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
252 def SetLink(self
, *_args
, **_kwargs
):
253 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
255 def CreateCurrentFont(self
, *_args
, **_kwargs
):
256 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
257 if val
: val
= wxFontPtr(val
)
259 def GetLink(self
, *_args
, **_kwargs
):
260 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
261 if val
: val
= wxHtmlLinkInfoPtr(val
) ; val
.thisown
= 1
264 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
265 class wxHtmlWinParser(wxHtmlWinParserPtr
):
266 def __init__(self
,*_args
,**_kwargs
):
267 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
273 class wxHtmlTagHandlerPtr
:
274 def __init__(self
,this
):
277 def _setSelf(self
, *_args
, **_kwargs
):
278 val
= apply(htmlc
.wxHtmlTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
280 def SetParser(self
, *_args
, **_kwargs
):
281 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
283 def GetParser(self
, *_args
, **_kwargs
):
284 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
285 if val
: val
= wxHtmlParserPtr(val
)
287 def ParseInner(self
, *_args
, **_kwargs
):
288 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
291 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
292 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
293 def __init__(self
,*_args
,**_kwargs
):
294 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
296 self
._setSelf
(self
, wxHtmlTagHandler
)
301 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
302 def __init__(self
,this
):
305 def _setSelf(self
, *_args
, **_kwargs
):
306 val
= apply(htmlc
.wxHtmlWinTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
308 def SetParser(self
, *_args
, **_kwargs
):
309 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
311 def GetParser(self
, *_args
, **_kwargs
):
312 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
313 if val
: val
= wxHtmlWinParserPtr(val
)
315 def ParseInner(self
, *_args
, **_kwargs
):
316 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
319 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
320 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
321 def __init__(self
,*_args
,**_kwargs
):
322 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
324 self
._setSelf
(self
, wxHtmlWinTagHandler
)
329 class wxHtmlCellPtr
:
330 def __init__(self
,this
):
333 def GetPosX(self
, *_args
, **_kwargs
):
334 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
336 def GetPosY(self
, *_args
, **_kwargs
):
337 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
339 def GetWidth(self
, *_args
, **_kwargs
):
340 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
342 def GetHeight(self
, *_args
, **_kwargs
):
343 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
345 def GetDescent(self
, *_args
, **_kwargs
):
346 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
348 def GetLink(self
, *_args
, **_kwargs
):
349 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
350 if val
: val
= wxHtmlLinkInfoPtr(val
)
352 def GetNext(self
, *_args
, **_kwargs
):
353 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
354 if val
: val
= wxHtmlCellPtr(val
)
356 def GetParent(self
, *_args
, **_kwargs
):
357 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
358 if val
: val
= wxHtmlContainerCellPtr(val
)
360 def SetLink(self
, *_args
, **_kwargs
):
361 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
363 def SetNext(self
, *_args
, **_kwargs
):
364 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
366 def SetParent(self
, *_args
, **_kwargs
):
367 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
369 def SetPos(self
, *_args
, **_kwargs
):
370 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
372 def Layout(self
, *_args
, **_kwargs
):
373 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
375 def Draw(self
, *_args
, **_kwargs
):
376 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
378 def DrawInvisible(self
, *_args
, **_kwargs
):
379 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
381 def Find(self
, *_args
, **_kwargs
):
382 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
383 if val
: val
= wxHtmlCellPtr(val
)
385 def AdjustPagebreak(self
, *_args
, **_kwargs
):
386 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
388 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
389 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
392 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
393 class wxHtmlCell(wxHtmlCellPtr
):
394 def __init__(self
,*_args
,**_kwargs
):
395 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
401 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
402 def __init__(self
,this
):
405 def InsertCell(self
, *_args
, **_kwargs
):
406 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
408 def SetAlignHor(self
, *_args
, **_kwargs
):
409 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
411 def GetAlignHor(self
, *_args
, **_kwargs
):
412 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
414 def SetAlignVer(self
, *_args
, **_kwargs
):
415 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
417 def GetAlignVer(self
, *_args
, **_kwargs
):
418 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
420 def SetIndent(self
, *_args
, **_kwargs
):
421 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
423 def GetIndent(self
, *_args
, **_kwargs
):
424 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
426 def GetIndentUnits(self
, *_args
, **_kwargs
):
427 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
429 def SetAlign(self
, *_args
, **_kwargs
):
430 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
432 def SetWidthFloat(self
, *_args
, **_kwargs
):
433 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
435 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
436 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
438 def SetMinHeight(self
, *_args
, **_kwargs
):
439 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
441 def SetBackgroundColour(self
, *_args
, **_kwargs
):
442 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
444 def SetBorder(self
, *_args
, **_kwargs
):
445 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
447 def GetFirstCell(self
, *_args
, **_kwargs
):
448 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
449 if val
: val
= wxHtmlCellPtr(val
)
452 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
453 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
454 def __init__(self
,*_args
,**_kwargs
):
455 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
461 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
462 def __init__(self
,this
):
466 return "<C wxHtmlColourCell instance at %s>" % (self
.this
,)
467 class wxHtmlColourCell(wxHtmlColourCellPtr
):
468 def __init__(self
,*_args
,**_kwargs
):
469 self
.this
= apply(htmlc
.new_wxHtmlColourCell
,_args
,_kwargs
)
475 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
476 def __init__(self
,this
):
480 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
481 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
482 def __init__(self
,*_args
,**_kwargs
):
483 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
489 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
490 def __init__(self
,this
):
493 def _setSelf(self
, *_args
, **_kwargs
):
494 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
496 def SetPage(self
, *_args
, **_kwargs
):
497 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
499 def LoadPage(self
, *_args
, **_kwargs
):
500 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
502 def GetOpenedPage(self
, *_args
, **_kwargs
):
503 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
505 def GetOpenedAnchor(self
, *_args
, **_kwargs
):
506 val
= apply(htmlc
.wxHtmlWindow_GetOpenedAnchor
,(self
,) + _args
, _kwargs
)
508 def GetOpenedPageTitle(self
, *_args
, **_kwargs
):
509 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPageTitle
,(self
,) + _args
, _kwargs
)
511 def SetRelatedFrame(self
, *_args
, **_kwargs
):
512 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
514 def GetRelatedFrame(self
, *_args
, **_kwargs
):
515 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
516 if val
: val
= wxFramePtr(val
)
518 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
519 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
521 def SetFonts(self
, *_args
, **_kwargs
):
522 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
524 def SetTitle(self
, *_args
, **_kwargs
):
525 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
527 def SetBorders(self
, *_args
, **_kwargs
):
528 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
530 def ReadCustomization(self
, *_args
, **_kwargs
):
531 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
533 def WriteCustomization(self
, *_args
, **_kwargs
):
534 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
536 def HistoryBack(self
, *_args
, **_kwargs
):
537 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
539 def HistoryForward(self
, *_args
, **_kwargs
):
540 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
542 def HistoryCanBack(self
, *_args
, **_kwargs
):
543 val
= apply(htmlc
.wxHtmlWindow_HistoryCanBack
,(self
,) + _args
, _kwargs
)
545 def HistoryCanForward(self
, *_args
, **_kwargs
):
546 val
= apply(htmlc
.wxHtmlWindow_HistoryCanForward
,(self
,) + _args
, _kwargs
)
548 def HistoryClear(self
, *_args
, **_kwargs
):
549 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
551 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
552 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
553 if val
: val
= wxHtmlContainerCellPtr(val
)
555 def GetParser(self
, *_args
, **_kwargs
):
556 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
557 if val
: val
= wxHtmlWinParserPtr(val
)
559 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
560 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
562 def base_OnSetTitle(self
, *_args
, **_kwargs
):
563 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
566 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
567 class wxHtmlWindow(wxHtmlWindowPtr
):
568 def __init__(self
,*_args
,**_kwargs
):
569 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
571 self
._setSelf
(self
, wxHtmlWindow
)
572 #wx._StdWindowCallbacks(self)
573 #wx._StdOnScrollCallbacks(self)
578 class wxHtmlDCRendererPtr
:
579 def __init__(self
,this
):
582 def __del__(self
,htmlc
=htmlc
):
583 if self
.thisown
== 1 :
584 htmlc
.delete_wxHtmlDCRenderer(self
)
585 def SetDC(self
, *_args
, **_kwargs
):
586 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
588 def SetSize(self
, *_args
, **_kwargs
):
589 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
591 def SetHtmlText(self
, *_args
, **_kwargs
):
592 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
594 def Render(self
, *_args
, **_kwargs
):
595 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
597 def GetTotalHeight(self
, *_args
, **_kwargs
):
598 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
601 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
602 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
603 def __init__(self
,*_args
,**_kwargs
):
604 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
610 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
611 def __init__(self
,this
):
614 def SetHtmlText(self
, *_args
, **_kwargs
):
615 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
617 def SetHtmlFile(self
, *_args
, **_kwargs
):
618 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
620 def SetHeader(self
, *_args
, **_kwargs
):
621 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
623 def SetFooter(self
, *_args
, **_kwargs
):
624 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
626 def SetMargins(self
, *_args
, **_kwargs
):
627 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
630 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
631 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
632 def __init__(self
,*_args
,**_kwargs
):
633 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
639 class wxHtmlEasyPrintingPtr
:
640 def __init__(self
,this
):
643 def __del__(self
,htmlc
=htmlc
):
644 if self
.thisown
== 1 :
645 htmlc
.delete_wxHtmlEasyPrinting(self
)
646 def PreviewFile(self
, *_args
, **_kwargs
):
647 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
649 def PreviewText(self
, *_args
, **_kwargs
):
650 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
652 def PrintFile(self
, *_args
, **_kwargs
):
653 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
655 def PrintText(self
, *_args
, **_kwargs
):
656 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
658 def PrinterSetup(self
, *_args
, **_kwargs
):
659 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
661 def PageSetup(self
, *_args
, **_kwargs
):
662 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
664 def SetHeader(self
, *_args
, **_kwargs
):
665 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
667 def SetFooter(self
, *_args
, **_kwargs
):
668 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
670 def GetPrintData(self
, *_args
, **_kwargs
):
671 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
672 if val
: val
= wxPrintDataPtr(val
)
674 def GetPageSetupData(self
, *_args
, **_kwargs
):
675 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
676 if val
: val
= wxPageSetupDialogDataPtr(val
)
679 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
680 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
681 def __init__(self
,*_args
,**_kwargs
):
682 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
690 #-------------- FUNCTION WRAPPERS ------------------
692 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
694 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
698 #-------------- VARIABLE WRAPPERS ------------------
700 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
701 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
702 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
703 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
704 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
705 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
706 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
707 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
708 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
709 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
710 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
711 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
712 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
713 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
714 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
715 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
716 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
717 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
718 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
719 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
720 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
721 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
724 #-------------- USER INCLUDE -----------------------
727 # Stuff these names into the wx namespace so wxPyConstructObject can find them
729 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
730 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
731 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
732 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
733 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
734 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
735 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
736 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
737 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr
738 wx
.wxHtmlLinkInfoPtr
= wxHtmlLinkInfoPtr