PageSetup.newFromKeyFile

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.

class PageSetup
static
newFromKeyFile

Parameters

keyFile glib.key_file.KeyFile

the #GKeyFile to retrieve the page_setup from

groupName string

the name of the group in the key_file to read, or null to use the default name “Page Setup”

Return Value

Type: gtk.page_setup.PageSetup

the restored #GtkPageSetup

Throws