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
-
Type:
WebKitSettings*
A WebKit.Settings object.
The data is owned by the caller of the function. key_file
-
Type:
GKeyFile
A loaded key file.
The data is owned by the caller of the function. group
-
Type:
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
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will left initialized to NULL
by the function if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.