Method
GtkPrintSettingsload_key_file
Declaration [src]
gboolean
gtk_print_settings_load_key_file (
GtkPrintSettings* settings,
GKeyFile* key_file,
const char* group_name,
GError** error
)
Description [src]
Reads the print settings from the group group_name in key_file.
If the file could not be loaded then error is set to either a
GFileError or GKeyFileError.
Parameters
key_file-
Type:
GKeyFileThe
GKeyFileto retrieve the settings from.The data is owned by the caller of the function. group_name-
Type:
const char*The name of the group to use, or
NULLto use the default “Print Settings”The argument can be NULL.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
GError*, orNULL.