wx.webkit.WebKitCtrl
This control is a native wrapper around the Safari web browsing engine.
This wrapper differs from the one in wx.html2.WebView in that this version supports functionality specific to WebKit, such as having RunScript return a value, which is a very critical feature in many web embedding scenarios.
This class is only available on OSX.
Class Hierarchy

Inheritance diagram for class
WebKitCtrl:
Methods Summary
Properties Summary
Class API
-
class
wx.webkit.WebKitCtrl(Control)
Possible constructors:
WebKitCtrl()
WebKitCtrl(parent, winid=ID_ANY, strURL="", pos=DefaultPosition,
size=DefaultSize, style=0, validator=DefaultValidator,
name=WebKitCtrlNameStr)
This control is a native wrapper around the Safari web browsing
engine.
Methods
-
__init__(self, *args, **kw)
Overloaded Implementations:
__init__ (self)
__init__ (self, parent, winid=ID_ANY, strURL=””, pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=WebKitCtrlNameStr)
-
CanDecreaseTextSize(self)
-
-
CanGetPageSource(self)
-
-
CanGoBack(self)
-
-
CanGoForward(self)
-
-
CanIncreaseTextSize(self)
-
-
Create(self, parent, winid=ID_ANY, strURL="", pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=WebKitCtrlNameStr)
| Parameters: |
|
| Return type: | bool
|
-
DecreaseTextSize(self)
-
GetPageSource(self)
-
-
GetPageTitle(self)
-
-
GetPageURL(self)
-
-
GetScrollPos(self)
-
-
GetSelection(self)
-
-
GetTitle(self)
-
-
GoBack(self)
-
-
GoForward(self)
-
-
IncreaseTextSize(self)
-
IsEditable(self)
-
-
LoadURL(self, url)
| Parameters: | url (string) – |
-
MakeEditable(self, enable=True)
| Parameters: | enable (bool) – |
-
Print(self, showPrompt=False)
| Parameters: | showPrompt (bool) – |
-
Reload(self)
-
RunScript(self, javascript)
| Parameters: | javascript (string) – |
| Return type: | string |
-
SetPageSource(self, source, baseUrl="")
| Parameters: |
- source (string) –
- baseUrl (string) –
|
-
SetPageTitle(self, title)
| Parameters: | title (string) – |
-
SetScrollPos(self, pos)
-
-
SetTitle(self, title)
| Parameters: | title (string) – |
-
Stop(self)
Properties
-
PageSource
See GetPageSource and SetPageSource
-
PageTitle
See GetPageTitle and SetPageTitle
-
PageURL
See GetPageURL
-
ScrollPos
See GetScrollPos and SetScrollPos
-
Selection
See GetSelection
-
Title
See GetTitle and SetTitle