paper size, or null if an error occurred
PaperSize.newFromKeyFile
gtk.paper_size.PaperSize newFromKeyFile(glib.key_file.KeyFile keyFile, string groupName = null)Reads a paper size from the group group_name in the key file key_file.
Parameters
keyFile | the #GKeyFile to retrieve the papersize from |
groupName | the name of the group in the key file to read, or null to read the first group |
Returns
a new #GtkPaperSize object with the restored
Throws
[ErrorWrap]