<refentry id="libgnomeui-gnome-window-icon">
<refmeta>
<refentrytitle role="top_of_page" id="libgnomeui-gnome-window-icon.top_of_page">gnome-window-icon</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEUI Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>gnome-window-icon</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="libgnomeui-gnome-window-icon.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

#include &lt;libgnomeui/libgnomeui.h&gt;

<link linkend="void">void</link>                <link linkend="gnome-window-icon-set-from-default">gnome_window_icon_set_from_default</link>  (<link linkend="GtkWindow">GtkWindow</link> *w);
<link linkend="void">void</link>                <link linkend="gnome-window-icon-set-from-file">gnome_window_icon_set_from_file</link>     (<link linkend="GtkWindow">GtkWindow</link> *w,
                                                         const <link linkend="char">char</link> *filename);
<link linkend="void">void</link>                <link linkend="gnome-window-icon-set-from-file-list">gnome_window_icon_set_from_file_list</link>
                                                        (<link linkend="GtkWindow">GtkWindow</link> *w,
                                                         const <link linkend="char">char</link> **filenames);
<link linkend="void">void</link>                <link linkend="gnome-window-icon-set-default-from-file">gnome_window_icon_set_default_from_file</link>
                                                        (const <link linkend="char">char</link> *filename);
<link linkend="void">void</link>                <link linkend="gnome-window-icon-set-default-from-file-list">gnome_window_icon_set_default_from_file_list</link>
                                                        (const <link linkend="char">char</link> **filenames);
<link linkend="void">void</link>                <link linkend="gnome-window-icon-init">gnome_window_icon_init</link>              (void);
</synopsis>
</refsynopsisdiv>









<refsect1 id="libgnomeui-gnome-window-icon.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="libgnomeui-gnome-window-icon.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="gnome-window-icon-set-from-default" role="function" condition="deprecated:">
<title>gnome_window_icon_set_from_default ()</title>
<indexterm zone="gnome-window-icon-set-from-default" role="deprecated"><primary sortas="gnome_window_icon_set_from_default">gnome_window_icon_set_from_default</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_window_icon_set_from_default  (<link linkend="GtkWindow">GtkWindow</link> *w);</programlisting>
<warning><para><literal>gnome_window_icon_set_from_default</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Makes the <link linkend="GtkWindow"><type>GtkWindow</type></link> <parameter>w</parameter> use the default icon.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>w</parameter>&#160;:</term>
<listitem><simpara> the <link linkend="GtkWidget"><type>GtkWidget</type></link> to set the icon on
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-window-icon-set-from-file" role="function" condition="deprecated:">
<title>gnome_window_icon_set_from_file ()</title>
<indexterm zone="gnome-window-icon-set-from-file" role="deprecated"><primary sortas="gnome_window_icon_set_from_file">gnome_window_icon_set_from_file</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_window_icon_set_from_file     (<link linkend="GtkWindow">GtkWindow</link> *w,
                                                         const <link linkend="char">char</link> *filename);</programlisting>
<warning><para><literal>gnome_window_icon_set_from_file</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Makes the <link linkend="GtkWindow"><type>GtkWindow</type></link> <parameter>w</parameter> use the icon in <parameter>filename</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>w</parameter>&#160;:</term>
<listitem><simpara> the <link linkend="GtkWidget"><type>GtkWidget</type></link> to set the icon on
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filename</parameter>&#160;:</term>
<listitem><simpara> the name of the file to load
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-window-icon-set-from-file-list" role="function" condition="deprecated:">
<title>gnome_window_icon_set_from_file_list ()</title>
<indexterm zone="gnome-window-icon-set-from-file-list" role="deprecated"><primary sortas="gnome_window_icon_set_from_file_list">gnome_window_icon_set_from_file_list</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_window_icon_set_from_file_list
                                                        (<link linkend="GtkWindow">GtkWindow</link> *w,
                                                         const <link linkend="char">char</link> **filenames);</programlisting>
<warning><para><literal>gnome_window_icon_set_from_file_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Convenience wrapper around <link linkend="gtk-window-set-icon-list"><function>gtk_window_set_icon_list()</function></link>,
which loads the icons in <parameter>filenames</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>w</parameter>&#160;:</term>
<listitem><simpara> window to set icons on
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filenames</parameter>&#160;:</term>
<listitem><simpara> NULL terminated string array
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-window-icon-set-default-from-file" role="function" condition="deprecated:">
<title>gnome_window_icon_set_default_from_file ()</title>
<indexterm zone="gnome-window-icon-set-default-from-file" role="deprecated"><primary sortas="gnome_window_icon_set_default_from_file">gnome_window_icon_set_default_from_file</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_window_icon_set_default_from_file
                                                        (const <link linkend="char">char</link> *filename);</programlisting>
<warning><para><literal>gnome_window_icon_set_default_from_file</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Set the default icon to the image in <parameter>filename</parameter>, if one 
of the gnome_window_icon_set_default_from* functions have not already
been called.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>filename</parameter>&#160;:</term>
<listitem><simpara> filename for the default window icon
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-window-icon-set-default-from-file-list" role="function" condition="deprecated:">
<title>gnome_window_icon_set_default_from_file_list ()</title>
<indexterm zone="gnome-window-icon-set-default-from-file-list" role="deprecated"><primary sortas="gnome_window_icon_set_default_from_file_list">gnome_window_icon_set_default_from_file_list</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_window_icon_set_default_from_file_list
                                                        (const <link linkend="char">char</link> **filenames);</programlisting>
<warning><para><literal>gnome_window_icon_set_default_from_file_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Wrapper around <link linkend="gtk-window-set-default-icon-list"><function>gtk_window_set_default_icon_list()</function></link>,
which loads the icons in <parameter>filenames</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>filenames</parameter>&#160;:</term>
<listitem><simpara> NULL terminated string array
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gnome-window-icon-init" role="function" condition="deprecated:">
<title>gnome_window_icon_init ()</title>
<indexterm zone="gnome-window-icon-init" role="deprecated"><primary sortas="gnome_window_icon_init">gnome_window_icon_init</primary></indexterm><programlisting><link linkend="void">void</link>                gnome_window_icon_init              (void);</programlisting>
<warning><para><literal>gnome_window_icon_init</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
Initialize the gnome window icon by checking the
GNOME_DESKTOP_ICON environment variable.  This function is 
automatically called by the gnome_init process.</para>
<para>
</para></refsect2>

</refsect1>




</refentry>
