Function

Cogwebkit_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 GKeyFile object, and uses them to set the writable properties of a WebKit.Settings object.

This function is not directly available to language bindings

Parameters

settings WebKitSettings*
 

A WebKit.Settings object.

 The data is owned by the caller of the function.
key_file GKeyFile
 

A loaded key file.

 The data is owned by the caller of the function.
group const char*
 

Name of a group from the key file.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

Whether the settings were successfully applied.