gtkPaperSizeNewFromKeyFile {RGtk2} | R Documentation

## gtkPaperSizeNewFromKeyFile

### Description

Reads a paper size from the group `group.name` in the key file `key.file`.

### Usage

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

### Arguments

``key.file`` | the `GKeyFile` to retrieve the papersize from
``group.name`` | the name ofthe group in the key file to read, or `NULL` to read the first group
`.errwarn` | Whether to issue a warning on error or fail silently

### Details

Since 2.12

### Value

A list containing the following elements:

`retval` | [`GtkPaperSize`] a new `GtkPaperSize` object with the restored paper size, or `NULL` if an error occurred.
``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]