PaperSize.newFromKeyFile

Reads a paper size from the group group_name in the key file key_file.

class PaperSize
static
newFromKeyFile

Parameters

keyFile glib.key_file.KeyFile

the #GKeyFile to retrieve the papersize from

groupName string

the name of the group in the key file to read, or null to read the first group

Return Value

Type: gtk.paper_size.PaperSize

a new #GtkPaperSize object with the restored paper size, or null if an error occurred

Throws