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`` | 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

### Details

Since 2.12

### Value

A list containing the following elements:

`retval` | [`GtkPageSetup`] the restored `GtkPageSetup`
``error`` | return location for an error, or `NULL`. [ allow-none ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]