PageSetup.newFromKeyFile
gtk.page_setup.PageSetup newFromKeyFile(glib.key_file.KeyFile keyFile, string groupName = null)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.
Parameters
keyFile | the #GKeyFile to retrieve the page_setup from |
groupName | the name of the group in the key_file to read, or null to use the default name “Page Setup” |
Returns
the restored #GtkPageSetup
Throws
[ErrorWrap]