1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
6 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
8 if isinstance(value
, class_type
):
9 self
.__dict
__[name
] = value
.this
10 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
13 method
= class_type
.__swig
_setmethods
__.get(name
,None)
14 if method
: return method(self
,value
)
15 if (not static
) or hasattr(self
,name
) or (name
== "thisown"):
16 self
.__dict
__[name
] = value
18 raise AttributeError("You cannot add attributes to %s" % self
)
20 def _swig_setattr(self
,class_type
,name
,value
):
21 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
23 def _swig_getattr(self
,class_type
,name
):
24 method
= class_type
.__swig
_getmethods
__.get(name
,None)
25 if method
: return method(self
)
26 raise AttributeError,name
30 _object
= types
.ObjectType
32 except AttributeError:
38 def _swig_setattr_nondynamic_method(set):
39 def set_attr(self
,name
,value
):
40 if hasattr(self
,name
) or (name
in ("this", "thisown")):
43 raise AttributeError("You cannot add attributes to %s" % self
)
49 __docfilter__
= wx
.__DocFilter
(globals())
51 warnings
.warn("This module is deprecated. Please use the wx.lib.iewin module instead.",
52 DeprecationWarning, stacklevel
=2)
54 class MSHTMLEvent(_core
.NotifyEvent
):
55 """Proxy of C++ MSHTMLEvent class"""
57 return "<%s.%s; proxy of C++ wxMSHTMLEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
58 def __init__(self
, *args
, **kwargs
):
59 """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> MSHTMLEvent"""
60 newobj
= _iewin
.new_MSHTMLEvent(*args
, **kwargs
)
61 self
.this
= newobj
.this
64 def GetText1(*args
, **kwargs
):
65 """GetText1(self) -> String"""
66 return _iewin
.MSHTMLEvent_GetText1(*args
, **kwargs
)
68 def GetLong1(*args
, **kwargs
):
69 """GetLong1(self) -> long"""
70 return _iewin
.MSHTMLEvent_GetLong1(*args
, **kwargs
)
72 def GetLong2(*args
, **kwargs
):
73 """GetLong2(self) -> long"""
74 return _iewin
.MSHTMLEvent_GetLong2(*args
, **kwargs
)
77 class MSHTMLEventPtr(MSHTMLEvent
):
78 def __init__(self
, this
):
80 if not hasattr(self
,"thisown"): self
.thisown
= 0
81 self
.__class
__ = MSHTMLEvent
82 _iewin
.MSHTMLEvent_swigregister(MSHTMLEventPtr
)
84 wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
= _iewin
.wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
85 wxEVT_COMMAND_MSHTML_NEWWINDOW2
= _iewin
.wxEVT_COMMAND_MSHTML_NEWWINDOW2
86 wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
= _iewin
.wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
87 wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
= _iewin
.wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
88 wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
= _iewin
.wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
89 wxEVT_COMMAND_MSHTML_TITLECHANGE
= _iewin
.wxEVT_COMMAND_MSHTML_TITLECHANGE
90 EVT_MSHTML_BEFORENAVIGATE2
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
, 1)
91 EVT_MSHTML_NEWWINDOW2
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_NEWWINDOW2
, 1)
92 EVT_MSHTML_DOCUMENTCOMPLETE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
, 1)
93 EVT_MSHTML_PROGRESSCHANGE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
, 1)
94 EVT_MSHTML_STATUSTEXTCHANGE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
, 1)
95 EVT_MSHTML_TITLECHANGE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_TITLECHANGE
, 1)
97 IEHTML_REFRESH_NORMAL
= _iewin
.IEHTML_REFRESH_NORMAL
98 IEHTML_REFRESH_IFEXPIRED
= _iewin
.IEHTML_REFRESH_IFEXPIRED
99 IEHTML_REFRESH_CONTINUE
= _iewin
.IEHTML_REFRESH_CONTINUE
100 IEHTML_REFRESH_COMPLETELY
= _iewin
.IEHTML_REFRESH_COMPLETELY
101 class IEHtmlWin(_core
.Window
):
102 """Proxy of C++ IEHtmlWin class"""
104 return "<%s.%s; proxy of C++ wxIEHtmlWin instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
105 def __init__(self
, *args
, **kwargs
):
107 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
108 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> IEHtmlWin
110 newobj
= _iewin
.new_IEHtmlWin(*args
, **kwargs
)
111 self
.this
= newobj
.this
114 self
._setOORInfo
(self
)
116 def LoadUrl(*args
, **kwargs
):
117 """LoadUrl(self, String ??)"""
118 return _iewin
.IEHtmlWin_LoadUrl(*args
, **kwargs
)
120 def LoadString(*args
, **kwargs
):
121 """LoadString(self, String html) -> bool"""
122 return _iewin
.IEHtmlWin_LoadString(*args
, **kwargs
)
124 def LoadStream(*args
, **kwargs
):
125 """LoadStream(self, InputStream is) -> bool"""
126 return _iewin
.IEHtmlWin_LoadStream(*args
, **kwargs
)
129 def SetCharset(*args
, **kwargs
):
130 """SetCharset(self, String charset)"""
131 return _iewin
.IEHtmlWin_SetCharset(*args
, **kwargs
)
133 def SetEditMode(*args
, **kwargs
):
134 """SetEditMode(self, bool seton)"""
135 return _iewin
.IEHtmlWin_SetEditMode(*args
, **kwargs
)
137 def GetEditMode(*args
, **kwargs
):
138 """GetEditMode(self) -> bool"""
139 return _iewin
.IEHtmlWin_GetEditMode(*args
, **kwargs
)
141 def GetStringSelection(*args
, **kwargs
):
142 """GetStringSelection(self, bool asHTML=False) -> String"""
143 return _iewin
.IEHtmlWin_GetStringSelection(*args
, **kwargs
)
145 def GetText(*args
, **kwargs
):
146 """GetText(self, bool asHTML=False) -> String"""
147 return _iewin
.IEHtmlWin_GetText(*args
, **kwargs
)
149 def GoBack(*args
, **kwargs
):
150 """GoBack(self) -> bool"""
151 return _iewin
.IEHtmlWin_GoBack(*args
, **kwargs
)
153 def GoForward(*args
, **kwargs
):
154 """GoForward(self) -> bool"""
155 return _iewin
.IEHtmlWin_GoForward(*args
, **kwargs
)
157 def GoHome(*args
, **kwargs
):
158 """GoHome(self) -> bool"""
159 return _iewin
.IEHtmlWin_GoHome(*args
, **kwargs
)
161 def GoSearch(*args
, **kwargs
):
162 """GoSearch(self) -> bool"""
163 return _iewin
.IEHtmlWin_GoSearch(*args
, **kwargs
)
165 def RefreshPage(*args
, **kwargs
):
166 """RefreshPage(self, int level) -> bool"""
167 return _iewin
.IEHtmlWin_RefreshPage(*args
, **kwargs
)
169 def Stop(*args
, **kwargs
):
170 """Stop(self) -> bool"""
171 return _iewin
.IEHtmlWin_Stop(*args
, **kwargs
)
174 class IEHtmlWinPtr(IEHtmlWin
):
175 def __init__(self
, this
):
177 if not hasattr(self
,"thisown"): self
.thisown
= 0
178 self
.__class
__ = IEHtmlWin
179 _iewin
.IEHtmlWin_swigregister(IEHtmlWinPtr
)