1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
8 class MSHTMLEvent(core
.NotifyEvent
):
10 return "<%s.%s; proxy of C++ wxMSHTMLEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
11 def __init__(self
, *args
, **kwargs
):
12 """__init__(wxEventType commandType=wxEVT_NULL, int id=0) -> MSHTMLEvent"""
13 newobj
= _iewin
.new_MSHTMLEvent(*args
, **kwargs
)
14 self
.this
= newobj
.this
17 def GetText1(*args
, **kwargs
):
18 """GetText1() -> String"""
19 return _iewin
.MSHTMLEvent_GetText1(*args
, **kwargs
)
21 def GetLong1(*args
, **kwargs
):
22 """GetLong1() -> long"""
23 return _iewin
.MSHTMLEvent_GetLong1(*args
, **kwargs
)
25 def GetLong2(*args
, **kwargs
):
26 """GetLong2() -> long"""
27 return _iewin
.MSHTMLEvent_GetLong2(*args
, **kwargs
)
30 class MSHTMLEventPtr(MSHTMLEvent
):
31 def __init__(self
, this
):
33 if not hasattr(self
,"thisown"): self
.thisown
= 0
34 self
.__class
__ = MSHTMLEvent
35 _iewin
.MSHTMLEvent_swigregister(MSHTMLEventPtr
)
37 wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
= _iewin
.wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
38 wxEVT_COMMAND_MSHTML_NEWWINDOW2
= _iewin
.wxEVT_COMMAND_MSHTML_NEWWINDOW2
39 wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
= _iewin
.wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
40 wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
= _iewin
.wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
41 wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
= _iewin
.wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
42 wxEVT_COMMAND_MSHTML_TITLECHANGE
= _iewin
.wxEVT_COMMAND_MSHTML_TITLECHANGE
43 EVT_MSHTML_BEFORENAVIGATE2
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
, 1)
44 EVT_MSHTML_NEWWINDOW2
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_NEWWINDOW2
, 1)
45 EVT_MSHTML_DOCUMENTCOMPLETE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
, 1)
46 EVT_MSHTML_PROGRESSCHANGE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
, 1)
47 EVT_MSHTML_STATUSTEXTCHANGE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
, 1)
48 EVT_MSHTML_TITLECHANGE
= wx
.PyEventBinder(wxEVT_COMMAND_MSHTML_TITLECHANGE
, 1)
50 IEHTML_REFRESH_NORMAL
= _iewin
.IEHTML_REFRESH_NORMAL
51 IEHTML_REFRESH_IFEXPIRED
= _iewin
.IEHTML_REFRESH_IFEXPIRED
52 IEHTML_REFRESH_CONTINUE
= _iewin
.IEHTML_REFRESH_CONTINUE
53 IEHTML_REFRESH_COMPLETELY
= _iewin
.IEHTML_REFRESH_COMPLETELY
54 class IEHtmlWin(core
.Window
):
56 return "<%s.%s; proxy of C++ wxIEHtmlWin instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
57 def __init__(self
, *args
, **kwargs
):
59 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
60 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> IEHtmlWin
62 newobj
= _iewin
.new_IEHtmlWin(*args
, **kwargs
)
63 self
.this
= newobj
.this
66 self
._setOORInfo
(self
)
68 def LoadUrl(*args
, **kwargs
):
69 """LoadUrl(String ??)"""
70 return _iewin
.IEHtmlWin_LoadUrl(*args
, **kwargs
)
72 def LoadString(*args
, **kwargs
):
73 """LoadString(String html) -> bool"""
74 return _iewin
.IEHtmlWin_LoadString(*args
, **kwargs
)
76 def LoadStream(*args
, **kwargs
):
77 """LoadStream(InputStream is) -> bool"""
78 return _iewin
.IEHtmlWin_LoadStream(*args
, **kwargs
)
81 def SetCharset(*args
, **kwargs
):
82 """SetCharset(String charset)"""
83 return _iewin
.IEHtmlWin_SetCharset(*args
, **kwargs
)
85 def SetEditMode(*args
, **kwargs
):
86 """SetEditMode(bool seton)"""
87 return _iewin
.IEHtmlWin_SetEditMode(*args
, **kwargs
)
89 def GetEditMode(*args
, **kwargs
):
90 """GetEditMode() -> bool"""
91 return _iewin
.IEHtmlWin_GetEditMode(*args
, **kwargs
)
93 def GetStringSelection(*args
, **kwargs
):
94 """GetStringSelection(bool asHTML=False) -> String"""
95 return _iewin
.IEHtmlWin_GetStringSelection(*args
, **kwargs
)
97 def GetText(*args
, **kwargs
):
98 """GetText(bool asHTML=False) -> String"""
99 return _iewin
.IEHtmlWin_GetText(*args
, **kwargs
)
101 def GoBack(*args
, **kwargs
):
102 """GoBack() -> bool"""
103 return _iewin
.IEHtmlWin_GoBack(*args
, **kwargs
)
105 def GoForward(*args
, **kwargs
):
106 """GoForward() -> bool"""
107 return _iewin
.IEHtmlWin_GoForward(*args
, **kwargs
)
109 def GoHome(*args
, **kwargs
):
110 """GoHome() -> bool"""
111 return _iewin
.IEHtmlWin_GoHome(*args
, **kwargs
)
113 def GoSearch(*args
, **kwargs
):
114 """GoSearch() -> bool"""
115 return _iewin
.IEHtmlWin_GoSearch(*args
, **kwargs
)
117 def RefreshPage(*args
, **kwargs
):
118 """RefreshPage(int level) -> bool"""
119 return _iewin
.IEHtmlWin_RefreshPage(*args
, **kwargs
)
121 def Stop(*args
, **kwargs
):
123 return _iewin
.IEHtmlWin_Stop(*args
, **kwargs
)
126 class IEHtmlWinPtr(IEHtmlWin
):
127 def __init__(self
, this
):
129 if not hasattr(self
,"thisown"): self
.thisown
= 0
130 self
.__class
__ = IEHtmlWin
131 _iewin
.IEHtmlWin_swigregister(IEHtmlWinPtr
)