PaperSize.from_gvariant


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.22" ) ]
public PaperSize.from_gvariant (Variant variant)

Deserialize a paper size from an a{sv} variant in the format produced by to_gvariant.

Parameters:

variant

an a{sv} Variant

Returns:

a new PaperSize object