Class
CogView
Description [src]
abstract class Cog.View : GObject.Object {
parent_instance: WebKitWebView
}
Convenience base class for web views.
Most of the functionality dealing with web views when using the
Cog core library uses CogView
instead of WPEWebKit.WebView.
The base class is extended to delegate the creation of its
WPEWebKit.WebViewBackend to the current CogPlatform
implementation. Optionally, platform plug-in implementations can
provide their own view class implementation by overriding
the CogPlatform.get_view_type method.
A number of utility functions are also provided.
Constructors
cog_view_new
Creates a new instance of a view implementation and sets its properties.
Functions
cog_view_get_impl_type
Get the type of the web view implementation in use.
Instance methods
cog_view_get_backend
Get the backend for the view.
cog_view_get_use_key_bindings
Gets whether the built-in key bindings are enabled.
Available since: 0.20
cog_view_set_use_key_bindings
Sets whether to enable usage of the built-in key bindings.
Available since: 0.20
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.
Class structure
struct CogViewClass {
WebKitWebViewBackend* (* create_backend) (
CogView* self
);
gboolean (* set_fullscreen) (
CogView* self,
gboolean enable
);
gboolean (* is_fullscreen) (
CogView* self
);
}
Class members
create_backend |
|
No description available. | |
set_fullscreen |
|
No description available. | |
is_fullscreen |
|
No description available. |