PageSetup.newFromKeyFile

Reads the page setup from the group group_name in the key file key_file.

Returns a new gtk.page_setup.PageSetup object with the restored page setup, or null if an error occurred.

class PageSetup
static
newFromKeyFile

Parameters

keyFile glib.key_file.KeyFile

the glib.key_file.KeyFile to retrieve the page_setup from

groupName string

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

Return Value

Type: gtk.page_setup.PageSetup