]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/iewin/iewin.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / iewin / iewin.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 import _iewin
5
6 import _core
7 wx = _core
8 __docfilter__ = wx.__DocFilter(globals())
9 import warnings
10 warnings.warn("This module is deprecated. Please use the wx.lib.iewin module instead.",
11 DeprecationWarning, stacklevel=2)
12
13 class MSHTMLEvent(_core.NotifyEvent):
14 def __repr__(self):
15 return "<%s.%s; proxy of C++ wxMSHTMLEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
16 def __init__(self, *args, **kwargs):
17 """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> MSHTMLEvent"""
18 newobj = _iewin.new_MSHTMLEvent(*args, **kwargs)
19 self.this = newobj.this
20 self.thisown = 1
21 del newobj.thisown
22 def GetText1(*args, **kwargs):
23 """GetText1(self) -> String"""
24 return _iewin.MSHTMLEvent_GetText1(*args, **kwargs)
25
26 def GetLong1(*args, **kwargs):
27 """GetLong1(self) -> long"""
28 return _iewin.MSHTMLEvent_GetLong1(*args, **kwargs)
29
30 def GetLong2(*args, **kwargs):
31 """GetLong2(self) -> long"""
32 return _iewin.MSHTMLEvent_GetLong2(*args, **kwargs)
33
34
35 class MSHTMLEventPtr(MSHTMLEvent):
36 def __init__(self, this):
37 self.this = this
38 if not hasattr(self,"thisown"): self.thisown = 0
39 self.__class__ = MSHTMLEvent
40 _iewin.MSHTMLEvent_swigregister(MSHTMLEventPtr)
41
42 wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2 = _iewin.wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
43 wxEVT_COMMAND_MSHTML_NEWWINDOW2 = _iewin.wxEVT_COMMAND_MSHTML_NEWWINDOW2
44 wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE = _iewin.wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
45 wxEVT_COMMAND_MSHTML_PROGRESSCHANGE = _iewin.wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
46 wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE = _iewin.wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
47 wxEVT_COMMAND_MSHTML_TITLECHANGE = _iewin.wxEVT_COMMAND_MSHTML_TITLECHANGE
48 EVT_MSHTML_BEFORENAVIGATE2 = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2, 1)
49 EVT_MSHTML_NEWWINDOW2 = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_NEWWINDOW2, 1)
50 EVT_MSHTML_DOCUMENTCOMPLETE = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE, 1)
51 EVT_MSHTML_PROGRESSCHANGE = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_PROGRESSCHANGE, 1)
52 EVT_MSHTML_STATUSTEXTCHANGE = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE, 1)
53 EVT_MSHTML_TITLECHANGE = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_TITLECHANGE, 1)
54
55 IEHTML_REFRESH_NORMAL = _iewin.IEHTML_REFRESH_NORMAL
56 IEHTML_REFRESH_IFEXPIRED = _iewin.IEHTML_REFRESH_IFEXPIRED
57 IEHTML_REFRESH_CONTINUE = _iewin.IEHTML_REFRESH_CONTINUE
58 IEHTML_REFRESH_COMPLETELY = _iewin.IEHTML_REFRESH_COMPLETELY
59 class IEHtmlWin(_core.Window):
60 def __repr__(self):
61 return "<%s.%s; proxy of C++ wxIEHtmlWin instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
62 def __init__(self, *args, **kwargs):
63 """
64 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
65 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> IEHtmlWin
66 """
67 newobj = _iewin.new_IEHtmlWin(*args, **kwargs)
68 self.this = newobj.this
69 self.thisown = 1
70 del newobj.thisown
71 self._setOORInfo(self)
72
73 def LoadUrl(*args, **kwargs):
74 """LoadUrl(self, String ??)"""
75 return _iewin.IEHtmlWin_LoadUrl(*args, **kwargs)
76
77 def LoadString(*args, **kwargs):
78 """LoadString(self, String html) -> bool"""
79 return _iewin.IEHtmlWin_LoadString(*args, **kwargs)
80
81 def LoadStream(*args, **kwargs):
82 """LoadStream(self, InputStream is) -> bool"""
83 return _iewin.IEHtmlWin_LoadStream(*args, **kwargs)
84
85 Navigate = LoadUrl
86 def SetCharset(*args, **kwargs):
87 """SetCharset(self, String charset)"""
88 return _iewin.IEHtmlWin_SetCharset(*args, **kwargs)
89
90 def SetEditMode(*args, **kwargs):
91 """SetEditMode(self, bool seton)"""
92 return _iewin.IEHtmlWin_SetEditMode(*args, **kwargs)
93
94 def GetEditMode(*args, **kwargs):
95 """GetEditMode(self) -> bool"""
96 return _iewin.IEHtmlWin_GetEditMode(*args, **kwargs)
97
98 def GetStringSelection(*args, **kwargs):
99 """GetStringSelection(self, bool asHTML=False) -> String"""
100 return _iewin.IEHtmlWin_GetStringSelection(*args, **kwargs)
101
102 def GetText(*args, **kwargs):
103 """GetText(self, bool asHTML=False) -> String"""
104 return _iewin.IEHtmlWin_GetText(*args, **kwargs)
105
106 def GoBack(*args, **kwargs):
107 """GoBack(self) -> bool"""
108 return _iewin.IEHtmlWin_GoBack(*args, **kwargs)
109
110 def GoForward(*args, **kwargs):
111 """GoForward(self) -> bool"""
112 return _iewin.IEHtmlWin_GoForward(*args, **kwargs)
113
114 def GoHome(*args, **kwargs):
115 """GoHome(self) -> bool"""
116 return _iewin.IEHtmlWin_GoHome(*args, **kwargs)
117
118 def GoSearch(*args, **kwargs):
119 """GoSearch(self) -> bool"""
120 return _iewin.IEHtmlWin_GoSearch(*args, **kwargs)
121
122 def RefreshPage(*args, **kwargs):
123 """RefreshPage(self, int level) -> bool"""
124 return _iewin.IEHtmlWin_RefreshPage(*args, **kwargs)
125
126 def Stop(*args, **kwargs):
127 """Stop(self) -> bool"""
128 return _iewin.IEHtmlWin_Stop(*args, **kwargs)
129
130
131 class IEHtmlWinPtr(IEHtmlWin):
132 def __init__(self, this):
133 self.this = this
134 if not hasattr(self,"thisown"): self.thisown = 0
135 self.__class__ = IEHtmlWin
136 _iewin.IEHtmlWin_swigregister(IEHtmlWinPtr)
137
138