PaperSize.from_gvariant
Description:
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 |