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 [[email protected]_gvariant].

Parameters:

variant

an a{sv} `GVariant`

Returns:

a new `GtkPaperSize` object




2022 vala-language.org