PageSetup.this

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.

  1. this(GtkPageSetup* gtkPageSetup, bool ownedRef)
  2. this()
  3. this(string fileName)
  4. this(KeyFile keyFile, string groupName)
    class PageSetup

Parameters

keyFile 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: the restored #GtkPageSetup

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.12