PageSetup.from_key_file
Description:
[ CCode ( has_construct_function = false ) ]
public PageSetup.from_key_file (KeyFile key_file, string? group_name) throws Error
public PageSetup.from_key_file (KeyFile key_file, string? group_name) throws Error
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:
key_file |
the `GKeyFile` to retrieve the page_setup from |
group_name |
the name of the group in the key_file to read to use the default name “Page Setup” |
Returns:
the restored `GtkPageSetup` |