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.
Applications using a shell can handle the CogShell::create-view
signal to customize the web view.
Properties
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:network-memory-settings
Optional memory settings to be applied to network processes, as a
WebKitMemoryPressureSettings
instance.
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.
Signals
Cog.Shell::create-view
The create-view
signal is emitted when the shell needs to create
a WebKit.WebView.
Signals inherited from GObject (1)
GObject::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.
Class structure
struct CogShellClass {
GObjectClass parent_class;
WebKitWebView* (* create_view) (
CogShell* arg0
);
void (* startup) (
CogShell* arg0
);
void (* shutdown) (
CogShell* arg0
);
}
Class members
parent_class: GObjectClass
- No description available.
create_view: WebKitWebView* (* create_view) ( CogShell* arg0 )
- No description available.
startup: void (* startup) ( CogShell* arg0 )
- No description available.
shutdown: void (* shutdown) ( CogShell* arg0 )
- No description available.