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 *
39 def __init__(self
,this
):
42 def GetName(self
, *_args
, **_kwargs
):
43 val
= apply(htmlc
.wxHtmlTag_GetName
,(self
,) + _args
, _kwargs
)
45 def HasParam(self
, *_args
, **_kwargs
):
46 val
= apply(htmlc
.wxHtmlTag_HasParam
,(self
,) + _args
, _kwargs
)
48 def GetParam(self
, *_args
, **_kwargs
):
49 val
= apply(htmlc
.wxHtmlTag_GetParam
,(self
,) + _args
, _kwargs
)
51 def GetAllParams(self
, *_args
, **_kwargs
):
52 val
= apply(htmlc
.wxHtmlTag_GetAllParams
,(self
,) + _args
, _kwargs
)
54 def IsEnding(self
, *_args
, **_kwargs
):
55 val
= apply(htmlc
.wxHtmlTag_IsEnding
,(self
,) + _args
, _kwargs
)
57 def HasEnding(self
, *_args
, **_kwargs
):
58 val
= apply(htmlc
.wxHtmlTag_HasEnding
,(self
,) + _args
, _kwargs
)
60 def GetBeginPos(self
, *_args
, **_kwargs
):
61 val
= apply(htmlc
.wxHtmlTag_GetBeginPos
,(self
,) + _args
, _kwargs
)
63 def GetEndPos1(self
, *_args
, **_kwargs
):
64 val
= apply(htmlc
.wxHtmlTag_GetEndPos1
,(self
,) + _args
, _kwargs
)
66 def GetEndPos2(self
, *_args
, **_kwargs
):
67 val
= apply(htmlc
.wxHtmlTag_GetEndPos2
,(self
,) + _args
, _kwargs
)
70 return "<C wxHtmlTag instance at %s>" % (self
.this
,)
71 class wxHtmlTag(wxHtmlTagPtr
):
72 def __init__(self
,this
):
78 class wxHtmlParserPtr
:
79 def __init__(self
,this
):
82 def SetFS(self
, *_args
, **_kwargs
):
83 val
= apply(htmlc
.wxHtmlParser_SetFS
,(self
,) + _args
, _kwargs
)
85 def GetFS(self
, *_args
, **_kwargs
):
86 val
= apply(htmlc
.wxHtmlParser_GetFS
,(self
,) + _args
, _kwargs
)
88 def Parse(self
, *_args
, **_kwargs
):
89 val
= apply(htmlc
.wxHtmlParser_Parse
,(self
,) + _args
, _kwargs
)
91 def InitParser(self
, *_args
, **_kwargs
):
92 val
= apply(htmlc
.wxHtmlParser_InitParser
,(self
,) + _args
, _kwargs
)
94 def DoneParser(self
, *_args
, **_kwargs
):
95 val
= apply(htmlc
.wxHtmlParser_DoneParser
,(self
,) + _args
, _kwargs
)
97 def DoParsing(self
, *_args
, **_kwargs
):
98 val
= apply(htmlc
.wxHtmlParser_DoParsing
,(self
,) + _args
, _kwargs
)
100 def AddTagHandler(self
, *_args
, **_kwargs
):
101 val
= apply(htmlc
.wxHtmlParser_AddTagHandler
,(self
,) + _args
, _kwargs
)
103 def GetSource(self
, *_args
, **_kwargs
):
104 val
= apply(htmlc
.wxHtmlParser_GetSource
,(self
,) + _args
, _kwargs
)
106 def PushTagHandler(self
, *_args
, **_kwargs
):
107 val
= apply(htmlc
.wxHtmlParser_PushTagHandler
,(self
,) + _args
, _kwargs
)
109 def PopTagHandler(self
, *_args
, **_kwargs
):
110 val
= apply(htmlc
.wxHtmlParser_PopTagHandler
,(self
,) + _args
, _kwargs
)
113 return "<C wxHtmlParser instance at %s>" % (self
.this
,)
114 class wxHtmlParser(wxHtmlParserPtr
):
115 def __init__(self
,this
):
121 class wxHtmlWinParserPtr(wxHtmlParserPtr
):
122 def __init__(self
,this
):
125 def SetDC(self
, *_args
, **_kwargs
):
126 val
= apply(htmlc
.wxHtmlWinParser_SetDC
,(self
,) + _args
, _kwargs
)
128 def GetDC(self
, *_args
, **_kwargs
):
129 val
= apply(htmlc
.wxHtmlWinParser_GetDC
,(self
,) + _args
, _kwargs
)
130 if val
: val
= wxDCPtr(val
)
132 def GetCharHeight(self
, *_args
, **_kwargs
):
133 val
= apply(htmlc
.wxHtmlWinParser_GetCharHeight
,(self
,) + _args
, _kwargs
)
135 def GetCharWidth(self
, *_args
, **_kwargs
):
136 val
= apply(htmlc
.wxHtmlWinParser_GetCharWidth
,(self
,) + _args
, _kwargs
)
138 def GetWindow(self
, *_args
, **_kwargs
):
139 val
= apply(htmlc
.wxHtmlWinParser_GetWindow
,(self
,) + _args
, _kwargs
)
140 if val
: val
= wxWindowPtr(val
)
142 def SetFonts(self
, *_args
, **_kwargs
):
143 val
= apply(htmlc
.wxHtmlWinParser_SetFonts
,(self
,) + _args
, _kwargs
)
145 def GetContainer(self
, *_args
, **_kwargs
):
146 val
= apply(htmlc
.wxHtmlWinParser_GetContainer
,(self
,) + _args
, _kwargs
)
147 if val
: val
= wxHtmlContainerCellPtr(val
)
149 def OpenContainer(self
, *_args
, **_kwargs
):
150 val
= apply(htmlc
.wxHtmlWinParser_OpenContainer
,(self
,) + _args
, _kwargs
)
151 if val
: val
= wxHtmlContainerCellPtr(val
)
153 def SetContainer(self
, *_args
, **_kwargs
):
154 val
= apply(htmlc
.wxHtmlWinParser_SetContainer
,(self
,) + _args
, _kwargs
)
155 if val
: val
= wxHtmlContainerCellPtr(val
)
157 def CloseContainer(self
, *_args
, **_kwargs
):
158 val
= apply(htmlc
.wxHtmlWinParser_CloseContainer
,(self
,) + _args
, _kwargs
)
159 if val
: val
= wxHtmlContainerCellPtr(val
)
161 def GetFontSize(self
, *_args
, **_kwargs
):
162 val
= apply(htmlc
.wxHtmlWinParser_GetFontSize
,(self
,) + _args
, _kwargs
)
164 def SetFontSize(self
, *_args
, **_kwargs
):
165 val
= apply(htmlc
.wxHtmlWinParser_SetFontSize
,(self
,) + _args
, _kwargs
)
167 def GetFontBold(self
, *_args
, **_kwargs
):
168 val
= apply(htmlc
.wxHtmlWinParser_GetFontBold
,(self
,) + _args
, _kwargs
)
170 def SetFontBold(self
, *_args
, **_kwargs
):
171 val
= apply(htmlc
.wxHtmlWinParser_SetFontBold
,(self
,) + _args
, _kwargs
)
173 def GetFontItalic(self
, *_args
, **_kwargs
):
174 val
= apply(htmlc
.wxHtmlWinParser_GetFontItalic
,(self
,) + _args
, _kwargs
)
176 def SetFontItalic(self
, *_args
, **_kwargs
):
177 val
= apply(htmlc
.wxHtmlWinParser_SetFontItalic
,(self
,) + _args
, _kwargs
)
179 def GetFontUnderlined(self
, *_args
, **_kwargs
):
180 val
= apply(htmlc
.wxHtmlWinParser_GetFontUnderlined
,(self
,) + _args
, _kwargs
)
182 def SetFontUnderlined(self
, *_args
, **_kwargs
):
183 val
= apply(htmlc
.wxHtmlWinParser_SetFontUnderlined
,(self
,) + _args
, _kwargs
)
185 def GetFontFixed(self
, *_args
, **_kwargs
):
186 val
= apply(htmlc
.wxHtmlWinParser_GetFontFixed
,(self
,) + _args
, _kwargs
)
188 def SetFontFixed(self
, *_args
, **_kwargs
):
189 val
= apply(htmlc
.wxHtmlWinParser_SetFontFixed
,(self
,) + _args
, _kwargs
)
191 def GetAlign(self
, *_args
, **_kwargs
):
192 val
= apply(htmlc
.wxHtmlWinParser_GetAlign
,(self
,) + _args
, _kwargs
)
194 def SetAlign(self
, *_args
, **_kwargs
):
195 val
= apply(htmlc
.wxHtmlWinParser_SetAlign
,(self
,) + _args
, _kwargs
)
197 def GetLinkColor(self
, *_args
, **_kwargs
):
198 val
= apply(htmlc
.wxHtmlWinParser_GetLinkColor
,(self
,) + _args
, _kwargs
)
199 if val
: val
= wxColourPtr(val
)
201 def SetLinkColor(self
, *_args
, **_kwargs
):
202 val
= apply(htmlc
.wxHtmlWinParser_SetLinkColor
,(self
,) + _args
, _kwargs
)
204 def GetActualColor(self
, *_args
, **_kwargs
):
205 val
= apply(htmlc
.wxHtmlWinParser_GetActualColor
,(self
,) + _args
, _kwargs
)
206 if val
: val
= wxColourPtr(val
)
208 def SetActualColor(self
, *_args
, **_kwargs
):
209 val
= apply(htmlc
.wxHtmlWinParser_SetActualColor
,(self
,) + _args
, _kwargs
)
211 def GetLink(self
, *_args
, **_kwargs
):
212 val
= apply(htmlc
.wxHtmlWinParser_GetLink
,(self
,) + _args
, _kwargs
)
214 def SetLink(self
, *_args
, **_kwargs
):
215 val
= apply(htmlc
.wxHtmlWinParser_SetLink
,(self
,) + _args
, _kwargs
)
217 def CreateCurrentFont(self
, *_args
, **_kwargs
):
218 val
= apply(htmlc
.wxHtmlWinParser_CreateCurrentFont
,(self
,) + _args
, _kwargs
)
219 if val
: val
= wxFontPtr(val
)
222 return "<C wxHtmlWinParser instance at %s>" % (self
.this
,)
223 class wxHtmlWinParser(wxHtmlWinParserPtr
):
224 def __init__(self
,*_args
,**_kwargs
):
225 self
.this
= apply(htmlc
.new_wxHtmlWinParser
,_args
,_kwargs
)
231 class wxHtmlTagHandlerPtr
:
232 def __init__(self
,this
):
235 def _setSelf(self
, *_args
, **_kwargs
):
236 val
= apply(htmlc
.wxHtmlTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
238 def SetParser(self
, *_args
, **_kwargs
):
239 val
= apply(htmlc
.wxHtmlTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
241 def GetParser(self
, *_args
, **_kwargs
):
242 val
= apply(htmlc
.wxHtmlTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
243 if val
: val
= wxHtmlParserPtr(val
)
245 def ParseInner(self
, *_args
, **_kwargs
):
246 val
= apply(htmlc
.wxHtmlTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
249 return "<C wxHtmlTagHandler instance at %s>" % (self
.this
,)
250 class wxHtmlTagHandler(wxHtmlTagHandlerPtr
):
251 def __init__(self
,*_args
,**_kwargs
):
252 self
.this
= apply(htmlc
.new_wxHtmlTagHandler
,_args
,_kwargs
)
259 class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr
):
260 def __init__(self
,this
):
263 def _setSelf(self
, *_args
, **_kwargs
):
264 val
= apply(htmlc
.wxHtmlWinTagHandler__setSelf
,(self
,) + _args
, _kwargs
)
266 def SetParser(self
, *_args
, **_kwargs
):
267 val
= apply(htmlc
.wxHtmlWinTagHandler_SetParser
,(self
,) + _args
, _kwargs
)
269 def GetParser(self
, *_args
, **_kwargs
):
270 val
= apply(htmlc
.wxHtmlWinTagHandler_GetParser
,(self
,) + _args
, _kwargs
)
271 if val
: val
= wxHtmlWinParserPtr(val
)
273 def ParseInner(self
, *_args
, **_kwargs
):
274 val
= apply(htmlc
.wxHtmlWinTagHandler_ParseInner
,(self
,) + _args
, _kwargs
)
277 return "<C wxHtmlWinTagHandler instance at %s>" % (self
.this
,)
278 class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr
):
279 def __init__(self
,*_args
,**_kwargs
):
280 self
.this
= apply(htmlc
.new_wxHtmlWinTagHandler
,_args
,_kwargs
)
287 class wxHtmlCellPtr
:
288 def __init__(self
,this
):
291 def SetParent(self
, *_args
, **_kwargs
):
292 val
= apply(htmlc
.wxHtmlCell_SetParent
,(self
,) + _args
, _kwargs
)
294 def GetParent(self
, *_args
, **_kwargs
):
295 val
= apply(htmlc
.wxHtmlCell_GetParent
,(self
,) + _args
, _kwargs
)
296 if val
: val
= wxHtmlContainerCellPtr(val
)
298 def GetPosX(self
, *_args
, **_kwargs
):
299 val
= apply(htmlc
.wxHtmlCell_GetPosX
,(self
,) + _args
, _kwargs
)
301 def GetPosY(self
, *_args
, **_kwargs
):
302 val
= apply(htmlc
.wxHtmlCell_GetPosY
,(self
,) + _args
, _kwargs
)
304 def GetWidth(self
, *_args
, **_kwargs
):
305 val
= apply(htmlc
.wxHtmlCell_GetWidth
,(self
,) + _args
, _kwargs
)
307 def GetHeight(self
, *_args
, **_kwargs
):
308 val
= apply(htmlc
.wxHtmlCell_GetHeight
,(self
,) + _args
, _kwargs
)
310 def GetDescent(self
, *_args
, **_kwargs
):
311 val
= apply(htmlc
.wxHtmlCell_GetDescent
,(self
,) + _args
, _kwargs
)
313 def GetLink(self
, *_args
, **_kwargs
):
314 val
= apply(htmlc
.wxHtmlCell_GetLink
,(self
,) + _args
, _kwargs
)
316 def GetNext(self
, *_args
, **_kwargs
):
317 val
= apply(htmlc
.wxHtmlCell_GetNext
,(self
,) + _args
, _kwargs
)
318 if val
: val
= wxHtmlCellPtr(val
)
320 def SetPos(self
, *_args
, **_kwargs
):
321 val
= apply(htmlc
.wxHtmlCell_SetPos
,(self
,) + _args
, _kwargs
)
323 def SetLink(self
, *_args
, **_kwargs
):
324 val
= apply(htmlc
.wxHtmlCell_SetLink
,(self
,) + _args
, _kwargs
)
326 def SetNext(self
, *_args
, **_kwargs
):
327 val
= apply(htmlc
.wxHtmlCell_SetNext
,(self
,) + _args
, _kwargs
)
329 def Layout(self
, *_args
, **_kwargs
):
330 val
= apply(htmlc
.wxHtmlCell_Layout
,(self
,) + _args
, _kwargs
)
332 def Draw(self
, *_args
, **_kwargs
):
333 val
= apply(htmlc
.wxHtmlCell_Draw
,(self
,) + _args
, _kwargs
)
335 def DrawInvisible(self
, *_args
, **_kwargs
):
336 val
= apply(htmlc
.wxHtmlCell_DrawInvisible
,(self
,) + _args
, _kwargs
)
338 def Find(self
, *_args
, **_kwargs
):
339 val
= apply(htmlc
.wxHtmlCell_Find
,(self
,) + _args
, _kwargs
)
340 if val
: val
= wxHtmlCellPtr(val
)
342 def AdjustPagebreak(self
, *_args
, **_kwargs
):
343 val
= apply(htmlc
.wxHtmlCell_AdjustPagebreak
,(self
,) + _args
, _kwargs
)
345 def SetCanLiveOnPagebreak(self
, *_args
, **_kwargs
):
346 val
= apply(htmlc
.wxHtmlCell_SetCanLiveOnPagebreak
,(self
,) + _args
, _kwargs
)
349 return "<C wxHtmlCell instance at %s>" % (self
.this
,)
350 class wxHtmlCell(wxHtmlCellPtr
):
351 def __init__(self
,*_args
,**_kwargs
):
352 self
.this
= apply(htmlc
.new_wxHtmlCell
,_args
,_kwargs
)
358 class wxHtmlContainerCellPtr(wxHtmlCellPtr
):
359 def __init__(self
,this
):
362 def InsertCell(self
, *_args
, **_kwargs
):
363 val
= apply(htmlc
.wxHtmlContainerCell_InsertCell
,(self
,) + _args
, _kwargs
)
365 def SetAlignHor(self
, *_args
, **_kwargs
):
366 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignHor
,(self
,) + _args
, _kwargs
)
368 def GetAlignHor(self
, *_args
, **_kwargs
):
369 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignHor
,(self
,) + _args
, _kwargs
)
371 def SetAlignVer(self
, *_args
, **_kwargs
):
372 val
= apply(htmlc
.wxHtmlContainerCell_SetAlignVer
,(self
,) + _args
, _kwargs
)
374 def GetAlignVer(self
, *_args
, **_kwargs
):
375 val
= apply(htmlc
.wxHtmlContainerCell_GetAlignVer
,(self
,) + _args
, _kwargs
)
377 def SetIndent(self
, *_args
, **_kwargs
):
378 val
= apply(htmlc
.wxHtmlContainerCell_SetIndent
,(self
,) + _args
, _kwargs
)
380 def GetIndent(self
, *_args
, **_kwargs
):
381 val
= apply(htmlc
.wxHtmlContainerCell_GetIndent
,(self
,) + _args
, _kwargs
)
383 def GetIndentUnits(self
, *_args
, **_kwargs
):
384 val
= apply(htmlc
.wxHtmlContainerCell_GetIndentUnits
,(self
,) + _args
, _kwargs
)
386 def SetAlign(self
, *_args
, **_kwargs
):
387 val
= apply(htmlc
.wxHtmlContainerCell_SetAlign
,(self
,) + _args
, _kwargs
)
389 def SetWidthFloat(self
, *_args
, **_kwargs
):
390 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloat
,(self
,) + _args
, _kwargs
)
392 def SetWidthFloatFromTag(self
, *_args
, **_kwargs
):
393 val
= apply(htmlc
.wxHtmlContainerCell_SetWidthFloatFromTag
,(self
,) + _args
, _kwargs
)
395 def SetMinHeight(self
, *_args
, **_kwargs
):
396 val
= apply(htmlc
.wxHtmlContainerCell_SetMinHeight
,(self
,) + _args
, _kwargs
)
398 def GetMaxLineWidth(self
, *_args
, **_kwargs
):
399 val
= apply(htmlc
.wxHtmlContainerCell_GetMaxLineWidth
,(self
,) + _args
, _kwargs
)
401 def SetBackgroundColour(self
, *_args
, **_kwargs
):
402 val
= apply(htmlc
.wxHtmlContainerCell_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
404 def SetBorder(self
, *_args
, **_kwargs
):
405 val
= apply(htmlc
.wxHtmlContainerCell_SetBorder
,(self
,) + _args
, _kwargs
)
407 def GetFirstCell(self
, *_args
, **_kwargs
):
408 val
= apply(htmlc
.wxHtmlContainerCell_GetFirstCell
,(self
,) + _args
, _kwargs
)
409 if val
: val
= wxHtmlCellPtr(val
)
412 return "<C wxHtmlContainerCell instance at %s>" % (self
.this
,)
413 class wxHtmlContainerCell(wxHtmlContainerCellPtr
):
414 def __init__(self
,*_args
,**_kwargs
):
415 self
.this
= apply(htmlc
.new_wxHtmlContainerCell
,_args
,_kwargs
)
421 class wxHtmlWidgetCellPtr(wxHtmlCellPtr
):
422 def __init__(self
,this
):
426 return "<C wxHtmlWidgetCell instance at %s>" % (self
.this
,)
427 class wxHtmlWidgetCell(wxHtmlWidgetCellPtr
):
428 def __init__(self
,*_args
,**_kwargs
):
429 self
.this
= apply(htmlc
.new_wxHtmlWidgetCell
,_args
,_kwargs
)
435 class HtmlHistoryItemPtr
:
436 def __init__(self
,this
):
439 def GetPos(self
, *_args
, **_kwargs
):
440 val
= apply(htmlc
.HtmlHistoryItem_GetPos
,(self
,) + _args
, _kwargs
)
442 def SetPos(self
, *_args
, **_kwargs
):
443 val
= apply(htmlc
.HtmlHistoryItem_SetPos
,(self
,) + _args
, _kwargs
)
445 def GetPage(self
, *_args
, **_kwargs
):
446 val
= apply(htmlc
.HtmlHistoryItem_GetPage
,(self
,) + _args
, _kwargs
)
448 def GetAnchor(self
, *_args
, **_kwargs
):
449 val
= apply(htmlc
.HtmlHistoryItem_GetAnchor
,(self
,) + _args
, _kwargs
)
452 return "<C HtmlHistoryItem instance at %s>" % (self
.this
,)
453 class HtmlHistoryItem(HtmlHistoryItemPtr
):
454 def __init__(self
,*_args
,**_kwargs
):
455 self
.this
= apply(htmlc
.new_HtmlHistoryItem
,_args
,_kwargs
)
461 class wxHtmlWindowPtr(wxScrolledWindowPtr
):
462 def __init__(self
,this
):
465 def _setSelf(self
, *_args
, **_kwargs
):
466 val
= apply(htmlc
.wxHtmlWindow__setSelf
,(self
,) + _args
, _kwargs
)
468 def SetPage(self
, *_args
, **_kwargs
):
469 val
= apply(htmlc
.wxHtmlWindow_SetPage
,(self
,) + _args
, _kwargs
)
471 def LoadPage(self
, *_args
, **_kwargs
):
472 val
= apply(htmlc
.wxHtmlWindow_LoadPage
,(self
,) + _args
, _kwargs
)
474 def GetOpenedPage(self
, *_args
, **_kwargs
):
475 val
= apply(htmlc
.wxHtmlWindow_GetOpenedPage
,(self
,) + _args
, _kwargs
)
477 def SetRelatedFrame(self
, *_args
, **_kwargs
):
478 val
= apply(htmlc
.wxHtmlWindow_SetRelatedFrame
,(self
,) + _args
, _kwargs
)
480 def GetRelatedFrame(self
, *_args
, **_kwargs
):
481 val
= apply(htmlc
.wxHtmlWindow_GetRelatedFrame
,(self
,) + _args
, _kwargs
)
482 if val
: val
= wxFramePtr(val
)
484 def SetRelatedStatusBar(self
, *_args
, **_kwargs
):
485 val
= apply(htmlc
.wxHtmlWindow_SetRelatedStatusBar
,(self
,) + _args
, _kwargs
)
487 def SetFonts(self
, *_args
, **_kwargs
):
488 val
= apply(htmlc
.wxHtmlWindow_SetFonts
,(self
,) + _args
, _kwargs
)
490 def SetTitle(self
, *_args
, **_kwargs
):
491 val
= apply(htmlc
.wxHtmlWindow_SetTitle
,(self
,) + _args
, _kwargs
)
493 def SetBorders(self
, *_args
, **_kwargs
):
494 val
= apply(htmlc
.wxHtmlWindow_SetBorders
,(self
,) + _args
, _kwargs
)
496 def ReadCustomization(self
, *_args
, **_kwargs
):
497 val
= apply(htmlc
.wxHtmlWindow_ReadCustomization
,(self
,) + _args
, _kwargs
)
499 def WriteCustomization(self
, *_args
, **_kwargs
):
500 val
= apply(htmlc
.wxHtmlWindow_WriteCustomization
,(self
,) + _args
, _kwargs
)
502 def HistoryBack(self
, *_args
, **_kwargs
):
503 val
= apply(htmlc
.wxHtmlWindow_HistoryBack
,(self
,) + _args
, _kwargs
)
505 def HistoryForward(self
, *_args
, **_kwargs
):
506 val
= apply(htmlc
.wxHtmlWindow_HistoryForward
,(self
,) + _args
, _kwargs
)
508 def HistoryClear(self
, *_args
, **_kwargs
):
509 val
= apply(htmlc
.wxHtmlWindow_HistoryClear
,(self
,) + _args
, _kwargs
)
511 def GetInternalRepresentation(self
, *_args
, **_kwargs
):
512 val
= apply(htmlc
.wxHtmlWindow_GetInternalRepresentation
,(self
,) + _args
, _kwargs
)
513 if val
: val
= wxHtmlContainerCellPtr(val
)
515 def GetParser(self
, *_args
, **_kwargs
):
516 val
= apply(htmlc
.wxHtmlWindow_GetParser
,(self
,) + _args
, _kwargs
)
517 if val
: val
= wxHtmlWinParserPtr(val
)
519 def base_OnLinkClicked(self
, *_args
, **_kwargs
):
520 val
= apply(htmlc
.wxHtmlWindow_base_OnLinkClicked
,(self
,) + _args
, _kwargs
)
523 return "<C wxHtmlWindow instance at %s>" % (self
.this
,)
524 class wxHtmlWindow(wxHtmlWindowPtr
):
525 def __init__(self
,*_args
,**_kwargs
):
526 self
.this
= apply(htmlc
.new_wxHtmlWindow
,_args
,_kwargs
)
529 wx
._StdWindowCallbacks
(self
)
530 wx
._StdOnScrollCallbacks
(self
)
535 class wxHtmlDCRendererPtr
:
536 def __init__(self
,this
):
539 def __del__(self
,htmlc
=htmlc
):
540 if self
.thisown
== 1 :
541 htmlc
.delete_wxHtmlDCRenderer(self
)
542 def SetDC(self
, *_args
, **_kwargs
):
543 val
= apply(htmlc
.wxHtmlDCRenderer_SetDC
,(self
,) + _args
, _kwargs
)
545 def SetSize(self
, *_args
, **_kwargs
):
546 val
= apply(htmlc
.wxHtmlDCRenderer_SetSize
,(self
,) + _args
, _kwargs
)
548 def SetHtmlText(self
, *_args
, **_kwargs
):
549 val
= apply(htmlc
.wxHtmlDCRenderer_SetHtmlText
,(self
,) + _args
, _kwargs
)
551 def Render(self
, *_args
, **_kwargs
):
552 val
= apply(htmlc
.wxHtmlDCRenderer_Render
,(self
,) + _args
, _kwargs
)
554 def GetTotalHeight(self
, *_args
, **_kwargs
):
555 val
= apply(htmlc
.wxHtmlDCRenderer_GetTotalHeight
,(self
,) + _args
, _kwargs
)
558 return "<C wxHtmlDCRenderer instance at %s>" % (self
.this
,)
559 class wxHtmlDCRenderer(wxHtmlDCRendererPtr
):
560 def __init__(self
,*_args
,**_kwargs
):
561 self
.this
= apply(htmlc
.new_wxHtmlDCRenderer
,_args
,_kwargs
)
567 class wxHtmlPrintoutPtr(wxPrintoutPtr
):
568 def __init__(self
,this
):
571 def __del__(self
,htmlc
=htmlc
):
572 if self
.thisown
== 1 :
573 htmlc
.delete_wxHtmlPrintout(self
)
574 def SetHtmlText(self
, *_args
, **_kwargs
):
575 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlText
,(self
,) + _args
, _kwargs
)
577 def SetHtmlFile(self
, *_args
, **_kwargs
):
578 val
= apply(htmlc
.wxHtmlPrintout_SetHtmlFile
,(self
,) + _args
, _kwargs
)
580 def SetHeader(self
, *_args
, **_kwargs
):
581 val
= apply(htmlc
.wxHtmlPrintout_SetHeader
,(self
,) + _args
, _kwargs
)
583 def SetFooter(self
, *_args
, **_kwargs
):
584 val
= apply(htmlc
.wxHtmlPrintout_SetFooter
,(self
,) + _args
, _kwargs
)
586 def SetMargins(self
, *_args
, **_kwargs
):
587 val
= apply(htmlc
.wxHtmlPrintout_SetMargins
,(self
,) + _args
, _kwargs
)
590 return "<C wxHtmlPrintout instance at %s>" % (self
.this
,)
591 class wxHtmlPrintout(wxHtmlPrintoutPtr
):
592 def __init__(self
,*_args
,**_kwargs
):
593 self
.this
= apply(htmlc
.new_wxHtmlPrintout
,_args
,_kwargs
)
599 class wxHtmlEasyPrintingPtr
:
600 def __init__(self
,this
):
603 def __del__(self
,htmlc
=htmlc
):
604 if self
.thisown
== 1 :
605 htmlc
.delete_wxHtmlEasyPrinting(self
)
606 def PreviewFile(self
, *_args
, **_kwargs
):
607 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewFile
,(self
,) + _args
, _kwargs
)
609 def PreviewText(self
, *_args
, **_kwargs
):
610 val
= apply(htmlc
.wxHtmlEasyPrinting_PreviewText
,(self
,) + _args
, _kwargs
)
612 def PrintFile(self
, *_args
, **_kwargs
):
613 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintFile
,(self
,) + _args
, _kwargs
)
615 def PrintText(self
, *_args
, **_kwargs
):
616 val
= apply(htmlc
.wxHtmlEasyPrinting_PrintText
,(self
,) + _args
, _kwargs
)
618 def PrinterSetup(self
, *_args
, **_kwargs
):
619 val
= apply(htmlc
.wxHtmlEasyPrinting_PrinterSetup
,(self
,) + _args
, _kwargs
)
621 def PageSetup(self
, *_args
, **_kwargs
):
622 val
= apply(htmlc
.wxHtmlEasyPrinting_PageSetup
,(self
,) + _args
, _kwargs
)
624 def SetHeader(self
, *_args
, **_kwargs
):
625 val
= apply(htmlc
.wxHtmlEasyPrinting_SetHeader
,(self
,) + _args
, _kwargs
)
627 def SetFooter(self
, *_args
, **_kwargs
):
628 val
= apply(htmlc
.wxHtmlEasyPrinting_SetFooter
,(self
,) + _args
, _kwargs
)
630 def GetPrintData(self
, *_args
, **_kwargs
):
631 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPrintData
,(self
,) + _args
, _kwargs
)
632 if val
: val
= wxPrintDataPtr(val
)
634 def GetPageSetupData(self
, *_args
, **_kwargs
):
635 val
= apply(htmlc
.wxHtmlEasyPrinting_GetPageSetupData
,(self
,) + _args
, _kwargs
)
636 if val
: val
= wxPageSetupDialogDataPtr(val
)
639 return "<C wxHtmlEasyPrinting instance at %s>" % (self
.this
,)
640 class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr
):
641 def __init__(self
,*_args
,**_kwargs
):
642 self
.this
= apply(htmlc
.new_wxHtmlEasyPrinting
,_args
,_kwargs
)
650 #-------------- FUNCTION WRAPPERS ------------------
652 wxHtmlWinParser_AddTagHandler
= htmlc
.wxHtmlWinParser_AddTagHandler
654 wxHtmlWindow_AddFilter
= htmlc
.wxHtmlWindow_AddFilter
658 #-------------- VARIABLE WRAPPERS ------------------
660 wxHTML_ALIGN_LEFT
= htmlc
.wxHTML_ALIGN_LEFT
661 wxHTML_ALIGN_CENTER
= htmlc
.wxHTML_ALIGN_CENTER
662 wxHTML_ALIGN_RIGHT
= htmlc
.wxHTML_ALIGN_RIGHT
663 wxHTML_ALIGN_BOTTOM
= htmlc
.wxHTML_ALIGN_BOTTOM
664 wxHTML_ALIGN_TOP
= htmlc
.wxHTML_ALIGN_TOP
665 wxHTML_CLR_FOREGROUND
= htmlc
.wxHTML_CLR_FOREGROUND
666 wxHTML_CLR_BACKGROUND
= htmlc
.wxHTML_CLR_BACKGROUND
667 wxHTML_UNITS_PIXELS
= htmlc
.wxHTML_UNITS_PIXELS
668 wxHTML_UNITS_PERCENT
= htmlc
.wxHTML_UNITS_PERCENT
669 wxHTML_INDENT_LEFT
= htmlc
.wxHTML_INDENT_LEFT
670 wxHTML_INDENT_RIGHT
= htmlc
.wxHTML_INDENT_RIGHT
671 wxHTML_INDENT_TOP
= htmlc
.wxHTML_INDENT_TOP
672 wxHTML_INDENT_BOTTOM
= htmlc
.wxHTML_INDENT_BOTTOM
673 wxHTML_INDENT_HORIZONTAL
= htmlc
.wxHTML_INDENT_HORIZONTAL
674 wxHTML_INDENT_VERTICAL
= htmlc
.wxHTML_INDENT_VERTICAL
675 wxHTML_INDENT_ALL
= htmlc
.wxHTML_INDENT_ALL
676 wxHTML_COND_ISANCHOR
= htmlc
.wxHTML_COND_ISANCHOR
677 wxHTML_COND_ISIMAGEMAP
= htmlc
.wxHTML_COND_ISIMAGEMAP
678 wxHTML_COND_USER
= htmlc
.wxHTML_COND_USER
679 wxPAGE_ODD
= htmlc
.wxPAGE_ODD
680 wxPAGE_EVEN
= htmlc
.wxPAGE_EVEN
681 wxPAGE_ALL
= htmlc
.wxPAGE_ALL
684 #-------------- USER INCLUDE -----------------------
687 # Stuff these names into the wx namespace so wxPyConstructObject can find them
689 wx
.wxHtmlTagPtr
= wxHtmlTagPtr
690 wx
.wxHtmlParserPtr
= wxHtmlParserPtr
691 wx
.wxHtmlWinParserPtr
= wxHtmlWinParserPtr
692 wx
.wxHtmlTagHandlerPtr
= wxHtmlTagHandlerPtr
693 wx
.wxHtmlWinTagHandlerPtr
= wxHtmlWinTagHandlerPtr
694 wx
.wxHtmlCellPtr
= wxHtmlCellPtr
695 wx
.wxHtmlContainerCellPtr
= wxHtmlContainerCellPtr
696 wx
.wxHtmlWidgetCellPtr
= wxHtmlWidgetCellPtr
697 wx
.HtmlHistoryItemPtr
= HtmlHistoryItemPtr
698 wx
.wxHtmlWindowPtr
= wxHtmlWindowPtr