gtkPageSetupNewFromKeyFile {RGtk2}R Documentation

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 [GKeyFile] the GKeyFile to retrieve the page_setup from
group.name [character] the name of the group in the key_file to read, or NULL to use the default name "Page Setup"
.errwarn Whether to issue a warning on error or fail silently

Details

Since 2.12

Value

A list containing the following elements:

retval [GtkPageSetup] the restored GtkPageSetup
error [GError] return location for an error, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]