RGtk2 (version 2.20.31)

gtkPageSetupNewFromKeyFile: gtkPageSetupNewFromKeyFile

Description

Reads the page setup from the group group.name in the key file key.file. Returns a new GtkPageSetup object with the restored page setup, or NULL if an error occurred.

Usage

gtkPageSetupNewFromKeyFile(key.file, group.name, .errwarn = TRUE)

Arguments

key.file
the GKeyFile to retrieve the page_setup from
group.name
the name of the group in the key_file to read, or NULL to use the default name "Page Setup". [ allow-none ]
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[GtkPageSetup] the restored GtkPageSetup
error
return location for an error, or NULL. [ allow-none ]

Details

Since 2.12