.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Glib::VariantDict 3pm" .TH Glib::VariantDict 3pm 2024-03-07 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Glib::VariantDict \- Utilities for dealing with the GVariantDict mutable interface to GVariant dictionaries .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Boxed \& +\-\-\-\-Glib::VariantDict .Ve .SH METHODS .IX Header "METHODS" .SS "variantdict = Glib::VariantDict\->\fBnew\fP ($from_asv)" .IX Subsection "variantdict = Glib::VariantDict->new ($from_asv)" .IP \(bu 4 \&\f(CW$from_asv\fR (Glib::Variant) .PP Since: glib 2.40 .ie n .SS "boolean = $dict\->\fBcontains\fP ($key)" .el .SS "boolean = \f(CW$dict\fP\->\fBcontains\fP ($key)" .IX Subsection "boolean = $dict->contains ($key)" .IP \(bu 4 \&\f(CW$key\fR (string) .PP Since: glib 2.40 .ie n .SS "variant = $dict\->\fBend\fP" .el .SS "variant = \f(CW$dict\fP\->\fBend\fP" .IX Subsection "variant = $dict->end" Since: glib 2.40 .ie n .SS "$dict\->\fBinsert_value\fP ($key, $value)" .el .SS "\f(CW$dict\fP\->\fBinsert_value\fP ($key, \f(CW$value\fP)" .IX Subsection "$dict->insert_value ($key, $value)" .IP \(bu 4 \&\f(CW$key\fR (string) .IP \(bu 4 \&\f(CW$value\fR (Glib::Variant) .PP Since: glib 2.40 .ie n .SS "variant = $dict\->\fBlookup_value\fP ($key, $expected_type)" .el .SS "variant = \f(CW$dict\fP\->\fBlookup_value\fP ($key, \f(CW$expected_type\fP)" .IX Subsection "variant = $dict->lookup_value ($key, $expected_type)" .IP \(bu 4 \&\f(CW$key\fR (string) .IP \(bu 4 \&\f(CW$expected_type\fR (Glib::VariantType) .PP Since: glib 2.40 .ie n .SS "boolean = $dict\->\fBremove\fP ($key)" .el .SS "boolean = \f(CW$dict\fP\->\fBremove\fP ($key)" .IX Subsection "boolean = $dict->remove ($key)" .IP \(bu 4 \&\f(CW$key\fR (string) .PP Since: glib 2.40 .SH "SEE ALSO" .IX Header "SEE ALSO" Glib, Glib::Boxed, Glib::Variant .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Glib for a full notice.