A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.html2.WebViewEvent.html below:

wx.html2.WebViewEvent — wxPython Phoenix 4.2.4a1 documentation

wx.html2.WebViewEvent¶

A navigation event holds information about events associated with wx.html2.WebView objects.

Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.html2.WebViewEvent parameter.

wx.html2.WebView

Added in version 2.9.3.

Class Hierarchy¶

Inheritance diagram for class

WebViewEvent

:

Methods Summary¶ Properties Summary¶ Class API¶
class wx.html2.WebViewEvent(NotifyEvent)¶

Possible constructors:

WebViewEvent() -> None

WebViewEvent(type, id, href, target, flags=WEBVIEW_NAV_ACTION_NONE,
             messageHandler="") -> None

A navigation event holds information about events associated with WebView objects.


Methods¶
__init__(self, *args, **kw)¶

Overloaded Implementations:

__init__ (self)

Return type:

None

__init__ (self, type, id, href, target, flags=WEBVIEW_NAV_ACTION_NONE, messageHandler=””)

Parameters:
Return type:

None



GetMessageHandler(self)¶

Get the name of the script handler.

Only valid for events of type wxEVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED

Return type:

str

Added in version 4.1/wxWidgets-3.1.5.


GetNavigationAction(self)¶

Get the type of navigation action.

Only valid for events of type wxEVT_WEBVIEW_NEWWINDOW

Return type:

wx.html2.WebViewNavigationActionFlags

Added in version 4.1/wxWidgets-3.1.2.


GetTarget(self)¶

Get the name of the target frame which the url of this event has been or will be loaded into.

This may return an empty string if the frame is not available.

Return type:

str


GetURL(self)¶

Get the URL being visited.

Return type:

str


IsError(self)¶

Returns True the script execution failed.

Only valid for events of type wxEVT_WEBVIEW_SCRIPT_RESULT

Return type:

bool

Added in version 4.1/wxWidgets-3.1.6.


Properties¶
MessageHandler¶

See GetMessageHandler


NavigationAction¶

See GetNavigationAction


Target¶

See GetTarget


URL¶

See GetURL


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4