Imported Upstream version 2.2.12
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
@ -7,7 +8,7 @@
|
||||
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="prev" href="GimpFrame.html" title="GimpFrame">
|
||||
<link rel="next" href="GimpIntStore.html" title="GimpIntStore">
|
||||
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
|
||||
@ -19,42 +20,43 @@
|
||||
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
<tr valign="middle">
|
||||
<td><a accesskey="p" href="GimpFrame.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="u" href="libgimpwidgets-widgets.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">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></table>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</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><span class="refentrytitle">GimpIntComboBox</span></h2>
|
||||
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpIntComboBox</span></h2>
|
||||
<p>GimpIntComboBox — A widget providing a popup menu of integer values (e.g. enums).</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
|
||||
<a href="GimpIntComboBox.html#GimpIntComboBox-struct">GimpIntComboBox</a>;
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpIntComboBox.html#gimp-int-combo-box-new">gimp_int_combo_box_new</a> (const gchar *first_label,
|
||||
GtkWidget* <a href="GimpIntComboBox.html#gimp-int-combo-box-new">gimp_int_combo_box_new</a> (const gchar *first_label,
|
||||
gint first_value,
|
||||
...);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpIntComboBox.html#gimp-int-combo-box-new-valist">gimp_int_combo_box_new_valist</a> (const gchar *first_label,
|
||||
GtkWidget* <a href="GimpIntComboBox.html#gimp-int-combo-box-new-valist">gimp_int_combo_box_new_valist</a> (const gchar *first_label,
|
||||
gint first_value,
|
||||
va_list values);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpIntComboBox.html#gimp-int-combo-box-new-array">gimp_int_combo_box_new_array</a> (gint n_values,
|
||||
GtkWidget* <a href="GimpIntComboBox.html#gimp-int-combo-box-new-array">gimp_int_combo_box_new_array</a> (gint n_values,
|
||||
const gchar *labels[]);
|
||||
void <a href="GimpIntComboBox.html#gimp-int-combo-box-prepend">gimp_int_combo_box_prepend</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
...);
|
||||
@ -72,61 +74,46 @@ gulong <a href="GimpIntComboBox.html#gimp-int-combo-box-connect">gimp_int_c
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2519480"></a><h2>Object Hierarchy</h2>
|
||||
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----<a
|
||||
href="../gtk/GtkObject.html"
|
||||
>GtkObject</a>
|
||||
+----<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="../gtk/GtkContainer.html"
|
||||
>GtkContainer</a>
|
||||
+----<a
|
||||
href="../gtk/GtkBin.html"
|
||||
>GtkBin</a>
|
||||
+----<a
|
||||
href="../gtk/GtkComboBox.html"
|
||||
>GtkComboBox</a>
|
||||
+----GimpIntComboBox
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkBin
|
||||
+----GtkComboBox
|
||||
+----GimpIntComboBox
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2519530"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpIntComboBox implements
|
||||
AtkImplementorIface, <a
|
||||
href="../gtk/GtkCellEditable.html"
|
||||
>GtkCellEditable</a> and <a
|
||||
href="../gtk/GtkCellLayout.html"
|
||||
>GtkCellLayout</a>.</p>
|
||||
AtkImplementorIface, GtkCellEditable and GtkCellLayout.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2519559"></a><h2>Description</h2>
|
||||
<a name="desc"></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="id2519571"></a><h2>Details</h2>
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2519578"></a><h3>
|
||||
<a name="id2524774"></a><h3>
|
||||
<a name="GimpIntComboBox-struct"></a>GimpIntComboBox</h3>
|
||||
<a class="indexterm" name="id2519587"></a><pre class="programlisting">typedef struct _GimpIntComboBox GimpIntComboBox;</pre>
|
||||
<a class="indexterm" name="id2524785"></a><pre class="programlisting">typedef struct _GimpIntComboBox GimpIntComboBox;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2519603"></a><h3>
|
||||
<a name="id2524801"></a><h3>
|
||||
<a name="gimp-int-combo-box-new"></a>gimp_int_combo_box_new ()</h3>
|
||||
<a class="indexterm" name="id2563417"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_int_combo_box_new (const gchar *first_label,
|
||||
<a class="indexterm" name="id2524814"></a><pre class="programlisting">GtkWidget* gimp_int_combo_box_new (const gchar *first_label,
|
||||
gint first_value,
|
||||
...);</pre>
|
||||
<p>
|
||||
@ -171,11 +158,9 @@ terminated list of label/value pairs.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2563540"></a><h3>
|
||||
<a name="id2524943"></a><h3>
|
||||
<a name="gimp-int-combo-box-new-valist"></a>gimp_int_combo_box_new_valist ()</h3>
|
||||
<a class="indexterm" name="id2563551"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_int_combo_box_new_valist (const gchar *first_label,
|
||||
<a class="indexterm" name="id2524957"></a><pre class="programlisting">GtkWidget* gimp_int_combo_box_new_valist (const gchar *first_label,
|
||||
gint first_value,
|
||||
va_list values);</pre>
|
||||
<p>
|
||||
@ -219,11 +204,9 @@ label/value pairs. Probably only useful for language bindings.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2564499"></a><h3>
|
||||
<a name="id2529799"></a><h3>
|
||||
<a name="gimp-int-combo-box-new-array"></a>gimp_int_combo_box_new_array ()</h3>
|
||||
<a class="indexterm" name="id2564509"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_int_combo_box_new_array (gint n_values,
|
||||
<a class="indexterm" name="id2529815"></a><pre class="programlisting">GtkWidget* gimp_int_combo_box_new_array (gint n_values,
|
||||
const gchar *labels[]);</pre>
|
||||
<p>
|
||||
A variant of <a href="GimpIntComboBox.html#gimp-int-combo-box-new"><code class="function">gimp_int_combo_box_new()</code></a> that takes an array of labels.
|
||||
@ -260,16 +243,14 @@ The array indices are used as values.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2564618"></a><h3>
|
||||
<a name="id2529924"></a><h3>
|
||||
<a name="gimp-int-combo-box-prepend"></a>gimp_int_combo_box_prepend ()</h3>
|
||||
<a class="indexterm" name="id2564628"></a><pre class="programlisting">void gimp_int_combo_box_prepend (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
<a class="indexterm" name="id2529939"></a><pre class="programlisting">void gimp_int_combo_box_prepend (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
...);</pre>
|
||||
<p>
|
||||
This function provides a convenient way to prepend items to a
|
||||
<a 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"
|
||||
><code class="function">gtk_list_store_set()</code></a> for you.
|
||||
and calls <code class="function">gtk_list_store_set()</code> for you.
|
||||
</p>
|
||||
<p>
|
||||
The column number must be taken from the enum <a href="GimpIntStore.html#GimpIntStoreColumns"><span class="type">GimpIntStoreColumns</span></a>.</p>
|
||||
@ -298,16 +279,14 @@ The column number must be taken from the enum <a href="GimpIntStore.html#GimpInt
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2564740"></a><h3>
|
||||
<a name="id2575303"></a><h3>
|
||||
<a name="gimp-int-combo-box-append"></a>gimp_int_combo_box_append ()</h3>
|
||||
<a class="indexterm" name="id2564749"></a><pre class="programlisting">void gimp_int_combo_box_append (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
<a class="indexterm" name="id2575316"></a><pre class="programlisting">void gimp_int_combo_box_append (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
...);</pre>
|
||||
<p>
|
||||
This function provides a convenient way to append items to a
|
||||
<a 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"
|
||||
><code class="function">gtk_list_store_set()</code></a> for you.
|
||||
and calls <code class="function">gtk_list_store_set()</code> for you.
|
||||
</p>
|
||||
<p>
|
||||
The column number must be taken from the enum <a href="GimpIntStore.html#GimpIntStoreColumns"><span class="type">GimpIntStoreColumns</span></a>.</p>
|
||||
@ -336,9 +315,9 @@ The column number must be taken from the enum <a href="GimpIntStore.html#GimpInt
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2566997"></a><h3>
|
||||
<a name="id2575422"></a><h3>
|
||||
<a name="gimp-int-combo-box-set-active"></a>gimp_int_combo_box_set_active ()</h3>
|
||||
<a class="indexterm" name="id2567007"></a><pre class="programlisting">gboolean gimp_int_combo_box_set_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
<a class="indexterm" name="id2575438"></a><pre class="programlisting">gboolean gimp_int_combo_box_set_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
gint value);</pre>
|
||||
<p>
|
||||
Looks up the item that belongs to the given <em class="parameter"><code>value</code></em> and makes it the
|
||||
@ -376,9 +355,9 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567099"></a><h3>
|
||||
<a name="id2575564"></a><h3>
|
||||
<a name="gimp-int-combo-box-get-active"></a>gimp_int_combo_box_get_active ()</h3>
|
||||
<a class="indexterm" name="id2567109"></a><pre class="programlisting">gboolean gimp_int_combo_box_get_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
<a class="indexterm" name="id2575580"></a><pre class="programlisting">gboolean gimp_int_combo_box_get_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
gint *value);</pre>
|
||||
<p>
|
||||
Retrieves the value of the selected (active) item in the <em class="parameter"><code>combo_box</code></em>.</p>
|
||||
@ -415,9 +394,9 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2567216"></a><h3>
|
||||
<a name="id2575707"></a><h3>
|
||||
<a name="gimp-int-combo-box-connect"></a>gimp_int_combo_box_connect ()</h3>
|
||||
<a class="indexterm" name="id2567225"></a><pre class="programlisting">gulong gimp_int_combo_box_connect (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
<a class="indexterm" name="id2575721"></a><pre class="programlisting">gulong gimp_int_combo_box_connect (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
|
||||
gint value,
|
||||
GCallback callback,
|
||||
gpointer data);</pre>
|
||||
@ -476,9 +455,5 @@ gimp_drawable_combo_box_new). If you pass an invalid initial
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
|
||||
<td align="left"><a accesskey="p" href="GimpFrame.html"><b><< GimpFrame</b></a></td>
|
||||
<td align="right"><a accesskey="n" href="GimpIntStore.html"><b>GimpIntStore >></b></a></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user