PageSetup

constructor()

Creates a new GtkPageSetup.

Return

a new GtkPageSetup.


constructor(fileName: String)

Reads the page setup from the file @file_name.

Returns a new GtkPageSetup object with the restored page setup, or null if an error occurred. See method@Gtk.PageSetup.to_file.

Return

the restored GtkPageSetup

Parameters

fileName

the filename to read the page setup from


constructor(variant: <Error class: unknown class>)

Desrialize a page setup from an a{sv} variant.

The variant must be in the format produced by method@Gtk.PageSetup.to_gvariant.

Return

a new GtkPageSetup object

Parameters

variant

an a{sv} GVariant


constructor(keyFile: <Error class: unknown class>, groupName: String? = null)

Reads the page setup from the group @group_name in the key file

Return

the restored GtkPageSetup

Parameters

keyFile

the GKeyFile to retrieve the page_setup from

groupName

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


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)