FileFilter.from_gvariant


Description:

[ CCode ( has_construct_function = false ) ]
public FileFilter.from_gvariant (Variant variant)

Deserialize a file filter from a `GVariant`.

The variant must be in the format produced by [method@Gtk.FileFilter.to_gvariant].

Parameters:

variant

an `a{sv}` `GVariant`

Returns:

a new `GtkFileFilter` object