Platforms to show: All Mac Windows Linux Cross-Platform
Back to LinuxWebViewMBS class.
LinuxWebViewMBS.BackForwardList as LinuxWebBackForwardListMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
The BackForwardList is owned by the WebView.
LinuxWebViewMBS.DeleteSelection
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.Editable as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
If flag is true, webview allows the user to edit the document. If flag is false, an element in webview's document can only be edited if the CONTENTEDITABLE attribute has been set on the element or one of its parent elements. You can change webview's document programmatically regardless of this setting. By default a WebKitWebView is not editable.
Normally, an HTML document is not editable unless the elements within the document are editable. This function provides a low-level way to make the contents of a WebKitWebView editable without altering the document or DOM structure.
(Read and Write computed property)
LinuxWebViewMBS.Encoding as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.EvaluateScript(script as string) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
script A string containing the script to evaluate.
Returns the value as string that results from evaluating script, or "" if an exception is thrown.
LinuxWebViewMBS.ExecuteScript(script as string)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.FocusedFrame as LinuxWebFrameMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Returns the focused frame or nil if no frame is focused
LinuxWebViewMBS.FullContentZoom as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
False if only text should be scaled (the default), true if the full content of the view should be scaled.
(Read and Write computed property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.GoBackOrForward(steps as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Negative values represent steps backward while positive values represent steps forward.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.GoToItem(item as LinuxWebHistoryItemMBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Returns true if loading of item is successful, false if not.
LinuxWebViewMBS.HasSelection as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Returns true if there is selected text, false if not
LinuxWebViewMBS.IconURL as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.Inspector as LinuxWebInspectorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Every WebKitWebView object has a WebKitWebInspector object attached to it as soon as it is created, so this function will only return nil if the argument is not a valid WebKitWebView.
LinuxWebViewMBS.IsLoading as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 19.3 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Works for WebKit 1.x and 2.x.
LinuxWebViewMBS.JSContext as LinuxJavaScriptContextMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.LoadHTMLString(HTMLString as string, BaseURL as string = "")
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.LoadRequest(request as LinuxWebNetworkRequestMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Creates a provisional data source that will transition to a committed data source once any data has been received. Use StopLoading to stop the load.
LinuxWebViewMBS.LoadStatus as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
Works for WebKit 1.x and 2.x.
| Name | Value | Description |
|---|---|---|
| WEBKIT_LOAD_PROVISIONAL | 0 | No data has been received yet, empty structures have been allocated to perform the load; the load may still fail for transport issues such as not being able to resolve a name, or connect to a port. |
| WEBKIT_LOAD_COMMITTED | 1 | The first data chunk has arrived, meaning that the necessary transport requirements are stabilished, and the load is being performed. |
| WEBKIT_LOAD_FINISHED | 2 | This state means that everything that was required to display the page has been loaded. |
| WEBKIT_LOAD_FIRST_VISUALLY_NON_EMPTY_LAYOUT | 3 | The first layout with actual visible content happened; one or more layouts may have happened before that caused nothing to be visible on the screen, because the data available at the time was not significant enough. |
| WEBKIT_LOAD_FAILED | 4 | This state means that some error occurred during the page load that prevented it from being completed. You can connect to the #WebKitWebView::load-error signal if you want to know precisely what kind of error occurred. |
LinuxWebViewMBS.LoadString(content as string, MimeType as String, Encoding as String, BaseURL as string)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
If mime_type is "", "text/html" is assumed.
If encoding is "", "UTF-8" is assumed.
Content: an URI string
MimeType: the MIME type, or "".
Encoding: the encoding, or "".
BaseURL: the base URI for relative locations.
See also FileExtensionToMimeTypeMBS function.
LinuxWebViewMBS.LoadURL(URL as string)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.MainFrame as LinuxWebFrameMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.MarkTextMatches(text as string, caseSensitive as boolean = false, limit as Integer = 99) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
string: a string to look for
case_sensitive: whether to respect the case of text
limit: the maximum number of strings to look for or 0 for all
Returns the number of strings highlighted.
LinuxWebViewMBS.PasteClipboard
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.Progress as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
1.0 is full progress.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.ReloadIgnoreCache
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.SearchText(text as string, caseSensitive as boolean = false, forward as boolean = true, wrap as boolean = true) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
text: a string to look for.
case_sensitive: whether to respect the case of text.
forward: whether to find forward or not.
wrap: whether to continue looking at the beginning after reaching the end.
Returns trueT on success or false on failure.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.SetHighlightTextMatches(highlight as boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.SetMaintainsBackForwardList(flag as boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.Settings as LinuxWebSettingsMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | HTMLViewer Linux | MBS Linux Plugin | 13.5 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
(Read and Write computed property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.Title as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.Transparent as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
False when the WebKitWebView draws a solid background (the default), otherwise true.
(Read and Write computed property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.UnmarkTextMatches
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
LinuxWebViewMBS.ViewSourceMode as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
(Read and Write computed property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
The current zoom level is incremented by the value of the "zoom-step" property of the settings associated with webview.
LinuxWebViewMBS.ZoomLevel as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
If the "full-content-zoom" property is set to false (the default) the zoom level changes the text size, or if true, scales all elements in the page.
(Read and Write computed property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | HTMLViewer Linux | MBS Linux Plugin | 12.4 | ❌ No | ❌ No | ✅ Yes | ❌ No | Desktop only |
The current zoom level is decremented by the value of the "zoom-step" property of the settings associated with webview.
The items on this page are in the following plugins: MBS Linux Plugin.