<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="xfconf-xfconf-types">
<refmeta>
<refentrytitle role="top_of_page" id="xfconf-xfconf-types.top_of_page">Xfconf Types</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>XFCONF Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Xfconf Types</refname>
<refpurpose>GObject types used by the Xfconf daemon and library</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="xfconf-xfconf-types.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
<link linkend="gint16">gint16</link>              <link linkend="xfconf-g-value-get-int16">xfconf_g_value_get_int16</link>            (const <link linkend="GValue">GValue</link> *value);
<link linkend="guint16">guint16</link>             <link linkend="xfconf-g-value-get-uint16">xfconf_g_value_get_uint16</link>           (const <link linkend="GValue">GValue</link> *value);
<link linkend="void">void</link>                <link linkend="xfconf-g-value-set-int16">xfconf_g_value_set_int16</link>            (<link linkend="GValue">GValue</link> *value,
                                                         <link linkend="gint16">gint16</link> v_int16);
<link linkend="void">void</link>                <link linkend="xfconf-g-value-set-uint16">xfconf_g_value_set_uint16</link>           (<link linkend="GValue">GValue</link> *value,
                                                         <link linkend="guint16">guint16</link> v_uint16);
</synopsis>
</refsynopsisdiv>









<refsect1 id="xfconf-xfconf-types.description" role="desc">
<title role="desc.title">Description</title>
<para>
libgobject lacks GObject fundamental types for 16-bit signed and unsigned
integers, which may be useful to use in an Xfconf store.  GObject types for
these primitive types are provided here.
</para>
</refsect1>

<refsect1 id="xfconf-xfconf-types.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="xfconf-g-value-get-int16" role="function">
<title>xfconf_g_value_get_int16 ()</title>
<indexterm zone="xfconf-g-value-get-int16"><primary>xfconf_g_value_get_int16</primary></indexterm><programlisting><link linkend="gint16">gint16</link>              xfconf_g_value_get_int16            (const <link linkend="GValue">GValue</link> *value);</programlisting>
<para>
Retrieves a 16-bit signed value from <parameter>value</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
<listitem><simpara> A <link linkend="GValue"><type>GValue</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A gint16.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="xfconf-g-value-get-uint16" role="function">
<title>xfconf_g_value_get_uint16 ()</title>
<indexterm zone="xfconf-g-value-get-uint16"><primary>xfconf_g_value_get_uint16</primary></indexterm><programlisting><link linkend="guint16">guint16</link>             xfconf_g_value_get_uint16           (const <link linkend="GValue">GValue</link> *value);</programlisting>
<para>
Retrieves a 16-bit unsigned value from <parameter>value</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
<listitem><simpara> A <link linkend="GValue"><type>GValue</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A guint16.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="xfconf-g-value-set-int16" role="function">
<title>xfconf_g_value_set_int16 ()</title>
<indexterm zone="xfconf-g-value-set-int16"><primary>xfconf_g_value_set_int16</primary></indexterm><programlisting><link linkend="void">void</link>                xfconf_g_value_set_int16            (<link linkend="GValue">GValue</link> *value,
                                                         <link linkend="gint16">gint16</link> v_int16);</programlisting>
<para>
Sets <parameter>value</parameter> using a signed 16-bit integer.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
<listitem><simpara> A <link linkend="GValue"><type>GValue</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>v_int16</parameter>&nbsp;:</term>
<listitem><simpara> A gint16.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="xfconf-g-value-set-uint16" role="function">
<title>xfconf_g_value_set_uint16 ()</title>
<indexterm zone="xfconf-g-value-set-uint16"><primary>xfconf_g_value_set_uint16</primary></indexterm><programlisting><link linkend="void">void</link>                xfconf_g_value_set_uint16           (<link linkend="GValue">GValue</link> *value,
                                                         <link linkend="guint16">guint16</link> v_uint16);</programlisting>
<para>
Sets <parameter>value</parameter> using an unsigned 16-bit integer.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
<listitem><simpara> A <link linkend="GValue"><type>GValue</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>v_uint16</parameter>&nbsp;:</term>
<listitem><simpara> A guint16.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
