Method

WebKitWebExtensionContextget_options_page_uri

unstable since: 2.56

Declaration [src]

const gchar*
webkit_web_extension_context_get_options_page_uri (
  WebKitWebExtensionContext* context
)

Description [src]

Get the URI of the extension’s options page, if the extension has one.

Provides the URI for the dedicated options page, if provided by the extension; otherwise NULL if no page is defined. The app should provide access to this page through a user interface element. Navigation to the options page is only possible after this extension has been loaded.

Available since: 2.56

Return value

Type: const gchar*

The URI of the extension’s options page, or NULL if the extension does not have one.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.