PrintSettings.this

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 a #GFileError or #GKeyFileError.

Parameters

keyFile KeyFile

the #GKeyFile to retrieve the settings from

groupName string

the name of the group to use, or %NULL to use the default “Print Settings”

Return: the restored #GtkPrintSettings

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.12