158 lines
2.9 KiB
HTML
158 lines
2.9 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Glib::VariantDict</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Glib::VariantDict</H1>
|
|
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2020-02-18<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Glib::VariantDict - Utilities for dealing with the GVariantDict mutable interface to GVariant dictionaries
|
|
<A NAME="lbAC"> </A>
|
|
<H2>HIERARCHY</H2>
|
|
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
Glib::Boxed
|
|
+----Glib::VariantDict
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>METHODS</H2>
|
|
|
|
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H3>variantdict = Glib::VariantDict-><B>new</B> ($from_asv)</H3>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">•<DD>
|
|
<TT>$from_asv</TT> (Glib::Variant)
|
|
</DL>
|
|
<P>
|
|
|
|
Since: glib 2.40
|
|
<A NAME="lbAF"> </A>
|
|
<H3>boolean = $dict-><B>contains</B> ($key)</H3>
|
|
|
|
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="2">•<DD>
|
|
<TT>$key</TT> (string)
|
|
</DL>
|
|
<P>
|
|
|
|
Since: glib 2.40
|
|
<A NAME="lbAG"> </A>
|
|
<H3>variant = $dict-><B>end</B></H3>
|
|
|
|
|
|
|
|
|
|
|
|
Since: glib 2.40
|
|
<A NAME="lbAH"> </A>
|
|
<H3>$dict-><B>insert_value</B> ($key, $value)</H3>
|
|
|
|
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="3">•<DD>
|
|
<TT>$key</TT> (string)
|
|
<DT id="4">•<DD>
|
|
<TT>$value</TT> (Glib::Variant)
|
|
</DL>
|
|
<P>
|
|
|
|
Since: glib 2.40
|
|
<A NAME="lbAI"> </A>
|
|
<H3>variant = $dict-><B>lookup_value</B> ($key, $expected_type)</H3>
|
|
|
|
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="5">•<DD>
|
|
<TT>$key</TT> (string)
|
|
<DT id="6">•<DD>
|
|
<TT>$expected_type</TT> (Glib::VariantType)
|
|
</DL>
|
|
<P>
|
|
|
|
Since: glib 2.40
|
|
<A NAME="lbAJ"> </A>
|
|
<H3>boolean = $dict-><B>remove</B> ($key)</H3>
|
|
|
|
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="7">•<DD>
|
|
<TT>$key</TT> (string)
|
|
</DL>
|
|
<P>
|
|
|
|
Since: glib 2.40
|
|
<A NAME="lbAK"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
Glib, Glib::Boxed, Glib::Variant
|
|
<A NAME="lbAL"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
|
|
|
|
Copyright (C) 2003-2011 by the gtk2-perl team.
|
|
<P>
|
|
|
|
This software is licensed under the <FONT SIZE="-1">LGPL.</FONT> See Glib for a full notice.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="9"><A HREF="#lbAC">HIERARCHY</A><DD>
|
|
<DT id="10"><A HREF="#lbAD">METHODS</A><DD>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAE">variantdict = Glib::VariantDict-><B>new</B> ($from_asv)</A><DD>
|
|
<DT id="12"><A HREF="#lbAF">boolean = $dict-><B>contains</B> ($key)</A><DD>
|
|
<DT id="13"><A HREF="#lbAG">variant = $dict-><B>end</B></A><DD>
|
|
<DT id="14"><A HREF="#lbAH">$dict-><B>insert_value</B> ($key, $value)</A><DD>
|
|
<DT id="15"><A HREF="#lbAI">variant = $dict-><B>lookup_value</B> ($key, $expected_type)</A><DD>
|
|
<DT id="16"><A HREF="#lbAJ">boolean = $dict-><B>remove</B> ($key)</A><DD>
|
|
</DL>
|
|
<DT id="17"><A HREF="#lbAK">SEE ALSO</A><DD>
|
|
<DT id="18"><A HREF="#lbAL">COPYRIGHT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:45 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|