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