Class

CogPlatform

Description

abstract class Cog.Platform : GObject.Object {
  parent_instance: GObject
}
No description available.

Ancestors

Functions

cog_platform_create_im_context
No description available.
cog_platform_egl_error_quark
No description available.
cog_platform_get

Gets the platform instance.

Available since: 0.20

cog_platform_wpe_error_quark
No description available.

Instance methods

cog_platform_get_view_backend
No description available.
cog_platform_init_web_view
No description available.
cog_platform_setup

Configure the platform plug-in module.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Cog.Platform::viewport-created

Signal emitted for each created viewport.

Available since: 0.20

Cog.Platform::viewport-disposed

Signal emitted for each disposed viewport.

Available since: 0.20

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 CogPlatformClass {
  GObjectClass parent_class;
  gboolean (* is_supported) (
void
  );
  gboolean (* setup) (
    CogPlatform* arg0,
    CogShell* shell,
    const char* params,
    GError** error
  );
  WebKitWebViewBackend* (* get_view_backend) (
    CogPlatform* arg0,
    WebKitWebView* related_view,
    GError** error
  );
  void (* init_web_view) (
    CogPlatform* arg0,
    WebKitWebView* arg1
  );
  WebKitInputMethodContext* (* create_im_context) (
    CogViewport* arg0
  );
  GType (* get_view_type) (
void
  );
  GType (* get_viewport_type) (
void
  );
  void (* viewport_created) (
    CogPlatform* self,
    CogViewport* viewport
  );
  void (* viewport_disposed) (
    CogPlatform* self,
    CogViewport* viewport
  );
  
}
Class members
parent_class
GObjectClass
  No description available.
is_supported
gboolean (* is_supported) (
void
  )
  No description available.
setup
gboolean (* setup) (
    CogPlatform* arg0,
    CogShell* shell,
    const char* params,
    GError** error
  )
  No description available.
get_view_backend
WebKitWebViewBackend* (* get_view_backend) (
    CogPlatform* arg0,
    WebKitWebView* related_view,
    GError** error
  )
  No description available.
init_web_view
void (* init_web_view) (
    CogPlatform* arg0,
    WebKitWebView* arg1
  )
  No description available.
create_im_context
WebKitInputMethodContext* (* create_im_context) (
    CogViewport* arg0
  )
  No description available.
get_view_type
GType (* get_view_type) (
void
  )
  No description available.
get_viewport_type
GType (* get_viewport_type) (
void
  )
  No description available.
viewport_created
void (* viewport_created) (
    CogPlatform* self,
    CogViewport* viewport
  )
  No description available.
viewport_disposed
void (* viewport_disposed) (
    CogPlatform* self,
    CogViewport* viewport
  )
  No description available.

Virtual methods

Cog.PlatformClass.get_view_backend
No description available.
Cog.PlatformClass.init_web_view
No description available.
Cog.PlatformClass.setup

Configure the platform plug-in module.

Cog.PlatformClass.viewport_created
No description available.
Cog.PlatformClass.viewport_disposed
No description available.