RGtk2 (version 2.20.31)

gtkPaperSizeNewFromKeyFile: 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

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 ]

Details

Since 2.12