PaperSize.newFromGvariant

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

a new [gtk.paper_size.PaperSize] object