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
)
63 return "<C wxHtmlLinkInfo instance at %s>" % (self
.this
,)
64 class wxHtmlLinkInfo(wxHtmlLinkInfoPtr
):
65 def __init__(self
,*_args
,**_kwargs
):
66 self
.this
= apply(htmlc
.new_wxHtmlLinkInfo
,_args
,_kwargs
)
73 def __init__(self
,this
):
76 def GetName(self
, *_args
, **_kwargs
):
77 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
79 def HasParam(self
, *_args
, **_kwargs
):
80 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
82 def GetParam(self
, *_args
, **_kwargs
):
83 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
85 def GetAllParams(self
, *_args
, **_kwargs
):
86 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
88 def IsEnding(self
, *_args
, **_kwargs
):
89 val
= apply(htmlc
.wxHtmlTag_IsEnding
,(self
,) + _args
, _kwargs
)
91 def HasEnding(self
, *_args
, **_kwargs
):
92 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
94 def GetBeginPos(self
, *_args
, **_kwargs
):
95 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
97 def GetEndPos1(self
, *_args
, **_kwargs
):
98 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
100 def GetEndPos2(self
, *_args
, **_kwargs
):
101 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
104 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
105 class wxHtmlTag(wxHtmlTagPtr
):
106 def __init__(self
,this
):
112 class wxHtmlParserPtr
:
113 def __init__(self
,this
):
116 def SetFS(self
, *_args
, **_kwargs
):
117 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
119 def GetFS(self
, *_args
, **_kwargs
):
120 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
121 if val
: val
= wxFileSystemPtr(val
)
123 def Parse(self
, *_args
, **_kwargs
):
124 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
126 def InitParser(self
, *_args
, **_kwargs
):
127 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
129 def DoneParser(self
, *_args
, **_kwargs
):
130 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
132 def DoParsing(self
, *_args
, **_kwargs
):
133 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
135 def AddTagHandler(self
, *_args
, **_kwargs
):
136 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
138 def GetSource(self
, *_args
, **_kwargs
):
139 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
141 def PushTagHandler(self
, *_args
, **_kwargs
):
142 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
144 def PopTagHandler(self
, *_args
, **_kwargs
):
145 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
148 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
149 class wxHtmlParser(wxHtmlParserPtr
):
150 def __init__(self
,this
):
156 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
157 def __init__(self
,this
):
160 def SetDC(self
, *_args
, **_kwargs
):
161 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
163 def GetDC(self
, *_args
, **_kwargs
):
164 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
165 if val
: val
= wxDCPtr(val
)
167 def GetCharHeight(self
, *_args
, **_kwargs
):
168 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
170 def GetCharWidth(self
, *_args
, **_kwargs
):
171 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
173 def GetWindow(self
, *_args
, **_kwargs
):
174 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
175 if val
: val
= wxWindowPtr(val
)
177 def SetFonts(self
, *_args
, **_kwargs
):
178 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
180 def GetContainer(self
, *_args
, **_kwargs
):
181 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
182 if val
: val
= wxHtmlContainerCellPtr(val
)
184 def OpenContainer(self
, *_args
, **_kwargs
):
185 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
186 if val
: val
= wxHtmlContainerCellPtr(val
)
188 def SetContainer(self
, *_args
, **_kwargs
):
189 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
190 if val
: val
= wxHtmlContainerCellPtr(val
)
192 def CloseContainer(self
, *_args
, **_kwargs
):
193 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
194 if val
: val
= wxHtmlContainerCellPtr(val
)
196 def GetFontSize(self
, *_args
, **_kwargs
):
197 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
199 def SetFontSize(self
, *_args
, **_kwargs
):
200 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
202 def GetFontBold(self
, *_args
, **_kwargs
):
203 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
205 def SetFontBold(self
, *_args
, **_kwargs
):
206 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
208 def GetFontItalic(self
, *_args
, **_kwargs
):
209 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
211 def SetFontItalic(self
, *_args
, **_kwargs
):
212 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
214 def GetFontUnderlined(self
, *_args
, **_kwargs
):
215 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
217 def SetFontUnderlined(self
, *_args
, **_kwargs
):
218 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
220 def GetFontFixed(self
, *_args
, **_kwargs
):
221 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
223 def SetFontFixed(self
, *_args
, **_kwargs
):
224 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
226 def GetAlign(self
, *_args
, **_kwargs
):
227 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
229 def SetAlign(self
, *_args
, **_kwargs
):
230 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
232 def GetLinkColor(self
, *_args
, **_kwargs
):
233 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
234 if val
: val
= wxColourPtr(val
)
236 def SetLinkColor(self
, *_args
, **_kwargs
):
237 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
239 def GetActualColor(self
, *_args
, **_kwargs
):
240 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
241 if val
: val
= wxColourPtr(val
)
243 def SetActualColor(self
, *_args
, **_kwargs
):
244 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
246 def SetLink(self
, *_args
, **_kwargs
):
247 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
249 def CreateCurrentFont(self
, *_args
, **_kwargs
):
250 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
251 if val
: val
= wxFontPtr(val
)
253 def GetLink(self
, *_args
, **_kwargs
):
254 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
255 if val
: val
= wxHtmlLinkInfoPtr(val
) ; val
.thisown
= 1
258 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
259 class wxHtmlWinParser(wxHtmlWinParserPtr
):
260 def __init__(self
,*_args
,**_kwargs
):
261 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
267 class wxHtmlTagHandlerPtr
:
268 def __init__(self
,this
):
271 def _setSelf(self
, *_args
, **_kwargs
):
272 val
= apply(htmlc
.wxHtmlTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
274 def SetParser(self
, *_args
, **_kwargs
):
275 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
277 def GetParser(self
, *_args
, **_kwargs
):
278 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
279 if val
: val
= wxHtmlParserPtr(val
)
281 def ParseInner(self
, *_args
, **_kwargs
):
282 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
285 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
286 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
287 def __init__(self
,*_args
,**_kwargs
):
288 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
290 self
._setSelf
(self
, wxHtmlTagHandler
)
295 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
296 def __init__(self
,this
):
299 def _setSelf(self
, *_args
, **_kwargs
):
300 val
= apply(htmlc
.wxHtmlWinTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
302 def SetParser(self
, *_args
, **_kwargs
):
303 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
305 def GetParser(self
, *_args
, **_kwargs
):
306 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
307 if val
: val
= wxHtmlWinParserPtr(val
)
309 def ParseInner(self
, *_args
, **_kwargs
):
310 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
313 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
314 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
315 def __init__(self
,*_args
,**_kwargs
):
316 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
318 self
._setSelf
(self
, wxHtmlWinTagHandler
)
323 class wxHtmlCellPtr
:
324 def __init__(self
,this
):
327 def GetPosX(self
, *_args
, **_kwargs
):
328 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
330 def GetPosY(self
, *_args
, **_kwargs
):
331 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
333 def GetWidth(self
, *_args
, **_kwargs
):
334 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
336 def GetHeight(self
, *_args
, **_kwargs
):
337 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
339 def GetDescent(self
, *_args
, **_kwargs
):
340 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
342 def GetLink(self
, *_args
, **_kwargs
):
343 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
344 if val
: val
= wxHtmlLinkInfoPtr(val
)
346 def GetNext(self
, *_args
, **_kwargs
):
347 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
348 if val
: val
= wxHtmlCellPtr(val
)
350 def GetParent(self
, *_args
, **_kwargs
):
351 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
352 if val
: val
= wxHtmlContainerCellPtr(val
)
354 def SetLink(self
, *_args
, **_kwargs
):
355 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
357 def SetNext(self
, *_args
, **_kwargs
):
358 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
360 def SetParent(self
, *_args
, **_kwargs
):
361 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
363 def SetPos(self
, *_args
, **_kwargs
):
364 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
366 def Layout(self
, *_args
, **_kwargs
):
367 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
369 def Draw(self
, *_args
, **_kwargs
):
370 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
372 def DrawInvisible(self
, *_args
, **_kwargs
):
373 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
375 def Find(self
, *_args
, **_kwargs
):
376 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
377 if val
: val
= wxHtmlCellPtr(val
)
379 def AdjustPagebreak(self
, *_args
, **_kwargs
):
380 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
382 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
383 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
386 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
387 class wxHtmlCell(wxHtmlCellPtr
):
388 def __init__(self
,*_args
,**_kwargs
):
389 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
395 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
396 def __init__(self
,this
):
399 def InsertCell(self
, *_args
, **_kwargs
):
400 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
402 def SetAlignHor(self
, *_args
, **_kwargs
):
403 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
405 def GetAlignHor(self
, *_args
, **_kwargs
):
406 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
408 def SetAlignVer(self
, *_args
, **_kwargs
):
409 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
411 def GetAlignVer(self
, *_args
, **_kwargs
):
412 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
414 def SetIndent(self
, *_args
, **_kwargs
):
415 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
417 def GetIndent(self
, *_args
, **_kwargs
):
418 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
420 def GetIndentUnits(self
, *_args
, **_kwargs
):
421 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
423 def SetAlign(self
, *_args
, **_kwargs
):
424 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
426 def SetWidthFloat(self
, *_args
, **_kwargs
):
427 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
429 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
430 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
432 def SetMinHeight(self
, *_args
, **_kwargs
):
433 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
435 def SetBackgroundColour(self
, *_args
, **_kwargs
):
436 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
438 def SetBorder(self
, *_args
, **_kwargs
):
439 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
441 def GetFirstCell(self
, *_args
, **_kwargs
):
442 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
443 if val
: val
= wxHtmlCellPtr(val
)
446 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
447 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
448 def __init__(self
,*_args
,**_kwargs
):
449 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
455 class wxHtmlColourCellPtr(wxHtmlCellPtr
):
456 def __init__(self
,this
):
460 return "<C wxHtmlColourCell instance at %s>" % (self
.this
,)
461 class wxHtmlColourCell(wxHtmlColourCellPtr
):
462 def __init__(self
,*_args
,**_kwargs
):
463 self
.this
= apply(htmlc
.new_wxHtmlColourCell
,_args
,_kwargs
)
469 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
470 def __init__(self
,this
):
474 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
475 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
476 def __init__(self
,*_args
,**_kwargs
):
477 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
483 class HtmlHistoryItemPtr
:
484 def __init__(self
,this
):
487 def GetPos(self
, *_args
, **_kwargs
):
488 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
490 def SetPos(self
, *_args
, **_kwargs
):
491 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
493 def GetPage(self
, *_args
, **_kwargs
):
494 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
496 def GetAnchor(self
, *_args
, **_kwargs
):
497 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
500 return "<C HtmlHistoryItem instance at %s>" % (self
.this
,)
501 class HtmlHistoryItem(HtmlHistoryItemPtr
):
502 def __init__(self
,*_args
,**_kwargs
):
503 self
.this
= apply(htmlc
.new_HtmlHistoryItem
,_args
,_kwargs
)
509 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
510 def __init__(self
,this
):
513 def _setSelf(self
, *_args
, **_kwargs
):
514 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
516 def SetPage(self
, *_args
, **_kwargs
):
517 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
519 def LoadPage(self
, *_args
, **_kwargs
):
520 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
522 def GetOpenedPage(self
, *_args
, **_kwargs
):
523 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
525 def SetRelatedFrame(self
, *_args
, **_kwargs
):
526 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
528 def GetRelatedFrame(self
, *_args
, **_kwargs
):
529 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
530 if val
: val
= wxFramePtr(val
)
532 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
533 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
535 def SetFonts(self
, *_args
, **_kwargs
):
536 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
538 def SetTitle(self
, *_args
, **_kwargs
):
539 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
541 def SetBorders(self
, *_args
, **_kwargs
):
542 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
544 def ReadCustomization(self
, *_args
, **_kwargs
):
545 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
547 def WriteCustomization(self
, *_args
, **_kwargs
):
548 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
550 def HistoryBack(self
, *_args
, **_kwargs
):
551 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
553 def HistoryForward(self
, *_args
, **_kwargs
):
554 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
556 def HistoryClear(self
, *_args
, **_kwargs
):
557 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
559 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
560 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
561 if val
: val
= wxHtmlContainerCellPtr(val
)
563 def GetParser(self
, *_args
, **_kwargs
):
564 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
565 if val
: val
= wxHtmlWinParserPtr(val
)
567 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
568 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
570 def base_OnSetTitle(self
, *_args
, **_kwargs
):
571 val
= apply(htmlc
.wxHtmlWindow_base_OnSetTitle
,(self
,) + _args
, _kwargs
)
574 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
575 class wxHtmlWindow(wxHtmlWindowPtr
):
576 def __init__(self
,*_args
,**_kwargs
):
577 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
579 self
._setSelf
(self
, wxHtmlWindow
)
580 #wx._StdWindowCallbacks(self)
581 #wx._StdOnScrollCallbacks(self)
586 class wxHtmlDCRendererPtr
:
587 def __init__(self
,this
):
590 def __del__(self
,htmlc
=htmlc
):
591 if self
.thisown
== 1 :
592 htmlc
.delete_wxHtmlDCRenderer(self
)
593 def SetDC(self
, *_args
, **_kwargs
):
594 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
596 def SetSize(self
, *_args
, **_kwargs
):
597 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
599 def SetHtmlText(self
, *_args
, **_kwargs
):
600 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
602 def Render(self
, *_args
, **_kwargs
):
603 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
605 def GetTotalHeight(self
, *_args
, **_kwargs
):
606 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
609 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
610 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
611 def __init__(self
,*_args
,**_kwargs
):
612 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
618 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
619 def __init__(self
,this
):
622 def __del__(self
,htmlc
=htmlc
):
623 if self
.thisown
== 1 :
624 htmlc
.delete_wxHtmlPrintout(self
)
625 def SetHtmlText(self
, *_args
, **_kwargs
):
626 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
628 def SetHtmlFile(self
, *_args
, **_kwargs
):
629 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
631 def SetHeader(self
, *_args
, **_kwargs
):
632 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
634 def SetFooter(self
, *_args
, **_kwargs
):
635 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
637 def SetMargins(self
, *_args
, **_kwargs
):
638 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
641 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
642 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
643 def __init__(self
,*_args
,**_kwargs
):
644 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
650 class wxHtmlEasyPrintingPtr
:
651 def __init__(self
,this
):
654 def __del__(self
,htmlc
=htmlc
):
655 if self
.thisown
== 1 :
656 htmlc
.delete_wxHtmlEasyPrinting(self
)
657 def PreviewFile(self
, *_args
, **_kwargs
):
658 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
660 def PreviewText(self
, *_args
, **_kwargs
):
661 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
663 def PrintFile(self
, *_args
, **_kwargs
):
664 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
666 def PrintText(self
, *_args
, **_kwargs
):
667 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
669 def PrinterSetup(self
, *_args
, **_kwargs
):
670 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
672 def PageSetup(self
, *_args
, **_kwargs
):
673 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
675 def SetHeader(self
, *_args
, **_kwargs
):
676 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
678 def SetFooter(self
, *_args
, **_kwargs
):
679 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
681 def GetPrintData(self
, *_args
, **_kwargs
):
682 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
683 if val
: val
= wxPrintDataPtr(val
)
685 def GetPageSetupData(self
, *_args
, **_kwargs
):
686 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
687 if val
: val
= wxPageSetupDialogDataPtr(val
)
690 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
691 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
692 def __init__(self
,*_args
,**_kwargs
):
693 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
701 #-------------- FUNCTION WRAPPERS ------------------
703 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
705 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
709 #-------------- VARIABLE WRAPPERS ------------------
711 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
712 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
713 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
714 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
715 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
716 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
717 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
718 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
719 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
720 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
721 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
722 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
723 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
724 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
725 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
726 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
727 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
728 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
729 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
730 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
731 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
732 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
735 #-------------- USER INCLUDE -----------------------
738 # Stuff these names into the wx namespace so wxPyConstructObject can find them
740 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
741 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
742 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
743 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
744 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
745 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
746 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
747 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
748 wx
.HtmlHistoryItemPtr
= HtmlHistoryItemPtr
749 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr
750 wx
.wxHtmlLinkInfoPtr
= wxHtmlLinkInfoPtr