PrintSettings
Creates a new GtkPrintSettings
object.
Return
a new GtkPrintSettings
object
Reads the print settings from @file_name.
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
.
See method@Gtk.PrintSettings.to_file.
Return
the restored GtkPrintSettings
Parameters
the filename to read the settings from
Deserialize print settings from an a{sv} variant.
The variant must be in the format produced by method@Gtk.PrintSettings.to_gvariant.
Return
a new GtkPrintSettings
object
Parameters
an a{sv} GVariant
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
.
Return
the restored GtkPrintSettings
Parameters
the GKeyFile
to retrieve the settings from
the name of the group to use, or null to use the default “Print Settings”