<refentry id="libgnomedb-40-GnomeDB-Stock-images">
<refmeta>
<refentrytitle>Stock icons</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEDB-4.0 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Stock icons</refname><refpurpose>icons to reuse</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



<link linkend="GdkPixbuf">GdkPixbuf</link>*  <link linkend="gnome-db-stock-get-icon-pixbuf">gnome_db_stock_get_icon_pixbuf</link>  (const <link linkend="gchar">gchar</link> *stock_id);
<link linkend="GdkPixbuf">GdkPixbuf</link>*  <link linkend="gnome-db-stock-get-icon-pixbuf-file">gnome_db_stock_get_icon_pixbuf_file</link>
                                            (const <link linkend="gchar">gchar</link> *pixmapfile);
<link linkend="gchar">gchar</link>*      <link linkend="gnome-db-stock-get-icon-path">gnome_db_stock_get_icon_path</link>    (const <link linkend="gchar">gchar</link> *stock_id);

</synopsis>
</refsynopsisdiv>









<refsect1>
<title>Description</title>
<para>

</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="gnome-db-stock-get-icon-pixbuf"/>gnome_db_stock_get_icon_pixbuf ()</title>
<indexterm><primary>gnome_db_stock_get_icon_pixbuf</primary></indexterm><programlisting><link linkend="GdkPixbuf">GdkPixbuf</link>*  gnome_db_stock_get_icon_pixbuf  (const <link linkend="gchar">gchar</link> *stock_id);</programlisting>
<para>
Get the given stock icon as a GdkPixbuf.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>stock_id</parameter>&nbsp;:</term>
<listitem><simpara> ID of icon to get.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a GdkPixbuf representing the loaded icon.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-stock-get-icon-pixbuf-file"/>gnome_db_stock_get_icon_pixbuf_file ()</title>
<indexterm><primary>gnome_db_stock_get_icon_pixbuf_file</primary></indexterm><programlisting><link linkend="GdkPixbuf">GdkPixbuf</link>*  gnome_db_stock_get_icon_pixbuf_file
                                            (const <link linkend="gchar">gchar</link> *pixmapfile);</programlisting>
<para>
Get the given icon as a GdkPixbuf.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>pixmapfile</parameter>&nbsp;:</term>
<listitem><simpara> the real filename of the icon to get.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a GdkPixbuf representing the loaded icon.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-stock-get-icon-path"/>gnome_db_stock_get_icon_path ()</title>
<indexterm><primary>gnome_db_stock_get_icon_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>*      gnome_db_stock_get_icon_path    (const <link linkend="gchar">gchar</link> *stock_id);</programlisting>
<para>
Return the full path of the given stock icon.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>stock_id</parameter>&nbsp;:</term>
<listitem><simpara> Icon id to get path.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the full path of the given stock icon. The returned
value must be freed by the caller when no longer needed.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
