newFromGvariant

fun newFromGvariant(variant: <Error class: unknown class>): PaperSize

Deserialize a paper size from a GVariant.

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

Return

a new GtkPaperSize object

Parameters

variant

an a{sv} GVariant