Function

Cog.webkit_settings_apply_from_key_file

Declaration [src]

gboolean
cog_webkit_settings_apply_from_key_file (
  WebKitSettings* settings,
  GKeyFile* key_file,
  const char* group,
  GError** error
)

Description [src]

Reads values from a given group of a GLib.KeyFile object, and uses them to set the writable properties of a WebKit.Settings object.

Parameters

settings WebKitSettings*
 

A WebKit.Settings object.

 Ownership is not transferred to the callee
key_file GKeyFile*
 

A loaded key file.

 Ownership is not transferred to the callee
group const char*
 

Name of a group from the key file.

 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string

Return value

Returns: gboolean

Whether the settings were successfully applied.