]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/iewin/iewin.py
Ensure that the wxSTC gets the focus when clicked.
[wxWidgets.git] / wxPython / contrib / iewin / iewin.py
CommitLineData
c731eb47
RD
1# This file was created automatically by SWIG.
2import iewinc
3
4from misc import *
5
6from misc2 import *
7
8from windows import *
9
10from gdi import *
11
12from fonts import *
13
14from clip_dnd import *
15
16from events import *
17
18from streams import *
19
20from utils import *
21
22from mdi import *
23
24from frames import *
25
26from stattool import *
27
28from controls import *
29
30from controls2 import *
31
32from windows2 import *
33
34from cmndlgs import *
35
36from windows3 import *
37
38from image import *
39
40from printfw import *
41
42from sizers import *
43
44from filesys import *
45import wx
46
47def EVT_MSHTML_BEFORENAVIGATE2(win, id, func):
48 win.Connect(id, -1, wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2, func)
49
50def EVT_MSHTML_NEWWINDOW2(win, id, func):
51 win.Connect(id, -1, wxEVT_COMMAND_MSHTML_NEWWINDOW2, func)
52
53def EVT_MSHTML_DOCUMENTCOMPLETE(win, id, func):
54 win.Connect(id, -1, wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE, func)
55
56def EVT_MSHTML_PROGRESSCHANGE(win, id, func):
57 win.Connect(id, -1, wxEVT_COMMAND_MSHTML_PROGRESSCHANGE, func)
58
59def EVT_MSHTML_STATUSTEXTCHANGE(win, id, func):
60 win.Connect(id, -1, wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE, func)
61
62def EVT_MSHTML_TITLECHANGE(win, id, func):
63 win.Connect(id, -1, wxEVT_COMMAND_MSHTML_TITLECHANGE, func)
64
65class wxMSHTMLEventPtr(wxNotifyEventPtr):
66 def __init__(self,this):
67 self.this = this
68 self.thisown = 0
69 def GetText(self, *_args, **_kwargs):
70 val = apply(iewinc.wxMSHTMLEvent_GetText,(self,) + _args, _kwargs)
71 return val
72 def GetLong1(self, *_args, **_kwargs):
73 val = apply(iewinc.wxMSHTMLEvent_GetLong1,(self,) + _args, _kwargs)
74 return val
75 def GetLong2(self, *_args, **_kwargs):
76 val = apply(iewinc.wxMSHTMLEvent_GetLong2,(self,) + _args, _kwargs)
77 return val
78 def __repr__(self):
79 return "<C wxMSHTMLEvent instance at %s>" % (self.this,)
80class wxMSHTMLEvent(wxMSHTMLEventPtr):
81 def __init__(self,*_args,**_kwargs):
82 self.this = apply(iewinc.new_wxMSHTMLEvent,_args,_kwargs)
83 self.thisown = 1
84
85
86
87
88class wxIEHtmlWinPtr(wxWindowPtr):
89 def __init__(self,this):
90 self.this = this
91 self.thisown = 0
92 def LoadUrl(self, *_args, **_kwargs):
93 val = apply(iewinc.wxIEHtmlWin_LoadUrl,(self,) + _args, _kwargs)
94 return val
95 def LoadString(self, *_args, **_kwargs):
96 val = apply(iewinc.wxIEHtmlWin_LoadString,(self,) + _args, _kwargs)
97 return val
98 def SetCharset(self, *_args, **_kwargs):
99 val = apply(iewinc.wxIEHtmlWin_SetCharset,(self,) + _args, _kwargs)
100 return val
101 def SetEditMode(self, *_args, **_kwargs):
102 val = apply(iewinc.wxIEHtmlWin_SetEditMode,(self,) + _args, _kwargs)
103 return val
104 def GetEditMode(self, *_args, **_kwargs):
105 val = apply(iewinc.wxIEHtmlWin_GetEditMode,(self,) + _args, _kwargs)
106 return val
107 def GetStringSelection(self, *_args, **_kwargs):
108 val = apply(iewinc.wxIEHtmlWin_GetStringSelection,(self,) + _args, _kwargs)
109 return val
110 def GetText(self, *_args, **_kwargs):
111 val = apply(iewinc.wxIEHtmlWin_GetText,(self,) + _args, _kwargs)
112 return val
113 def GoBack(self, *_args, **_kwargs):
114 val = apply(iewinc.wxIEHtmlWin_GoBack,(self,) + _args, _kwargs)
115 return val
116 def GoForward(self, *_args, **_kwargs):
117 val = apply(iewinc.wxIEHtmlWin_GoForward,(self,) + _args, _kwargs)
118 return val
119 def GoHome(self, *_args, **_kwargs):
120 val = apply(iewinc.wxIEHtmlWin_GoHome,(self,) + _args, _kwargs)
121 return val
122 def GoSearch(self, *_args, **_kwargs):
123 val = apply(iewinc.wxIEHtmlWin_GoSearch,(self,) + _args, _kwargs)
124 return val
125 def Refresh(self, *_args, **_kwargs):
126 val = apply(iewinc.wxIEHtmlWin_Refresh,(self,) + _args, _kwargs)
127 return val
128 def Stop(self, *_args, **_kwargs):
129 val = apply(iewinc.wxIEHtmlWin_Stop,(self,) + _args, _kwargs)
130 return val
131 def __repr__(self):
132 return "<C wxIEHtmlWin instance at %s>" % (self.this,)
133class wxIEHtmlWin(wxIEHtmlWinPtr):
134 def __init__(self,*_args,**_kwargs):
135 self.this = apply(iewinc.new_wxIEHtmlWin,_args,_kwargs)
136 self.thisown = 1
137
138
139
140
141
142
143#-------------- FUNCTION WRAPPERS ------------------
144
145
146
147#-------------- VARIABLE WRAPPERS ------------------
148
149wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2 = iewinc.wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2
150wxEVT_COMMAND_MSHTML_NEWWINDOW2 = iewinc.wxEVT_COMMAND_MSHTML_NEWWINDOW2
151wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE = iewinc.wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE
152wxEVT_COMMAND_MSHTML_PROGRESSCHANGE = iewinc.wxEVT_COMMAND_MSHTML_PROGRESSCHANGE
153wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE = iewinc.wxEVT_COMMAND_MSHTML_STATUSTEXTCHANGE
154wxEVT_COMMAND_MSHTML_TITLECHANGE = iewinc.wxEVT_COMMAND_MSHTML_TITLECHANGE
155wxIEHTML_REFRESH_NORMAL = iewinc.wxIEHTML_REFRESH_NORMAL
156wxIEHTML_REFRESH_IFEXPIRED = iewinc.wxIEHTML_REFRESH_IFEXPIRED
157wxIEHTML_REFRESH_CONTINUE = iewinc.wxIEHTML_REFRESH_CONTINUE
158wxIEHTML_REFRESH_COMPLETELY = iewinc.wxIEHTML_REFRESH_COMPLETELY
159
160
161#-------------- USER INCLUDE -----------------------
162
163# Stuff these names into the wx namespace so wxPyConstructObject can find them
164
165wx.wxMSHTMLEventPtr = wxMSHTMLEventPtr
166wx.wxIEHtmlWinPtr = wxIEHtmlWinPtr