A navigation event holds information about events associated with wWebView objects.
Events: | wWebViewEvent | Description |
wEvent_WebViewNavigating | Generated before trying to get a resource. This event can be vetoed. |
wEvent_WebViewContextMenu | Generated before trying to show context menu. This event can be vetoed. |
wEvent_WebViewNewWindow | Generated when a new window is created. This event can be vetoed. |
wEvent_WebViewLoaded | Generated when the document is fully loaded and displayed. |
wEvent_WebViewError | Generated when a navigation error occurs. This event can be vetoed (cancel navigation to an error page). |
wEvent_WebViewTitleChanged | Generated when the page title changes. |
wEvent_WebViewStatusChanged | Generated when the status text changes. |
wEvent_WebViewHistoryChanged | Generated when the history of visited pages changes. |
|
method getUrl(self: wWebViewEvent): string {...}{.inline, raises: [], tags: [].}
-
Returns the url (valid for wEvent_WebViewNavigating, wEvent_WebViewNewWindow, and wEvent_WebViewError).
method getText(self: wWebViewEvent): string {...}{.inline, raises: [], tags: [].}
-
Returns the text (valid for wEvent_WebViewStatusChanged and wEvent_WebViewTitleChanged).
method getErrorCode(self: wWebViewEvent): int {...}{.inline, raises: [], tags: [].}
-
Returns the error code (valid for wEvent_WebViewError).