PaperSize.newFromGvariant

gtk.paper_size.PaperSize newFromGvariant(glib.variant.Variant variant) static nothrow

Deserialize a paper size from a glib.variant.Variant.

The `GVariant must be in the format produced by gtk.paper_size.PaperSize.toGvariant.

Parameters

variantan a{sv} glib.variant.Variant

Returns