]> git.saurik.com Git - wxWidgets.git/blame - 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
c731eb47 1# This file was created automatically by SWIG.
de7b7fe6 2# Don't modify this file, modify the SWIG interface instead.
c731eb47 3
de7b7fe6 4import _iewin
c731eb47 5
d55e5bfc
RD
6import _core
7wx = _core
c24da6d6 8__docfilter__ = wx.__DocFilter(globals())
d55e5bfc 9class MSHTMLEvent(_core.NotifyEvent):
de7b7fe6
RD
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):
a95a7133 13 """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> MSHTMLEvent"""
de7b7fe6
RD
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):
a95a7133 19 """GetText1(self) -> String"""
de7b7fe6 20 return _iewin.MSHTMLEvent_GetText1(*args, **kwargs)
c731eb47 21
de7b7fe6 22 def GetLong1(*args, **kwargs):
a95a7133 23 """GetLong1(self) -> long"""
de7b7fe6 24 return _iewin.MSHTMLEvent_GetLong1(*args, **kwargs)
c731eb47 25
de7b7fe6 26 def GetLong2(*args, **kwargs):
a95a7133 27 """GetLong2(self) -> long"""
de7b7fe6 28 return _iewin.MSHTMLEvent_GetLong2(*args, **kwargs)
c731eb47 29
c731eb47 30
de7b7fe6
RD
31class MSHTMLEventPtr(MSHTMLEvent):
32 def __init__(self, this):
c731eb47 33 self.this = this
de7b7fe6
RD
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
d55e5bfc 55class IEHtmlWin(_core.Window):
c731eb47 56 def __repr__(self):
de7b7fe6
RD
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 """
a95a7133 60 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
de7b7fe6
RD
61 Size size=DefaultSize, long style=0, String name=PanelNameStr) -> IEHtmlWin
62 """
63 newobj = _iewin.new_IEHtmlWin(*args, **kwargs)
64 self.this = newobj.this
c731eb47 65 self.thisown = 1
de7b7fe6
RD
66 del newobj.thisown
67 self._setOORInfo(self)
c731eb47 68
de7b7fe6 69 def LoadUrl(*args, **kwargs):
a95a7133 70 """LoadUrl(self, String ??)"""
de7b7fe6 71 return _iewin.IEHtmlWin_LoadUrl(*args, **kwargs)
c731eb47 72
de7b7fe6 73 def LoadString(*args, **kwargs):
a95a7133 74 """LoadString(self, String html) -> bool"""
de7b7fe6 75 return _iewin.IEHtmlWin_LoadString(*args, **kwargs)
c731eb47 76
de7b7fe6 77 def LoadStream(*args, **kwargs):
a95a7133 78 """LoadStream(self, InputStream is) -> bool"""
de7b7fe6 79 return _iewin.IEHtmlWin_LoadStream(*args, **kwargs)
c731eb47 80
de7b7fe6
RD
81 Navigate = LoadUrl
82 def SetCharset(*args, **kwargs):
a95a7133 83 """SetCharset(self, String charset)"""
de7b7fe6 84 return _iewin.IEHtmlWin_SetCharset(*args, **kwargs)
c731eb47 85
de7b7fe6 86 def SetEditMode(*args, **kwargs):
a95a7133 87 """SetEditMode(self, bool seton)"""
de7b7fe6 88 return _iewin.IEHtmlWin_SetEditMode(*args, **kwargs)
c731eb47 89
de7b7fe6 90 def GetEditMode(*args, **kwargs):
a95a7133 91 """GetEditMode(self) -> bool"""
de7b7fe6 92 return _iewin.IEHtmlWin_GetEditMode(*args, **kwargs)
c731eb47 93
de7b7fe6 94 def GetStringSelection(*args, **kwargs):
a95a7133 95 """GetStringSelection(self, bool asHTML=False) -> String"""
de7b7fe6 96 return _iewin.IEHtmlWin_GetStringSelection(*args, **kwargs)
c731eb47 97
de7b7fe6 98 def GetText(*args, **kwargs):
a95a7133 99 """GetText(self, bool asHTML=False) -> String"""
de7b7fe6 100 return _iewin.IEHtmlWin_GetText(*args, **kwargs)
c731eb47 101
de7b7fe6 102 def GoBack(*args, **kwargs):
a95a7133 103 """GoBack(self) -> bool"""
de7b7fe6 104 return _iewin.IEHtmlWin_GoBack(*args, **kwargs)
c731eb47 105
de7b7fe6 106 def GoForward(*args, **kwargs):
a95a7133 107 """GoForward(self) -> bool"""
de7b7fe6 108 return _iewin.IEHtmlWin_GoForward(*args, **kwargs)
c731eb47 109
de7b7fe6 110 def GoHome(*args, **kwargs):
a95a7133 111 """GoHome(self) -> bool"""
de7b7fe6 112 return _iewin.IEHtmlWin_GoHome(*args, **kwargs)
c731eb47 113
de7b7fe6 114 def GoSearch(*args, **kwargs):
a95a7133 115 """GoSearch(self) -> bool"""
de7b7fe6 116 return _iewin.IEHtmlWin_GoSearch(*args, **kwargs)
c731eb47 117
de7b7fe6 118 def RefreshPage(*args, **kwargs):
a95a7133 119 """RefreshPage(self, int level) -> bool"""
de7b7fe6 120 return _iewin.IEHtmlWin_RefreshPage(*args, **kwargs)
c731eb47 121
de7b7fe6 122 def Stop(*args, **kwargs):
a95a7133 123 """Stop(self) -> bool"""
de7b7fe6 124 return _iewin.IEHtmlWin_Stop(*args, **kwargs)
c731eb47
RD
125
126
de7b7fe6
RD
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)
c731eb47 133
c731eb47 134