Function

CogViewget_impl_type

Declaration [src]

GType
cog_view_get_impl_type (
  void
)

Description [src]

Get the type of the web view implementation in use.

This function always returns a valid type. If the If the active CogPlatform does not provide a custom view type, the default built-in type included as part of the Cog core library is returned.

When creating web views, this function must be used to retrieve the type to use, e.g.:

WebKitWebView *view = g_object_new(cog_view_get_impl_type(), NULL);

In most cases it should be possible to use the convenience function cog_view_new(), which uses this function internally.

Return value

Returns: GType
 

Type of the view implementation in use.