Constructor
Gtk.PrintSettings.new_from_key_file
Declaration [src]
GtkPrintSettings*
gtk_print_settings_new_from_key_file (
GKeyFile* key_file,
const char* group_name,
GError** error
)
Description [src]
Reads the print settings from the group group_name in key_file.
Returns a new GtkPrintSettings object with the restored settings,
or NULL if an error occurred. If the file could not be loaded then
error is set to either GFileError or GKeyFileError.
Parameters
key_file |
GKeyFile* |
the |
|
| Ownership is not transferred to the callee | |
group_name |
const char* |
the name of the group to use, or |
|
Can be NULL | |
| Ownership is not transferred to the callee | |
| The string is a NUL terminated UTF-8 string |
Return value
Returns: GtkPrintSettings |
|
the restored |
|
| Ownership of the data is transferred to the caller | |