1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 wx.webkit.WebKitCtrl for Mac OSX.
12 __docfilter__
= wx
.__DocFilter
(globals())
13 class WebKitCtrl(_core
.Control
):
15 return "<%s.%s; proxy of C++ wxWebKitCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
16 def __init__(self
, *args
, **kwargs
):
18 __init__(self, Window parent, int winID=-1, String strURL=EmptyString,
19 Point pos=DefaultPosition, Size size=DefaultSize,
20 long style=0, Validator validator=DefaultValidator,
21 String name=WebKitNameStr) -> WebKitCtrl
23 newobj
= _webkit
.new_WebKitCtrl(*args
, **kwargs
)
24 self
.this
= newobj
.this
27 self
._setOORInfo
(self
)
29 def Create(*args
, **kwargs
):
31 Create(self, Window parent, int winID=-1, String strURL=EmptyString,
32 Point pos=DefaultPosition, Size size=DefaultSize,
33 long style=0, Validator validator=DefaultValidator,
34 String name=WebKitNameStr) -> bool
36 return _webkit
.WebKitCtrl_Create(*args
, **kwargs
)
38 def LoadURL(*args
, **kwargs
):
39 """LoadURL(self, String url)"""
40 return _webkit
.WebKitCtrl_LoadURL(*args
, **kwargs
)
42 def CanGoBack(*args
, **kwargs
):
43 """CanGoBack(self) -> bool"""
44 return _webkit
.WebKitCtrl_CanGoBack(*args
, **kwargs
)
46 def CanGoForward(*args
, **kwargs
):
47 """CanGoForward(self) -> bool"""
48 return _webkit
.WebKitCtrl_CanGoForward(*args
, **kwargs
)
50 def GoBack(*args
, **kwargs
):
51 """GoBack(self) -> bool"""
52 return _webkit
.WebKitCtrl_GoBack(*args
, **kwargs
)
54 def GoForward(*args
, **kwargs
):
55 """GoForward(self) -> bool"""
56 return _webkit
.WebKitCtrl_GoForward(*args
, **kwargs
)
58 def Reload(*args
, **kwargs
):
60 return _webkit
.WebKitCtrl_Reload(*args
, **kwargs
)
62 def Stop(*args
, **kwargs
):
64 return _webkit
.WebKitCtrl_Stop(*args
, **kwargs
)
66 def CanGetPageSource(*args
, **kwargs
):
67 """CanGetPageSource(self) -> bool"""
68 return _webkit
.WebKitCtrl_CanGetPageSource(*args
, **kwargs
)
70 def GetPageSource(*args
, **kwargs
):
71 """GetPageSource(self) -> String"""
72 return _webkit
.WebKitCtrl_GetPageSource(*args
, **kwargs
)
74 def SetPageSource(*args
, **kwargs
):
75 """SetPageSource(self, String source, String baseUrl=EmptyString)"""
76 return _webkit
.WebKitCtrl_SetPageSource(*args
, **kwargs
)
79 class WebKitCtrlPtr(WebKitCtrl
):
80 def __init__(self
, this
):
82 if not hasattr(self
,"thisown"): self
.thisown
= 0
83 self
.__class
__ = WebKitCtrl
84 _webkit
.WebKitCtrl_swigregister(WebKitCtrlPtr
)
86 WebKitNameStr
= cvar
.WebKitNameStr
88 def PreWebKitCtrl(*args
, **kwargs
):
89 """PreWebKitCtrl() -> WebKitCtrl"""
90 val
= _webkit
.new_PreWebKitCtrl(*args
, **kwargs
)
94 WEBKIT_STATE_START
= _webkit
.WEBKIT_STATE_START
95 WEBKIT_STATE_NEGOTIATING
= _webkit
.WEBKIT_STATE_NEGOTIATING
96 WEBKIT_STATE_REDIRECTING
= _webkit
.WEBKIT_STATE_REDIRECTING
97 WEBKIT_STATE_TRANSFERRING
= _webkit
.WEBKIT_STATE_TRANSFERRING
98 WEBKIT_STATE_STOP
= _webkit
.WEBKIT_STATE_STOP
99 WEBKIT_STATE_FAILED
= _webkit
.WEBKIT_STATE_FAILED
100 wxEVT_WEBKIT_STATE_CHANGED
= _webkit
.wxEVT_WEBKIT_STATE_CHANGED
101 class WebKitStateChangedEvent(_core
.CommandEvent
):
103 return "<%s.%s; proxy of C++ wxWebKitStateChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
104 def __init__(self
, *args
, **kwargs
):
105 """__init__(self, Window win=None) -> WebKitStateChangedEvent"""
106 newobj
= _webkit
.new_WebKitStateChangedEvent(*args
, **kwargs
)
107 self
.this
= newobj
.this
110 def GetState(*args
, **kwargs
):
111 """GetState(self) -> int"""
112 return _webkit
.WebKitStateChangedEvent_GetState(*args
, **kwargs
)
114 def SetState(*args
, **kwargs
):
115 """SetState(self, int state)"""
116 return _webkit
.WebKitStateChangedEvent_SetState(*args
, **kwargs
)
118 def GetURL(*args
, **kwargs
):
119 """GetURL(self) -> String"""
120 return _webkit
.WebKitStateChangedEvent_GetURL(*args
, **kwargs
)
122 def SetURL(*args
, **kwargs
):
123 """SetURL(self, String url)"""
124 return _webkit
.WebKitStateChangedEvent_SetURL(*args
, **kwargs
)
127 class WebKitStateChangedEventPtr(WebKitStateChangedEvent
):
128 def __init__(self
, this
):
130 if not hasattr(self
,"thisown"): self
.thisown
= 0
131 self
.__class
__ = WebKitStateChangedEvent
132 _webkit
.WebKitStateChangedEvent_swigregister(WebKitStateChangedEventPtr
)
134 EVT_WEBKIT_STATE_CHANGED
= wx
.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED
)