Expand description
§Migration to GTK4 api
Upstream webkit2gtk project has a document to help with the migration to the GTK4 api: https://webkitgtk.org/reference/webkit2gtk/unstable/migrating-to-webkitgtk-6.0.html
Re-exports§
Modules§
Structs§
- Information about an application running in automation mode.
- Represents an authentication request.
- Automation Session.
- List of visited pages.
- One item of the #WebKitBackForwardList.
- A permission request for reading clipboard contents.
- A request to open a color chooser.
- Represents the context menu in a #WebKitWebView.
- One item of a #WebKitContextMenu.
- Defines how to handle cookies in a #WebKitWebContext.
- Groups information used for user authentication.
- A permission request for accessing user’s audio/video devices.
- Object used to communicate with the application when downloading.
- Web editor state.
- Enum values with flags representing typing attributes.
- Provides access to the icons associated with web sites.
- Feature
v2_42
Describes a web engine feature that may be toggled at runtime. - FeatureList
v2_42
Contains a set of toggle-able web engine features. - A request to open a file chooser.
- Controls text search in a #WebKitWebView.
- Enum values used to specify search options.
- Represents a form submission request.
- Geolocation manager.
- A permission request for sharing the user’s location.
- An opaque struct to provide position updates to a #WebKitGeolocationManager.
- Result of a Hit Test.
- Enum values with flags representing the context of a #WebKitHitTestResult.
- Describes a first party origin.
- Describes a third party origin.
- Enum values used to describe hints that might be taken into account by input methods.
- Base class for input method contexts.
- Range of text in an preedit string to be shown underlined.
- A permission request for using an EME Content Decryption Module.
- A boxed type representing the settings for the memory pressure handler
- Provides details about interaction resulting in a resource load.
- A policy decision for navigation actions.
- Configures network proxies.
- Manages network configuration.
- Holds information about a notification that should be shown to the user.
- A permission request for displaying web notifications.
- Represents the dropdown menu of a
select
element in a #WebKitWebView. - One item of a #WebKitOptionMenu.
- A permission request.
- This query represents a user’s choice to allow or deny access to “powerful features” of the platform, as specified in the Permissions W3C Specification.
- A permission request for locking the pointer.
- A pending policy decision.
- Controls a print operation.
- A policy decision for resource responses.
- Carries details to be shown in user-facing dialogs.
- A reply for a script message received. If no reply has been sent by the user, an automatically generated reply with undefined value with be sent.
- Controls security settings in a #WebKitWebContext.
- A security boundary for websites.
- Control the behaviour of a #WebKitWebView.
- Enum values used to specify options when taking a snapshot from a #WebKitWebView.
- Represents a URI request.
- Represents an URI response.
- Represents a URI scheme request.
- Represents a URI scheme response.
- A compiled set of rules which applied to resource loads.
- Handles storage of user content filters on disk.
- Manages user-defined content which affects web pages.
- A permission request for accessing user’s audio/video devices.
- Message that can be sent between the UI process and web process extensions.
- A JavaScript snippet which can be injected in loaded pages.
- A CSS style sheet which can be injected in loaded pages.
- Manages aspects common to all #WebKitWebViews
- Access to the WebKit inspector.
- Represents a resource at the end of a URI.
- The central class of the WPE WebKit and WebKitGTK APIs.
- Implements
- Handles serialization of a web view’s browsing state.
- Data stored locally by a web site.
- A permission request for accessing website data from third-party domains.
- Manages data stored locally by web sites.
- Enum values with flags representing types of Website data.
- View specific website policies.
- Window properties of a #WebKitWebView.
Enums§
- Enum values representing the authentication scheme.
- Enum values used for determining the automation browsing context presentation.
- Enum values used to specify autoplay policies.
- Enum values used for determining the #WebKitWebContext cache model.
- Enum values used to denote the stock actions for #WebKitContextMenuItems
- Enum values used to denote the cookie acceptance policies.
- Enum values used to denote the cookie persistent storage types.
- Enum values representing the duration for which a credential persists.
- Enum values used to denote the various download errors.
- Enum values used to denote the various errors related to the #WebKitFaviconDatabase.
- FeatureStatus
v2_42
Describes the status of aWebKitFeature
. - Enum values used for determining the hardware acceleration policy.
- Enum values used to describe the primary purpose of the active editable element.
- InsecureContentEventDeprecatedEnum values previously used to denote the different events which can trigger the detection of insecure content. Since 2.46, WebKit generally no longer loads insecure content in secure contexts.
- Enum values used to denote errors happening when executing JavaScript
- Enum values used to denote the different events that happen during a #WebKitWebView load operation.
- Enum values used to specify the capture state of a media device.
- Enum values used to denote the various media errors.
- Enum values used to denote the various navigation types.
- Enum values used to denote the various network errors.
- Enum values used to set the network proxy mode.
- Enum values representing query permission results.
- Enum values used for determining the type of a policy decision during #WebKitWebView::decide-policy.
- Enum values used to denote the various policy errors.
- Enum values used to denote the various print errors.
- Enum values representing the response of the print dialog shown with webkit_print_operation_run_dialog().
- Enum values to specify the different ways in which a #WebKitWebView can save its current web page into a self-contained file.
- Enum values used for determining the type of #WebKitScriptDialog
- Enum values used to denote errors happening when creating snapshots of #WebKitWebView
- Enum values used to specify the region from which to get a #WebKitWebView snapshot
- Enum values used to denote the TLS errors policy.
- Errors that can occur while compiling content filters.
- Specifies in which frames user style sheets are to be inserted in.
- Enum values used to denote errors happening when sending user messages.
- Specifies at which place of documents an user script will be inserted.
- Specifies how to treat an user style sheet.
- Enum values used for setting if a #WebKitWebView is intended for WebExtensions.
- Enum values used to specify the reason why the web process terminated abnormally.
Statics§
- The copy clipboard command. Copies the current selection inside a #WebKitWebView to the clipboard. You can check whether it’s possible to execute the command with webkit_web_view_can_execute_editing_command(). In general it’s possible to copy to the clipboard when there is an active selection inside the #WebKitWebView.
- The create link command. Creates a link element that is inserted at the current cursor position. If there’s a selection, the selected text will be used as the link text, otherwise the URL itself will be used. It receives the link URL as argument. This command should be executed with webkit_web_view_execute_editing_command_with_argument()
- The cut clipboard command. Copies the current selection inside a #WebKitWebView to the clipboard and deletes the selected content. You can check whether it’s possible to execute the command with webkit_web_view_can_execute_editing_command(). In general it’s possible to cut to the clipboard when the #WebKitWebView content is editable and there is an active selection.
- The insert image command. Creates an image element that is inserted at the current cursor position. It receives an URI as argument, that is used as the image source. This command should be executed with webkit_web_view_execute_editing_command_with_argument().
- The paste clipboard command. Pastes the contents of the clipboard to a #WebKitWebView. You can check whether it’s possible to execute the command with webkit_web_view_can_execute_editing_command(). In general it’s possible to paste from the clipboard when the #WebKitWebView content is editable and clipboard is not empty.
- The paste as plaintext clipboard command. Pastes the contents of the clipboard to a #WebKitWebView, with formatting removed. You can check whether it’s possible to execute the command with webkit_web_view_can_execute_editing_command(). In general it’s possible to paste from the clipboard when the #WebKitWebView content is editable and clipboard is not empty.
- The redo command. Redoes a previously undone editing command in a #WebKitWebView. You can check whether it’s possible to execute the command with webkit_web_view_can_execute_editing_command(). It’s only possible to redo a command when it has been previously undone.
- The select all command. Selects all the content of the current text field in a #WebKitWebView. It is always possible to select all text, no matter whether the #WebKitWebView content is editable or not. You can still check it with webkit_web_view_can_execute_editing_command().
- The undo command. Undoes the last editing command in a #WebKitWebView. You can check whether it’s possible to execute the command with webkit_web_view_can_execute_editing_command(). It’s only possible to undo a command after a previously executed editing operation.