Class
CogShell
Description [src]
class Cog.Shell : GObject.Object {
parent_instance: GObject
}
A shell managed a WebKit.WebView, the default URI that it will
load, the view configuration, and keeps track of a number of registered
CogRequestHandler
instances.
Constructors
cog_shell_new
Creates a new shell.
Instance methods
cog_shell_get_config_file
Obtains the additional configuration for this shell.
cog_shell_get_device_scale_factor
cog_shell_get_name
Obtains the name of this shell.
cog_shell_get_web_context
Obtains the WebKit.WebContext for this shell.
cog_shell_get_web_settings
Obtains the WebKit.Settings for this shell.
cog_shell_is_automated
cog_shell_set_request_handler
Installs a handler for a custom URI scheme.
Properties
Cog.Shell:automated
Cog.Shell:config-file
Optional configuration as a GKeyFile
. This allows setting options
which can be read elsewhere. This is typically used to provide
additional options to platform modules.
Cog.Shell:device-scale-factor
Cog.Shell:name
Name of the shell.
Cog.Shell:network-memory-settings
Optional memory settings to be applied to network processes, as a
WebKitMemoryPressureSettings
instance.
Cog.Shell:web-context
The WebKit.WebContext for this shell’s view.
Cog.Shell:web-data-manager
Optional WebKitWebsiteDataManager
to be used by the shell. If
specified at construction, then the CogShell:automated
property will be ignored and the provided object should have
WebKit.WebsiteDataManager:is-ephemeral enabled for running
in automation mode.
Cog.Shell:web-memory-settings
Optional memory settings to be applied to web processes, as a
WebKitMemoryPressureSettings
instance.
Cog.Shell:web-settings
WebKit settings for this shell.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.