Imported Upstream version 2.4.0

This commit is contained in:
Ari Pollak
2010-08-11 01:23:21 -04:00
parent f35d8506c6
commit 258b1471f0
781 changed files with 98804 additions and 57910 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="libgimpwidgets-GimpHintBox.html" title="GimpHintBox">
<link rel="next" href="GimpIntStore.html" title="GimpIntStore">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpIntStore.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="#id2586122" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2574472" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2630418" class="shortcut">Description</a>
<a href="#id2629472" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2628312" class="shortcut">Object Hierarchy</a>
<a href="#id2630331" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2630347" class="shortcut">Implemented Interfaces</a>
<a href="#id2629401" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2630387" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2629441" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpIntComboBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2586122"></a><span class="refentrytitle">GimpIntComboBox</span>
<a name="id2574472"></a><span class="refentrytitle">GimpIntComboBox</span>
</h2>
<p>GimpIntComboBox &#8212; A widget providing a popup menu of integer values (e.g. enums).</p>
</td>
@ -62,153 +62,153 @@
<a class="link" href="GimpIntComboBox.html#GimpIntComboBox-struct">GimpIntComboBox</a>;
<a
href="../glib/glib-Basic-Types.html#gboolean"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc">*GimpIntSensitivityFunc</a>) (<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../gtk/GtkWidget.html"
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new">gimp_int_combo_box_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
...);
<a
href="../gtk/GtkWidget.html"
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-valist">gimp_int_combo_box_new_valist</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
va_list values);
<a
href="../gtk/GtkWidget.html"
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-array">gimp_int_combo_box_new_array</a> (<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *labels[]);
void <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-prepend">gimp_int_combo_box_prepend</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
...);
void <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-append">gimp_int_combo_box_append</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
...);
<a
href="../glib/glib-Basic-Types.html#gboolean"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-set-active">gimp_int_combo_box_set_active</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);
<a
href="../glib/glib-Basic-Types.html#gboolean"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-get-active">gimp_int_combo_box_get_active</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *value);
<a
href="../glib/glib-Basic-Types.html#gulong"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
>gulong</a> <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-connect">gimp_int_combo_box_connect</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../gobject/gobject-Closures.html#GCallback"
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-set-sensitivity">gimp_int_combo_box_set_sensitivity</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc">GimpIntSensitivityFunc</a> func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a
href="../glib/glib-Datasets.html#GDestroyNotify"
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2628312"></a><h2>Object Hierarchy</h2>
<a name="id2630331"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBin.html"
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="../gtk/GtkComboBox.html"
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
>GtkComboBox</a>
+----GimpIntComboBox
+----<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2630347"></a><h2>Implemented Interfaces</h2>
<a name="id2629401"></a><h2>Implemented Interfaces</h2>
<p>
GimpIntComboBox implements
AtkImplementorIface, GtkBuildable, <a
href="../gtk/GtkCellEditable.html"
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="../gtk/GtkCellLayout.html"
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2630387"></a><h2>Properties</h2>
<a name="id2629441"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpIntComboBox.html#GimpIntComboBox--ellipsize">ellipsize</a>" <a
href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2630418"></a><h2>Description</h2>
<a name="id2629472"></a><h2>Description</h2>
<p>
A widget providing a popup menu of integer values (e.g. enums).
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2630434"></a><h2>Details</h2>
<a name="id2629489"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2630445"></a><h3>
<a name="id2629499"></a><h3>
<a name="GimpIntComboBox-struct"></a>GimpIntComboBox</h3>
<a class="indexterm" name="id2630457"></a><pre class="programlisting">typedef struct _GimpIntComboBox GimpIntComboBox;</pre>
<a class="indexterm" name="id2629511"></a><pre class="programlisting">typedef struct _GimpIntComboBox GimpIntComboBox;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630473"></a><h3>
<a name="id2629527"></a><h3>
<a name="GimpIntSensitivityFunc"></a>GimpIntSensitivityFunc ()</h3>
<a class="indexterm" name="id2630484"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
<a class="indexterm" name="id2629539"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpIntSensitivityFunc) (<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
@ -238,21 +238,21 @@ href="../glib/glib-Basic-Types.html#gpointer"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630562"></a><h3>
<a name="id2629616"></a><h3>
<a name="gimp-int-combo-box-new"></a>gimp_int_combo_box_new ()</h3>
<a class="indexterm" name="id2630575"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
<a class="indexterm" name="id2629630"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
...);</pre>
<p>
Creates a GtkComboBox that has integer values associated with each
item. The items to fill the combo box with are specified as a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
terminated list of label/value pairs.
</p>
@ -278,7 +278,7 @@ g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</p>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></p></td>
<td> a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> terminated list of more label, value pairs
</td>
</tr>
@ -295,15 +295,15 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629114"></a><h3>
<a name="id2629912"></a><h3>
<a name="gimp-int-combo-box-new-valist"></a>gimp_int_combo_box_new_valist ()</h3>
<a class="indexterm" name="id2629130"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
<a class="indexterm" name="id2629928"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new_valist (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
va_list values);</pre>
<p>
@ -343,15 +343,15 @@ label/value pairs. Probably only useful for language bindings.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633704"></a><h3>
<a name="id2634118"></a><h3>
<a name="gimp-int-combo-box-new-array"></a>gimp_int_combo_box_new_array ()</h3>
<a class="indexterm" name="id2633718"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
<a class="indexterm" name="id2634131"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new_array (<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *labels[]);</pre>
<p>
A variant of <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new"><code class="function">gimp_int_combo_box_new()</code></a> that takes an array of labels.
@ -385,15 +385,15 @@ The array indices are used as values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633819"></a><h3>
<a name="id2634232"></a><h3>
<a name="gimp-int-combo-box-prepend"></a>gimp_int_combo_box_prepend ()</h3>
<a class="indexterm" name="id2633833"></a><pre class="programlisting">void gimp_int_combo_box_prepend (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="indexterm" name="id2634245"></a><pre class="programlisting">void gimp_int_combo_box_prepend (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
...);</pre>
<p>
This function provides a convenient way to prepend items to a
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a>. It prepends a row to the <em class="parameter"><code>combo_box</code></em>'s list store
and calls <a
href="../gtk/GtkListStore.html#gtk-list-store-set"
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html#gtk-list-store-set"
><code class="function">gtk_list_store_set()</code></a> for you.
</p>
<p>
@ -421,15 +421,15 @@ The column number must be taken from the enum <a class="link" href="GimpIntStore
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633948"></a><h3>
<a name="id2634360"></a><h3>
<a name="gimp-int-combo-box-append"></a>gimp_int_combo_box_append ()</h3>
<a class="indexterm" name="id2633962"></a><pre class="programlisting">void gimp_int_combo_box_append (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="indexterm" name="id2634375"></a><pre class="programlisting">void gimp_int_combo_box_append (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
...);</pre>
<p>
This function provides a convenient way to append items to a
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a>. It appends a row to the <em class="parameter"><code>combo_box</code></em>'s list store
and calls <a
href="../gtk/GtkListStore.html#gtk-list-store-set"
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html#gtk-list-store-set"
><code class="function">gtk_list_store_set()</code></a> for you.
</p>
<p>
@ -457,13 +457,13 @@ The column number must be taken from the enum <a class="link" href="GimpIntStore
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634077"></a><h3>
<a name="id2634490"></a><h3>
<a name="gimp-int-combo-box-set-active"></a>gimp_int_combo_box_set_active ()</h3>
<a class="indexterm" name="id2634093"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
<a class="indexterm" name="id2634505"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_combo_box_set_active (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);</pre>
<p>
Looks up the item that belongs to the given <em class="parameter"><code>value</code></em> and makes it the
@ -487,9 +487,9 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> on success or <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if there was no item for
this value.
@ -502,13 +502,13 @@ href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634221"></a><h3>
<a name="id2634634"></a><h3>
<a name="gimp-int-combo-box-get-active"></a>gimp_int_combo_box_get_active ()</h3>
<a class="indexterm" name="id2634237"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
<a class="indexterm" name="id2634649"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_combo_box_get_active (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *value);</pre>
<p>
Retrieves the value of the selected (active) item in the <em class="parameter"><code>combo_box</code></em>.</p>
@ -531,9 +531,9 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> has been set or <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if no item was
active.
@ -546,19 +546,19 @@ href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634366"></a><h3>
<a name="id2634777"></a><h3>
<a name="gimp-int-combo-box-connect"></a>gimp_int_combo_box_connect ()</h3>
<a class="indexterm" name="id2634380"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gulong"
<a class="indexterm" name="id2634791"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
>gulong</a> gimp_int_combo_box_connect (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../gobject/gobject-Closures.html#GCallback"
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
A convenience function that sets the inital <em class="parameter"><code>value</code></em> of a
@ -570,7 +570,7 @@ This function also calls the <em class="parameter"><code>callback</code></em> on
initial <em class="parameter"><code>value</code></em>. This is often convenient when working with combo
boxes that select a default active item, like for example
<a
href="../libgimp/libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new"
href="/usr/share/gtk-doc/html/libgimp/libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new"
><code class="function">gimp_drawable_combo_box_new()</code></a>. If you pass an invalid initial
<em class="parameter"><code>value</code></em>, the <em class="parameter"><code>callback</code></em> will be called with the default item active.</p>
<p>
@ -597,14 +597,14 @@ href="../libgimp/libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new"
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></p></td>
<td> a pointer passed as data to <a
href="../gobject/gobject-Signals.html#g-signal-connect"
href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> the signal handler ID as returned by <a
href="../gobject/gobject-Signals.html#g-signal-connect"
href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>
</td>
@ -616,15 +616,15 @@ href="../gobject/gobject-Signals.html#g-signal-connect"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634605"></a><h3>
<a name="id2635016"></a><h3>
<a name="gimp-int-combo-box-set-sensitivity"></a>gimp_int_combo_box_set_sensitivity ()</h3>
<a class="indexterm" name="id2634621"></a><pre class="programlisting">void gimp_int_combo_box_set_sensitivity (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="indexterm" name="id2635033"></a><pre class="programlisting">void gimp_int_combo_box_set_sensitivity (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc">GimpIntSensitivityFunc</a> func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a
href="../glib/glib-Datasets.html#GDestroyNotify"
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);</pre>
<p>
Sets a function that is used to decide about the sensitivity of
@ -633,7 +633,7 @@ insensitive.
</p>
<p>
Calling <a
href="../gtk/GtkWidget.html#gtk-widget-queue-draw"
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-queue-draw"
><code class="function">gtk_widget_queue_draw()</code></a> on the <em class="parameter"><code>combo_box</code></em> will cause the
sensitivity to be updated.</p>
<p>
@ -650,7 +650,7 @@ sensitivity to be updated.</p>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></p></td>
<td> a function that returns a boolean value, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to unset
</td>
</tr>
@ -671,12 +671,12 @@ href="../glib/glib-Standard-Macros.html#NULL:CAPS"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2634799"></a><h2>Property Details</h2>
<a name="id2635211"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2634810"></a><h3>
<a name="GimpIntComboBox--ellipsize"></a>The "<code class="literal">ellipsize</code>" property</h3>
<a class="indexterm" name="id2634824"></a><pre class="programlisting"> "ellipsize" <a
href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"
<a name="id2635221"></a><h3>
<a name="GimpIntComboBox--ellipsize"></a>The <code class="literal">"ellipsize"</code> property</h3>
<a class="indexterm" name="id2635235"></a><pre class="programlisting"> "ellipsize" <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write</pre>
<p>
Specifies the preferred place to ellipsize text in the combo-box,
@ -690,6 +690,11 @@ entire string.</p>
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2635275"></a><div class="refsect2" lang="en"><a name="id2635276"></a></div>
<hr>
<div class="refsect2" lang="en"><a name="id2635277"></a></div>
</div>
</div>
</body>
</html>