Imported Upstream version 2.4.7

This commit is contained in:
Ari Pollak
2010-08-11 01:25:24 -04:00
parent 478f5ecc84
commit 826f4b0313
398 changed files with 34802 additions and 57532 deletions

View File

@ -49,92 +49,36 @@
<div class="refsynopsisdiv">
<a name="libgimpwidgets-gimpoldwidgets.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()">gimp_int_option_menu_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> initial,
GtkWidget* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()">gimp_int_option_menu_new</a> (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gint initial,
...);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-history" title="gimp_int_option_menu_set_history ()">gimp_int_option_menu_set_history</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">*GimpIntOptionMenuSensitivityCallback</a>)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-sensitive" title="gimp_int_option_menu_set_sensitive ()">gimp_int_option_menu_set_sensitive</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-history" title="gimp_int_option_menu_set_history ()">gimp_int_option_menu_set_history</a> (GtkOptionMenu *option_menu,
gint item_data);
gboolean (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">*GimpIntOptionMenuSensitivityCallback</a>)
(gint item_data,
gpointer callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-sensitive" title="gimp_int_option_menu_set_sensitive ()">gimp_int_option_menu_set_sensitive</a> (GtkOptionMenu *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">GimpIntOptionMenuSensitivityCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()">gimp_option_menu_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
gpointer callback_data);
GtkWidget* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()">gimp_option_menu_new</a> (gboolean menu_only,
...);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()">gimp_option_menu_new2</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> initial,
GtkWidget* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()">gimp_option_menu_new2</a> (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gpointer initial,
...);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history" title="gimp_option_menu_set_history ()">gimp_option_menu_set_history</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">*GimpOptionMenuSensitivityCallback</a>)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-sensitive" title="gimp_option_menu_set_sensitive ()">gimp_option_menu_set_sensitive</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history" title="gimp_option_menu_set_history ()">gimp_option_menu_set_history</a> (GtkOptionMenu *option_menu,
gpointer item_data);
gboolean (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">*GimpOptionMenuSensitivityCallback</a>)
(gpointer item_data,
gpointer callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-sensitive" title="gimp_option_menu_set_sensitive ()">gimp_option_menu_set_sensitive</a> (GtkOptionMenu *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">GimpOptionMenuSensitivityCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-menu-item-update" title="gimp_menu_item_update ()">gimp_menu_item_update</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
gpointer callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-menu-item-update" title="gimp_menu_item_update ()">gimp_menu_item_update</a> (GtkWidget *widget,
gpointer data);
</pre>
</div>
<div class="refsect1" lang="en">
@ -147,31 +91,17 @@ These functions are not defined if you #define GIMP_DISABLE_DEPRECATED.
<a name="libgimpwidgets-gimpoldwidgets.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="gimp-int-option-menu-new"></a><h3>gimp_int_option_menu_new ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_option_menu_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> initial,
<pre class="programlisting">GtkWidget* gimp_int_option_menu_new (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gint initial,
...);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_int_option_menu_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Convenience function to create a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>. This
Convenience function to create a <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span>. This
function does the same thing as the deprecated function
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>, but it takes integers as <em class="parameter"><code>item_data</code></em>
instead of pointers, since that is a very common case (mapping an
@ -184,11 +114,7 @@ enum to a menu).</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_only</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
</td>
</tr>
<tr>
@ -200,9 +126,7 @@ href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_item_callback_data</code></em> :</span></p></td>
<td>
The data which will be passed to <a
href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>.
The data which will be passed to <code class="function">g_signal_connect()</code>.
</td>
</tr>
<tr>
@ -212,18 +136,12 @@ href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
<td> A <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -232,23 +150,15 @@ href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-option-menu-set-history"></a><h3>gimp_int_option_menu_set_history ()</h3>
<pre class="programlisting">void gimp_int_option_menu_set_history (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data);</pre>
<pre class="programlisting">void gimp_int_option_menu_set_history (GtkOptionMenu *option_menu,
gint item_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_int_option_menu_set_history</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Iterates over all entries in a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> and selects the one with the
matching <em class="parameter"><code>item_data</code></em>. Probably only makes sense to use with a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a>
Iterates over all entries in a <span class="type">GtkOptionMenu</span> and selects the one with the
matching <em class="parameter"><code>item_data</code></em>. Probably only makes sense to use with a <span class="type">GtkOptionMenu</span>
that was created using <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()"><code class="function">gimp_int_option_menu_new()</code></a>. This function does the
same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history" title="gimp_option_menu_set_history ()"><code class="function">gimp_option_menu_set_history()</code></a>, but takes integers as
<em class="parameter"><code>item_data</code></em> instead of pointers.</p>
@ -260,9 +170,7 @@ same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-opti
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()"><code class="function">gimp_int_option_menu_new()</code></a>.
<td> A <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()"><code class="function">gimp_int_option_menu_new()</code></a>.
</td>
</tr>
<tr>
@ -276,15 +184,9 @@ href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
<hr>
<div class="refsect2" lang="en">
<a name="GimpIntOptionMenuSensitivityCallback"></a><h3>GimpIntOptionMenuSensitivityCallback ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpIntOptionMenuSensitivityCallback)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
<pre class="programlisting">gboolean (*GimpIntOptionMenuSensitivityCallback)
(gint item_data,
gpointer callback_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GimpIntOptionMenuSensitivityCallback</code> is deprecated and should not be used in newly-written code.</p>
@ -318,13 +220,9 @@ href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-option-menu-set-sensitive"></a><h3>gimp_int_option_menu_set_sensitive ()</h3>
<pre class="programlisting">void gimp_int_option_menu_set_sensitive (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<pre class="programlisting">void gimp_int_option_menu_set_sensitive (GtkOptionMenu *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">GimpIntOptionMenuSensitivityCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
gpointer callback_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_int_option_menu_set_sensitive</code> is deprecated and should not be used in newly-written code.</p>
@ -343,9 +241,7 @@ same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-opti
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<td> a <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -366,22 +262,14 @@ href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-new"></a><h3>gimp_option_menu_new ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_option_menu_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<pre class="programlisting">GtkWidget* gimp_option_menu_new (gboolean menu_only,
...);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_option_menu_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Convenience function to create a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>.</p>
Convenience function to create a <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span>.</p>
<p>
</p>
@ -390,27 +278,17 @@ href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_only</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
<td> A <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -419,31 +297,17 @@ href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-new2"></a><h3>gimp_option_menu_new2 ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_option_menu_new2 (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> initial,
<pre class="programlisting">GtkWidget* gimp_option_menu_new2 (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gpointer initial,
...);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_option_menu_new2</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Convenience function to create a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>.</p>
Convenience function to create a <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span>.</p>
<p>
</p>
@ -452,11 +316,7 @@ href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_only</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
</td>
</tr>
<tr>
@ -468,9 +328,7 @@ href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_item_callback_data</code></em> :</span></p></td>
<td>
The data which will be passed to <a
href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>.
The data which will be passed to <code class="function">g_signal_connect()</code>.
</td>
</tr>
<tr>
@ -480,18 +338,12 @@ href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
<td> A <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -500,24 +352,16 @@ href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-set-history"></a><h3>gimp_option_menu_set_history ()</h3>
<pre class="programlisting">void gimp_option_menu_set_history (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data);</pre>
<pre class="programlisting">void gimp_option_menu_set_history (GtkOptionMenu *option_menu,
gpointer item_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_option_menu_set_history</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Iterates over all entries in a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> and selects the one
Iterates over all entries in a <span class="type">GtkOptionMenu</span> and selects the one
with the matching <em class="parameter"><code>item_data</code></em>. Probably only makes sense to use with
a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> that was created using <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
a <span class="type">GtkOptionMenu</span> that was created using <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.</p>
<p>
@ -527,9 +371,7 @@ href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<td> A <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -544,15 +386,9 @@ href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
<hr>
<div class="refsect2" lang="en">
<a name="GimpOptionMenuSensitivityCallback"></a><h3>GimpOptionMenuSensitivityCallback ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpOptionMenuSensitivityCallback)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
<pre class="programlisting">gboolean (*GimpOptionMenuSensitivityCallback)
(gpointer item_data,
gpointer callback_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GimpOptionMenuSensitivityCallback</code> is deprecated and should not be used in newly-written code.</p>
@ -586,13 +422,9 @@ href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-set-sensitive"></a><h3>gimp_option_menu_set_sensitive ()</h3>
<pre class="programlisting">void gimp_option_menu_set_sensitive (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<pre class="programlisting">void gimp_option_menu_set_sensitive (GtkOptionMenu *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">GimpOptionMenuSensitivityCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
gpointer callback_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_option_menu_set_sensitive</code> is deprecated and should not be used in newly-written code.</p>
@ -609,9 +441,7 @@ according to the return value of this function.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<td> a <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -632,12 +462,8 @@ href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-menu-item-update"></a><h3>gimp_menu_item_update ()</h3>
<pre class="programlisting">void gimp_menu_item_update (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<pre class="programlisting">void gimp_menu_item_update (GtkWidget *widget,
gpointer data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_menu_item_update</code> is deprecated and should not be used in newly-written code.</p>
@ -652,16 +478,12 @@ href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkMenuItem.html"
><span class="type">GtkMenuItem</span></a>.
<td> A <span class="type">GtkMenuItem</span>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td> A pointer to a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a> variable which will store the value of
<td> A pointer to a <span class="type">gint</span> variable which will store the value of
GPOINTER_TO_INT (g_object_get_data (<em class="parameter"><code>widget</code></em>, "gimp-item-data")).
</td>
</tr>