PaperSize.from_gvariant


Description:

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

Deserialize a paper size from a `GVariant`.

The `GVariant must be in the format produced by [method@Gtk.PaperSize.to_gvariant].

Parameters:

variant

an a{sv} `GVariant`

Returns:

a new `GtkPaperSize` object