PageSetup.from_gvariant


Description:

[ CCode ( has_construct_function = false ) ]
public PageSetup.from_gvariant (Variant variant)

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

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

Parameters:

variant

an a{sv} `GVariant`

Returns:

a new `GtkPageSetup` object