1Glib::VariantDict(3)  User Contributed Perl Documentation Glib::VariantDict(3)
2
3
4

NAME

6       Glib::VariantDict -  Utilities for dealing with the GVariantDict
7       mutable interface to GVariant dictionaries
8

HIERARCHY

10         Glib::Boxed
11         +----Glib::VariantDict
12

METHODS

14   variantdict = Glib::VariantDict->new ($from_asv)
15       •   $from_asv (Glib::Variant)
16
17       Since: glib 2.40
18
19   boolean = $dict->contains ($key)
20       •   $key (string)
21
22       Since: glib 2.40
23
24   variant = $dict->end
25       Since: glib 2.40
26
27   $dict->insert_value ($key, $value)
28       •   $key (string)
29
30       •   $value (Glib::Variant)
31
32       Since: glib 2.40
33
34   variant = $dict->lookup_value ($key, $expected_type)
35       •   $key (string)
36
37       •   $expected_type (Glib::VariantType)
38
39       Since: glib 2.40
40
41   boolean = $dict->remove ($key)
42       •   $key (string)
43
44       Since: glib 2.40
45

SEE ALSO

47       Glib, Glib::Boxed, Glib::Variant
48
50       Copyright (C) 2003-2011 by the gtk2-perl team.
51
52       This software is licensed under the LGPL.  See Glib for a full notice.
53
54
55
56perl v5.34.0                      2021-07-22              Glib::VariantDict(3)
Impressum