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