Imported Upstream version 2.4.0~rc1

This commit is contained in:
Ari Pollak
2010-08-11 01:22:21 -04:00
parent 5516c26b4b
commit d884b2912c
672 changed files with 122964 additions and 82169 deletions

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpButton.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="#id2564877" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2560642" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2589648" class="shortcut">Description</a>
<a href="#id2570871" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2577343" class="shortcut">Object Hierarchy</a>
<a href="#id2594116" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2589602" class="shortcut">Implemented Interfaces</a>
<a href="#id2594176" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2589622" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2570846" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpBrowser"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2564877"></a><span class="refentrytitle">GimpBrowser</span>
<a name="id2560642"></a><span class="refentrytitle">GimpBrowser</span>
</h2>
<p>GimpBrowser</p>
</td>
@ -61,66 +61,92 @@
<a href="GimpBrowser.html#GimpBrowser-struct">GimpBrowser</a>;
GtkWidget* <a href="GimpBrowser.html#gimp-browser-new">gimp_browser_new</a> (void);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpBrowser.html#gimp-browser-new">gimp_browser_new</a> (void);
void <a href="GimpBrowser.html#gimp-browser-add-search-types">gimp_browser_add_search_types</a> (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *first_type_label,
gint first_type_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_type_label,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> first_type_id,
...);
void <a href="GimpBrowser.html#gimp-browser-set-widget">gimp_browser_set_widget</a> (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
GtkWidget *widget);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget);
void <a href="GimpBrowser.html#gimp-browser-show-message">gimp_browser_show_message</a> (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *message);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2577343"></a><h2>Object Hierarchy</h2>
<a name="id2594116"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkPaned
+----GtkHPaned
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkPaned.html"
>GtkPaned</a>
+----<a
href="../gtk/GtkHPaned.html"
>GtkHPaned</a>
+----GimpBrowser
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2589602"></a><h2>Implemented Interfaces</h2>
<a name="id2594176"></a><h2>Implemented Interfaces</h2>
<p>
GimpBrowser implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2589622"></a><h2>Signals</h2>
<a name="id2570846"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpBrowser.html#GimpBrowser-search">search</a>" : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2589648"></a><h2>Description</h2>
<a name="id2570871"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2589664"></a><h2>Details</h2>
<a name="id2570887"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2589674"></a><h3>
<a name="id2570898"></a><h3>
<a name="GimpBrowser-struct"></a>GimpBrowser</h3>
<a class="indexterm" name="id2589687"></a><pre class="programlisting">typedef struct _GimpBrowser GimpBrowser;</pre>
<a class="indexterm" name="id2570910"></a><pre class="programlisting">typedef struct _GimpBrowser GimpBrowser;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2589702"></a><h3>
<a name="id2570925"></a><h3>
<a name="gimp-browser-new"></a>gimp_browser_new ()</h3>
<a class="indexterm" name="id2589717"></a><pre class="programlisting">GtkWidget* gimp_browser_new (void);</pre>
<a class="indexterm" name="id2570940"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_browser_new (void);</pre>
<p>
Create a new <a href="GimpBrowser.html" title="GimpBrowser"><span class="type">GimpBrowser</span></a> widget.</p>
<p>
@ -140,14 +166,20 @@ Create a new <a href="GimpBrowser.html" title="GimpBrowser"><span class="type">G
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2555982"></a><h3>
<a name="id2574691"></a><h3>
<a name="gimp-browser-add-search-types"></a>gimp_browser_add_search_types ()</h3>
<a class="indexterm" name="id2555995"></a><pre class="programlisting">void gimp_browser_add_search_types (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *first_type_label,
gint first_type_id,
<a class="indexterm" name="id2574704"></a><pre class="programlisting">void gimp_browser_add_search_types (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_type_label,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> first_type_id,
...);</pre>
<p>
Populates the <span class="type">GtkComboBox</span> with search types.</p>
Populates the <a
href="../gtk/GtkComboBox.html"
><span class="type">GtkComboBox</span></a> with search types.</p>
<p>
</p>
@ -171,7 +203,9 @@ Populates the <span class="type">GtkComboBox</span> with search types.</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td> a <code class="literal">NULL</code>-terminated list of more labels and ids.
<td> a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated list of more labels and ids.
</td>
</tr>
</tbody>
@ -181,10 +215,12 @@ Populates the <span class="type">GtkComboBox</span> with search types.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2556134"></a><h3>
<a name="id2574844"></a><h3>
<a name="gimp-browser-set-widget"></a>gimp_browser_set_widget ()</h3>
<a class="indexterm" name="id2556148"></a><pre class="programlisting">void gimp_browser_set_widget (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
GtkWidget *widget);</pre>
<a class="indexterm" name="id2574857"></a><pre class="programlisting">void gimp_browser_set_widget (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget);</pre>
<p>
Sets the widget to appear on the right side of the <em class="parameter"><code>browser</code></em>.</p>
<p>
@ -200,7 +236,9 @@ Sets the widget to appear on the right side of the <em class="parameter"><code>b
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> a <span class="type">GtkWidget</span>
<td> a <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a>
</td>
</tr>
</tbody>
@ -210,14 +248,20 @@ Sets the widget to appear on the right side of the <em class="parameter"><code>b
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2514882"></a><h3>
<a name="id2515042"></a><h3>
<a name="gimp-browser-show-message"></a>gimp_browser_show_message ()</h3>
<a class="indexterm" name="id2514895"></a><pre class="programlisting">void gimp_browser_show_message (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *message);</pre>
<a class="indexterm" name="id2515056"></a><pre class="programlisting">void gimp_browser_show_message (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message);</pre>
<p>
Displays <em class="parameter"><code>message</code></em> in the right side of the <em class="parameter"><code>browser</code></em>. Unless the right
side already contains a <span class="type">GtkLabel</span>, the widget previously added with
<a href="GimpBrowser.html#gimp-browser-set-widget"><code class="function">gimp_browser_set_widget()</code></a> is removed and replaced by a <span class="type">GtkLabel</span>.</p>
side already contains a <a
href="../gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a>, the widget previously added with
<a href="GimpBrowser.html#gimp-browser-set-widget"><code class="function">gimp_browser_set_widget()</code></a> is removed and replaced by a <a
href="../gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a>.</p>
<p>
</p>
@ -241,14 +285,20 @@ side already contains a <span class="type">GtkLabel</span>, the widget previousl
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2515017"></a><h2>Signal Details</h2>
<a name="id2515177"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2515028"></a><h3>
<a name="id2515188"></a><h3>
<a name="GimpBrowser-search"></a>The "search" signal</h3>
<a class="indexterm" name="id2515037"></a><pre class="programlisting">void user_function (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *gimpbrowser,
gchar *arg1,
gint arg2,
gpointer user_data) : Run Last</pre>
<a class="indexterm" name="id2515197"></a><pre class="programlisting">void user_function (<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *gimpbrowser,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *arg1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>

View File

@ -33,24 +33,26 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpChainButton.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="#id2568120" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2562202" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2595022" class="shortcut">Description</a>
<a href="#id2571459" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2577077" class="shortcut">Object Hierarchy</a>
<a href="#id2560284" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2594976" class="shortcut">Implemented Interfaces</a>
<a href="#id2571412" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2594997" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2571434" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpButton"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2568120"></a><span class="refentrytitle">GimpButton</span>
<a name="id2562202"></a><span class="refentrytitle">GimpButton</span>
</h2>
<p>GimpButton &#8212; A <span class="type">GtkButton</span> with a little extra functionality.</p>
<p>GimpButton &#8212; A <a
href="../gtk/GtkButton.html"
><span class="type">GtkButton</span></a> with a little extra functionality.</p>
</td>
<td valign="top" align="right"><img src="gimp-button.png"></td>
</tr></table></div>
@ -61,63 +63,85 @@
<a href="GimpButton.html#GimpButton-struct">GimpButton</a>;
GtkWidget* <a href="GimpButton.html#gimp-button-new">gimp_button_new</a> (void);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpButton.html#gimp-button-new">gimp_button_new</a> (void);
void <a href="GimpButton.html#gimp-button-extended-clicked">gimp_button_extended_clicked</a> (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
GdkModifierType state);
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2577077"></a><h2>Object Hierarchy</h2>
<a name="id2560284"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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/GtkButton.html"
>GtkButton</a>
+----GimpButton
+----<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2594976"></a><h2>Implemented Interfaces</h2>
<a name="id2571412"></a><h2>Implemented Interfaces</h2>
<p>
GimpButton implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2594997"></a><h2>Signals</h2>
<a name="id2571434"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpButton.html#GimpButton-extended-clicked">extended-clicked</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2595022"></a><h2>Description</h2>
<a name="id2571459"></a><h2>Description</h2>
<p>
<a href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <span class="type">GtkButton</span> widget that allows
<a href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <a
href="../gtk/GtkButton.html"
><span class="type">GtkButton</span></a> widget that allows
to distinguish a normal click from a click that was performed with
modifier keys pressed.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2586538"></a><h2>Details</h2>
<a name="id2584950"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2586549"></a><h3>
<a name="id2584960"></a><h3>
<a name="GimpButton-struct"></a>GimpButton</h3>
<a class="indexterm" name="id2586562"></a><pre class="programlisting">typedef struct _GimpButton GimpButton;</pre>
<a class="indexterm" name="id2584973"></a><pre class="programlisting">typedef struct _GimpButton GimpButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2586577"></a><h3>
<a name="id2584988"></a><h3>
<a name="gimp-button-new"></a>gimp_button_new ()</h3>
<a class="indexterm" name="id2586589"></a><pre class="programlisting">GtkWidget* gimp_button_new (void);</pre>
<a class="indexterm" name="id2585000"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_button_new (void);</pre>
<p>
Creates a new <a href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.</p>
<p>
@ -134,10 +158,12 @@ Creates a new <a href="GimpButton.html" title="GimpButton"><span class="type">Gi
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2586644"></a><h3>
<a name="id2585055"></a><h3>
<a name="gimp-button-extended-clicked"></a>gimp_button_extended_clicked ()</h3>
<a class="indexterm" name="id2586655"></a><pre class="programlisting">void gimp_button_extended_clicked (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
GdkModifierType state);</pre>
<a class="indexterm" name="id2585066"></a><pre class="programlisting">void gimp_button_extended_clicked (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);</pre>
<p>
Emits the button's "extended_clicked" signal.</p>
<p>
@ -153,7 +179,9 @@ Emits the button's "extended_clicked" signal.</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>state</code></em>&#160;:</span></td>
<td> a state as found in <span class="type">GdkEventButton-</span>&gt;state, e.g. <span class="type">GDK_SHIFT_MASK</span>.
<td> a state as found in <span class="type">GdkEventButton-</span>&gt;state, e.g. <a
href="../gdk/gdk-Windows.html#GDK-SHIFT-MASK:CAPS"
><span class="type">GDK_SHIFT_MASK</span></a>.
</td>
</tr>
</tbody>
@ -161,13 +189,17 @@ Emits the button's "extended_clicked" signal.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2574951"></a><h2>Signal Details</h2>
<a name="id2575133"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2574962"></a><h3>
<a name="id2575144"></a><h3>
<a name="GimpButton-extended-clicked"></a>The "extended-clicked" signal</h3>
<a class="indexterm" name="id2574970"></a><pre class="programlisting">void user_function (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *gimpbutton,
GdkModifierType arg1,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2575152"></a><pre class="programlisting">void user_function (<a href="GimpButton.html" title="GimpButton">GimpButton</a> *gimpbutton,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,20 +33,20 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpCellRendererToggle.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="#id2580229" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585494" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2622740" class="shortcut">Description</a>
<a href="#id2637442" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2580392" class="shortcut">Object Hierarchy</a>
<a href="#id2616209" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2633557" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2637389" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpCellRendererColor"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2580229"></a><span class="refentrytitle">GimpCellRendererColor</span>
<a name="id2585494"></a><span class="refentrytitle">GimpCellRendererColor</span>
</h2>
<p>GimpCellRendererColor</p>
</td>
@ -59,55 +59,73 @@
<a href="GimpCellRendererColor.html#GimpCellRendererColor-struct">GimpCellRendererColor</a>;
GtkCellRenderer* <a href="GimpCellRendererColor.html#gimp-cell-renderer-color-new">gimp_cell_renderer_color_new</a> (void);
<a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* <a href="GimpCellRendererColor.html#gimp-cell-renderer-color-new">gimp_cell_renderer_color_new</a> (void);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2580392"></a><h2>Object Hierarchy</h2>
<a name="id2616209"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkCellRenderer
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>
+----GimpCellRendererColor
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2633557"></a><h2>Properties</h2>
<a name="id2637389"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpCellRendererColor.html#GimpCellRendererColor--color">color</a>" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> : Read / Write
"<a href="GimpCellRendererColor.html#GimpCellRendererColor--icon-size">icon-size</a>" gint : Read / Write / Construct
"<a href="GimpCellRendererColor.html#GimpCellRendererColor--opaque">opaque</a>" gboolean : Read / Write / Construct
"<a href="GimpCellRendererColor.html#GimpCellRendererColor--icon-size">icon-size</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct
"<a href="GimpCellRendererColor.html#GimpCellRendererColor--opaque">opaque</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2622740"></a><h2>Description</h2>
<a name="id2637442"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2622756"></a><h2>Details</h2>
<a name="id2637458"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2622766"></a><h3>
<a name="id2622804"></a><h3>
<a name="GimpCellRendererColor-struct"></a>GimpCellRendererColor</h3>
<a class="indexterm" name="id2622778"></a><pre class="programlisting">typedef struct _GimpCellRendererColor GimpCellRendererColor;</pre>
<a class="indexterm" name="id2622816"></a><pre class="programlisting">typedef struct _GimpCellRendererColor GimpCellRendererColor;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633716"></a><h3>
<a name="id2622832"></a><h3>
<a name="gimp-cell-renderer-color-new"></a>gimp_cell_renderer_color_new ()</h3>
<a class="indexterm" name="id2633730"></a><pre class="programlisting">GtkCellRenderer* gimp_cell_renderer_color_new (void);</pre>
<a class="indexterm" name="id2622845"></a><pre class="programlisting"><a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* gimp_cell_renderer_color_new (void);</pre>
<p>
Creates a <span class="type">GtkCellRenderer</span> that displays a color.</p>
Creates a <a
href="../gtk/GtkCellRenderer.html"
><span class="type">GtkCellRenderer</span></a> that displays a color.</p>
<p>
</p>
@ -125,29 +143,33 @@ Creates a <span class="type">GtkCellRenderer</span> that displays a color.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2633932"></a><h2>Property Details</h2>
<a name="id2637229"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2633942"></a><h3>
<a name="id2637240"></a><h3>
<a name="GimpCellRendererColor--color"></a>The "<code class="literal">color</code>" property</h3>
<a class="indexterm" name="id2633956"></a><pre class="programlisting"> "color" <a
<a class="indexterm" name="id2637254"></a><pre class="programlisting"> "color" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> : Read / Write</pre>
<p></p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633976"></a><h3>
<a name="id2637273"></a><h3>
<a name="GimpCellRendererColor--icon-size"></a>The "<code class="literal">icon-size</code>" property</h3>
<a class="indexterm" name="id2633990"></a><pre class="programlisting"> "icon-size" gint : Read / Write / Construct</pre>
<a class="indexterm" name="id2637287"></a><pre class="programlisting"> "icon-size" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct</pre>
<p></p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634017"></a><h3>
<a name="id2637315"></a><h3>
<a name="GimpCellRendererColor--opaque"></a>The "<code class="literal">opaque</code>" property</h3>
<a class="indexterm" name="id2623131"></a><pre class="programlisting"> "opaque" gboolean : Read / Write / Construct</pre>
<a class="indexterm" name="id2637330"></a><pre class="programlisting"> "opaque" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: TRUE</p>
</div>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-colordisplay.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="#id2576002" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2568666" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2634343" class="shortcut">Description</a>
<a href="#id2642884" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2634227" class="shortcut">Object Hierarchy</a>
<a href="#id2642769" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2634276" class="shortcut">Properties</a>
<a href="#id2642817" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2634318" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2642860" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpCellRendererToggle"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2576002"></a><span class="refentrytitle">GimpCellRendererToggle</span>
<a name="id2568666"></a><span class="refentrytitle">GimpCellRendererToggle</span>
</h2>
<p>GimpCellRendererToggle</p>
</td>
@ -61,63 +61,91 @@
<a href="GimpCellRendererToggle.html#GimpCellRendererToggle-struct">GimpCellRendererToggle</a>;
GtkCellRenderer* <a href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-new">gimp_cell_renderer_toggle_new</a> (const gchar *stock_id);
<a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* <a href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-new">gimp_cell_renderer_toggle_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);
void <a href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-clicked">gimp_cell_renderer_toggle_clicked</a> (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const gchar *path,
GdkModifierType state);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634227"></a><h2>Object Hierarchy</h2>
<a name="id2642769"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkCellRenderer
+----GtkCellRendererToggle
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>
+----<a
href="../gtk/GtkCellRendererToggle.html"
>GtkCellRendererToggle</a>
+----GimpCellRendererToggle
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634276"></a><h2>Properties</h2>
<a name="id2642817"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-id">stock-id</a>" gchararray : Read / Write / Construct
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-size">stock-size</a>" gint : Read / Write / Construct
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-id">stock-id</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-size">stock-size</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634318"></a><h2>Signals</h2>
<a name="id2642860"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpCellRendererToggle.html#GimpCellRendererToggle-clicked">clicked</a>" : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2634343"></a><h2>Description</h2>
<a name="id2642884"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2634359"></a><h2>Details</h2>
<a name="id2642900"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2631350"></a><h3>
<a name="id2642911"></a><h3>
<a name="GimpCellRendererToggle-struct"></a>GimpCellRendererToggle</h3>
<a class="indexterm" name="id2631362"></a><pre class="programlisting">typedef struct _GimpCellRendererToggle GimpCellRendererToggle;</pre>
<a class="indexterm" name="id2642922"></a><pre class="programlisting">typedef struct _GimpCellRendererToggle GimpCellRendererToggle;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631378"></a><h3>
<a name="id2642938"></a><h3>
<a name="gimp-cell-renderer-toggle-new"></a>gimp_cell_renderer_toggle_new ()</h3>
<a class="indexterm" name="id2631392"></a><pre class="programlisting">GtkCellRenderer* gimp_cell_renderer_toggle_new (const gchar *stock_id);</pre>
<a class="indexterm" name="id2642952"></a><pre class="programlisting"><a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* gimp_cell_renderer_toggle_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);</pre>
<p>
Creates a custom version of the <span class="type">GtkCellRendererToggle</span>. Instead of
Creates a custom version of the <a
href="../gtk/GtkCellRendererToggle.html"
><span class="type">GtkCellRendererToggle</span></a>. Instead of
showing the standard toggle button, it shows a stock icon if the
cell is active and no icon otherwise. This cell renderer is for
example used in the Layers treeview to indicate and control the
@ -146,11 +174,15 @@ layer's visibility by showing <a href="libgimpwidgets-GimpStock.html#GIMP-STOCK-
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631486"></a><h3>
<a name="id2636541"></a><h3>
<a name="gimp-cell-renderer-toggle-clicked"></a>gimp_cell_renderer_toggle_clicked ()</h3>
<a class="indexterm" name="id2631499"></a><pre class="programlisting">void gimp_cell_renderer_toggle_clicked (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const gchar *path,
GdkModifierType state);</pre>
<a class="indexterm" name="id2636555"></a><pre class="programlisting">void gimp_cell_renderer_toggle_clicked (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);</pre>
<p>
Emits the "clicked" signal from a <a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle"><span class="type">GimpCellRendererToggle</span></a>.</p>
<p>
@ -181,33 +213,43 @@ Emits the "clicked" signal from a <a href="GimpCellRendererToggle.html" title="G
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2631612"></a><h2>Property Details</h2>
<a name="id2636668"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2631623"></a><h3>
<a name="id2636678"></a><h3>
<a name="GimpCellRendererToggle--stock-id"></a>The "<code class="literal">stock-id</code>" property</h3>
<a class="indexterm" name="id2631637"></a><pre class="programlisting"> "stock-id" gchararray : Read / Write / Construct</pre>
<a class="indexterm" name="id2636692"></a><pre class="programlisting"> "stock-id" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631660"></a><h3>
<a name="id2636716"></a><h3>
<a name="GimpCellRendererToggle--stock-size"></a>The "<code class="literal">stock-size</code>" property</h3>
<a class="indexterm" name="id2631674"></a><pre class="programlisting"> "stock-size" gint : Read / Write / Construct</pre>
<a class="indexterm" name="id2636731"></a><pre class="programlisting"> "stock-size" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct</pre>
<p></p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 4</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2631703"></a><h2>Signal Details</h2>
<a name="id2636761"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2631714"></a><h3>
<a name="id2641626"></a><h3>
<a name="GimpCellRendererToggle-clicked"></a>The "clicked" signal</h3>
<a class="indexterm" name="id2630903"></a><pre class="programlisting">void user_function (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *gimpcellrenderertoggle,
gchar *arg1,
GdkModifierType arg2,
gpointer user_data) : Run Last</pre>
<a class="indexterm" name="id2641636"></a><pre class="programlisting">void user_function (<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *gimpcellrenderertoggle,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *arg1,
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>

View File

@ -33,24 +33,24 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorArea.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="#id2583849" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2579084" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2597152" class="shortcut">Description</a>
<a href="#id2592449" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2589503" class="shortcut">Object Hierarchy</a>
<a href="#id2590376" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2589558" class="shortcut">Implemented Interfaces</a>
<a href="#id2590431" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2589580" class="shortcut">Properties</a>
<a href="#id2590452" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2597127" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2592424" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpChainButton"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583849"></a><span class="refentrytitle">GimpChainButton</span>
<a name="id2579084"></a><span class="refentrytitle">GimpChainButton</span>
</h2>
<p>GimpChainButton &#8212; Widget to visually connect two entry widgets.</p>
</td>
@ -64,48 +64,66 @@
<a href="GimpChainButton.html#GimpChainButton-struct">GimpChainButton</a>;
enum <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a>;
GtkWidget* <a href="GimpChainButton.html#gimp-chain-button-new">gimp_chain_button_new</a> (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpChainButton.html#gimp-chain-button-new">gimp_chain_button_new</a> (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);
void <a href="GimpChainButton.html#gimp-chain-button-set-active">gimp_chain_button_set_active</a> (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
gboolean active);
gboolean <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_chain_button_get_active</a> (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> active);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpChainButton.html#gimp-chain-button-get-active">gimp_chain_button_get_active</a> (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2589503"></a><h2>Object Hierarchy</h2>
<a name="id2590376"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkTable
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkTable.html"
>GtkTable</a>
+----GimpChainButton
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2589558"></a><h2>Implemented Interfaces</h2>
<a name="id2590431"></a><h2>Implemented Interfaces</h2>
<p>
GimpChainButton implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2589580"></a><h2>Properties</h2>
<a name="id2590452"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpChainButton.html#GimpChainButton--position">position</a>" <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2597127"></a><h2>Signals</h2>
<a name="id2592424"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpChainButton.html#GimpChainButton-toggled">toggled</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2597152"></a><h2>Description</h2>
<a name="id2592449"></a><h2>Description</h2>
<p>
This widget provides a button showing either a linked or a broken
chain that can be used to link two entries, spinbuttons, colors
@ -122,20 +140,20 @@ necessary.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2597195"></a><h2>Details</h2>
<a name="id2592492"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2597206"></a><h3>
<a name="id2592503"></a><h3>
<a name="GimpChainButton-struct"></a>GimpChainButton</h3>
<a class="indexterm" name="id2597217"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
<a class="indexterm" name="id2592514"></a><pre class="programlisting">typedef struct _GimpChainButton GimpChainButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2597234"></a><h3>
<a name="id2592531"></a><h3>
<a name="GimpChainPosition"></a>enum GimpChainPosition</h3>
<a class="indexterm" name="id2597246"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2592543"></a><pre class="programlisting">typedef enum
{
GIMP_CHAIN_TOP,
GIMP_CHAIN_LEFT,
@ -149,9 +167,11 @@ necessary.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2597263"></a><h3>
<a name="id2592560"></a><h3>
<a name="gimp-chain-button-new"></a>gimp_chain_button_new ()</h3>
<a class="indexterm" name="id2597274"></a><pre class="programlisting">GtkWidget* gimp_chain_button_new (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
<a class="indexterm" name="id2587885"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_chain_button_new (<a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> position);</pre>
<p>
Creates a new <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> widget.
</p>
@ -186,13 +206,19 @@ for more than two widgets, but the look is optimized for two.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585458"></a><h3>
<a name="id2587981"></a><h3>
<a name="gimp-chain-button-set-active"></a>gimp_chain_button_set_active ()</h3>
<a class="indexterm" name="id2585469"></a><pre class="programlisting">void gimp_chain_button_set_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
gboolean active);</pre>
<a class="indexterm" name="id2587992"></a><pre class="programlisting">void gimp_chain_button_set_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> active);</pre>
<p>
Sets the state of the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> to be either locked (<code class="literal">TRUE</code>) or
unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to reflect the new state.</p>
Sets the state of the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> to be either locked (<a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>) or
unlocked (<a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>) and changes the showed pixmap to reflect the new state.</p>
<p>
</p>
@ -214,9 +240,11 @@ unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to r
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585574"></a><h3>
<a name="id2588098"></a><h3>
<a name="gimp-chain-button-get-active"></a>gimp_chain_button_get_active ()</h3>
<a class="indexterm" name="id2585588"></a><pre class="programlisting">gboolean gimp_chain_button_get_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<a class="indexterm" name="id2588111"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_chain_button_get_active (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<p>
Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
<p>
@ -232,7 +260,9 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> is active (locked).
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> is active (locked).
</td>
</tr>
</tbody>
@ -240,11 +270,11 @@ Checks the state of the <a href="GimpChainButton.html" title="GimpChainButton"><
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2575211"></a><h2>Property Details</h2>
<a name="id2579948"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2575222"></a><h3>
<a name="id2579958"></a><h3>
<a name="GimpChainButton--position"></a>The "<code class="literal">position</code>" property</h3>
<a class="indexterm" name="id2575236"></a><pre class="programlisting"> "position" <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2579972"></a><pre class="programlisting"> "position" <a href="GimpChainButton.html#GimpChainPosition">GimpChainPosition</a> : Read / Write / Construct Only</pre>
<p>
The position in which the chain button will be used.</p>
<p>
@ -256,12 +286,14 @@ The position in which the chain button will be used.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2575273"></a><h2>Signal Details</h2>
<a name="id2580009"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2575284"></a><h3>
<a name="id2580020"></a><h3>
<a name="GimpChainButton-toggled"></a>The "toggled" signal</h3>
<a class="indexterm" name="id2575292"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2580028"></a><pre class="programlisting">void user_function (<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -283,7 +315,7 @@ The position in which the chain button will be used.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2575361"></a><h2>See Also</h2>
<a name="id2580097"></a><h2>See Also</h2>
<p>
You may want to use the convenience function <a href="libgimpwidgets-GimpWidgets.html#gimp-coordinates-new"><code class="function">gimp_coordinates_new()</code></a> to set
up two GimpSizeEntries (see <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>) linked with a <a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.

View File

@ -33,24 +33,24 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorButton.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="#id2591422" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2561214" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2571293" class="shortcut">Description</a>
<a href="#id2590204" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2590004" class="shortcut">Object Hierarchy</a>
<a href="#id2582667" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2571181" class="shortcut">Implemented Interfaces</a>
<a href="#id2590092" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2571202" class="shortcut">Properties</a>
<a href="#id2590114" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2571268" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2590179" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorArea"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2591422"></a><span class="refentrytitle">GimpColorArea</span>
<a name="id2561214"></a><span class="refentrytitle">GimpColorArea</span>
</h2>
<p>GimpColorArea &#8212; Displays a GimpRGB color, optionally with alpha-channel.</p>
</td>
@ -64,11 +64,15 @@
<a href="GimpColorArea.html#GimpColorArea-struct">GimpColorArea</a>;
enum <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a>;
GtkWidget* <a href="GimpColorArea.html#gimp-color-area-new">gimp_color_area_new</a> (const <a
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorArea.html#gimp-color-area-new">gimp_color_area_new</a> (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
<a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type,
GdkModifierType drag_mask);
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> drag_mask);
void <a href="GimpColorArea.html#gimp-color-area-set-color">gimp_color_area_set_color</a> (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -77,72 +81,90 @@ void <a href="GimpColorArea.html#gimp-color-area-get-color">gimp_
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
gboolean <a href="GimpColorArea.html#gimp-color-area-has-alpha">gimp_color_area_has_alpha</a> (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpColorArea.html#gimp-color-area-has-alpha">gimp_color_area_has_alpha</a> (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);
void <a href="GimpColorArea.html#gimp-color-area-set-type">gimp_color_area_set_type</a> (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);
void <a href="GimpColorArea.html#gimp-color-area-set-draw-border">gimp_color_area_set_draw_border</a> (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
gboolean draw_border);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> draw_border);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2590004"></a><h2>Object Hierarchy</h2>
<a name="id2582667"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpColorArea
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2571181"></a><h2>Implemented Interfaces</h2>
<a name="id2590092"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorArea implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2571202"></a><h2>Properties</h2>
<a name="id2590114"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpColorArea.html#GimpColorArea--color">color</a>" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> : Read / Write / Construct
"<a href="GimpColorArea.html#GimpColorArea--drag-mask">drag-mask</a>" GdkModifierType : Write / Construct Only
"<a href="GimpColorArea.html#GimpColorArea--draw-border">draw-border</a>" gboolean : Read / Write
"<a href="GimpColorArea.html#GimpColorArea--drag-mask">drag-mask</a>" <a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> : Write / Construct Only
"<a href="GimpColorArea.html#GimpColorArea--draw-border">draw-border</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GimpColorArea.html#GimpColorArea--type">type</a>" <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2571268"></a><h2>Signals</h2>
<a name="id2590179"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpColorArea.html#GimpColorArea-color-changed">color-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2571293"></a><h2>Description</h2>
<a name="id2590204"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2562608"></a><h2>Details</h2>
<a name="id2575610"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2562619"></a><h3>
<a name="id2575621"></a><h3>
<a name="GimpColorArea-struct"></a>GimpColorArea</h3>
<a class="indexterm" name="id2562631"></a><pre class="programlisting">typedef struct _GimpColorArea GimpColorArea;</pre>
<a class="indexterm" name="id2575632"></a><pre class="programlisting">typedef struct _GimpColorArea GimpColorArea;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562647"></a><h3>
<a name="id2575649"></a><h3>
<a name="GimpColorAreaType"></a>enum GimpColorAreaType</h3>
<a class="indexterm" name="id2562660"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2575661"></a><pre class="programlisting">typedef enum
{
GIMP_COLOR_AREA_FLAT = 0,
GIMP_COLOR_AREA_SMALL_CHECKS,
@ -155,13 +177,17 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562677"></a><h3>
<a name="id2575678"></a><h3>
<a name="gimp-color-area-new"></a>gimp_color_area_new ()</h3>
<a class="indexterm" name="id2562689"></a><pre class="programlisting">GtkWidget* gimp_color_area_new (const <a
<a class="indexterm" name="id2575691"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_area_new (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
<a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type,
GdkModifierType drag_mask);</pre>
<a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> drag_mask);</pre>
<p>
Creates a new <a href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a> widget.
</p>
@ -201,9 +227,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2562819"></a><h3>
<a name="id2575820"></a><h3>
<a name="gimp-color-area-set-color"></a>gimp_color_area_set_color ()</h3>
<a class="indexterm" name="id2562830"></a><pre class="programlisting">void gimp_color_area_set_color (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a class="indexterm" name="id2575832"></a><pre class="programlisting">void gimp_color_area_set_color (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -232,9 +258,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2596894"></a><h3>
<a name="id2572128"></a><h3>
<a name="gimp-color-area-get-color"></a>gimp_color_area_get_color ()</h3>
<a class="indexterm" name="id2596905"></a><pre class="programlisting">void gimp_color_area_get_color (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a class="indexterm" name="id2572139"></a><pre class="programlisting">void gimp_color_area_get_color (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -263,9 +289,11 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2596996"></a><h3>
<a name="id2572230"></a><h3>
<a name="gimp-color-area-has-alpha"></a>gimp_color_area_has_alpha ()</h3>
<a class="indexterm" name="id2597007"></a><pre class="programlisting">gboolean gimp_color_area_has_alpha (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);</pre>
<a class="indexterm" name="id2572242"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_area_has_alpha (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);</pre>
<p>
Checks whether the <em class="parameter"><code>area</code></em> shows transparency information. This is determined
via the <em class="parameter"><code>area</code></em>'s <a href="GimpColorArea.html#GimpColorAreaType"><span class="type">GimpColorAreaType</span></a>.</p>
@ -282,7 +310,11 @@ via the <em class="parameter"><code>area</code></em>'s <a href="GimpColorArea.ht
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>area</code></em> shows transparency information, <code class="literal">FALSE</code> otherwise.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>area</code></em> shows transparency information, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
</tbody>
@ -290,9 +322,9 @@ via the <em class="parameter"><code>area</code></em>'s <a href="GimpColorArea.ht
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601493"></a><h3>
<a name="id2601704"></a><h3>
<a name="gimp-color-area-set-type"></a>gimp_color_area_set_type ()</h3>
<a class="indexterm" name="id2601503"></a><pre class="programlisting">void gimp_color_area_set_type (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a class="indexterm" name="id2601715"></a><pre class="programlisting">void gimp_color_area_set_type (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);</pre>
<p>
Allows to change the type of <em class="parameter"><code>area</code></em>. The <a href="GimpColorArea.html#GimpColorAreaType"><span class="type">GimpColorAreaType</span></a> determines
@ -319,10 +351,12 @@ the checkerboard used to do that.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601593"></a><h3>
<a name="id2601804"></a><h3>
<a name="gimp-color-area-set-draw-border"></a>gimp_color_area_set_draw_border ()</h3>
<a class="indexterm" name="id2601606"></a><pre class="programlisting">void gimp_color_area_set_draw_border (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
gboolean draw_border);</pre>
<a class="indexterm" name="id2601817"></a><pre class="programlisting">void gimp_color_area_set_draw_border (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> draw_border);</pre>
<p>
The <em class="parameter"><code>area</code></em> can draw a thin border in the foreground color around
itself. This function allows to toggle this behaviour on and
@ -348,11 +382,11 @@ off. The default is not draw a border.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2601695"></a><h2>Property Details</h2>
<a name="id2601906"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2601706"></a><h3>
<a name="id2601917"></a><h3>
<a name="GimpColorArea--color"></a>The "<code class="literal">color</code>" property</h3>
<a class="indexterm" name="id2601720"></a><pre class="programlisting"> "color" <a
<a class="indexterm" name="id2601931"></a><pre class="programlisting"> "color" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> : Read / Write / Construct</pre>
<p>
@ -365,16 +399,20 @@ The color displayed in the color area.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601753"></a><h3>
<a name="id2601964"></a><h3>
<a name="GimpColorArea--drag-mask"></a>The "<code class="literal">drag-mask</code>" property</h3>
<a class="indexterm" name="id2601767"></a><pre class="programlisting"> "drag-mask" GdkModifierType : Write / Construct Only</pre>
<a class="indexterm" name="id2601978"></a><pre class="programlisting"> "drag-mask" <a
href="../gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> : Write / Construct Only</pre>
<p></p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601788"></a><h3>
<a name="id2601999"></a><h3>
<a name="GimpColorArea--draw-border"></a>The "<code class="literal">draw-border</code>" property</h3>
<a class="indexterm" name="id2601802"></a><pre class="programlisting"> "draw-border" gboolean : Read / Write</pre>
<a class="indexterm" name="id2602013"></a><pre class="programlisting"> "draw-border" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
Whether to draw a thin border in the foreground color around the area.</p>
<p>
@ -386,9 +424,9 @@ Whether to draw a thin border in the foreground color around the area.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601838"></a><h3>
<a name="id2602049"></a><h3>
<a name="GimpColorArea--type"></a>The "<code class="literal">type</code>" property</h3>
<a class="indexterm" name="id2601853"></a><pre class="programlisting"> "type" <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct</pre>
<a class="indexterm" name="id2602064"></a><pre class="programlisting"> "type" <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct</pre>
<p>
The type of the color area.</p>
<p>
@ -400,12 +438,14 @@ The type of the color area.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2601891"></a><h2>Signal Details</h2>
<a name="id2602102"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2601902"></a><h3>
<a name="id2602113"></a><h3>
<a name="GimpColorArea-color-changed"></a>The "color-changed" signal</h3>
<a class="indexterm" name="id2601910"></a><pre class="programlisting">void user_function (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *gimpcolorarea,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2602121"></a><pre class="programlisting">void user_function (<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *gimpcolorarea,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,24 +33,24 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorHexEntry.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="#id2556381" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2588404" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2563569" class="shortcut">Description</a>
<a href="#id2568437" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2600126" class="shortcut">Object Hierarchy</a>
<a href="#id2586121" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2600193" class="shortcut">Implemented Interfaces</a>
<a href="#id2586188" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2600214" class="shortcut">Properties</a>
<a href="#id2586210" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2563544" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2568412" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorButton"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2556381"></a><span class="refentrytitle">GimpColorButton</span>
<a name="id2588404"></a><span class="refentrytitle">GimpColorButton</span>
</h2>
<p>GimpColorButton &#8212; Widget for selecting a color from a simple button.</p>
</td>
@ -63,9 +63,17 @@
<a href="GimpColorButton.html#GimpColorButton-struct">GimpColorButton</a>;
GtkWidget* <a href="GimpColorButton.html#gimp-color-button-new">gimp_color_button_new</a> (const gchar *title,
gint width,
gint height,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorButton.html#gimp-color-button-new">gimp_color_button_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -79,56 +87,80 @@ void <a href="GimpColorButton.html#gimp-color-button-get-color">g
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
void <a href="GimpColorButton.html#gimp-color-button-set-update">gimp_color_button_set_update</a> (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
gboolean continuous);
gboolean <a href="GimpColorButton.html#gimp-color-button-get-update">gimp_color_button_get_update</a> (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
gboolean <a href="GimpColorButton.html#gimp-color-button-has-alpha">gimp_color_button_has_alpha</a> (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> continuous);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpColorButton.html#gimp-color-button-get-update">gimp_color_button_get_update</a> (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpColorButton.html#gimp-color-button-has-alpha">gimp_color_button_has_alpha</a> (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
void <a href="GimpColorButton.html#gimp-color-button-set-type">gimp_color_button_set_type</a> (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2600126"></a><h2>Object Hierarchy</h2>
<a name="id2586121"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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/GtkButton.html"
>GtkButton</a>
+----<a href="GimpButton.html" title="GimpButton">GimpButton</a>
+----GimpColorButton
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2600193"></a><h2>Implemented Interfaces</h2>
<a name="id2586188"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorButton implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2600214"></a><h2>Properties</h2>
<a name="id2586210"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpColorButton.html#GimpColorButton--color">color</a>" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> : Read / Write / Construct
"<a href="GimpColorButton.html#GimpColorButton--continuous-update">continuous-update</a>" gboolean : Read / Write / Construct
"<a href="GimpColorButton.html#GimpColorButton--title">title</a>" gchararray : Read / Write / Construct Only
"<a href="GimpColorButton.html#GimpColorButton--continuous-update">continuous-update</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
"<a href="GimpColorButton.html#GimpColorButton--title">title</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only
"<a href="GimpColorButton.html#GimpColorButton--type">type</a>" <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2563544"></a><h2>Signals</h2>
<a name="id2568412"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpColorButton.html#GimpColorButton-color-changed">color-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2563569"></a><h2>Description</h2>
<a name="id2568437"></a><h2>Description</h2>
<p>
This widget provides a simple button with a preview showing the
color.
@ -141,22 +173,30 @@ color, the "color_changed" signal is emitted.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2563594"></a><h2>Details</h2>
<a name="id2568462"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2563605"></a><h3>
<a name="id2568473"></a><h3>
<a name="GimpColorButton-struct"></a>GimpColorButton</h3>
<a class="indexterm" name="id2563616"></a><pre class="programlisting">typedef struct _GimpColorButton GimpColorButton;</pre>
<a class="indexterm" name="id2568484"></a><pre class="programlisting">typedef struct _GimpColorButton GimpColorButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563633"></a><h3>
<a name="id2568501"></a><h3>
<a name="gimp-color-button-new"></a>gimp_color_button_new ()</h3>
<a class="indexterm" name="id2563644"></a><pre class="programlisting">GtkWidget* gimp_color_button_new (const gchar *title,
gint width,
gint height,
<a class="indexterm" name="id2568512"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_button_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -213,9 +253,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2568367"></a><h3>
<a name="id2598667"></a><h3>
<a name="gimp-color-button-set-color"></a>gimp_color_button_set_color ()</h3>
<a class="indexterm" name="id2568378"></a><pre class="programlisting">void gimp_color_button_set_color (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a class="indexterm" name="id2598678"></a><pre class="programlisting">void gimp_color_button_set_color (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -244,9 +284,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2568476"></a><h3>
<a name="id2598776"></a><h3>
<a name="gimp-color-button-get-color"></a>gimp_color_button_get_color ()</h3>
<a class="indexterm" name="id2568487"></a><pre class="programlisting">void gimp_color_button_get_color (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a class="indexterm" name="id2598788"></a><pre class="programlisting">void gimp_color_button_get_color (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -275,12 +315,16 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2568579"></a><h3>
<a name="id2598880"></a><h3>
<a name="gimp-color-button-set-update"></a>gimp_color_button_set_update ()</h3>
<a class="indexterm" name="id2568592"></a><pre class="programlisting">void gimp_color_button_set_update (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
gboolean continuous);</pre>
<a class="indexterm" name="id2598893"></a><pre class="programlisting">void gimp_color_button_set_update (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> continuous);</pre>
<p>
When set to <span class="type">TRUE</span>, the <em class="parameter"><code>button</code></em> will emit the "color-changed"
When set to <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a>, the <em class="parameter"><code>button</code></em> will emit the "color-changed"
continuously while the color is changed in the color selection
dialog.</p>
<p>
@ -304,9 +348,11 @@ dialog.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603264"></a><h3>
<a name="id2603472"></a><h3>
<a name="gimp-color-button-get-update"></a>gimp_color_button_get_update ()</h3>
<a class="indexterm" name="id2603277"></a><pre class="programlisting">gboolean gimp_color_button_get_update (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);</pre>
<a class="indexterm" name="id2603483"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_button_get_update (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);</pre>
<p>
Returns the color button's <em class="parameter"><code>continuous_update</code></em> property.</p>
<p>
@ -330,9 +376,11 @@ Returns the color button's <em class="parameter"><code>continuous_update</code><
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603353"></a><h3>
<a name="id2603559"></a><h3>
<a name="gimp-color-button-has-alpha"></a>gimp_color_button_has_alpha ()</h3>
<a class="indexterm" name="id2603365"></a><pre class="programlisting">gboolean gimp_color_button_has_alpha (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);</pre>
<a class="indexterm" name="id2603571"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_button_has_alpha (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);</pre>
<p>
Checks whether the <em class="parameter"><code>buttons</code></em> shows transparency information.</p>
<p>
@ -348,7 +396,11 @@ Checks whether the <em class="parameter"><code>buttons</code></em> shows transpa
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the <em class="parameter"><code>button</code></em> shows transparency information, <code class="literal">FALSE</code>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>button</code></em> shows transparency information, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>
otherwise.
</td>
</tr>
@ -357,9 +409,9 @@ otherwise.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603464"></a><h3>
<a name="id2603670"></a><h3>
<a name="gimp-color-button-set-type"></a>gimp_color_button_set_type ()</h3>
<a class="indexterm" name="id2603476"></a><pre class="programlisting">void gimp_color_button_set_type (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a class="indexterm" name="id2603682"></a><pre class="programlisting">void gimp_color_button_set_type (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> type);</pre>
<p>
Sets the <em class="parameter"><code>button</code></em> to the given <em class="parameter"><code>type</code></em>. See also <a href="GimpColorArea.html#gimp-color-area-set-type"><code class="function">gimp_color_area_set_type()</code></a>.</p>
@ -384,11 +436,11 @@ Sets the <em class="parameter"><code>button</code></em> to the given <em class="
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2603584"></a><h2>Property Details</h2>
<a name="id2603790"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2603594"></a><h3>
<a name="id2603801"></a><h3>
<a name="GimpColorButton--color"></a>The "<code class="literal">color</code>" property</h3>
<a class="indexterm" name="id2603608"></a><pre class="programlisting"> "color" <a
<a class="indexterm" name="id2603815"></a><pre class="programlisting"> "color" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> : Read / Write / Construct</pre>
<p>
@ -401,9 +453,11 @@ The color displayed in the button's color area.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603641"></a><h3>
<a name="id2603848"></a><h3>
<a name="GimpColorButton--continuous-update"></a>The "<code class="literal">continuous-update</code>" property</h3>
<a class="indexterm" name="id2603657"></a><pre class="programlisting"> "continuous-update" gboolean : Read / Write / Construct</pre>
<a class="indexterm" name="id2603864"></a><pre class="programlisting"> "continuous-update" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p>
The update policy of the color button.</p>
<p>
@ -415,9 +469,11 @@ The update policy of the color button.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603693"></a><h3>
<a name="id2603900"></a><h3>
<a name="GimpColorButton--title"></a>The "<code class="literal">title</code>" property</h3>
<a class="indexterm" name="id2603707"></a><pre class="programlisting"> "title" gchararray : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2603914"></a><pre class="programlisting"> "title" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only</pre>
<p>
The title to be used for the color selection dialog.</p>
<p>
@ -429,9 +485,9 @@ The title to be used for the color selection dialog.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603744"></a><h3>
<a name="id2603950"></a><h3>
<a name="GimpColorButton--type"></a>The "<code class="literal">type</code>" property</h3>
<a class="indexterm" name="id2603758"></a><pre class="programlisting"> "type" <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct</pre>
<a class="indexterm" name="id2603964"></a><pre class="programlisting"> "type" <a href="GimpColorArea.html#GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct</pre>
<p>
The type of the button's color area.</p>
<p>
@ -443,12 +499,14 @@ The type of the button's color area.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2603796"></a><h2>Signal Details</h2>
<a name="id2604002"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2603807"></a><h3>
<a name="id2604013"></a><h3>
<a name="GimpColorButton-color-changed"></a>The "color-changed" signal</h3>
<a class="indexterm" name="id2603817"></a><pre class="programlisting">void user_function (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *gimpcolorbutton,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2604023"></a><pre class="programlisting">void user_function (<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *gimpcolorbutton,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -470,7 +528,7 @@ The type of the button's color area.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2603887"></a><h2>See Also</h2>
<a name="id2604094"></a><h2>See Also</h2>
<p>
<span class="type">libgimpcolor-gimpcolorspace</span>
</p>

View File

@ -33,24 +33,24 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorDisplayStack.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="#id2574425" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2605458" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2631066" class="shortcut">Description</a>
<a href="#id2635814" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2638842" class="shortcut">Object Hierarchy</a>
<a href="#id2635691" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2638866" class="shortcut">Implemented Interfaces</a>
<a href="#id2635714" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2638888" class="shortcut">Properties</a>
<a href="#id2635736" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2631041" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2635789" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorDisplay"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2574425"></a><span class="refentrytitle">GimpColorDisplay</span>
<a name="id2605458"></a><span class="refentrytitle">GimpColorDisplay</span>
</h2>
<p>GimpColorDisplay &#8212; Pluggable GIMP display color correction modules.</p>
</td>
@ -63,17 +63,39 @@
<a href="GimpColorDisplay.html#GimpColorDisplay-struct">GimpColorDisplay</a>;
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* <a href="GimpColorDisplay.html#gimp-color-display-new">gimp_color_display_new</a> (GType display_type);
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* <a href="GimpColorDisplay.html#gimp-color-display-new">gimp_color_display_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> display_type);
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* <a href="GimpColorDisplay.html#gimp-color-display-clone">gimp_color_display_clone</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a href="GimpColorDisplay.html#gimp-color-display-set-enabled">gimp_color_display_set_enabled</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
gboolean enabled);
gboolean <a href="GimpColorDisplay.html#gimp-color-display-get-enabled">gimp_color_display_get_enabled</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enabled);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpColorDisplay.html#gimp-color-display-get-enabled">gimp_color_display_get_enabled</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
<a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a>* <a href="GimpColorDisplay.html#gimp-color-display-get-config">gimp_color_display_get_config</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
<a
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManaged"
>GimpColorManaged</a>* <a href="GimpColorDisplay.html#gimp-color-display-get-managed">gimp_color_display_get_managed</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a href="GimpColorDisplay.html#gimp-color-display-convert">gimp_color_display_convert</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpl);
void <a href="GimpColorDisplay.html#gimp-color-display-load-state">gimp_color_display_load_state</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
<a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
@ -81,22 +103,26 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
<a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a>* <a href="GimpColorDisplay.html#gimp-color-display-save-state">gimp_color_display_save_state</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
GtkWidget* <a href="GimpColorDisplay.html#gimp-color-display-configure">gimp_color_display_configure</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorDisplay.html#gimp-color-display-configure">gimp_color_display_configure</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a href="GimpColorDisplay.html#gimp-color-display-configure-reset">gimp_color_display_configure_reset</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a href="GimpColorDisplay.html#gimp-color-display-changed">gimp_color_display_changed</a> (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2638842"></a><h2>Object Hierarchy</h2>
<a name="id2635691"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpColorDisplay
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2638866"></a><h2>Implemented Interfaces</h2>
<a name="id2635714"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorDisplay implements
<a
@ -104,41 +130,59 @@ href="../libgimpconfig/libgimpconfig-GimpConfig.html#GimpConfigInterface"
>GimpConfigInterface</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2638888"></a><h2>Properties</h2>
<a name="id2635736"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpColorDisplay.html#GimpColorDisplay--enabled">enabled</a>" gboolean : Read / Write / Construct
"<a href="GimpColorDisplay.html#GimpColorDisplay--color-config">color-config</a>" <a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a> : Read / Write / Construct Only
"<a href="GimpColorDisplay.html#GimpColorDisplay--color-managed">color-managed</a>" <a
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManagedInterface"
>GimpColorManagedInterface</a> : Read / Write / Construct Only
"<a href="GimpColorDisplay.html#GimpColorDisplay--enabled">enabled</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2631041"></a><h2>Signals</h2>
<a name="id2635789"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpColorDisplay.html#GimpColorDisplay-changed">changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2631066"></a><h2>Description</h2>
<a name="id2635814"></a><h2>Description</h2>
<p>
Functions and definitions for creating pluggable GIMP
display color correction modules.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2631083"></a><h2>Details</h2>
<a name="id2635831"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2631094"></a><h3>
<a name="id2641752"></a><h3>
<a name="GimpColorDisplay-struct"></a>GimpColorDisplay</h3>
<a class="indexterm" name="id2631105"></a><pre class="programlisting">typedef struct _GimpColorDisplay GimpColorDisplay;</pre>
<a class="indexterm" name="id2641763"></a><pre class="programlisting">typedef struct _GimpColorDisplay GimpColorDisplay;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631122"></a><h3>
<a name="id2641779"></a><h3>
<a name="gimp-color-display-new"></a>gimp_color_display_new ()</h3>
<a class="indexterm" name="id2631133"></a><pre class="programlisting"><a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* gimp_color_display_new (GType display_type);</pre>
<a class="indexterm" name="id2641793"></a><pre class="programlisting"><a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* gimp_color_display_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> display_type);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_color_display_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function is deprecated. Please use <a
href="../gobject/gobject-The-Base-Object-Type.html#g-object-new"
><code class="function">g_object_new()</code></a> directly.</p>
<p>
</p>
@ -147,14 +191,12 @@ display color correction modules.
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>display_type</code></em>&#160;:</span></td>
<td>
<td> the GType of the GimpColorDisplay to instantiate.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
<td> a new <a href="GimpColorDisplay.html" title="GimpColorDisplay"><code class="literal">GimpColorDisplay</code></a> object.
</td>
</tr>
</tbody>
@ -162,9 +204,9 @@ display color correction modules.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631189"></a><h3>
<a name="id2641884"></a><h3>
<a name="gimp-color-display-clone"></a>gimp_color_display_clone ()</h3>
<a class="indexterm" name="id2631200"></a><pre class="programlisting"><a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* gimp_color_display_clone (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<a class="indexterm" name="id2641896"></a><pre class="programlisting"><a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* gimp_color_display_clone (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
@ -188,10 +230,12 @@ display color correction modules.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631256"></a><h3>
<a name="id2641951"></a><h3>
<a name="gimp-color-display-set-enabled"></a>gimp_color_display_set_enabled ()</h3>
<a class="indexterm" name="id2631268"></a><pre class="programlisting">void gimp_color_display_set_enabled (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
gboolean enabled);</pre>
<a class="indexterm" name="id2641963"></a><pre class="programlisting">void gimp_color_display_set_enabled (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enabled);</pre>
<p>
</p>
@ -215,9 +259,11 @@ display color correction modules.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629865"></a><h3>
<a name="id2642030"></a><h3>
<a name="gimp-color-display-get-enabled"></a>gimp_color_display_get_enabled ()</h3>
<a class="indexterm" name="id2629878"></a><pre class="programlisting">gboolean gimp_color_display_get_enabled (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<a class="indexterm" name="id2642041"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_display_get_enabled (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
@ -241,14 +287,94 @@ display color correction modules.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629935"></a><h3>
<a name="id2642098"></a><h3>
<a name="gimp-color-display-get-config"></a>gimp_color_display_get_config ()</h3>
<a class="indexterm" name="id2642113"></a><pre class="programlisting"><a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a>* gimp_color_display_get_config (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a pointer to the <a
href="../libgimpconfig/GimpColorConfig.html"
><span class="type">GimpColorConfig</span></a> object or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2644708"></a><h3>
<a name="gimp-color-display-get-managed"></a>gimp_color_display_get_managed ()</h3>
<a class="indexterm" name="id2644722"></a><pre class="programlisting"><a
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManaged"
>GimpColorManaged</a>* gimp_color_display_get_managed (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>display</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a pointer to the <a
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManaged"
><span class="type">GimpColorManaged</span></a> object or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2644797"></a><h3>
<a name="gimp-color-display-convert"></a>gimp_color_display_convert ()</h3>
<a class="indexterm" name="id2629947"></a><pre class="programlisting">void gimp_color_display_convert (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);</pre>
<a class="indexterm" name="id2644808"></a><pre class="programlisting">void gimp_color_display_convert (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpl);</pre>
<p>
</p>
@ -292,9 +418,9 @@ display color correction modules.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630099"></a><h3>
<a name="id2644961"></a><h3>
<a name="gimp-color-display-load-state"></a>gimp_color_display_load_state ()</h3>
<a class="indexterm" name="id2630112"></a><pre class="programlisting">void gimp_color_display_load_state (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
<a class="indexterm" name="id2644974"></a><pre class="programlisting">void gimp_color_display_load_state (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
<a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a> *state);</pre>
@ -321,9 +447,9 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632458"></a><h3>
<a name="id2645042"></a><h3>
<a name="gimp-color-display-save-state"></a>gimp_color_display_save_state ()</h3>
<a class="indexterm" name="id2632471"></a><pre class="programlisting"><a
<a class="indexterm" name="id2645055"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a>* gimp_color_display_save_state (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
@ -349,9 +475,11 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632528"></a><h3>
<a name="id2645113"></a><h3>
<a name="gimp-color-display-configure"></a>gimp_color_display_configure ()</h3>
<a class="indexterm" name="id2632542"></a><pre class="programlisting">GtkWidget* gimp_color_display_configure (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<a class="indexterm" name="id2645126"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_display_configure (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
@ -375,9 +503,9 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632599"></a><h3>
<a name="id2645183"></a><h3>
<a name="gimp-color-display-configure-reset"></a>gimp_color_display_configure_reset ()</h3>
<a class="indexterm" name="id2632613"></a><pre class="programlisting">void gimp_color_display_configure_reset (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<a class="indexterm" name="id2570439"></a><pre class="programlisting">void gimp_color_display_configure_reset (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
@ -394,9 +522,9 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2632659"></a><h3>
<a name="id2645222"></a><h3>
<a name="gimp-color-display-changed"></a>gimp_color_display_changed ()</h3>
<a class="indexterm" name="id2632671"></a><pre class="programlisting">void gimp_color_display_changed (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<a class="indexterm" name="id2645233"></a><pre class="programlisting">void gimp_color_display_changed (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
@ -413,22 +541,44 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2632718"></a><h2>Property Details</h2>
<a name="id2645275"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2632729"></a><h3>
<a name="id2645284"></a><h3>
<a name="GimpColorDisplay--color-config"></a>The "<code class="literal">color-config</code>" property</h3>
<a class="indexterm" name="id2645299"></a><pre class="programlisting"> "color-config" <a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a> : Read / Write / Construct Only</pre>
<p></p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2645318"></a><h3>
<a name="GimpColorDisplay--color-managed"></a>The "<code class="literal">color-managed</code>" property</h3>
<a class="indexterm" name="id2645333"></a><pre class="programlisting"> "color-managed" <a
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManagedInterface"
>GimpColorManagedInterface</a> : Read / Write / Construct Only</pre>
<p></p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2645352"></a><h3>
<a name="GimpColorDisplay--enabled"></a>The "<code class="literal">enabled</code>" property</h3>
<a class="indexterm" name="id2632743"></a><pre class="programlisting"> "enabled" gboolean : Read / Write / Construct</pre>
<a class="indexterm" name="id2645364"></a><pre class="programlisting"> "enabled" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: TRUE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2632769"></a><h2>Signal Details</h2>
<a name="id2645388"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2632780"></a><h3>
<a name="id2645397"></a><h3>
<a name="GimpColorDisplay-changed"></a>The "changed" signal</h3>
<a class="indexterm" name="id2632787"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *gimpcolordisplay,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2645404"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *gimpcolordisplay,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -450,12 +600,16 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2632858"></a><h2>See Also</h2>
<a name="id2645468"></a><h2>See Also</h2>
<p>
<span class="type">GModule</span>
<a
href="../glib/glib-Dynamic-Loading-of-Modules.html#GModule"
><span class="type">GModule</span></a>
</p>
<p>
<span class="type">GTypeModule</span>
<a
href="../gobject/GTypeModule.html"
><span class="type">GTypeModule</span></a>
</p>
<p>
<span class="type">libgimp-gimpmodule</span>

View File

@ -33,20 +33,20 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-colorselector.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="#id2583932" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2560606" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2630546" class="shortcut">Description</a>
<a href="#id2645605" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2630478" class="shortcut">Object Hierarchy</a>
<a href="#id2645536" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2630502" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2645560" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorDisplayStack"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583932"></a><span class="refentrytitle">GimpColorDisplayStack</span>
<a name="id2560606"></a><span class="refentrytitle">GimpColorDisplayStack</span>
</h2>
<p>GimpColorDisplayStack</p>
</td>
@ -72,24 +72,36 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
(<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a href="GimpColorDisplayStack.html#gimp-color-display-stack-convert">gimp_color_display_stack_convert</a> (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpl);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2630478"></a><h2>Object Hierarchy</h2>
<a name="id2645536"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpColorDisplayStack
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2630502"></a><h2>Signals</h2>
<a name="id2645560"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpColorDisplayStack.html#GimpColorDisplayStack-added">added</a>" : Run First
@ -99,26 +111,26 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2630546"></a><h2>Description</h2>
<a name="id2645605"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2630562"></a><h2>Details</h2>
<a name="id2645620"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2630572"></a><h3>
<a name="id2645631"></a><h3>
<a name="GimpColorDisplayStack-struct"></a>GimpColorDisplayStack</h3>
<a class="indexterm" name="id2630584"></a><pre class="programlisting">typedef struct _GimpColorDisplayStack GimpColorDisplayStack;</pre>
<a class="indexterm" name="id2645642"></a><pre class="programlisting">typedef struct _GimpColorDisplayStack GimpColorDisplayStack;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630600"></a><h3>
<a name="id2645659"></a><h3>
<a name="gimp-color-display-stack-new"></a>gimp_color_display_stack_new ()</h3>
<a class="indexterm" name="id2640131"></a><pre class="programlisting"><a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a>* gimp_color_display_stack_new (void);</pre>
<a class="indexterm" name="id2645670"></a><pre class="programlisting"><a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a>* gimp_color_display_stack_new (void);</pre>
<p>
</p>
@ -135,9 +147,9 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2640165"></a><h3>
<a name="id2645705"></a><h3>
<a name="gimp-color-display-stack-clone"></a>gimp_color_display_stack_clone ()</h3>
<a class="indexterm" name="id2640178"></a><pre class="programlisting"><a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a>* gimp_color_display_stack_clone (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack);</pre>
<a class="indexterm" name="id2645718"></a><pre class="programlisting"><a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a>* gimp_color_display_stack_clone (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack);</pre>
<p>
</p>
@ -161,9 +173,9 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2640234"></a><h3>
<a name="id2643356"></a><h3>
<a name="gimp-color-display-stack-changed"></a>gimp_color_display_stack_changed ()</h3>
<a class="indexterm" name="id2640247"></a><pre class="programlisting">void gimp_color_display_stack_changed (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack);</pre>
<a class="indexterm" name="id2643369"></a><pre class="programlisting">void gimp_color_display_stack_changed (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack);</pre>
<p>
</p>
@ -180,9 +192,9 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2640293"></a><h3>
<a name="id2643415"></a><h3>
<a name="gimp-color-display-stack-add"></a>gimp_color_display_stack_add ()</h3>
<a class="indexterm" name="id2640306"></a><pre class="programlisting">void gimp_color_display_stack_add (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a class="indexterm" name="id2643428"></a><pre class="programlisting">void gimp_color_display_stack_add (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
@ -207,9 +219,9 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2640373"></a><h3>
<a name="id2643495"></a><h3>
<a name="gimp-color-display-stack-remove"></a>gimp_color_display_stack_remove ()</h3>
<a class="indexterm" name="id2630122"></a><pre class="programlisting">void gimp_color_display_stack_remove (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a class="indexterm" name="id2643508"></a><pre class="programlisting">void gimp_color_display_stack_remove (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
@ -234,9 +246,9 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630190"></a><h3>
<a name="id2643576"></a><h3>
<a name="gimp-color-display-stack-reorder-up"></a>gimp_color_display_stack_reorder_up ()</h3>
<a class="indexterm" name="id2630204"></a><pre class="programlisting">void gimp_color_display_stack_reorder_up (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a class="indexterm" name="id2643589"></a><pre class="programlisting">void gimp_color_display_stack_reorder_up (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
@ -261,9 +273,9 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630270"></a><h3>
<a name="id2643656"></a><h3>
<a name="gimp-color-display-stack-reorder-down"></a>gimp_color_display_stack_reorder_down ()</h3>
<a class="indexterm" name="id2630284"></a><pre class="programlisting">void gimp_color_display_stack_reorder_down
<a class="indexterm" name="id2643668"></a><pre class="programlisting">void gimp_color_display_stack_reorder_down
(<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
@ -289,14 +301,24 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630352"></a><h3>
<a name="id2635054"></a><h3>
<a name="gimp-color-display-stack-convert"></a>gimp_color_display_stack_convert ()</h3>
<a class="indexterm" name="id2630366"></a><pre class="programlisting">void gimp_color_display_stack_convert (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);</pre>
<a class="indexterm" name="id2635067"></a><pre class="programlisting">void gimp_color_display_stack_convert (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> bpl);</pre>
<p>
</p>
@ -340,14 +362,18 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2638306"></a><h2>Signal Details</h2>
<a name="id2635220"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2638316"></a><h3>
<a name="id2635231"></a><h3>
<a name="GimpColorDisplayStack-added"></a>The "added" signal</h3>
<a class="indexterm" name="id2638324"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a class="indexterm" name="id2635239"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *arg1,
gint arg2,
gpointer user_data) : Run First</pre>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -379,10 +405,12 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2638435"></a><h3>
<a name="id2635350"></a><h3>
<a name="GimpColorDisplayStack-changed"></a>The "changed" signal</h3>
<a class="indexterm" name="id2638445"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2635360"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -404,11 +432,13 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2638512"></a><h3>
<a name="id2635427"></a><h3>
<a name="GimpColorDisplayStack-removed"></a>The "removed" signal</h3>
<a class="indexterm" name="id2638522"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a class="indexterm" name="id2635436"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *arg1,
gpointer user_data) : Run First</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -435,12 +465,16 @@ void <a href="GimpColorDisplayStack.html#gimp-color-display-stack
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2638611"></a><h3>
<a name="id2646644"></a><h3>
<a name="GimpColorDisplayStack-reordered"></a>The "reordered" signal</h3>
<a class="indexterm" name="id2638620"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a class="indexterm" name="id2646653"></a><pre class="programlisting">void user_function (<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *arg1,
gint arg2,
gpointer user_data) : Run First</pre>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorScale.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="#id2564271" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2581840" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2601996" class="shortcut">Description</a>
<a href="#id2559188" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2594710" class="shortcut">Object Hierarchy</a>
<a href="#id2589490" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2594759" class="shortcut">Implemented Interfaces</a>
<a href="#id2589539" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2594792" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2589573" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorHexEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2564271"></a><span class="refentrytitle">GimpColorHexEntry</span>
<a name="id2581840"></a><span class="refentrytitle">GimpColorHexEntry</span>
</h2>
<p>GimpColorHexEntry &#8212; Widget for entering a color's hex triplet.</p>
</td>
@ -61,7 +61,9 @@
<a href="GimpColorHexEntry.html#GimpColorHexEntry-struct">GimpColorHexEntry</a>;
GtkWidget* <a href="GimpColorHexEntry.html#gimp-color-hex-entry-new">gimp_color_hex_entry_new</a> (void);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorHexEntry.html#gimp-color-hex-entry-new">gimp_color_hex_entry_new</a> (void);
void <a href="GimpColorHexEntry.html#gimp-color-hex-entry-set-color">gimp_color_hex_entry_set_color</a> (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -74,51 +76,67 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2594710"></a><h2>Object Hierarchy</h2>
<a name="id2589490"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkEntry
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkEntry.html"
>GtkEntry</a>
+----GimpColorHexEntry
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2594759"></a><h2>Implemented Interfaces</h2>
<a name="id2589539"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorHexEntry implements
AtkImplementorIface, GtkEditable and GtkCellEditable.</p>
AtkImplementorIface, <a
href="../gtk/GtkEditable.html"
>GtkEditable</a> and <a
href="../gtk/GtkCellEditable.html"
>GtkCellEditable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2594792"></a><h2>Signals</h2>
<a name="id2589573"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpColorHexEntry.html#GimpColorHexEntry-color-changed">color-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2601996"></a><h2>Description</h2>
<a name="id2559188"></a><h2>Description</h2>
<p>
Widget for entering a color's hex triplet.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2602012"></a><h2>Details</h2>
<a name="id2559204"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2602023"></a><h3>
<a name="id2559215"></a><h3>
<a name="GimpColorHexEntry-struct"></a>GimpColorHexEntry</h3>
<a class="indexterm" name="id2602035"></a><pre class="programlisting">typedef struct _GimpColorHexEntry GimpColorHexEntry;</pre>
<a class="indexterm" name="id2559227"></a><pre class="programlisting">typedef struct _GimpColorHexEntry GimpColorHexEntry;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2602051"></a><h3>
<a name="id2559243"></a><h3>
<a name="gimp-color-hex-entry-new"></a>gimp_color_hex_entry_new ()</h3>
<a class="indexterm" name="id2602065"></a><pre class="programlisting">GtkWidget* gimp_color_hex_entry_new (void);</pre>
<a class="indexterm" name="id2559257"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_hex_entry_new (void);</pre>
<p>
</p>
<p>
@ -138,9 +156,9 @@ Widget for entering a color's hex triplet.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2602119"></a><h3>
<a name="id2559311"></a><h3>
<a name="gimp-color-hex-entry-set-color"></a>gimp_color_hex_entry_set_color ()</h3>
<a class="indexterm" name="id2602133"></a><pre class="programlisting">void gimp_color_hex_entry_set_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
<a class="indexterm" name="id2559325"></a><pre class="programlisting">void gimp_color_hex_entry_set_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -173,9 +191,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2558842"></a><h3>
<a name="id2568235"></a><h3>
<a name="gimp-color-hex-entry-get-color"></a>gimp_color_hex_entry_get_color ()</h3>
<a class="indexterm" name="id2558856"></a><pre class="programlisting">void gimp_color_hex_entry_get_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
<a class="indexterm" name="id2568250"></a><pre class="programlisting">void gimp_color_hex_entry_get_color (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -206,12 +224,14 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2558957"></a><h2>Signal Details</h2>
<a name="id2556496"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2587258"></a><h3>
<a name="id2556506"></a><h3>
<a name="GimpColorHexEntry-color-changed"></a>The "color-changed" signal</h3>
<a class="indexterm" name="id2587266"></a><pre class="programlisting">void user_function (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *gimpcolorhexentry,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2556515"></a><pre class="programlisting">void user_function (<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *gimpcolorhexentry,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorScales.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="#id2582376" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2587529" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2639857" class="shortcut">Description</a>
<a href="#id2643968" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2639726" class="shortcut">Object Hierarchy</a>
<a href="#id2644647" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2639794" class="shortcut">Implemented Interfaces</a>
<a href="#id2643905" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2639816" class="shortcut">Style Properties</a></nobr></td></tr>
<a href="#id2643926" class="shortcut">Style Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorNotebook"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2582376"></a><span class="refentrytitle">GimpColorNotebook</span>
<a name="id2587529"></a><span class="refentrytitle">GimpColorNotebook</span>
</h2>
<p>GimpColorNotebook &#8212; A <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> implementation.</p>
</td>
@ -61,65 +61,95 @@
<a href="GimpColorNotebook.html#GimpColorNotebook-struct">GimpColorNotebook</a>;
GtkWidget* <a href="GimpColorNotebook.html#gimp-color-notebook-set-has-page">gimp_color_notebook_set_has_page</a> (<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
GType page_type,
gboolean has_page);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorNotebook.html#gimp-color-notebook-set-has-page">gimp_color_notebook_set_has_page</a> (<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> page_type,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> has_page);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2639726"></a><h2>Object Hierarchy</h2>
<a name="id2644647"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
+----GimpColorNotebook
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2639794"></a><h2>Implemented Interfaces</h2>
<a name="id2643905"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorNotebook implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2639816"></a><h2>Style Properties</h2>
<a name="id2643926"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-border">tab-border</a>" gint : Read
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-icon-size">tab-icon-size</a>" GtkIconSize : Read
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-border">tab-border</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a href="GimpColorNotebook.html#GimpColorNotebook--tab-icon-size">tab-icon-size</a>" <a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2639857"></a><h2>Description</h2>
<a name="id2643968"></a><h2>Description</h2>
<p>
The <a href="GimpColorNotebook.html" title="GimpColorNotebook"><span class="type">GimpColorNotebook</span></a> widget is an implementation of a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>.
It serves as a container for <span class="type">GimpColorSelectors</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2643487"></a><h2>Details</h2>
<a name="id2642565"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2643498"></a><h3>
<a name="id2642576"></a><h3>
<a name="GimpColorNotebook-struct"></a>GimpColorNotebook</h3>
<a class="indexterm" name="id2643509"></a><pre class="programlisting">typedef struct _GimpColorNotebook GimpColorNotebook;</pre>
<a class="indexterm" name="id2642587"></a><pre class="programlisting">typedef struct _GimpColorNotebook GimpColorNotebook;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2643526"></a><h3>
<a name="id2642604"></a><h3>
<a name="gimp-color-notebook-set-has-page"></a>gimp_color_notebook_set_has_page ()</h3>
<a class="indexterm" name="id2643537"></a><pre class="programlisting">GtkWidget* gimp_color_notebook_set_has_page (<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
GType page_type,
gboolean has_page);</pre>
<a class="indexterm" name="id2642615"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_notebook_set_has_page (<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> page_type,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> has_page);</pre>
<p>
This function adds and removed pages to / from a <a href="GimpColorNotebook.html" title="GimpColorNotebook"><span class="type">GimpColorNotebook</span></a>.
The <em class="parameter"><code>page_type</code></em> passed must be a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> subtype.</p>
@ -136,7 +166,9 @@ The <em class="parameter"><code>page_type</code></em> passed must be a <a href="
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>page_type</code></em>&#160;:</span></td>
<td> The <span class="type">GType</span> of the notebook page to add or remove.
<td> The <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of the notebook page to add or remove.
</td>
</tr>
<tr>
@ -146,8 +178,14 @@ The <em class="parameter"><code>page_type</code></em> passed must be a <a href="
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The new page widget, if <em class="parameter"><code>has_page</code></em> was <span class="type">TRUE</span>, or <span class="type">NULL</span>
if <em class="parameter"><code>has_page</code></em> was <span class="type">FALSE</span>.
<td> The new page widget, if <em class="parameter"><code>has_page</code></em> was <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><span class="type">NULL</span></a>
if <em class="parameter"><code>has_page</code></em> was <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><span class="type">FALSE</span></a>.
</td>
</tr>
</tbody>
@ -155,20 +193,24 @@ The <em class="parameter"><code>page_type</code></em> passed must be a <a href="
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2643710"></a><h2>Style Property Details</h2>
<a name="id2649020"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2643720"></a><h3>
<a name="id2649029"></a><h3>
<a name="GimpColorNotebook--tab-border"></a>The "<code class="literal">tab-border</code>" style property</h3>
<a class="indexterm" name="id2640524"></a><pre class="programlisting"> "tab-border" gint : Read</pre>
<a class="indexterm" name="id2649043"></a><pre class="programlisting"> "tab-border" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p>Width of the border around the tab contents.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2640553"></a><h3>
<a name="id2649072"></a><h3>
<a name="GimpColorNotebook--tab-icon-size"></a>The "<code class="literal">tab-icon-size</code>" style property</h3>
<a class="indexterm" name="id2640567"></a><pre class="programlisting"> "tab-icon-size" GtkIconSize : Read</pre>
<a class="indexterm" name="id2649086"></a><pre class="programlisting"> "tab-icon-size" <a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> : Read</pre>
<p>Size for icons displayed in the tab.</p>
<p>Default value: GTK_ICON_SIZE_BUTTON</p>
</div>

View File

@ -0,0 +1,436 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpColorProfileComboBox</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpColorProfileStore.html" title="GimpColorProfileStore">
<link rel="next" href="GimpDialog.html" title="GimpDialog">
<meta name="generator" content="GTK-Doc V1.8 (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">
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
<link rel="index" href="libgimpwidgets-index.html" title="Index">
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
</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="GimpColorProfileStore.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="GimpDialog.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="#id2582303" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2593914" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2566940" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2593838" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2593873" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorProfileComboBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2582303"></a><span class="refentrytitle">GimpColorProfileComboBox</span>
</h2>
<p>GimpColorProfileComboBox</p>
</td>
<td valign="top" align="right"><img src="gimp-color-profile-combo-box.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="GimpColorProfileComboBox.html#GimpColorProfileComboBox-struct">GimpColorProfileComboBox</a>;
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new">gimp_color_profile_combo_box_new</a> (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *history);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new-with-model">gimp_color_profile_combo_box_new_with_model</a>
(<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model);
void <a href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-add">gimp_color_profile_combo_box_add</a> (<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
void <a href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-set-active">gimp_color_profile_combo_box_set_active</a>
(<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-get-active">gimp_color_profile_combo_box_get_active</a>
(<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2566940"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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>
+----GimpColorProfileComboBox
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2593838"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorProfileComboBox implements
AtkImplementorIface, <a
href="../gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="../gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2593873"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpColorProfileComboBox.html#GimpColorProfileComboBox--dialog">dialog</a>" <a
href="../gtk/GtkDialog.html"
>GtkDialog</a> : Read / Write / Construct Only
"<a href="GimpColorProfileComboBox.html#GimpColorProfileComboBox--model">model</a>" <a href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2593914"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2593930"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2593941"></a><h3>
<a name="GimpColorProfileComboBox-struct"></a>GimpColorProfileComboBox</h3>
<a class="indexterm" name="id2593952"></a><pre class="programlisting">typedef struct _GimpColorProfileComboBox GimpColorProfileComboBox;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2604463"></a><h3>
<a name="gimp-color-profile-combo-box-new"></a>gimp_color_profile_combo_box_new ()</h3>
<a class="indexterm" name="id2604476"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_profile_combo_box_new (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *history);</pre>
<p>
Create a combo-box widget for selecting color profiles. The combo-box
is populated from the file specified as <em class="parameter"><code>history</code></em>. This filename is
typically created using the following code snippet:
</p>
<div class="informalexample"><pre class="programlisting">
gchar *history = gimp_personal_rc_file ("profilerc");
</pre></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>dialog</code></em>&#160;:</span></td>
<td> a <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> to present when the user selects the
"Select color profile from disk..." item
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>history</code></em>&#160;:</span></td>
<td> filename of the profilerc (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for no history)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox"><span class="type">GimpColorProfileComboBox</span></a>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2604604"></a><h3>
<a name="gimp-color-profile-combo-box-new-with-model"></a>gimp_color_profile_combo_box_new_with_model ()</h3>
<a class="indexterm" name="id2604621"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_profile_combo_box_new_with_model
(<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model);</pre>
<p>
This constructor is useful when you want to create several
combo-boxes for profile selection that all share the same
<a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>. This is for example done in the
GIMP Preferences dialog.
</p>
<p>
See also <a href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new"><code class="function">gimp_color_profile_combo_box_new()</code></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>dialog</code></em>&#160;:</span></td>
<td> a <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> to present when the user selects the
"Select color profile from disk..." item
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> a <a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a> object
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox"><span class="type">GimpColorProfileComboBox</span></a>.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2604867"></a><h3>
<a name="gimp-color-profile-combo-box-add"></a>gimp_color_profile_combo_box_add ()</h3>
<a class="indexterm" name="id2604880"></a><pre class="programlisting">void gimp_color_profile_combo_box_add (<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
This function delegates to the underlying
<a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>. Please refer to the documentation of
<a href="GimpColorProfileStore.html#gimp-color-profile-store-add"><code class="function">gimp_color_profile_store_add()</code></a> for details.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>combo</code></em>&#160;:</span></td>
<td> a <a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox"><span class="type">GimpColorProfileComboBox</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
<td> filename of the profile to add (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
<td> label to use for the profile
(may only be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>filename</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605038"></a><h3>
<a name="gimp-color-profile-combo-box-set-active"></a>gimp_color_profile_combo_box_set_active ()</h3>
<a class="indexterm" name="id2605054"></a><pre class="programlisting">void gimp_color_profile_combo_box_set_active
(<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
Selects a color profile from the <em class="parameter"><code>combo</code></em> and makes it the active
item. If the profile is not listed in the <em class="parameter"><code>combo</code></em>, then it is
added.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>combo</code></em>&#160;:</span></td>
<td> a <a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox"><span class="type">GimpColorProfileComboBox</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
<td> filename of the profile to select
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
<td> label
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608413"></a><h3>
<a name="gimp-color-profile-combo-box-get-active"></a>gimp_color_profile_combo_box_get_active ()</h3>
<a class="indexterm" name="id2608428"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_color_profile_combo_box_get_active
(<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>combo</code></em>&#160;:</span></td>
<td> a <a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox"><span class="type">GimpColorProfileComboBox</span></a>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The filename of the currently selected color profile.
This is a newly allocated string and should be released
using <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when it is not any longer needed.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2608509"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2608520"></a><h3>
<a name="GimpColorProfileComboBox--dialog"></a>The "<code class="literal">dialog</code>" property</h3>
<a class="indexterm" name="id2608536"></a><pre class="programlisting"> "dialog" <a
href="../gtk/GtkDialog.html"
>GtkDialog</a> : Read / Write / Construct Only</pre>
<p>
<a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> to present when the user selects the
"Select color profile from disk..." item.</p>
<p>
</p>
<p>Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608576"></a><h3>
<a name="GimpColorProfileComboBox--model"></a>The "<code class="literal">model</code>" property</h3>
<a class="indexterm" name="id2608592"></a><pre class="programlisting"> "model" <a href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a> : Read / Write</pre>
<p>
Overrides the "model" property of the <a
href="../gtk/GtkComboBox.html"
><span class="type">GtkComboBox</span></a> class.
<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox"><span class="type">GimpColorProfileComboBox</span></a> requires the model to be a
<a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>.</p>
<p>
</p>
<p>Since GIMP 2.4
</p>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,255 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpColorProfileStore</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpColorSelection.html" title="GimpColorSelection">
<link rel="next" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">
<meta name="generator" content="GTK-Doc V1.8 (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">
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
<link rel="index" href="libgimpwidgets-index.html" title="Index">
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
</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="GimpColorSelection.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="GimpColorProfileComboBox.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="#id2589648" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2567583" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2567483" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2567512" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2567552" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorProfileStore"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2589648"></a><span class="refentrytitle">GimpColorProfileStore</span>
</h2>
<p>GimpColorProfileStore</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="GimpColorProfileStore.html#GimpColorProfileStore-struct">GimpColorProfileStore</a>;
<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* <a href="GimpColorProfileStore.html#gimp-color-profile-store-new">gimp_color_profile_store_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *history);
void <a href="GimpColorProfileStore.html#gimp-color-profile-store-add">gimp_color_profile_store_add</a> (<a href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a> *store,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2567483"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>
+----GimpColorProfileStore
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2567512"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorProfileStore implements
<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a>, <a
href="../gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
>GtkTreeDragSource</a>, <a
href="../gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
>GtkTreeDragDest</a> and <a
href="../gtk/GtkTreeSortable.html"
>GtkTreeSortable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2567552"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpColorProfileStore.html#GimpColorProfileStore--history">history</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2567583"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2601393"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2601404"></a><h3>
<a name="GimpColorProfileStore-struct"></a>GimpColorProfileStore</h3>
<a class="indexterm" name="id2601415"></a><pre class="programlisting">typedef struct _GimpColorProfileStore GimpColorProfileStore;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601430"></a><h3>
<a name="gimp-color-profile-store-new"></a>gimp_color_profile_store_new ()</h3>
<a class="indexterm" name="id2601443"></a><pre class="programlisting"><a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* gimp_color_profile_store_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *history);</pre>
<p>
Creates a new <a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a> object and populates it with
last used profiles read from the file <em class="parameter"><code>history</code></em>. The updated history
is written back to disk when the store is disposed.
</p>
<p>
The filename passed as <em class="parameter"><code>history</code></em> is typically created using the
following code snippet:
</p>
<div class="informalexample"><pre class="programlisting">
gchar *history = gimp_personal_rc_file ("profilerc");
</pre></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>history</code></em>&#160;:</span></td>
<td> filename of the profilerc (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for no history)
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605121"></a><h3>
<a name="gimp-color-profile-store-add"></a>gimp_color_profile_store_add ()</h3>
<a class="indexterm" name="id2605137"></a><pre class="programlisting">void gimp_color_profile_store_add (<a href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a> *store,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
Adds a color profile item to the <a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>. Items
added with this function will be kept at the top, separated from
the history of last used color profiles.
</p>
<p>
This function is often used to add a selectable item for the <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
filename. If you pass <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for both <em class="parameter"><code>filename</code></em> and <em class="parameter"><code>label</code></em>, the
<em class="parameter"><code>label</code></em> will be set to the string "None" for you (and translated for
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>store</code></em>&#160;:</span></td>
<td> a <a href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>filename</code></em>&#160;:</span></td>
<td> filename of the profile to add (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
<td> label to use for the profile
(may only be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>filename</code></em> is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2604123"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2604134"></a><h3>
<a name="GimpColorProfileStore--history"></a>The "<code class="literal">history</code>" property</h3>
<a class="indexterm" name="id2604150"></a><pre class="programlisting"> "history" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only</pre>
<p>
Filename of the color history used to populate the profile store.</p>
<p>
</p>
<p>Default value: NULL</p>
<p>Since GIMP 2.4
</p>
</div>
</div>
</div>
</body>
</html>

View File

@ -33,20 +33,20 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorSelection.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="#id2556657" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2598125" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2567136" class="shortcut">Description</a>
<a href="#id2576486" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2567060" class="shortcut">Object Hierarchy</a>
<a href="#id2576410" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2567115" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
<a href="#id2576464" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorScale"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2556657"></a><span class="refentrytitle">GimpColorScale</span>
<a name="id2598125"></a><span class="refentrytitle">GimpColorScale</span>
</h2>
<p>GimpColorScale &#8212; Fancy colored sliders.</p>
</td>
@ -59,7 +59,11 @@
<a href="GimpColorScale.html#GimpColorScale-struct">GimpColorScale</a>;
GtkWidget* <a href="GimpColorScale.html#gimp-color-scale-new">gimp_color_scale_new</a> (GtkOrientation orientation,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorScale.html#gimp-color-scale-new">gimp_color_scale_new</a> (<a
href="../gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation,
<a href="GimpColorSelector.html#GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
void <a href="GimpColorScale.html#gimp-color-scale-set-channel">gimp_color_scale_set_channel</a> (<a href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
<a href="GimpColorSelector.html#GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
@ -74,45 +78,61 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2567060"></a><h2>Object Hierarchy</h2>
<a name="id2576410"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkRange
+----GtkScale
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkRange.html"
>GtkRange</a>
+----<a
href="../gtk/GtkScale.html"
>GtkScale</a>
+----GimpColorScale
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2567115"></a><h2>Implemented Interfaces</h2>
<a name="id2576464"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorScale implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2567136"></a><h2>Description</h2>
<a name="id2576486"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2587829"></a><h2>Details</h2>
<a name="id2591569"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2587840"></a><h3>
<a name="id2591580"></a><h3>
<a name="GimpColorScale-struct"></a>GimpColorScale</h3>
<a class="indexterm" name="id2587852"></a><pre class="programlisting">typedef struct _GimpColorScale GimpColorScale;</pre>
<a class="indexterm" name="id2591591"></a><pre class="programlisting">typedef struct _GimpColorScale GimpColorScale;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2587868"></a><h3>
<a name="id2591608"></a><h3>
<a name="gimp-color-scale-new"></a>gimp_color_scale_new ()</h3>
<a class="indexterm" name="id2587879"></a><pre class="programlisting">GtkWidget* gimp_color_scale_new (GtkOrientation orientation,
<a class="indexterm" name="id2591619"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_scale_new (<a
href="../gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation,
<a href="GimpColorSelector.html#GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);</pre>
<p>
Creates a new <a href="GimpColorScale.html" title="GimpColorScale"><span class="type">GimpColorScale</span></a> widget.</p>
@ -142,9 +162,9 @@ Creates a new <a href="GimpColorScale.html" title="GimpColorScale"><span class="
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2587975"></a><h3>
<a name="id2591715"></a><h3>
<a name="gimp-color-scale-set-channel"></a>gimp_color_scale_set_channel ()</h3>
<a class="indexterm" name="id2599042"></a><pre class="programlisting">void gimp_color_scale_set_channel (<a href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
<a class="indexterm" name="id2569707"></a><pre class="programlisting">void gimp_color_scale_set_channel (<a href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
<a href="GimpColorSelector.html#GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);</pre>
<p>
Changes the color channel displayed by the <em class="parameter"><code>scale</code></em>.</p>
@ -169,9 +189,9 @@ Changes the color channel displayed by the <em class="parameter"><code>scale</co
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599126"></a><h3>
<a name="id2569791"></a><h3>
<a name="gimp-color-scale-set-color"></a>gimp_color_scale_set_color ()</h3>
<a class="indexterm" name="id2599138"></a><pre class="programlisting">void gimp_color_scale_set_color (<a href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
<a class="indexterm" name="id2569802"></a><pre class="programlisting">void gimp_color_scale_set_color (<a href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *rgb,

View File

@ -33,20 +33,20 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorSelect.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="#id2509964" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2627312" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2642903" class="shortcut">Description</a>
<a href="#id2643341" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2596659" class="shortcut">Object Hierarchy</a>
<a href="#id2584792" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2642881" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
<a href="#id2643320" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorScales"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2509964"></a><span class="refentrytitle">GimpColorScales</span>
<a name="id2627312"></a><span class="refentrytitle">GimpColorScales</span>
</h2>
<p>GimpColorScales &#8212; A <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> implementation.</p>
</td>
@ -63,28 +63,42 @@
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2596659"></a><h2>Object Hierarchy</h2>
<a name="id2584792"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
+----GimpColorScales
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2642881"></a><h2>Implemented Interfaces</h2>
<a name="id2643320"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorScales implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2642903"></a><h2>Description</h2>
<a name="id2643341"></a><h2>Description</h2>
<p>
The <a href="GimpColorScales.html" title="GimpColorScales"><span class="type">GimpColorScales</span></a> widget is an implementation of a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>.
It shows a group of <a href="GimpColorScale.html" title="GimpColorScale"><span class="type">GimpColorScale</span></a> widgets that allow to adjust the
@ -92,11 +106,11 @@ HSV and RGB color channels.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2579053"></a><h2>Details</h2>
<a name="id2635492"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2579064"></a><h3>
<a name="id2635503"></a><h3>
<a name="GimpColorScales-struct"></a>GimpColorScales</h3>
<a class="indexterm" name="id2579075"></a><pre class="programlisting">typedef struct _GimpColorScales GimpColorScales;</pre>
<a class="indexterm" name="id2635514"></a><pre class="programlisting">typedef struct _GimpColorScales GimpColorScales;</pre>
<p>
</p>

View File

@ -33,20 +33,20 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-controller.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="#id2575770" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2555961" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2640121" class="shortcut">Description</a>
<a href="#id2646228" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2581664" class="shortcut">Object Hierarchy</a>
<a href="#id2572774" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2640100" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
<a href="#id2646208" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorSelect"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2575770"></a><span class="refentrytitle">GimpColorSelect</span>
<a name="id2555961"></a><span class="refentrytitle">GimpColorSelect</span>
</h2>
<p>GimpColorSelect &#8212; A <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> implementation.</p>
</td>
@ -63,28 +63,42 @@
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2581664"></a><h2>Object Hierarchy</h2>
<a name="id2572774"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
+----GimpColorSelect
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2640100"></a><h2>Implemented Interfaces</h2>
<a name="id2646208"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorSelect implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2640121"></a><h2>Description</h2>
<a name="id2646228"></a><h2>Description</h2>
<p>
The <a href="GimpColorSelect.html" title="GimpColorSelect"><span class="type">GimpColorSelect</span></a> widget is an implementation of a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>.
It shows a square area that allows to interactively change two color channels
@ -94,11 +108,11 @@ will then change the other two channels accordingly.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2640636"></a><h2>Details</h2>
<a name="id2646269"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2640647"></a><h3>
<a name="id2646280"></a><h3>
<a name="GimpColorSelect-struct"></a>GimpColorSelect</h3>
<a class="indexterm" name="id2640658"></a><pre class="programlisting">typedef struct _GimpColorSelect GimpColorSelect;</pre>
<a class="indexterm" name="id2646291"></a><pre class="programlisting">typedef struct _GimpColorSelect GimpColorSelect;</pre>
<p>
</p>

View File

@ -7,7 +7,7 @@
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpColorScale.html" title="GimpColorScale">
<link rel="next" href="GimpDialog.html" title="GimpDialog">
<link rel="next" href="GimpColorProfileStore.html" title="GimpColorProfileStore">
<meta name="generator" content="GTK-Doc V1.8 (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">
@ -31,26 +31,26 @@
<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="GimpDialog.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="GimpColorProfileStore.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="#id2559528" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2556460" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2559044" class="shortcut">Description</a>
<a href="#id2600890" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2599589" class="shortcut">Object Hierarchy</a>
<a href="#id2583987" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2599650" class="shortcut">Implemented Interfaces</a>
<a href="#id2584048" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2599672" class="shortcut">Properties</a>
<a href="#id2584070" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2559020" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2600865" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorSelection"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2559528"></a><span class="refentrytitle">GimpColorSelection</span>
<a name="id2556460"></a><span class="refentrytitle">GimpColorSelection</span>
</h2>
<p>GimpColorSelection &#8212; Widget for doing a color selection.</p>
</td>
@ -63,10 +63,16 @@
<a href="GimpColorSelection.html#GimpColorSelection-struct">GimpColorSelection</a>;
GtkWidget* <a href="GimpColorSelection.html#gimp-color-selection-new">gimp_color_selection_new</a> (void);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorSelection.html#gimp-color-selection-new">gimp_color_selection_new</a> (void);
void <a href="GimpColorSelection.html#gimp-color-selection-set-show-alpha">gimp_color_selection_set_show_alpha</a> (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
gboolean show_alpha);
gboolean <a href="GimpColorSelection.html#gimp-color-selection-get-show-alpha">gimp_color_selection_get_show_alpha</a> (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_alpha);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpColorSelection.html#gimp-color-selection-get-show-alpha">gimp_color_selection_get_show_alpha</a> (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
void <a href="GimpColorSelection.html#gimp-color-selection-set-color">gimp_color_selection_set_color</a> (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -93,27 +99,41 @@ href="../libgimpconfig/GimpColorConfig.html"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2599589"></a><h2>Object Hierarchy</h2>
<a name="id2583987"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpColorSelection
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2599650"></a><h2>Implemented Interfaces</h2>
<a name="id2584048"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorSelection implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2599672"></a><h2>Properties</h2>
<a name="id2584070"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpColorSelection.html#GimpColorSelection--config">config</a>" <a
@ -122,33 +142,35 @@ href="../libgimpconfig/GimpColorConfig.html"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2559020"></a><h2>Signals</h2>
<a name="id2600865"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpColorSelection.html#GimpColorSelection-color-changed">color-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2559044"></a><h2>Description</h2>
<a name="id2600890"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2559060"></a><h2>Details</h2>
<a name="id2600906"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2559071"></a><h3>
<a name="id2600917"></a><h3>
<a name="GimpColorSelection-struct"></a>GimpColorSelection</h3>
<a class="indexterm" name="id2559083"></a><pre class="programlisting">typedef struct _GimpColorSelection GimpColorSelection;</pre>
<a class="indexterm" name="id2600928"></a><pre class="programlisting">typedef struct _GimpColorSelection GimpColorSelection;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559099"></a><h3>
<a name="id2600945"></a><h3>
<a name="gimp-color-selection-new"></a>gimp_color_selection_new ()</h3>
<a class="indexterm" name="id2559110"></a><pre class="programlisting">GtkWidget* gimp_color_selection_new (void);</pre>
<a class="indexterm" name="id2600956"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_selection_new (void);</pre>
<p>
Creates a new <a href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> widget.</p>
<p>
@ -165,10 +187,12 @@ Creates a new <a href="GimpColorSelection.html" title="GimpColorSelection"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559165"></a><h3>
<a name="id2601011"></a><h3>
<a name="gimp-color-selection-set-show-alpha"></a>gimp_color_selection_set_show_alpha ()</h3>
<a class="indexterm" name="id2559178"></a><pre class="programlisting">void gimp_color_selection_set_show_alpha (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
gboolean show_alpha);</pre>
<a class="indexterm" name="id2601024"></a><pre class="programlisting">void gimp_color_selection_set_show_alpha (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_alpha);</pre>
<p>
Sets the <em class="parameter"><code>show_alpha</code></em> property of the <em class="parameter"><code>selection</code></em> widget.</p>
<p>
@ -192,9 +216,11 @@ Sets the <em class="parameter"><code>show_alpha</code></em> property of the <em
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601175"></a><h3>
<a name="id2557074"></a><h3>
<a name="gimp-color-selection-get-show-alpha"></a>gimp_color_selection_get_show_alpha ()</h3>
<a class="indexterm" name="id2601188"></a><pre class="programlisting">gboolean gimp_color_selection_get_show_alpha (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
<a class="indexterm" name="id2557087"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_selection_get_show_alpha (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
<p>
Returns the <em class="parameter"><code>selection</code></em>'s <em class="parameter"><code>show_alpha</code></em> property.</p>
<p>
@ -210,7 +236,9 @@ Returns the <em class="parameter"><code>selection</code></em>'s <em class="param
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <span class="type">TRUE</span> if the <a href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> has alpha controls.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a> if the <a href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> has alpha controls.
</td>
</tr>
</tbody>
@ -218,9 +246,9 @@ Returns the <em class="parameter"><code>selection</code></em>'s <em class="param
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601282"></a><h3>
<a name="id2557181"></a><h3>
<a name="gimp-color-selection-set-color"></a>gimp_color_selection_set_color ()</h3>
<a class="indexterm" name="id2601295"></a><pre class="programlisting">void gimp_color_selection_set_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a class="indexterm" name="id2557194"></a><pre class="programlisting">void gimp_color_selection_set_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -247,9 +275,9 @@ Sets the <a href="GimpColorSelection.html" title="GimpColorSelection"><span clas
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601394"></a><h3>
<a name="id2557293"></a><h3>
<a name="gimp-color-selection-get-color"></a>gimp_color_selection_get_color ()</h3>
<a class="indexterm" name="id2601407"></a><pre class="programlisting">void gimp_color_selection_get_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a class="indexterm" name="id2557306"></a><pre class="programlisting">void gimp_color_selection_get_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -276,9 +304,9 @@ This function returns the <a href="GimpColorSelection.html" title="GimpColorSele
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606212"></a><h3>
<a name="id2606425"></a><h3>
<a name="gimp-color-selection-set-old-color"></a>gimp_color_selection_set_old_color ()</h3>
<a class="indexterm" name="id2606225"></a><pre class="programlisting">void gimp_color_selection_set_old_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a class="indexterm" name="id2606439"></a><pre class="programlisting">void gimp_color_selection_set_old_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -305,9 +333,9 @@ Sets the <a href="GimpColorSelection.html" title="GimpColorSelection"><span clas
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606311"></a><h3>
<a name="id2606524"></a><h3>
<a name="gimp-color-selection-get-old-color"></a>gimp_color_selection_get_old_color ()</h3>
<a class="indexterm" name="id2606325"></a><pre class="programlisting">void gimp_color_selection_get_old_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a class="indexterm" name="id2606538"></a><pre class="programlisting">void gimp_color_selection_get_old_color (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);</pre>
@ -334,9 +362,9 @@ This function returns the <a href="GimpColorSelection.html" title="GimpColorSele
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606423"></a><h3>
<a name="id2606636"></a><h3>
<a name="gimp-color-selection-reset"></a>gimp_color_selection_reset ()</h3>
<a class="indexterm" name="id2606435"></a><pre class="programlisting">void gimp_color_selection_reset (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
<a class="indexterm" name="id2606648"></a><pre class="programlisting">void gimp_color_selection_reset (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
<p>
Sets the <a href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a>'s current color to its old color.</p>
<p>
@ -353,9 +381,9 @@ Sets the <a href="GimpColorSelection.html" title="GimpColorSelection"><span clas
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606500"></a><h3>
<a name="id2606712"></a><h3>
<a name="gimp-color-selection-color-changed"></a>gimp_color_selection_color_changed ()</h3>
<a class="indexterm" name="id2606514"></a><pre class="programlisting">void gimp_color_selection_color_changed (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
<a class="indexterm" name="id2606726"></a><pre class="programlisting">void gimp_color_selection_color_changed (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
<p>
Emits the "color-changed" signal.</p>
<p>
@ -372,9 +400,9 @@ Emits the "color-changed" signal.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2591789"></a><h3>
<a name="id2606784"></a><h3>
<a name="gimp-color-selection-set-config"></a>gimp_color_selection_set_config ()</h3>
<a class="indexterm" name="id2606566"></a><pre class="programlisting">void gimp_color_selection_set_config (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a class="indexterm" name="id2606800"></a><pre class="programlisting">void gimp_color_selection_set_config (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
<a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a> *config);</pre>
@ -403,23 +431,25 @@ Sets the color management configuration to use with this color selection.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2606638"></a><h2>Property Details</h2>
<a name="id2606881"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2606648"></a><h3>
<a name="id2606892"></a><h3>
<a name="GimpColorSelection--config"></a>The "<code class="literal">config</code>" property</h3>
<a class="indexterm" name="id2606660"></a><pre class="programlisting"> "config" <a
<a class="indexterm" name="id2606906"></a><pre class="programlisting"> "config" <a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a> : Write</pre>
<p></p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2606680"></a><h2>Signal Details</h2>
<a name="id2606928"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2606689"></a><h3>
<a name="id2606939"></a><h3>
<a name="GimpColorSelection-color-changed"></a>The "color-changed" signal</h3>
<a class="indexterm" name="id2606698"></a><pre class="programlisting">void user_function (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *gimpcolorselection,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2606948"></a><pre class="programlisting">void user_function (<a href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *gimpcolorselection,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpColorNotebook.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="#id2562414" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2602950" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2639528" class="shortcut">Description</a>
<a href="#id2646412" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2632269" class="shortcut">Object Hierarchy</a>
<a href="#id2644224" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2639475" class="shortcut">Implemented Interfaces</a>
<a href="#id2646359" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2639496" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2646381" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpColorSelector"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2562414"></a><span class="refentrytitle">GimpColorSelector</span>
<a name="id2602950"></a><span class="refentrytitle">GimpColorSelector</span>
</h2>
<p>GimpColorSelector &#8212; Pluggable GIMP color selector modules.</p>
</td>
@ -64,7 +64,11 @@
#define <a href="GimpColorSelector.html#GIMP-COLOR-SELECTOR-SIZE:CAPS">GIMP_COLOR_SELECTOR_SIZE</a>
#define <a href="GimpColorSelector.html#GIMP-COLOR-SELECTOR-BAR-SIZE:CAPS">GIMP_COLOR_SELECTOR_BAR_SIZE</a>
enum <a href="GimpColorSelector.html#GimpColorSelectorChannel">GimpColorSelectorChannel</a>;
GtkWidget* <a href="GimpColorSelector.html#gimp-color-selector-new">gimp_color_selector_new</a> (GType selector_type,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpColorSelector.html#gimp-color-selector-new">gimp_color_selector_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> selector_type,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *rgb,
@ -74,12 +78,18 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
<a href="GimpColorSelector.html#GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
void <a href="GimpColorSelector.html#gimp-color-selector-set-toggles-visible">gimp_color_selector_set_toggles_visible</a>
(<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean visible);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);
void <a href="GimpColorSelector.html#gimp-color-selector-set-toggles-sensitive">gimp_color_selector_set_toggles_sensitive</a>
(<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean sensitive);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> sensitive);
void <a href="GimpColorSelector.html#gimp-color-selector-set-show-alpha">gimp_color_selector_set_show_alpha</a> (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean show_alpha);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_alpha);
void <a href="GimpColorSelector.html#gimp-color-selector-set-color">gimp_color_selector_set_color</a> (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -99,16 +109,30 @@ href="../libgimpconfig/GimpColorConfig.html"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2632269"></a><h2>Object Hierarchy</h2>
<a name="id2644224"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpColorSelector
+----<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a>
+----<a href="GimpColorScales.html" title="GimpColorScales">GimpColorScales</a>
@ -116,13 +140,13 @@ href="../libgimpconfig/GimpColorConfig.html"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2639475"></a><h2>Implemented Interfaces</h2>
<a name="id2646359"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorSelector implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2639496"></a><h2>Signals</h2>
<a name="id2646381"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpColorSelector.html#GimpColorSelector-channel-changed">channel-changed</a>" : Run First
@ -130,27 +154,27 @@ GimpColorSelector implements
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2639528"></a><h2>Description</h2>
<a name="id2646412"></a><h2>Description</h2>
<p>
Functions and definitions for creating pluggable GIMP color
selector modules.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2639545"></a><h2>Details</h2>
<a name="id2646429"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2639555"></a><h3>
<a name="id2646440"></a><h3>
<a name="GimpColorSelector-struct"></a>GimpColorSelector</h3>
<a class="indexterm" name="id2639567"></a><pre class="programlisting">typedef struct _GimpColorSelector GimpColorSelector;</pre>
<a class="indexterm" name="id2646452"></a><pre class="programlisting">typedef struct _GimpColorSelector GimpColorSelector;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639584"></a><h3>
<a name="id2646468"></a><h3>
<a name="GIMP-COLOR-SELECTOR-SIZE:CAPS"></a>GIMP_COLOR_SELECTOR_SIZE</h3>
<a class="indexterm" name="id2639597"></a><pre class="programlisting">#define GIMP_COLOR_SELECTOR_SIZE 150
<a class="indexterm" name="id2646479"></a><pre class="programlisting">#define GIMP_COLOR_SELECTOR_SIZE 150
</pre>
<p>
The suggested size for a color area in a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> implementation.
@ -158,9 +182,9 @@ The suggested size for a color area in a <a href="GimpColorSelector.html" title=
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639620"></a><h3>
<a name="id2646503"></a><h3>
<a name="GIMP-COLOR-SELECTOR-BAR-SIZE:CAPS"></a>GIMP_COLOR_SELECTOR_BAR_SIZE</h3>
<a class="indexterm" name="id2639632"></a><pre class="programlisting">#define GIMP_COLOR_SELECTOR_BAR_SIZE 15
<a class="indexterm" name="id2646514"></a><pre class="programlisting">#define GIMP_COLOR_SELECTOR_BAR_SIZE 15
</pre>
<p>
The suggested width for a color bar in a <a href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> implementation.
@ -168,9 +192,9 @@ The suggested width for a color bar in a <a href="GimpColorSelector.html" title=
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639657"></a><h3>
<a name="id2646538"></a><h3>
<a name="GimpColorSelectorChannel"></a>enum GimpColorSelectorChannel</h3>
<a class="indexterm" name="id2639669"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2646549"></a><pre class="programlisting">typedef enum
{
GIMP_COLOR_SELECTOR_HUE, /*&lt; desc="_H", help="Hue" &gt;*/
GIMP_COLOR_SELECTOR_SATURATION, /*&lt; desc="_S", help="Saturation" &gt;*/
@ -228,9 +252,13 @@ The suggested width for a color bar in a <a href="GimpColorSelector.html" title=
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637918"></a><h3>
<a name="id2643114"></a><h3>
<a name="gimp-color-selector-new"></a>gimp_color_selector_new ()</h3>
<a class="indexterm" name="id2637930"></a><pre class="programlisting">GtkWidget* gimp_color_selector_new (GType selector_type,
<a class="indexterm" name="id2643126"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_selector_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> selector_type,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *rgb,
@ -276,11 +304,13 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2638049"></a><h3>
<a name="id2643246"></a><h3>
<a name="gimp-color-selector-set-toggles-visible"></a>gimp_color_selector_set_toggles_visible ()</h3>
<a class="indexterm" name="id2638063"></a><pre class="programlisting">void gimp_color_selector_set_toggles_visible
<a class="indexterm" name="id2643259"></a><pre class="programlisting">void gimp_color_selector_set_toggles_visible
(<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean visible);</pre>
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);</pre>
<p>
</p>
@ -304,11 +334,13 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2640962"></a><h3>
<a name="id2642309"></a><h3>
<a name="gimp-color-selector-set-toggles-sensitive"></a>gimp_color_selector_set_toggles_sensitive ()</h3>
<a class="indexterm" name="id2640977"></a><pre class="programlisting">void gimp_color_selector_set_toggles_sensitive
<a class="indexterm" name="id2642324"></a><pre class="programlisting">void gimp_color_selector_set_toggles_sensitive
(<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean sensitive);</pre>
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> sensitive);</pre>
<p>
</p>
@ -332,10 +364,12 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641045"></a><h3>
<a name="id2642392"></a><h3>
<a name="gimp-color-selector-set-show-alpha"></a>gimp_color_selector_set_show_alpha ()</h3>
<a class="indexterm" name="id2641058"></a><pre class="programlisting">void gimp_color_selector_set_show_alpha (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean show_alpha);</pre>
<a class="indexterm" name="id2642405"></a><pre class="programlisting">void gimp_color_selector_set_show_alpha (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_alpha);</pre>
<p>
</p>
@ -359,9 +393,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641126"></a><h3>
<a name="id2642473"></a><h3>
<a name="gimp-color-selector-set-color"></a>gimp_color_selector_set_color ()</h3>
<a class="indexterm" name="id2641139"></a><pre class="programlisting">void gimp_color_selector_set_color (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
<a class="indexterm" name="id2642486"></a><pre class="programlisting">void gimp_color_selector_set_color (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *rgb,
@ -396,9 +430,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2642953"></a><h3>
<a name="id2648421"></a><h3>
<a name="gimp-color-selector-set-channel"></a>gimp_color_selector_set_channel ()</h3>
<a class="indexterm" name="id2642965"></a><pre class="programlisting">void gimp_color_selector_set_channel (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
<a class="indexterm" name="id2648434"></a><pre class="programlisting">void gimp_color_selector_set_channel (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
<a href="GimpColorSelector.html#GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);</pre>
<p>
@ -423,9 +457,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2643026"></a><h3>
<a name="id2648494"></a><h3>
<a name="gimp-color-selector-color-changed"></a>gimp_color_selector_color_changed ()</h3>
<a class="indexterm" name="id2643039"></a><pre class="programlisting">void gimp_color_selector_color_changed (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector);</pre>
<a class="indexterm" name="id2648508"></a><pre class="programlisting">void gimp_color_selector_color_changed (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector);</pre>
<p>
</p>
@ -442,9 +476,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2643080"></a><h3>
<a name="id2648548"></a><h3>
<a name="gimp-color-selector-channel-changed"></a>gimp_color_selector_channel_changed ()</h3>
<a class="indexterm" name="id2643093"></a><pre class="programlisting">void gimp_color_selector_channel_changed (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector);</pre>
<a class="indexterm" name="id2648562"></a><pre class="programlisting">void gimp_color_selector_channel_changed (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector);</pre>
<p>
</p>
@ -461,9 +495,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2643134"></a><h3>
<a name="id2648602"></a><h3>
<a name="gimp-color-selector-set-config"></a>gimp_color_selector_set_config ()</h3>
<a class="indexterm" name="id2643148"></a><pre class="programlisting">void gimp_color_selector_set_config (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
<a class="indexterm" name="id2648617"></a><pre class="programlisting">void gimp_color_selector_set_config (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
<a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a> *config);</pre>
@ -492,13 +526,17 @@ Sets the color management configuration to use with this color selector.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2643221"></a><h2>Signal Details</h2>
<a name="id2648689"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2643230"></a><h3>
<a name="id2648699"></a><h3>
<a name="GimpColorSelector-channel-changed"></a>The "channel-changed" signal</h3>
<a class="indexterm" name="id2643239"></a><pre class="programlisting">void user_function (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *gimpcolorselector,
gint arg1,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2648708"></a><pre class="programlisting">void user_function (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *gimpcolorselector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -525,12 +563,18 @@ Sets the color management configuration to use with this color selector.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2643321"></a><h3>
<a name="id2648790"></a><h3>
<a name="GimpColorSelector-color-changed"></a>The "color-changed" signal</h3>
<a class="indexterm" name="id2643331"></a><pre class="programlisting">void user_function (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *gimpcolorselector,
gpointer arg1,
gpointer arg2,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2648799"></a><pre class="programlisting">void user_function (<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *gimpcolorselector,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -562,12 +606,16 @@ Sets the color management configuration to use with this color selector.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2643433"></a><h2>See Also</h2>
<a name="id2648902"></a><h2>See Also</h2>
<p>
<span class="type">GModule</span>
<a
href="../glib/glib-Dynamic-Loading-of-Modules.html#GModule"
><span class="type">GModule</span></a>
</p>
<p>
<span class="type">GTypeModule</span>
<a
href="../gobject/GTypeModule.html"
><span class="type">GTypeModule</span></a>
</p>
<p>
<span class="type">libgimp-gimpmodule</span>

View File

@ -33,24 +33,24 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-utils.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="#id2592325" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2581265" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2638962" class="shortcut">Description</a>
<a href="#id2644486" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2640810" class="shortcut">Object Hierarchy</a>
<a href="#id2644376" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2640833" class="shortcut">Implemented Interfaces</a>
<a href="#id2644400" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2638897" class="shortcut">Properties</a>
<a href="#id2644421" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2638937" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2644462" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpController"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2592325"></a><span class="refentrytitle">GimpController</span>
<a name="id2581265"></a><span class="refentrytitle">GimpController</span>
</h2>
<p>GimpController &#8212; Pluggable GIMP input controller modules.</p>
</td>
@ -68,27 +68,43 @@ enum <a href="GimpController.html#GimpControllerEventType">GimpCo
<a href="GimpController.html#GimpControllerEventValue">GimpControllerEventValue</a>;
union <a href="GimpController.html#GimpControllerEvent">GimpControllerEvent</a>;
<a href="GimpController.html#GimpController-struct">GimpController</a>;
<a href="GimpController.html" title="GimpController">GimpController</a>* <a href="GimpController.html#gimp-controller-new">gimp_controller_new</a> (GType controller_type);
gint <a href="GimpController.html#gimp-controller-get-n-events">gimp_controller_get_n_events</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller);
const gchar* <a href="GimpController.html#gimp-controller-get-event-name">gimp_controller_get_event_name</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);
const gchar* <a href="GimpController.html#gimp-controller-get-event-blurb">gimp_controller_get_event_blurb</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);
gboolean <a href="GimpController.html#gimp-controller-event">gimp_controller_event</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a href="GimpController.html" title="GimpController">GimpController</a>* <a href="GimpController.html#gimp-controller-new">gimp_controller_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> controller_type);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GimpController.html#gimp-controller-get-n-events">gimp_controller_get_n_events</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpController.html#gimp-controller-get-event-name">gimp_controller_get_event_name</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> event_id);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpController.html#gimp-controller-get-event-blurb">gimp_controller_get_event_blurb</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> event_id);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpController.html#gimp-controller-event">gimp_controller_event</a> (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
const <a href="GimpController.html#GimpControllerEvent">GimpControllerEvent</a> *event);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2640810"></a><h2>Object Hierarchy</h2>
<a name="id2644376"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpController
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2640833"></a><h2>Implemented Interfaces</h2>
<a name="id2644400"></a><h2>Implemented Interfaces</h2>
<p>
GimpController implements
<a
@ -96,32 +112,36 @@ href="../libgimpconfig/libgimpconfig-GimpConfig.html#GimpConfigInterface"
>GimpConfigInterface</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2638897"></a><h2>Properties</h2>
<a name="id2644421"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpController.html#GimpController--name">name</a>" gchararray : Read / Write / Construct
"<a href="GimpController.html#GimpController--state">state</a>" gchararray : Read / Write / Construct
"<a href="GimpController.html#GimpController--name">name</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct
"<a href="GimpController.html#GimpController--state">state</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2638937"></a><h2>Signals</h2>
<a name="id2644462"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpController.html#GimpController-event">event</a>" : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2638962"></a><h2>Description</h2>
<a name="id2644486"></a><h2>Description</h2>
<p>
An abstract interface for implementing arbitrary input controllers.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2638979"></a><h2>Details</h2>
<a name="id2644503"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2638990"></a><h3>
<a name="id2644514"></a><h3>
<a name="GimpControllerEventType"></a>enum GimpControllerEventType</h3>
<a class="indexterm" name="id2639001"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2644525"></a><pre class="programlisting">typedef enum
{
GIMP_CONTROLLER_EVENT_TRIGGER,
GIMP_CONTROLLER_EVENT_VALUE
@ -133,9 +153,9 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639018"></a><h3>
<a name="id2645770"></a><h3>
<a name="GimpControllerEventAny"></a>GimpControllerEventAny</h3>
<a class="indexterm" name="id2639029"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2645781"></a><pre class="programlisting">typedef struct {
GimpControllerEventType type;
GimpController *source;
gint event_id;
@ -147,9 +167,9 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639047"></a><h3>
<a name="id2645799"></a><h3>
<a name="GimpControllerEventTrigger"></a>GimpControllerEventTrigger</h3>
<a class="indexterm" name="id2639058"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2645810"></a><pre class="programlisting">typedef struct {
GimpControllerEventType type;
GimpController *source;
gint event_id;
@ -161,9 +181,9 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639076"></a><h3>
<a name="id2645828"></a><h3>
<a name="GimpControllerEventValue"></a>GimpControllerEventValue</h3>
<a class="indexterm" name="id2639087"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2645839"></a><pre class="programlisting">typedef struct {
GimpControllerEventType type;
GimpController *source;
gint event_id;
@ -176,9 +196,9 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639105"></a><h3>
<a name="id2645857"></a><h3>
<a name="GimpControllerEvent"></a>union GimpControllerEvent</h3>
<a class="indexterm" name="id2639118"></a><pre class="programlisting">union GimpControllerEvent
<a class="indexterm" name="id2645870"></a><pre class="programlisting">union GimpControllerEvent
{
GimpControllerEventType type;
GimpControllerEventAny any;
@ -192,18 +212,20 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639136"></a><h3>
<a name="id2645888"></a><h3>
<a name="GimpController-struct"></a>GimpController</h3>
<a class="indexterm" name="id2639147"></a><pre class="programlisting">typedef struct _GimpController GimpController;</pre>
<a class="indexterm" name="id2645899"></a><pre class="programlisting">typedef struct _GimpController GimpController;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639164"></a><h3>
<a name="id2645916"></a><h3>
<a name="gimp-controller-new"></a>gimp_controller_new ()</h3>
<a class="indexterm" name="id2639176"></a><pre class="programlisting"><a href="GimpController.html" title="GimpController">GimpController</a>* gimp_controller_new (GType controller_type);</pre>
<a class="indexterm" name="id2645928"></a><pre class="programlisting"><a href="GimpController.html" title="GimpController">GimpController</a>* gimp_controller_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> controller_type);</pre>
<p>
</p>
@ -227,9 +249,11 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639232"></a><h3>
<a name="id2645984"></a><h3>
<a name="gimp-controller-get-n-events"></a>gimp_controller_get_n_events ()</h3>
<a class="indexterm" name="id2639243"></a><pre class="programlisting">gint gimp_controller_get_n_events (<a href="GimpController.html" title="GimpController">GimpController</a> *controller);</pre>
<a class="indexterm" name="id2645995"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gimp_controller_get_n_events (<a href="GimpController.html" title="GimpController">GimpController</a> *controller);</pre>
<p>
</p>
@ -253,10 +277,14 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2639300"></a><h3>
<a name="id2646052"></a><h3>
<a name="gimp-controller-get-event-name"></a>gimp_controller_get_event_name ()</h3>
<a class="indexterm" name="id2641878"></a><pre class="programlisting">const gchar* gimp_controller_get_event_name (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);</pre>
<a class="indexterm" name="id2647603"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_controller_get_event_name (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> event_id);</pre>
<p>
</p>
@ -285,10 +313,14 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641957"></a><h3>
<a name="id2647682"></a><h3>
<a name="gimp-controller-get-event-blurb"></a>gimp_controller_get_event_blurb ()</h3>
<a class="indexterm" name="id2641968"></a><pre class="programlisting">const gchar* gimp_controller_get_event_blurb (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);</pre>
<a class="indexterm" name="id2647693"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_controller_get_event_blurb (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> event_id);</pre>
<p>
</p>
@ -317,9 +349,11 @@ An abstract interface for implementing arbitrary input controllers.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2642047"></a><h3>
<a name="id2647772"></a><h3>
<a name="gimp-controller-event"></a>gimp_controller_event ()</h3>
<a class="indexterm" name="id2642058"></a><pre class="programlisting">gboolean gimp_controller_event (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a class="indexterm" name="id2647784"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_controller_event (<a href="GimpController.html" title="GimpController">GimpController</a> *controller,
const <a href="GimpController.html#GimpControllerEvent">GimpControllerEvent</a> *event);</pre>
<p>
@ -349,31 +383,41 @@ An abstract interface for implementing arbitrary input controllers.
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2642138"></a><h2>Property Details</h2>
<a name="id2647863"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2642149"></a><h3>
<a name="id2647874"></a><h3>
<a name="GimpController--name"></a>The "<code class="literal">name</code>" property</h3>
<a class="indexterm" name="id2642163"></a><pre class="programlisting"> "name" gchararray : Read / Write / Construct</pre>
<a class="indexterm" name="id2647888"></a><pre class="programlisting"> "name" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: "Unnamed Controller"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2642186"></a><h3>
<a name="id2647911"></a><h3>
<a name="GimpController--state"></a>The "<code class="literal">state</code>" property</h3>
<a class="indexterm" name="id2642200"></a><pre class="programlisting"> "state" gchararray : Read / Write / Construct</pre>
<a class="indexterm" name="id2647925"></a><pre class="programlisting"> "state" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: "Unknown"</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2642225"></a><h2>Signal Details</h2>
<a name="id2647949"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2642236"></a><h3>
<a name="id2647960"></a><h3>
<a name="GimpController-event"></a>The "event" signal</h3>
<a class="indexterm" name="id2642244"></a><pre class="programlisting">gboolean user_function (<a href="GimpController.html" title="GimpController">GimpController</a> *gimpcontroller,
gpointer arg1,
gpointer user_data) : Run Last</pre>
<a class="indexterm" name="id2647968"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a href="GimpController.html" title="GimpController">GimpController</a> *gimpcontroller,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>

View File

@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpColorSelection.html" title="GimpColorSelection">
<link rel="prev" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">
<link rel="next" href="GimpEnumStore.html" title="GimpEnumStore">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
@ -27,30 +27,32 @@
<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="GimpColorSelection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="GimpColorProfileComboBox.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="GimpEnumStore.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="#id2509937" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2561093" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2560661" class="shortcut">Description</a>
<a href="#id2558541" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2604737" class="shortcut">Object Hierarchy</a>
<a href="#id2607281" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2604804" class="shortcut">Implemented Interfaces</a>
<a href="#id2607348" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2560617" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2558498" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpDialog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2509937"></a><span class="refentrytitle">GimpDialog</span>
<a name="id2561093"></a><span class="refentrytitle">GimpDialog</span>
</h2>
<p>GimpDialog &#8212; Constructors for <span class="type">GtkDialog</span>'s and action_areas as well as other
<p>GimpDialog &#8212; Constructors for <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>'s and action_areas as well as other
dialog-related stuff.</p>
</td>
<td valign="top" align="right"><img src="gimp-dialog.png"></td>
@ -62,87 +64,153 @@ dialog-related stuff.</p>
<a href="GimpDialog.html#GimpDialog-struct">GimpDialog</a>;
GtkWidget* <a href="GimpDialog.html#gimp-dialog-new">gimp_dialog_new</a> (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpDialog.html#gimp-dialog-new">gimp_dialog_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="../gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
...);
GtkWidget* <a href="GimpDialog.html#gimp-dialog-new-valist">gimp_dialog_new_valist</a> (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpDialog.html#gimp-dialog-new-valist">gimp_dialog_new_valist</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="../gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
va_list args);
GtkWidget* <a href="GimpDialog.html#gimp-dialog-add-button">gimp_dialog_add_button</a> (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const gchar *button_text,
gint response_id);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpDialog.html#gimp-dialog-add-button">gimp_dialog_add_button</a> (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *button_text,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> response_id);
void <a href="GimpDialog.html#gimp-dialog-add-buttons">gimp_dialog_add_buttons</a> (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
...);
void <a href="GimpDialog.html#gimp-dialog-add-buttons-valist">gimp_dialog_add_buttons_valist</a> (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
va_list args);
gint <a href="GimpDialog.html#gimp-dialog-run">gimp_dialog_run</a> (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog);
void <a href="GimpDialog.html#gimp-dialogs-show-help-button">gimp_dialogs_show_help_button</a> (gboolean show);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GimpDialog.html#gimp-dialog-run">gimp_dialog_run</a> (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog);
void <a href="GimpDialog.html#gimp-dialogs-show-help-button">gimp_dialogs_show_help_button</a> (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2604737"></a><h2>Object Hierarchy</h2>
<a name="id2607281"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkDialog
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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/GtkWindow.html"
>GtkWindow</a>
+----<a
href="../gtk/GtkDialog.html"
>GtkDialog</a>
+----GimpDialog
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2604804"></a><h2>Implemented Interfaces</h2>
<a name="id2607348"></a><h2>Implemented Interfaces</h2>
<p>
GimpDialog implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2560617"></a><h2>Properties</h2>
<a name="id2558498"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpDialog.html#GimpDialog--help-func">help-func</a>" gpointer : Read / Write / Construct Only
"<a href="GimpDialog.html#GimpDialog--help-id">help-id</a>" gchararray : Read / Write / Construct Only
"<a href="GimpDialog.html#GimpDialog--help-func">help-func</a>" <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> : Read / Write / Construct Only
"<a href="GimpDialog.html#GimpDialog--help-id">help-id</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2560661"></a><h2>Description</h2>
<a name="id2558541"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2560677"></a><h2>Details</h2>
<a name="id2558557"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2560687"></a><h3>
<a name="id2558568"></a><h3>
<a name="GimpDialog-struct"></a>GimpDialog</h3>
<a class="indexterm" name="id2560700"></a><pre class="programlisting">typedef struct _GimpDialog GimpDialog;</pre>
<a class="indexterm" name="id2558580"></a><pre class="programlisting">typedef struct _GimpDialog GimpDialog;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2560715"></a><h3>
<a name="id2558595"></a><h3>
<a name="gimp-dialog-new"></a>gimp_dialog_new ()</h3>
<a class="indexterm" name="id2560727"></a><pre class="programlisting">GtkWidget* gimp_dialog_new (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<a class="indexterm" name="id2558608"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_dialog_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="../gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
...);</pre>
<p>
Creates a new <em class="parameter"><code>GimpDialog</code></em> widget.
@ -153,7 +221,9 @@ into a <em class="parameter"><code>va_list</code></em> variable and passes every
</p>
<p>
For a description of the format of the <em class="parameter"><code>va_list</code></em> describing the
action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</code>.</p>
action_area buttons see <a
href="../gtk/GtkDialog.html#gtk-dialog-new-with-buttons"
><code class="function">gtk_dialog_new_with_buttons()</code></a>.</p>
<p>
</p>
@ -163,13 +233,17 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
<tr>
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<td> The dialog's title which will be set with
<code class="function">gtk_window_set_title()</code>.
<a
href="../gtk/GtkWindow.html#gtk-window-set-title"
><code class="function">gtk_window_set_title()</code></a>.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>role</code></em>&#160;:</span></td>
<td> The dialog's <em class="parameter"><code>role</code></em> which will be set with
<code class="function">gtk_window_set_role()</code>.
<a
href="../gtk/GtkWindow.html#gtk-window-set-role"
><code class="function">gtk_window_set_role()</code></a>.
</td>
</tr>
<tr>
@ -179,7 +253,9 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td> The <em class="parameter"><code>flags</code></em> (see the <span class="type">GtkDialog</span> documentation).
<td> The <em class="parameter"><code>flags</code></em> (see the <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> documentation).
</td>
</tr>
<tr>
@ -194,7 +270,9 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> destribing the
<td> A <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> destribing the
action_area buttons.
</td>
</tr>
@ -208,14 +286,26 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605002"></a><h3>
<a name="id2604344"></a><h3>
<a name="gimp-dialog-new-valist"></a>gimp_dialog_new_valist ()</h3>
<a class="indexterm" name="id2605013"></a><pre class="programlisting">GtkWidget* gimp_dialog_new_valist (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<a class="indexterm" name="id2604355"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_dialog_new_valist (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="../gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
va_list args);</pre>
<p>
Creates a new <em class="parameter"><code>GimpDialog</code></em> widget. If a GtkWindow is specified as
@ -223,7 +313,9 @@ Creates a new <em class="parameter"><code>GimpDialog</code></em> widget. If a Gt
</p>
<p>
For a description of the format of the <em class="parameter"><code>va_list</code></em> describing the
action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</code>.</p>
action_area buttons see <a
href="../gtk/GtkDialog.html#gtk-dialog-new-with-buttons"
><code class="function">gtk_dialog_new_with_buttons()</code></a>.</p>
<p>
</p>
@ -233,23 +325,31 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
<tr>
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<td> The dialog's title which will be set with
<code class="function">gtk_window_set_title()</code>.
<a
href="../gtk/GtkWindow.html#gtk-window-set-title"
><code class="function">gtk_window_set_title()</code></a>.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>role</code></em>&#160;:</span></td>
<td> The dialog's <em class="parameter"><code>role</code></em> which will be set with
<code class="function">gtk_window_set_role()</code>.
<a
href="../gtk/GtkWindow.html#gtk-window-set-role"
><code class="function">gtk_window_set_role()</code></a>.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>parent</code></em>&#160;:</span></td>
<td> The <em class="parameter"><code>parent</code></em> widget of this dialog or <code class="literal">NULL</code>.
<td> The <em class="parameter"><code>parent</code></em> widget of this dialog or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>flags</code></em>&#160;:</span></td>
<td> The <em class="parameter"><code>flags</code></em> (see the <span class="type">GtkDialog</span> documentation).
<td> The <em class="parameter"><code>flags</code></em> (see the <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> documentation).
</td>
</tr>
<tr>
@ -277,13 +377,21 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608110"></a><h3>
<a name="id2610302"></a><h3>
<a name="gimp-dialog-add-button"></a>gimp_dialog_add_button ()</h3>
<a class="indexterm" name="id2608122"></a><pre class="programlisting">GtkWidget* gimp_dialog_add_button (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const gchar *button_text,
gint response_id);</pre>
<a class="indexterm" name="id2610313"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_dialog_add_button (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *button_text,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> response_id);</pre>
<p>
This function is essentially the same as <code class="function">gtk_dialog_add_button()</code>
This function is essentially the same as <a
href="../gtk/GtkDialog.html#gtk-dialog-add-button"
><code class="function">gtk_dialog_add_button()</code></a>
except it ensures there is only one help button and automatically
sets the RESPONSE_OK widget as the default response.</p>
<p>
@ -317,13 +425,17 @@ sets the RESPONSE_OK widget as the default response.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608243"></a><h3>
<a name="id2610434"></a><h3>
<a name="gimp-dialog-add-buttons"></a>gimp_dialog_add_buttons ()</h3>
<a class="indexterm" name="id2608254"></a><pre class="programlisting">void gimp_dialog_add_buttons (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
<a class="indexterm" name="id2610445"></a><pre class="programlisting">void gimp_dialog_add_buttons (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
...);</pre>
<p>
This function is essentially the same as <code class="function">gtk_dialog_add_buttons()</code>
except it calls <a href="GimpDialog.html#gimp-dialog-add-button"><code class="function">gimp_dialog_add_button()</code></a> instead of <code class="function">gtk_dialog_add_button()</code></p>
This function is essentially the same as <a
href="../gtk/GtkDialog.html#gtk-dialog-add-buttons"
><code class="function">gtk_dialog_add_buttons()</code></a>
except it calls <a href="GimpDialog.html#gimp-dialog-add-button"><code class="function">gimp_dialog_add_button()</code></a> instead of <a
href="../gtk/GtkDialog.html#gtk-dialog-add-button"
><code class="function">gtk_dialog_add_button()</code></a></p>
<p>
</p>
@ -345,9 +457,9 @@ except it calls <a href="GimpDialog.html#gimp-dialog-add-button"><code class="fu
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608351"></a><h3>
<a name="id2610542"></a><h3>
<a name="gimp-dialog-add-buttons-valist"></a>gimp_dialog_add_buttons_valist ()</h3>
<a class="indexterm" name="id2608364"></a><pre class="programlisting">void gimp_dialog_add_buttons_valist (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
<a class="indexterm" name="id2610555"></a><pre class="programlisting">void gimp_dialog_add_buttons_valist (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
va_list args);</pre>
<p>
This function is essentially the same as <a href="GimpDialog.html#gimp-dialog-add-buttons"><code class="function">gimp_dialog_add_buttons()</code></a>
@ -373,12 +485,18 @@ except it takes a va_list instead of '...'</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608450"></a><h3>
<a name="id2610642"></a><h3>
<a name="gimp-dialog-run"></a>gimp_dialog_run ()</h3>
<a class="indexterm" name="id2608463"></a><pre class="programlisting">gint gimp_dialog_run (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog);</pre>
<a class="indexterm" name="id2610654"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gimp_dialog_run (<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog);</pre>
<p>
This function does exactly the same as <code class="function">gtk_dialog_run()</code> except it
does not make the dialog modal while the <span class="type">GMainLoop</span> is running.</p>
This function does exactly the same as <a
href="../gtk/GtkDialog.html#gtk-dialog-run"
><code class="function">gtk_dialog_run()</code></a> except it
does not make the dialog modal while the <a
href="../glib/glib-The-Main-Event-Loop.html#GMainLoop"
><span class="type">GMainLoop</span></a> is running.</p>
<p>
</p>
@ -400,9 +518,11 @@ does not make the dialog modal while the <span class="type">GMainLoop</span> is
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608549"></a><h3>
<a name="id2610740"></a><h3>
<a name="gimp-dialogs-show-help-button"></a>gimp_dialogs_show_help_button ()</h3>
<a class="indexterm" name="id2608564"></a><pre class="programlisting">void gimp_dialogs_show_help_button (gboolean show);</pre>
<a class="indexterm" name="id2610756"></a><pre class="programlisting">void gimp_dialogs_show_help_button (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show);</pre>
<p>
This function is for internal use only.</p>
<p>
@ -421,18 +541,22 @@ This function is for internal use only.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2608624"></a><h2>Property Details</h2>
<a name="id2610816"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2608635"></a><h3>
<a name="id2610826"></a><h3>
<a name="GimpDialog--help-func"></a>The "<code class="literal">help-func</code>" property</h3>
<a class="indexterm" name="id2608649"></a><pre class="programlisting"> "help-func" gpointer : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2610840"></a><pre class="programlisting"> "help-func" <a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> : Read / Write / Construct Only</pre>
<p></p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608670"></a><h3>
<a name="id2610861"></a><h3>
<a name="GimpDialog--help-id"></a>The "<code class="literal">help-id</code>" property</h3>
<a class="indexterm" name="id2608685"></a><pre class="programlisting"> "help-id" gchararray : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2610876"></a><pre class="programlisting"> "help-id" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only</pre>
<p></p>
<p>Default value: NULL</p>
</div>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpEnumLabel.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="#id2598345" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2563582" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2601021" class="shortcut">Description</a>
<a href="#id2556856" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2569020" class="shortcut">Object Hierarchy</a>
<a href="#id2605878" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2569088" class="shortcut">Implemented Interfaces</a>
<a href="#id2605946" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2600991" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2556827" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpEnumComboBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2598345"></a><span class="refentrytitle">GimpEnumComboBox</span>
<a name="id2563582"></a><span class="refentrytitle">GimpEnumComboBox</span>
</h2>
<p>GimpEnumComboBox</p>
</td>
@ -61,65 +61,97 @@
<a href="GimpEnumComboBox.html#GimpEnumComboBox-struct">GimpEnumComboBox</a>;
GtkWidget* <a href="GimpEnumComboBox.html#gimp-enum-combo-box-new">gimp_enum_combo_box_new</a> (GType enum_type);
GtkWidget* <a href="GimpEnumComboBox.html#gimp-enum-combo-box-new-with-model">gimp_enum_combo_box_new_with_model</a> (<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpEnumComboBox.html#gimp-enum-combo-box-new">gimp_enum_combo_box_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpEnumComboBox.html#gimp-enum-combo-box-new-with-model">gimp_enum_combo_box_new_with_model</a> (<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);
void <a href="GimpEnumComboBox.html#gimp-enum-combo-box-set-stock-prefix">gimp_enum_combo_box_set_stock_prefix</a>
(<a href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
const gchar *stock_prefix);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2569020"></a><h2>Object Hierarchy</h2>
<a name="id2605878"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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>
+----<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a>
+----GimpEnumComboBox
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2569088"></a><h2>Implemented Interfaces</h2>
<a name="id2605946"></a><h2>Implemented Interfaces</h2>
<p>
GimpEnumComboBox implements
AtkImplementorIface, GtkCellEditable and GtkCellLayout.</p>
AtkImplementorIface, <a
href="../gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="../gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2600991"></a><h2>Properties</h2>
<a name="id2556827"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpEnumComboBox.html#GimpEnumComboBox--model">model</a>" <a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2601021"></a><h2>Description</h2>
<a name="id2556856"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2601036"></a><h2>Details</h2>
<a name="id2556872"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2601047"></a><h3>
<a name="id2556883"></a><h3>
<a name="GimpEnumComboBox-struct"></a>GimpEnumComboBox</h3>
<a class="indexterm" name="id2601059"></a><pre class="programlisting">typedef struct _GimpEnumComboBox GimpEnumComboBox;</pre>
<a class="indexterm" name="id2556894"></a><pre class="programlisting">typedef struct _GimpEnumComboBox GimpEnumComboBox;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601075"></a><h3>
<a name="id2556911"></a><h3>
<a name="gimp-enum-combo-box-new"></a>gimp_enum_combo_box_new ()</h3>
<a class="indexterm" name="id2601089"></a><pre class="programlisting">GtkWidget* gimp_enum_combo_box_new (GType enum_type);</pre>
<a class="indexterm" name="id2556924"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_combo_box_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);</pre>
<p>
Creates a <span class="type">GtkComboBox</span> readily filled with all enum values from a
Creates a <a
href="../gtk/GtkComboBox.html"
><span class="type">GtkComboBox</span></a> readily filled with all enum values from a
given <em class="parameter"><code>enum_type</code></em>. The enum needs to be registered to the type
system. It should also have <a
href="../libgimpbase/libgimpbase-gimpbasetypes.html#GimpEnumDesc"
@ -139,7 +171,9 @@ own <a href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEn
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -155,11 +189,15 @@ own <a href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEn
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605423"></a><h3>
<a name="id2608746"></a><h3>
<a name="gimp-enum-combo-box-new-with-model"></a>gimp_enum_combo_box_new_with_model ()</h3>
<a class="indexterm" name="id2605437"></a><pre class="programlisting">GtkWidget* gimp_enum_combo_box_new_with_model (<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);</pre>
<a class="indexterm" name="id2608759"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_combo_box_new_with_model (<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);</pre>
<p>
Creates a <span class="type">GtkComboBox</span> for the given <em class="parameter"><code>enum_store</code></em>.</p>
Creates a <a
href="../gtk/GtkComboBox.html"
><span class="type">GtkComboBox</span></a> for the given <em class="parameter"><code>enum_store</code></em>.</p>
<p>
</p>
@ -184,11 +222,13 @@ Creates a <span class="type">GtkComboBox</span> for the given <em class="paramet
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605532"></a><h3>
<a name="id2608854"></a><h3>
<a name="gimp-enum-combo-box-set-stock-prefix"></a>gimp_enum_combo_box_set_stock_prefix ()</h3>
<a class="indexterm" name="id2605548"></a><pre class="programlisting">void gimp_enum_combo_box_set_stock_prefix
<a class="indexterm" name="id2608869"></a><pre class="programlisting">void gimp_enum_combo_box_set_stock_prefix
(<a href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
const gchar *stock_prefix);</pre>
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix);</pre>
<p>
Attempts to create stock icons for all items in the <em class="parameter"><code>combo_box</code></em>. See
<code class="function">gimp_enum_store_set_icons()</code> to find out what to use as <em class="parameter"><code>stock_prefix</code></em>.</p>
@ -215,11 +255,11 @@ Attempts to create stock icons for all items in the <em class="parameter"><code>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2559903"></a><h2>Property Details</h2>
<a name="id2558172"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2559914"></a><h3>
<a name="id2558182"></a><h3>
<a name="GimpEnumComboBox--model"></a>The "<code class="literal">model</code>" property</h3>
<a class="indexterm" name="id2559928"></a><pre class="programlisting"> "model" <a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> : Read / Write</pre>
<a class="indexterm" name="id2558196"></a><pre class="programlisting"> "model" <a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> : Read / Write</pre>
<p></p>
</div>
</div>

View File

@ -33,20 +33,20 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpFileEntry.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="#id2570407" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582700" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2561456" class="shortcut">Description</a>
<a href="#id2609096" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2561380" class="shortcut">Object Hierarchy</a>
<a href="#id2607869" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2561435" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
<a href="#id2609075" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpEnumLabel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2570407"></a><span class="refentrytitle">GimpEnumLabel</span>
<a name="id2582700"></a><span class="refentrytitle">GimpEnumLabel</span>
</h2>
<p>GimpEnumLabel</p>
</td>
@ -59,54 +59,80 @@
<a href="GimpEnumLabel.html#GimpEnumLabel-struct">GimpEnumLabel</a>;
GtkWidget* <a href="GimpEnumLabel.html#gimp-enum-label-new">gimp_enum_label_new</a> (GType enum_type,
gint value);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpEnumLabel.html#gimp-enum-label-new">gimp_enum_label_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value);
void <a href="GimpEnumLabel.html#gimp-enum-label-set-value">gimp_enum_label_set_value</a> (<a href="GimpEnumLabel.html" title="GimpEnumLabel">GimpEnumLabel</a> *label,
gint value);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2561380"></a><h2>Object Hierarchy</h2>
<a name="id2607869"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkMisc
+----GtkLabel
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkMisc.html"
>GtkMisc</a>
+----<a
href="../gtk/GtkLabel.html"
>GtkLabel</a>
+----GimpEnumLabel
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2561435"></a><h2>Implemented Interfaces</h2>
<a name="id2609075"></a><h2>Implemented Interfaces</h2>
<p>
GimpEnumLabel implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2561456"></a><h2>Description</h2>
<a name="id2609096"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2561472"></a><h2>Details</h2>
<a name="id2609112"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2561483"></a><h3>
<a name="id2609123"></a><h3>
<a name="GimpEnumLabel-struct"></a>GimpEnumLabel</h3>
<a class="indexterm" name="id2561494"></a><pre class="programlisting">typedef struct _GimpEnumLabel GimpEnumLabel;</pre>
<a class="indexterm" name="id2609134"></a><pre class="programlisting">typedef struct _GimpEnumLabel GimpEnumLabel;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574493"></a><h3>
<a name="id2609151"></a><h3>
<a name="gimp-enum-label-new"></a>gimp_enum_label_new ()</h3>
<a class="indexterm" name="id2574508"></a><pre class="programlisting">GtkWidget* gimp_enum_label_new (GType enum_type,
gint value);</pre>
<a class="indexterm" name="id2609165"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_label_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value);</pre>
<p>
</p>
<p>
@ -117,7 +143,9 @@ GimpEnumLabel implements
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -138,10 +166,12 @@ GimpEnumLabel implements
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574611"></a><h3>
<a name="id2609414"></a><h3>
<a name="gimp-enum-label-set-value"></a>gimp_enum_label_set_value ()</h3>
<a class="indexterm" name="id2574625"></a><pre class="programlisting">void gimp_enum_label_set_value (<a href="GimpEnumLabel.html" title="GimpEnumLabel">GimpEnumLabel</a> *label,
gint value);</pre>
<a class="indexterm" name="id2609427"></a><pre class="programlisting">void gimp_enum_label_set_value (<a href="GimpEnumLabel.html" title="GimpEnumLabel">GimpEnumLabel</a> *label,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value);</pre>
<p>
</p>
<p>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpEnumComboBox.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="#id2556898" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2570583" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2603075" class="shortcut">Description</a>
<a href="#id2606248" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2559374" class="shortcut">Object Hierarchy</a>
<a href="#id2603274" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2603004" class="shortcut">Implemented Interfaces</a>
<a href="#id2606177" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2603044" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2606217" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpEnumStore"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2556898"></a><span class="refentrytitle">GimpEnumStore</span>
<a name="id2570583"></a><span class="refentrytitle">GimpEnumStore</span>
</h2>
<p>GimpEnumStore</p>
</td>
@ -61,68 +61,114 @@
<a href="GimpEnumStore.html#GimpEnumStore-struct">GimpEnumStore</a>;
GtkListStore* <a href="GimpEnumStore.html#gimp-enum-store-new">gimp_enum_store_new</a> (GType enum_type);
GtkListStore* <a href="GimpEnumStore.html#gimp-enum-store-new-with-range">gimp_enum_store_new_with_range</a> (GType enum_type,
gint minimum,
gint maximum);
GtkListStore* <a href="GimpEnumStore.html#gimp-enum-store-new-with-values">gimp_enum_store_new_with_values</a> (GType enum_type,
gint n_values,
<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* <a href="GimpEnumStore.html#gimp-enum-store-new">gimp_enum_store_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);
<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* <a href="GimpEnumStore.html#gimp-enum-store-new-with-range">gimp_enum_store_new_with_range</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum);
<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* <a href="GimpEnumStore.html#gimp-enum-store-new-with-values">gimp_enum_store_new_with_values</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
...);
GtkListStore* <a href="GimpEnumStore.html#gimp-enum-store-new-with-values-valist">gimp_enum_store_new_with_values_valist</a>
(GType enum_type,
gint n_values,
<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* <a href="GimpEnumStore.html#gimp-enum-store-new-with-values-valist">gimp_enum_store_new_with_values_valist</a>
(<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
va_list args);
void <a href="GimpEnumStore.html#gimp-enum-store-set-stock-prefix">gimp_enum_store_set_stock_prefix</a> (<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
const gchar *stock_prefix);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2559374"></a><h2>Object Hierarchy</h2>
<a name="id2603274"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GtkListStore
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>
+----<a href="GimpIntStore.html" title="GimpIntStore">GimpIntStore</a>
+----GimpEnumStore
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2603004"></a><h2>Implemented Interfaces</h2>
<a name="id2606177"></a><h2>Implemented Interfaces</h2>
<p>
GimpEnumStore implements
GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest and GtkTreeSortable.</p>
<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a>, <a
href="../gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
>GtkTreeDragSource</a>, <a
href="../gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
>GtkTreeDragDest</a> and <a
href="../gtk/GtkTreeSortable.html"
>GtkTreeSortable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2603044"></a><h2>Properties</h2>
<a name="id2606217"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpEnumStore.html#GimpEnumStore--enum-type">enum-type</a>" GType : Read / Write / Construct Only
"<a href="GimpEnumStore.html#GimpEnumStore--enum-type">enum-type</a>" <a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2603075"></a><h2>Description</h2>
<a name="id2606248"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2603091"></a><h2>Details</h2>
<a name="id2606263"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2603102"></a><h3>
<a name="id2606274"></a><h3>
<a name="GimpEnumStore-struct"></a>GimpEnumStore</h3>
<a class="indexterm" name="id2603113"></a><pre class="programlisting">typedef struct _GimpEnumStore GimpEnumStore;</pre>
<a class="indexterm" name="id2606286"></a><pre class="programlisting">typedef struct _GimpEnumStore GimpEnumStore;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2603130"></a><h3>
<a name="id2606302"></a><h3>
<a name="gimp-enum-store-new"></a>gimp_enum_store_new ()</h3>
<a class="indexterm" name="id2603144"></a><pre class="programlisting">GtkListStore* gimp_enum_store_new (GType enum_type);</pre>
<a class="indexterm" name="id2606316"></a><pre class="programlisting"><a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);</pre>
<p>
Creates a new <a href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a>, derived from <span class="type">GtkListStore</span> and fills
Creates a new <a href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a>, derived from <a
href="../gtk/GtkListStore.html"
><span class="type">GtkListStore</span></a> and fills
it with enum values. The enum needs to be registered to the type
system and should have translatable value names.</p>
<p>
@ -133,7 +179,9 @@ system and should have translatable value names.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -149,11 +197,19 @@ system and should have translatable value names.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2595781"></a><h3>
<a name="id2564002"></a><h3>
<a name="gimp-enum-store-new-with-range"></a>gimp_enum_store_new_with_range ()</h3>
<a class="indexterm" name="id2595794"></a><pre class="programlisting">GtkListStore* gimp_enum_store_new_with_range (GType enum_type,
gint minimum,
gint maximum);</pre>
<a class="indexterm" name="id2564015"></a><pre class="programlisting"><a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new_with_range (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum);</pre>
<p>
Creates a new <a href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> like <a href="GimpEnumStore.html#gimp-enum-store-new"><code class="function">gimp_enum_store_new()</code></a> but allows
to limit the enum values to a certain range. Values smaller than
@ -166,7 +222,9 @@ to limit the enum values to a certain range. Values smaller than
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -192,10 +250,16 @@ to limit the enum values to a certain range. Values smaller than
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2605874"></a><h3>
<a name="id2564170"></a><h3>
<a name="gimp-enum-store-new-with-values"></a>gimp_enum_store_new_with_values ()</h3>
<a class="indexterm" name="id2605890"></a><pre class="programlisting">GtkListStore* gimp_enum_store_new_with_values (GType enum_type,
gint n_values,
<a class="indexterm" name="id2605528"></a><pre class="programlisting"><a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new_with_values (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
...);</pre>
<p>
Creates a new <a href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> like <a href="GimpEnumStore.html#gimp-enum-store-new"><code class="function">gimp_enum_store_new()</code></a> but allows
@ -209,7 +273,9 @@ store.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -235,11 +301,17 @@ store.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606032"></a><h3>
<a name="id2605671"></a><h3>
<a name="gimp-enum-store-new-with-values-valist"></a>gimp_enum_store_new_with_values_valist ()</h3>
<a class="indexterm" name="id2606046"></a><pre class="programlisting">GtkListStore* gimp_enum_store_new_with_values_valist
(GType enum_type,
gint n_values,
<a class="indexterm" name="id2605684"></a><pre class="programlisting"><a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new_with_values_valist
(<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
va_list args);</pre>
<p>
See <a href="GimpEnumStore.html#gimp-enum-store-new-with-values"><code class="function">gimp_enum_store_new_with_values()</code></a>.</p>
@ -251,7 +323,9 @@ See <a href="GimpEnumStore.html#gimp-enum-store-new-with-values"><code class="fu
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -277,10 +351,12 @@ See <a href="GimpEnumStore.html#gimp-enum-store-new-with-values"><code class="fu
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2596160"></a><h3>
<a name="id2564366"></a><h3>
<a name="gimp-enum-store-set-stock-prefix"></a>gimp_enum_store_set_stock_prefix ()</h3>
<a class="indexterm" name="id2596176"></a><pre class="programlisting">void gimp_enum_store_set_stock_prefix (<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
const gchar *stock_prefix);</pre>
<a class="indexterm" name="id2564382"></a><pre class="programlisting">void gimp_enum_store_set_stock_prefix (<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix);</pre>
<p>
Creates a stock ID for each enum value in the <em class="parameter"><code>store</code></em> by appending
the value's nick to the given <em class="parameter"><code>stock_prefix</code></em>, separated by a hyphen.
@ -310,13 +386,17 @@ See also: <a href="GimpEnumComboBox.html#gimp-enum-combo-box-set-stock-prefix"><
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2596292"></a><h2>Property Details</h2>
<a name="id2564498"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2596302"></a><h3>
<a name="id2564508"></a><h3>
<a name="GimpEnumStore--enum-type"></a>The "<code class="literal">enum-type</code>" property</h3>
<a class="indexterm" name="id2596316"></a><pre class="programlisting"> "enum-type" GType : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2564522"></a><pre class="programlisting"> "enum-type" <a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> : Read / Write / Construct Only</pre>
<p>
Sets the <span class="type">GType</span> of the enum to be used in the store.</p>
Sets the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of the enum to be used in the store.</p>
<p>
</p>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpFrame.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="#id2556309" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2592582" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2589123" class="shortcut">Description</a>
<a href="#id2558794" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2562993" class="shortcut">Object Hierarchy</a>
<a href="#id2558058" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2563054" class="shortcut">Implemented Interfaces</a>
<a href="#id2558119" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2589098" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2558769" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpFileEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2556309"></a><span class="refentrytitle">GimpFileEntry</span>
<a name="id2592582"></a><span class="refentrytitle">GimpFileEntry</span>
</h2>
<p>GimpFileEntry &#8212; Widget for entering a filename.</p>
</td>
@ -61,58 +61,94 @@
<a href="GimpFileEntry.html#GimpFileEntry-struct">GimpFileEntry</a>;
GtkWidget* <a href="GimpFileEntry.html#gimp-file-entry-new">gimp_file_entry_new</a> (const gchar *title,
const gchar *filename,
gboolean dir_only,
gboolean check_valid);
gchar* <a href="GimpFileEntry.html#gimp-file-entry-get-filename">gimp_file_entry_get_filename</a> (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpFileEntry.html#gimp-file-entry-new">gimp_file_entry_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dir_only,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> check_valid);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpFileEntry.html#gimp-file-entry-get-filename">gimp_file_entry_get_filename</a> (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);
void <a href="GimpFileEntry.html#gimp-file-entry-set-filename">gimp_file_entry_set_filename</a> (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry,
const gchar *filename);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2562993"></a><h2>Object Hierarchy</h2>
<a name="id2558058"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkHBox.html"
>GtkHBox</a>
+----GimpFileEntry
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2563054"></a><h2>Implemented Interfaces</h2>
<a name="id2558119"></a><h2>Implemented Interfaces</h2>
<p>
GimpFileEntry implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2589098"></a><h2>Signals</h2>
<a name="id2558769"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpFileEntry.html#GimpFileEntry-filename-changed">filename-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2589123"></a><h2>Description</h2>
<a name="id2558794"></a><h2>Description</h2>
<p>
This widget is used to enter filenames or directories.
</p>
<p>
There is a <span class="type">GtkEntry</span> for entering the filename manually and a "..."
button which will pop up a <span class="type">GtkFileSelection</span> dialog.
There is a <a
href="../gtk/GtkEntry.html"
><span class="type">GtkEntry</span></a> for entering the filename manually and a "..."
button which will pop up a <a
href="../gtk/GtkFileSelection.html"
><span class="type">GtkFileSelection</span></a> dialog.
</p>
<p>
You can restrict the <span class="type">GimpFileSelection</span> to directories. In this case
the filename listbox of the <span class="type">GtkFileSelection</span> dialog will be hidden.
the filename listbox of the <a
href="../gtk/GtkFileSelection.html"
><span class="type">GtkFileSelection</span></a> dialog will be hidden.
</p>
<p>
If you specify <em class="parameter"><code>check_valid</code></em> as <span class="type">TRUE</span> in <a href="GimpFileEntry.html#gimp-file-entry-new"><code class="function">gimp_file_entry_new()</code></a>
If you specify <em class="parameter"><code>check_valid</code></em> as <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a> in <a href="GimpFileEntry.html#gimp-file-entry-new"><code class="function">gimp_file_entry_new()</code></a>
the entered filename will be checked for validity and a pixmap will be
shown which indicates if the file exists or not.
</p>
@ -122,11 +158,11 @@ will be emitted.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2589210"></a><h2>Details</h2>
<a name="id2558881"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2589221"></a><h3>
<a name="id2558892"></a><h3>
<a name="GimpFileEntry-struct"></a>GimpFileEntry</h3>
<a class="indexterm" name="id2589233"></a><pre class="programlisting">typedef struct _GimpFileEntry GimpFileEntry;</pre>
<a class="indexterm" name="id2558904"></a><pre class="programlisting">typedef struct _GimpFileEntry GimpFileEntry;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GimpFileEntry</code> is deprecated and should not be used in newly-written code.</p>
@ -137,18 +173,30 @@ will be emitted.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609881"></a><h3>
<a name="id2612278"></a><h3>
<a name="gimp-file-entry-new"></a>gimp_file_entry_new ()</h3>
<a class="indexterm" name="id2609896"></a><pre class="programlisting">GtkWidget* gimp_file_entry_new (const gchar *title,
const gchar *filename,
gboolean dir_only,
gboolean check_valid);</pre>
<a class="indexterm" name="id2612292"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_file_entry_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dir_only,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> check_valid);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_file_entry_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
You should use <span class="type">GtkFileChooserButton</span> instead.</p>
You should use <a
href="../gtk/GtkFileChooserButton.html"
><span class="type">GtkFileChooserButton</span></a> instead.</p>
<p>
</p>
@ -167,12 +215,16 @@ You should use <span class="type">GtkFileChooserButton</span> instead.</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dir_only</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the file entry should accept directories only.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the file entry should accept directories only.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>check_valid</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the widget should check if the entered file
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the widget should check if the entered file
really exists.
</td>
</tr>
@ -186,15 +238,19 @@ You should use <span class="type">GtkFileChooserButton</span> instead.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610074"></a><h3>
<a name="id2612471"></a><h3>
<a name="gimp-file-entry-get-filename"></a>gimp_file_entry_get_filename ()</h3>
<a class="indexterm" name="id2610088"></a><pre class="programlisting">gchar* gimp_file_entry_get_filename (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);</pre>
<a class="indexterm" name="id2612484"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_file_entry_get_filename (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_file_entry_get_filename</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Note that you have to <code class="function">g_free()</code> the returned string.</p>
Note that you have to <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> the returned string.</p>
<p>
</p>
@ -216,16 +272,20 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2559989"></a><h3>
<a name="id2557641"></a><h3>
<a name="gimp-file-entry-set-filename"></a>gimp_file_entry_set_filename ()</h3>
<a class="indexterm" name="id2560003"></a><pre class="programlisting">void gimp_file_entry_set_filename (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry,
const gchar *filename);</pre>
<a class="indexterm" name="id2557654"></a><pre class="programlisting">void gimp_file_entry_set_filename (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_file_entry_set_filename</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
If you specified <em class="parameter"><code>check_valid</code></em> as <code class="literal">TRUE</code> in <a href="GimpFileEntry.html#gimp-file-entry-new"><code class="function">gimp_file_entry_new()</code></a>
If you specified <em class="parameter"><code>check_valid</code></em> as <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> in <a href="GimpFileEntry.html#gimp-file-entry-new"><code class="function">gimp_file_entry_new()</code></a>
the <a href="GimpFileEntry.html" title="GimpFileEntry"><span class="type">GimpFileEntry</span></a> will immediately check the validity of the file
name.</p>
<p>
@ -249,12 +309,14 @@ name.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2560122"></a><h2>Signal Details</h2>
<a name="id2557773"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2560133"></a><h3>
<a name="id2557784"></a><h3>
<a name="GimpFileEntry-filename-changed"></a>The "filename-changed" signal</h3>
<a class="indexterm" name="id2560143"></a><pre class="programlisting">void user_function (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *arg0,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2557793"></a><pre class="programlisting">void user_function (<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *arg0,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
This signal is emitted whenever the user changes the filename.</p>
<p>
@ -270,7 +332,7 @@ This signal is emitted whenever the user changes the filename.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2560203"></a><h2>See Also</h2>
<a name="id2557854"></a><h2>See Also</h2>
<p>
<a href="GimpPathEditor.html" title="GimpPathEditor"><span class="type">GimpPathEditor</span></a>
</p>

View File

@ -33,24 +33,26 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-GimpHintBox.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="#id2580869" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2595236" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2560305" class="shortcut">Description</a>
<a href="#id2611028" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2610559" class="shortcut">Object Hierarchy</a>
<a href="#id2608340" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2560242" class="shortcut">Implemented Interfaces</a>
<a href="#id2610965" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2560263" class="shortcut">Style Properties</a></nobr></td></tr>
<a href="#id2610987" class="shortcut">Style Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpFrame"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2580869"></a><span class="refentrytitle">GimpFrame</span>
<a name="id2595236"></a><span class="refentrytitle">GimpFrame</span>
</h2>
<p>GimpFrame &#8212; A widget providing a HIG-compliant subclass of <span class="type">GtkFrame</span>.</p>
<p>GimpFrame &#8212; A widget providing a HIG-compliant subclass of <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.</p>
</td>
<td valign="top" align="right"><img src="gimp-frame.png"></td>
</tr></table></div>
@ -61,62 +63,92 @@
<a href="GimpFrame.html#GimpFrame-struct">GimpFrame</a>;
GtkWidget* <a href="GimpFrame.html#gimp-frame-new">gimp_frame_new</a> (const gchar *label);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpFrame.html#gimp-frame-new">gimp_frame_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2610559"></a><h2>Object Hierarchy</h2>
<a name="id2608340"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkFrame
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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/GtkFrame.html"
>GtkFrame</a>
+----GimpFrame
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2560242"></a><h2>Implemented Interfaces</h2>
<a name="id2610965"></a><h2>Implemented Interfaces</h2>
<p>
GimpFrame implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2560263"></a><h2>Style Properties</h2>
<a name="id2610987"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a href="GimpFrame.html#GimpFrame--label-bold">label-bold</a>" gboolean : Read
"<a href="GimpFrame.html#GimpFrame--label-spacing">label-spacing</a>" gint : Read
"<a href="GimpFrame.html#GimpFrame--label-bold">label-bold</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
"<a href="GimpFrame.html#GimpFrame--label-spacing">label-spacing</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2560305"></a><h2>Description</h2>
<a name="id2611028"></a><h2>Description</h2>
<p>
A widget providing a HIG-compliant subclass of <span class="type">GtkFrame</span>.
A widget providing a HIG-compliant subclass of <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2560328"></a><h2>Details</h2>
<a name="id2564576"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2560339"></a><h3>
<a name="id2564587"></a><h3>
<a name="GimpFrame-struct"></a>GimpFrame</h3>
<a class="indexterm" name="id2560352"></a><pre class="programlisting">typedef struct _GimpFrame GimpFrame;</pre>
<a class="indexterm" name="id2564600"></a><pre class="programlisting">typedef struct _GimpFrame GimpFrame;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2606858"></a><h3>
<a name="id2564614"></a><h3>
<a name="gimp-frame-new"></a>gimp_frame_new ()</h3>
<a class="indexterm" name="id2606872"></a><pre class="programlisting">GtkWidget* gimp_frame_new (const gchar *label);</pre>
<a class="indexterm" name="id2564629"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_frame_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
Creates a <a href="GimpFrame.html" title="GimpFrame"><span class="type">GimpFrame</span></a> widget. A <a href="GimpFrame.html" title="GimpFrame"><span class="type">GimpFrame</span></a> is a HIG-compliant
variant of <span class="type">GtkFrame</span>. It doesn't render a frame at all but
variant of <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>. It doesn't render a frame at all but
otherwise behaves like a frame. The frame's title is rendered in
bold and the frame content is indented four spaces as suggested by
the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</p>
@ -128,7 +160,9 @@ the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
<td> text to set as the frame's title label (or <code class="literal">NULL</code> for no title)
<td> text to set as the frame's title label (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for no title)
</td>
</tr>
<tr>
@ -144,19 +178,23 @@ the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2606983"></a><h2>Style Property Details</h2>
<a name="id2611061"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2606993"></a><h3>
<a name="id2611071"></a><h3>
<a name="GimpFrame--label-bold"></a>The "<code class="literal">label-bold</code>" style property</h3>
<a class="indexterm" name="id2607007"></a><pre class="programlisting"> "label-bold" gboolean : Read</pre>
<a class="indexterm" name="id2611085"></a><pre class="programlisting"> "label-bold" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read</pre>
<p></p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611077"></a><h3>
<a name="id2611108"></a><h3>
<a name="GimpFrame--label-spacing"></a>The "<code class="literal">label-spacing</code>" style property</h3>
<a class="indexterm" name="id2611091"></a><pre class="programlisting"> "label-spacing" gint : Read</pre>
<a class="indexterm" name="id2611123"></a><pre class="programlisting"> "label-spacing" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p></p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 6</p>

View File

@ -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="#id2586520" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575953" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2609263" class="shortcut">Description</a>
<a href="#id2613430" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2585170" class="shortcut">Object Hierarchy</a>
<a href="#id2556219" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2609198" class="shortcut">Implemented Interfaces</a>
<a href="#id2613365" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2609232" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2613399" 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="id2586520"></a><span class="refentrytitle">GimpIntComboBox</span>
<a name="id2575953"></a><span class="refentrytitle">GimpIntComboBox</span>
</h2>
<p>GimpIntComboBox &#8212; A widget providing a popup menu of integer values (e.g. enums).</p>
</td>
@ -61,85 +61,155 @@
<a href="GimpIntComboBox.html#GimpIntComboBox-struct">GimpIntComboBox</a>;
gboolean (<a href="GimpIntComboBox.html#GimpIntSensitivityFunc">*GimpIntSensitivityFunc</a>) (gint value,
gpointer data);
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="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a href="GimpIntComboBox.html#GimpIntSensitivityFunc">*GimpIntSensitivityFunc</a>) (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpIntComboBox.html#gimp-int-combo-box-new">gimp_int_combo_box_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
...);
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,
<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 <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
va_list 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[]);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpIntComboBox.html#gimp-int-combo-box-new-array">gimp_int_combo_box_new_array</a> (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *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,
...);
void <a href="GimpIntComboBox.html#gimp-int-combo-box-append">gimp_int_combo_box_append</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
...);
gboolean <a href="GimpIntComboBox.html#gimp-int-combo-box-set-active">gimp_int_combo_box_set_active</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint value);
gboolean <a href="GimpIntComboBox.html#gimp-int-combo-box-get-active">gimp_int_combo_box_get_active</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint *value);
gulong <a href="GimpIntComboBox.html#gimp-int-combo-box-connect">gimp_int_combo_box_connect</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint value,
GCallback callback,
gpointer data);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpIntComboBox.html#gimp-int-combo-box-set-active">gimp_int_combo_box_set_active</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpIntComboBox.html#gimp-int-combo-box-get-active">gimp_int_combo_box_get_active</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *value);
<a
href="../glib/glib-Basic-Types.html#gulong"
>gulong</a> <a href="GimpIntComboBox.html#gimp-int-combo-box-connect">gimp_int_combo_box_connect</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void <a href="GimpIntComboBox.html#gimp-int-combo-box-set-sensitivity">gimp_int_combo_box_set_sensitivity</a> (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a href="GimpIntComboBox.html#GimpIntSensitivityFunc">GimpIntSensitivityFunc</a> func,
gpointer data,
GDestroyNotify destroy);
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a
href="../glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2585170"></a><h2>Object Hierarchy</h2>
<a name="id2556219"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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
+----<a href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2609198"></a><h2>Implemented Interfaces</h2>
<a name="id2613365"></a><h2>Implemented Interfaces</h2>
<p>
GimpIntComboBox implements
AtkImplementorIface, GtkCellEditable and GtkCellLayout.</p>
AtkImplementorIface, <a
href="../gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="../gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2609232"></a><h2>Properties</h2>
<a name="id2613399"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpIntComboBox.html#GimpIntComboBox--ellipsize">ellipsize</a>" PangoEllipsizeMode : Read / Write
"<a href="GimpIntComboBox.html#GimpIntComboBox--ellipsize">ellipsize</a>" <a
href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2609263"></a><h2>Description</h2>
<a name="id2613430"></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="id2609280"></a><h2>Details</h2>
<a name="id2613446"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2609290"></a><h3>
<a name="id2613457"></a><h3>
<a name="GimpIntComboBox-struct"></a>GimpIntComboBox</h3>
<a class="indexterm" name="id2609302"></a><pre class="programlisting">typedef struct _GimpIntComboBox GimpIntComboBox;</pre>
<a class="indexterm" name="id2613469"></a><pre class="programlisting">typedef struct _GimpIntComboBox GimpIntComboBox;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609318"></a><h3>
<a name="id2613485"></a><h3>
<a name="GimpIntSensitivityFunc"></a>GimpIntSensitivityFunc ()</h3>
<a class="indexterm" name="id2609330"></a><pre class="programlisting">gboolean (*GimpIntSensitivityFunc) (gint value,
gpointer data);</pre>
<a class="indexterm" name="id2613496"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpIntSensitivityFunc) (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -168,14 +238,22 @@ A widget providing a popup menu of integer values (e.g. enums).
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609407"></a><h3>
<a name="id2613574"></a><h3>
<a name="gimp-int-combo-box-new"></a>gimp_int_combo_box_new ()</h3>
<a class="indexterm" name="id2609421"></a><pre class="programlisting">GtkWidget* gimp_int_combo_box_new (const gchar *first_label,
gint first_value,
<a class="indexterm" name="id2613588"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../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 <code class="literal">NULL</code>
item. The items to fill the combo box with are specified as a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
terminated list of label/value pairs.
</p>
<p>
@ -199,7 +277,9 @@ g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td> a <code class="literal">NULL</code> terminated list of more label, value pairs
<td> a <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> terminated list of more label, value pairs
</td>
</tr>
<tr>
@ -215,10 +295,16 @@ g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610263"></a><h3>
<a name="id2611282"></a><h3>
<a name="gimp-int-combo-box-new-valist"></a>gimp_int_combo_box_new_valist ()</h3>
<a class="indexterm" name="id2610278"></a><pre class="programlisting">GtkWidget* gimp_int_combo_box_new_valist (const gchar *first_label,
gint first_value,
<a class="indexterm" name="id2611297"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new_valist (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
va_list values);</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 a va_list of
@ -257,10 +343,16 @@ label/value pairs. Probably only useful for language bindings.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2614206"></a><h3>
<a name="id2616390"></a><h3>
<a name="gimp-int-combo-box-new-array"></a>gimp_int_combo_box_new_array ()</h3>
<a class="indexterm" name="id2614220"></a><pre class="programlisting">GtkWidget* gimp_int_combo_box_new_array (gint n_values,
const gchar *labels[]);</pre>
<a class="indexterm" name="id2616403"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new_array (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *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.
The array indices are used as values.</p>
@ -293,14 +385,16 @@ The array indices are used as values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2614322"></a><h3>
<a name="id2616505"></a><h3>
<a name="gimp-int-combo-box-prepend"></a>gimp_int_combo_box_prepend ()</h3>
<a class="indexterm" name="id2614335"></a><pre class="programlisting">void gimp_int_combo_box_prepend (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="indexterm" name="id2616518"></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 <code class="function">gtk_list_store_set()</code> for you.
and calls <a
href="../gtk/GtkListStore.html#gtk-list-store-set"
><code class="function">gtk_list_store_set()</code></a> 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>
@ -327,14 +421,16 @@ The column number must be taken from the enum <a href="GimpIntStore.html#GimpInt
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2614449"></a><h3>
<a name="id2616632"></a><h3>
<a name="gimp-int-combo-box-append"></a>gimp_int_combo_box_append ()</h3>
<a class="indexterm" name="id2614463"></a><pre class="programlisting">void gimp_int_combo_box_append (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="indexterm" name="id2616646"></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 <code class="function">gtk_list_store_set()</code> for you.
and calls <a
href="../gtk/GtkListStore.html#gtk-list-store-set"
><code class="function">gtk_list_store_set()</code></a> 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>
@ -361,10 +457,14 @@ The column number must be taken from the enum <a href="GimpIntStore.html#GimpInt
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2614578"></a><h3>
<a name="id2616762"></a><h3>
<a name="gimp-int-combo-box-set-active"></a>gimp_int_combo_box_set_active ()</h3>
<a class="indexterm" name="id2614594"></a><pre class="programlisting">gboolean gimp_int_combo_box_set_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint value);</pre>
<a class="indexterm" name="id2616777"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_combo_box_set_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../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
selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
@ -386,7 +486,11 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> on success or <code class="literal">FALSE</code> if there was no item for
<td> <a
href="../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"
><code class="literal">FALSE</code></a> if there was no item for
this value.
</td>
@ -398,10 +502,14 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2614722"></a><h3>
<a name="id2616906"></a><h3>
<a name="gimp-int-combo-box-get-active"></a>gimp_int_combo_box_get_active ()</h3>
<a class="indexterm" name="id2614738"></a><pre class="programlisting">gboolean gimp_int_combo_box_get_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint *value);</pre>
<a class="indexterm" name="id2616921"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_combo_box_get_active (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../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>
<p>
@ -422,7 +530,11 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>value</code></em> has been set or <code class="literal">FALSE</code> if no item was
<td> <a
href="../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"
><code class="literal">FALSE</code></a> if no item was
active.
</td>
@ -434,12 +546,20 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2614866"></a><h3>
<a name="id2617050"></a><h3>
<a name="gimp-int-combo-box-connect"></a>gimp_int_combo_box_connect ()</h3>
<a class="indexterm" name="id2614880"></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>
<a class="indexterm" name="id2617064"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gulong"
>gulong</a> gimp_int_combo_box_connect (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../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
<a href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a> and connects <em class="parameter"><code>callback</code></em> to the "changed"
@ -476,12 +596,16 @@ href="../libgimp/libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new"
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> a pointer passed as data to <code class="function">g_signal_connect()</code>
<td> a pointer passed as data to <a
href="../gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the signal handler ID as returned by <code class="function">g_signal_connect()</code>
<td> the signal handler ID as returned by <a
href="../gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>
</td>
</tr>
@ -492,19 +616,25 @@ href="../libgimp/libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615105"></a><h3>
<a name="id2617289"></a><h3>
<a name="gimp-int-combo-box-set-sensitivity"></a>gimp_int_combo_box_set_sensitivity ()</h3>
<a class="indexterm" name="id2615122"></a><pre class="programlisting">void gimp_int_combo_box_set_sensitivity (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="indexterm" name="id2617306"></a><pre class="programlisting">void gimp_int_combo_box_set_sensitivity (<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a href="GimpIntComboBox.html#GimpIntSensitivityFunc">GimpIntSensitivityFunc</a> func,
gpointer data,
GDestroyNotify destroy);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a
href="../glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);</pre>
<p>
Sets a function that is used to decide about the sensitivity of
rows in the <em class="parameter"><code>combo_box</code></em>. Use this if you want to set certain rows
insensitive.
</p>
<p>
Calling <code class="function">gtk_widget_queue_draw()</code> on the <em class="parameter"><code>combo_box</code></em> will cause the
Calling <a
href="../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>
@ -519,7 +649,9 @@ sensitivity to be updated.</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>func</code></em>&#160;:</span></td>
<td> a function that returns a boolean value, or <code class="literal">NULL</code> to unset
<td> a function that returns a boolean value, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to unset
</td>
</tr>
<tr>
@ -539,11 +671,13 @@ sensitivity to be updated.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2615299"></a><h2>Property Details</h2>
<a name="id2617483"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2615310"></a><h3>
<a name="id2617494"></a><h3>
<a name="GimpIntComboBox--ellipsize"></a>The "<code class="literal">ellipsize</code>" property</h3>
<a class="indexterm" name="id2615324"></a><pre class="programlisting"> "ellipsize" PangoEllipsizeMode : Read / Write</pre>
<a class="indexterm" name="id2617508"></a><pre class="programlisting"> "ellipsize" <a
href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write</pre>
<p>
Specifies the preferred place to ellipsize text in the combo-box,
if the cell renderer does not have enough room to display the

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpMemsizeEntry.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="#id2585239" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578386" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2610526" class="shortcut">Description</a>
<a href="#id2616001" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2610417" class="shortcut">Object Hierarchy</a>
<a href="#id2613989" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2610455" class="shortcut">Implemented Interfaces</a>
<a href="#id2614027" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2610495" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2614067" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpIntStore"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2585239"></a><span class="refentrytitle">GimpIntStore</span>
<a name="id2578386"></a><span class="refentrytitle">GimpIntStore</span>
</h2>
<p>GimpIntStore &#8212; A model for integer based name-value pairs (e.g. enums)</p>
</td>
@ -62,57 +62,81 @@
<a href="GimpIntStore.html#GimpIntStore-struct">GimpIntStore</a>;
enum <a href="GimpIntStore.html#GimpIntStoreColumns">GimpIntStoreColumns</a>;
GtkListStore* <a href="GimpIntStore.html#gimp-int-store-new">gimp_int_store_new</a> (void);
gboolean <a href="GimpIntStore.html#gimp-int-store-lookup-by-value">gimp_int_store_lookup_by_value</a> (GtkTreeModel *model,
gint value,
GtkTreeIter *iter);
<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* <a href="GimpIntStore.html#gimp-int-store-new">gimp_int_store_new</a> (void);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpIntStore.html#gimp-int-store-lookup-by-value">gimp_int_store_lookup_by_value</a> (<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../gtk/GtkTreeModel.html#GtkTreeIter"
>GtkTreeIter</a> *iter);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2610417"></a><h2>Object Hierarchy</h2>
<a name="id2613989"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GtkListStore
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>
+----GimpIntStore
+----<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2610455"></a><h2>Implemented Interfaces</h2>
<a name="id2614027"></a><h2>Implemented Interfaces</h2>
<p>
GimpIntStore implements
GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest and GtkTreeSortable.</p>
<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a>, <a
href="../gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
>GtkTreeDragSource</a>, <a
href="../gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
>GtkTreeDragDest</a> and <a
href="../gtk/GtkTreeSortable.html"
>GtkTreeSortable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2610495"></a><h2>Properties</h2>
<a name="id2614067"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpIntStore.html#GimpIntStore--user-data-type">user-data-type</a>" GType : Read / Write / Construct Only
"<a href="GimpIntStore.html#GimpIntStore--user-data-type">user-data-type</a>" <a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2610526"></a><h2>Description</h2>
<a name="id2616001"></a><h2>Description</h2>
<p>
A model for integer based name-value pairs (e.g. enums)
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2596362"></a><h2>Details</h2>
<a name="id2616018"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2596372"></a><h3>
<a name="id2616028"></a><h3>
<a name="GimpIntStore-struct"></a>GimpIntStore</h3>
<a class="indexterm" name="id2596385"></a><pre class="programlisting">typedef struct _GimpIntStore GimpIntStore;</pre>
<a class="indexterm" name="id2616041"></a><pre class="programlisting">typedef struct _GimpIntStore GimpIntStore;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2596400"></a><h3>
<a name="id2616056"></a><h3>
<a name="GimpIntStoreColumns"></a>enum GimpIntStoreColumns</h3>
<a class="indexterm" name="id2596413"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2616069"></a><pre class="programlisting">typedef enum
{
GIMP_INT_STORE_VALUE,
GIMP_INT_STORE_LABEL,
@ -128,11 +152,15 @@ A model for integer based name-value pairs (e.g. enums)
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2596431"></a><h3>
<a name="id2616087"></a><h3>
<a name="gimp-int-store-new"></a>gimp_int_store_new ()</h3>
<a class="indexterm" name="id2596446"></a><pre class="programlisting">GtkListStore* gimp_int_store_new (void);</pre>
<a class="indexterm" name="id2616102"></a><pre class="programlisting"><a
href="../gtk/GtkListStore.html"
>GtkListStore</a>* gimp_int_store_new (void);</pre>
<p>
Creates a <span class="type">GtkListStore</span> with a number of useful columns.
Creates a <a
href="../gtk/GtkListStore.html"
><span class="type">GtkListStore</span></a> with a number of useful columns.
<a href="GimpIntStore.html" title="GimpIntStore"><span class="type">GimpIntStore</span></a> is especially useful if the items you want to store
are identified using an integer value.</p>
<p>
@ -152,11 +180,19 @@ are identified using an integer value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2596516"></a><h3>
<a name="id2558268"></a><h3>
<a name="gimp-int-store-lookup-by-value"></a>gimp_int_store_lookup_by_value ()</h3>
<a class="indexterm" name="id2612869"></a><pre class="programlisting">gboolean gimp_int_store_lookup_by_value (GtkTreeModel *model,
gint value,
GtkTreeIter *iter);</pre>
<a class="indexterm" name="id2558282"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_store_lookup_by_value (<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../gtk/GtkTreeModel.html#GtkTreeIter"
>GtkTreeIter</a> *iter);</pre>
<p>
Iterate over the <em class="parameter"><code>model</code></em> looking for <em class="parameter"><code>value</code></em>.</p>
<p>
@ -182,8 +218,12 @@ Iterate over the <em class="parameter"><code>model</code></em> looking for <em c
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the value has been located and <em class="parameter"><code>iter</code></em> is
valid, <code class="literal">FALSE</code> otherwise.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the value has been located and <em class="parameter"><code>iter</code></em> is
valid, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
@ -194,13 +234,17 @@ Iterate over the <em class="parameter"><code>model</code></em> looking for <em c
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2613037"></a><h2>Property Details</h2>
<a name="id2615598"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2613047"></a><h3>
<a name="id2615609"></a><h3>
<a name="GimpIntStore--user-data-type"></a>The "<code class="literal">user-data-type</code>" property</h3>
<a class="indexterm" name="id2613061"></a><pre class="programlisting"> "user-data-type" GType : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2615623"></a><pre class="programlisting"> "user-data-type" <a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> : Read / Write / Construct Only</pre>
<p>
Allows to set the <span class="type">GType</span> for the GIMP_INT_STORE_USER_DATA column.
Allows to set the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> for the GIMP_INT_STORE_USER_DATA column.
</p>
<p>
You need to set this property when constructing the store if you want

View File

@ -7,7 +7,7 @@
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpIntStore.html" title="GimpIntStore">
<link rel="next" href="GimpOffsetArea.html" title="GimpOffsetArea">
<link rel="next" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">
<meta name="generator" content="GTK-Doc V1.8 (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">
@ -31,24 +31,24 @@
<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="GimpOffsetArea.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="GimpNumberPairEntry.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="#id2607042" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2575062" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2615523" class="shortcut">Description</a>
<a href="#id2613226" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2615416" class="shortcut">Object Hierarchy</a>
<a href="#id2615440" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2615476" class="shortcut">Implemented Interfaces</a>
<a href="#id2615501" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2615498" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2615522" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpMemsizeEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2607042"></a><span class="refentrytitle">GimpMemsizeEntry</span>
<a name="id2575062"></a><span class="refentrytitle">GimpMemsizeEntry</span>
</h2>
<p>GimpMemsizeEntry &#8212; A composite widget that allows to enter a memory size.</p>
</td>
@ -61,44 +61,70 @@
<a href="GimpMemsizeEntry.html#GimpMemsizeEntry-struct">GimpMemsizeEntry</a>;
GtkWidget* <a href="GimpMemsizeEntry.html#gimp-memsize-entry-new">gimp_memsize_entry_new</a> (guint64 value,
guint64 lower,
guint64 upper);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpMemsizeEntry.html#gimp-memsize-entry-new">gimp_memsize_entry_new</a> (<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> value,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> lower,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> upper);
void <a href="GimpMemsizeEntry.html#gimp-memsize-entry-set-value">gimp_memsize_entry_set_value</a> (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
guint64 value);
guint64 <a href="GimpMemsizeEntry.html#gimp-memsize-entry-get-value">gimp_memsize_entry_get_value</a> (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> value);
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> <a href="GimpMemsizeEntry.html#gimp-memsize-entry-get-value">gimp_memsize_entry_get_value</a> (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2615416"></a><h2>Object Hierarchy</h2>
<a name="id2615440"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkHBox.html"
>GtkHBox</a>
+----GimpMemsizeEntry
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2615476"></a><h2>Implemented Interfaces</h2>
<a name="id2615501"></a><h2>Implemented Interfaces</h2>
<p>
GimpMemsizeEntry implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2615498"></a><h2>Signals</h2>
<a name="id2615522"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpMemsizeEntry.html#GimpMemsizeEntry-value-changed">value-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2615523"></a><h2>Description</h2>
<a name="id2613226"></a><h2>Description</h2>
<p>
Similar to a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> but instead of lengths, this widget is used to let
the user enter memory sizes. An option menu allows to switch between
@ -106,25 +132,39 @@ Kilobytes, Megabytes and Gigabytes. Used in the GIMP preferences dialog.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2615549"></a><h2>Details</h2>
<a name="id2613252"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2615560"></a><h3>
<a name="id2613263"></a><h3>
<a name="GimpMemsizeEntry-struct"></a>GimpMemsizeEntry</h3>
<a class="indexterm" name="id2615571"></a><pre class="programlisting">typedef struct _GimpMemsizeEntry GimpMemsizeEntry;</pre>
<a class="indexterm" name="id2613275"></a><pre class="programlisting">typedef struct _GimpMemsizeEntry GimpMemsizeEntry;</pre>
<p>
The <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> struct is considered private.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615595"></a><h3>
<a name="id2613298"></a><h3>
<a name="gimp-memsize-entry-new"></a>gimp_memsize_entry_new ()</h3>
<a class="indexterm" name="id2615606"></a><pre class="programlisting">GtkWidget* gimp_memsize_entry_new (guint64 value,
guint64 lower,
guint64 upper);</pre>
<a class="indexterm" name="id2613310"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_memsize_entry_new (<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> value,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> lower,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> upper);</pre>
<p>
Creates a new <a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a> which is a <span class="type">GtkHBox</span> with a <span class="type">GtkSpinButton</span>
and a <span class="type">GtkOptionMenu</span> all setup to allow the user to enter memory sizes.</p>
Creates a new <a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a> which is a <a
href="../gtk/GtkHBox.html"
><span class="type">GtkHBox</span></a> with a <a
href="../gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a>
and a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> all setup to allow the user to enter memory sizes.</p>
<p>
</p>
@ -156,10 +196,12 @@ and a <span class="type">GtkOptionMenu</span> all setup to allow the user to ent
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610779"></a><h3>
<a name="id2615772"></a><h3>
<a name="gimp-memsize-entry-set-value"></a>gimp_memsize_entry_set_value ()</h3>
<a class="indexterm" name="id2610790"></a><pre class="programlisting">void gimp_memsize_entry_set_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
guint64 value);</pre>
<a class="indexterm" name="id2615783"></a><pre class="programlisting">void gimp_memsize_entry_set_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> value);</pre>
<p>
Sets the <em class="parameter"><code>entry</code></em>'s value. Please note that the <a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a> rounds
the value to full Kilobytes.</p>
@ -184,9 +226,11 @@ the value to full Kilobytes.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610881"></a><h3>
<a name="id2612846"></a><h3>
<a name="gimp-memsize-entry-get-value"></a>gimp_memsize_entry_get_value ()</h3>
<a class="indexterm" name="id2610894"></a><pre class="programlisting">guint64 gimp_memsize_entry_get_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);</pre>
<a class="indexterm" name="id2612859"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#guint64"
>guint64</a> gimp_memsize_entry_get_value (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);</pre>
<p>
Retrieves the current value from a <a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a>.</p>
<p>
@ -210,12 +254,14 @@ Retrieves the current value from a <a href="GimpMemsizeEntry.html" title="GimpMe
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2613251"></a><h2>Signal Details</h2>
<a name="id2612942"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2613262"></a><h3>
<a name="id2612953"></a><h3>
<a name="GimpMemsizeEntry-value-changed"></a>The "value-changed" signal</h3>
<a class="indexterm" name="id2613271"></a><pre class="programlisting">void user_function (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *gimpmemsizeentry,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2612962"></a><pre class="programlisting">void user_function (<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *gimpmemsizeentry,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -0,0 +1,857 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpNumberPairEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">
<link rel="next" href="GimpOffsetArea.html" title="GimpOffsetArea">
<meta name="generator" content="GTK-Doc V1.8 (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">
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
<link rel="index" href="libgimpwidgets-index.html" title="Index">
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
</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="GimpMemsizeEntry.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="GimpOffsetArea.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="#id2583516" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2615048" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2613176" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2614509" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2614543" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2614701" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpNumberPairEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583516"></a><span class="refentrytitle">GimpNumberPairEntry</span>
</h2>
<p>GimpNumberPairEntry</p>
</td>
<td valign="top" align="right"><img src="gimp-number-pair-entry.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="GimpNumberPairEntry.html#GimpNumberPairEntry-struct">GimpNumberPairEntry</a>;
enum <a href="GimpNumberPairEntry.html#GimpAspectType">GimpAspectType</a>;
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-new">gimp_number_pair_entry_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *separators,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_simplification,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min_valid_value,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max_valid_value);
void <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-values">gimp_number_pair_entry_set_default_values</a>
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);
void <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-values">gimp_number_pair_entry_get_default_values</a>
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);
void <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-values">gimp_number_pair_entry_set_values</a> (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);
void <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-values">gimp_number_pair_entry_get_values</a> (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);
<a href="GimpNumberPairEntry.html#GimpAspectType">GimpAspectType</a> <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-aspect">gimp_number_pair_entry_get_aspect</a> (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
void <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-aspect">gimp_number_pair_entry_set_aspect</a> (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a href="GimpNumberPairEntry.html#GimpAspectType">GimpAspectType</a> aspect);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio">gimp_number_pair_entry_get_ratio</a> (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
void <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-ratio">gimp_number_pair_entry_set_ratio</a> (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> ratio);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override">gimp_number_pair_entry_get_user_override</a>
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
void <a href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-user-override">gimp_number_pair_entry_set_user_override</a>
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_override);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2613176"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkEntry.html"
>GtkEntry</a>
+----GimpNumberPairEntry
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2614509"></a><h2>Implemented Interfaces</h2>
<p>
GimpNumberPairEntry implements
AtkImplementorIface, <a
href="../gtk/GtkEditable.html"
>GtkEditable</a> and <a
href="../gtk/GtkCellEditable.html"
>GtkCellEditable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2614543"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification">allow-simplification</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--aspect">aspect</a>" <a href="GimpNumberPairEntry.html#GimpAspectType">GimpAspectType</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number">default-left-number</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number">default-right-number</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--left-number">left-number</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value">max-valid-value</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value">min-valid-value</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--ratio">ratio</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--right-number">right-number</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--separators">separators</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry--user-override">user-override</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2614701"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry-numbers-changed">numbers-changed</a>" : Run First
"<a href="GimpNumberPairEntry.html#GimpNumberPairEntry-ratio-changed">ratio-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2615048"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2615064"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2615075"></a><h3>
<a name="GimpNumberPairEntry-struct"></a>GimpNumberPairEntry</h3>
<a class="indexterm" name="id2615086"></a><pre class="programlisting">typedef struct _GimpNumberPairEntry GimpNumberPairEntry;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615103"></a><h3>
<a name="GimpAspectType"></a>enum GimpAspectType</h3>
<a class="indexterm" name="id2615115"></a><pre class="programlisting">typedef enum
{
GIMP_ASPECT_SQUARE, /*&lt; desc="Square" &gt;*/
GIMP_ASPECT_PORTRAIT, /*&lt; desc="Portrait" &gt;*/
GIMP_ASPECT_LANDSCAPE /*&lt; desc="Landscape" &gt;*/
} GimpAspectType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615134"></a><h3>
<a name="gimp-number-pair-entry-new"></a>gimp_number_pair_entry_new ()</h3>
<a class="indexterm" name="id2615148"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_number_pair_entry_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *separators,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_simplification,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min_valid_value,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max_valid_value);</pre>
<p>
Creates a new <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget, which is a GtkEntry that
accepts two numbers separated by a separator. Typical input example
with a 'x' separator: "377x233".
</p>
<p>
The widget supports simplification of the entered ratio when the
input ends in '=', if "allow-simplification" is TRUE.
</p>
<p>
The "separators" property contains a string of characters valid as
separators when parsing input. The first separator is used when
displaying the current values.
</p>
<p>
It is possible to specify what range of values that shall be
considered as valid when parsing user input, by changing
"min-valid-value" and "max-valid-value".
</p>
<p>
The first separator of <em class="parameter"><code>separators</code></em> is used to display the current
value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>separators</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>allow_simplification</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>min_valid_value</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>max_valid_value</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The new <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620732"></a><h3>
<a name="gimp-number-pair-entry-set-default-values"></a>gimp_number_pair_entry_set_default_values ()</h3>
<a class="indexterm" name="id2620747"></a><pre class="programlisting">void gimp_number_pair_entry_set_default_values
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>left</code></em>&#160;:</span></td>
<td> Default left value in the entry.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>right</code></em>&#160;:</span></td>
<td> Default right value in the entry.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620844"></a><h3>
<a name="gimp-number-pair-entry-get-default-values"></a>gimp_number_pair_entry_get_default_values ()</h3>
<a class="indexterm" name="id2620860"></a><pre class="programlisting">void gimp_number_pair_entry_get_default_values
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>left</code></em>&#160;:</span></td>
<td> Pointer of where to put left value.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>right</code></em>&#160;:</span></td>
<td> Pointer of where to put right value.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620968"></a><h3>
<a name="gimp-number-pair-entry-set-values"></a>gimp_number_pair_entry_set_values ()</h3>
<a class="indexterm" name="id2620984"></a><pre class="programlisting">void gimp_number_pair_entry_set_values (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);</pre>
<p>
Forces setting the numbers displayed by a <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a>,
ignoring if the user has set his/her own value. The state of
user-override will not be changed.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>left</code></em>&#160;:</span></td>
<td> Left number in the entry.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>right</code></em>&#160;:</span></td>
<td> Right number in the entry.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621101"></a><h3>
<a name="gimp-number-pair-entry-get-values"></a>gimp_number_pair_entry_get_values ()</h3>
<a class="indexterm" name="id2621117"></a><pre class="programlisting">void gimp_number_pair_entry_get_values (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);</pre>
<p>
Gets the numbers displayed by a <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</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>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>left</code></em>&#160;:</span></td>
<td> Pointer of where to store the left number (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>right</code></em>&#160;:</span></td>
<td> Pointer of to store the right number (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621251"></a><h3>
<a name="gimp-number-pair-entry-get-aspect"></a>gimp_number_pair_entry_get_aspect ()</h3>
<a class="indexterm" name="id2621268"></a><pre class="programlisting"><a href="GimpNumberPairEntry.html#GimpAspectType">GimpAspectType</a> gimp_number_pair_entry_get_aspect (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);</pre>
<p>
Gets the aspect of the ratio displayed by a <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</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>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The entry's current aspect.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621351"></a><h3>
<a name="gimp-number-pair-entry-set-aspect"></a>gimp_number_pair_entry_set_aspect ()</h3>
<a class="indexterm" name="id2621367"></a><pre class="programlisting">void gimp_number_pair_entry_set_aspect (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a href="GimpNumberPairEntry.html#GimpAspectType">GimpAspectType</a> aspect);</pre>
<p>
Sets the aspect of the ratio by swapping the left_number and
right_number if necessary (or setting them to 1.0 in case that
<em class="parameter"><code>aspect</code></em> is <code class="literal">GIMP_ASPECT_SQUARE</code>).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>aspect</code></em>&#160;:</span></td>
<td> The new aspect.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621470"></a><h3>
<a name="gimp-number-pair-entry-get-ratio"></a>gimp_number_pair_entry_get_ratio ()</h3>
<a class="indexterm" name="id2621486"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_number_pair_entry_get_ratio (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);</pre>
<p>
Retrieves the ratio of the numbers displayed by a <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</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>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The ratio value.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621569"></a><h3>
<a name="gimp-number-pair-entry-set-ratio"></a>gimp_number_pair_entry_set_ratio ()</h3>
<a class="indexterm" name="id2621585"></a><pre class="programlisting">void gimp_number_pair_entry_set_ratio (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> ratio);</pre>
<p>
Sets the numbers of the <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> to have the desired
ratio. If the new ratio is different than the previous ratio, the
"ratio-changed" signal is emitted.
</p>
<p>
An attempt is made to convert the decimal number into a fraction
with left_number and right_number &lt; 1000.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>ratio</code></em>&#160;:</span></td>
<td> Ratio to set in the widget.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621686"></a><h3>
<a name="gimp-number-pair-entry-get-user-override"></a>gimp_number_pair_entry_get_user_override ()</h3>
<a class="indexterm" name="id2621702"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_number_pair_entry_get_user_override
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> Wether or not the the widget is in user overridden mode.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621779"></a><h3>
<a name="gimp-number-pair-entry-set-user-override"></a>gimp_number_pair_entry_set_user_override ()</h3>
<a class="indexterm" name="id2621795"></a><pre class="programlisting">void gimp_number_pair_entry_set_user_override
(<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_override);</pre>
<p>
When the entry is not in user overridden mode, the values will
change when the default values are changed. When in user overridden
mode, setting default values will not affect the active values.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> A <a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_override</code></em>&#160;:</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> sets the entry in user overridden mode,
<a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> disables.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2621906"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2621917"></a><h3>
<a name="GimpNumberPairEntry--allow-simplification"></a>The "<code class="literal">allow-simplification</code>" property</h3>
<a class="indexterm" name="id2621933"></a><pre class="programlisting"> "allow-simplification" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether to allow simplification.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621959"></a><h3>
<a name="GimpNumberPairEntry--aspect"></a>The "<code class="literal">aspect</code>" property</h3>
<a class="indexterm" name="id2621973"></a><pre class="programlisting"> "aspect" <a href="GimpNumberPairEntry.html#GimpAspectType">GimpAspectType</a> : Read / Write</pre>
<p></p>
<p>Default value: GIMP_ASPECT_SQUARE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621997"></a><h3>
<a name="GimpNumberPairEntry--default-left-number"></a>The "<code class="literal">default-left-number</code>" property</h3>
<a class="indexterm" name="id2622014"></a><pre class="programlisting"> "default-left-number" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 100</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622042"></a><h3>
<a name="GimpNumberPairEntry--default-right-number"></a>The "<code class="literal">default-right-number</code>" property</h3>
<a class="indexterm" name="id2571971"></a><pre class="programlisting"> "default-right-number" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 100</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622068"></a><h3>
<a name="GimpNumberPairEntry--left-number"></a>The "<code class="literal">left-number</code>" property</h3>
<a class="indexterm" name="id2622082"></a><pre class="programlisting"> "left-number" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 100</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622108"></a><h3>
<a name="GimpNumberPairEntry--max-valid-value"></a>The "<code class="literal">max-valid-value</code>" property</h3>
<a class="indexterm" name="id2622123"></a><pre class="programlisting"> "max-valid-value" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>Maximum value valid when parsing input.</p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 1.79769e+308</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622151"></a><h3>
<a name="GimpNumberPairEntry--min-valid-value"></a>The "<code class="literal">min-valid-value</code>" property</h3>
<a class="indexterm" name="id2622166"></a><pre class="programlisting"> "min-valid-value" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>Minimum value valid when parsing input.</p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 2.22507e-308</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622194"></a><h3>
<a name="GimpNumberPairEntry--ratio"></a>The "<code class="literal">ratio</code>" property</h3>
<a class="indexterm" name="id2622206"></a><pre class="programlisting"> "ratio" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622232"></a><h3>
<a name="GimpNumberPairEntry--right-number"></a>The "<code class="literal">right-number</code>" property</h3>
<a class="indexterm" name="id2622247"></a><pre class="programlisting"> "right-number" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 100</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622273"></a><h3>
<a name="GimpNumberPairEntry--separators"></a>The "<code class="literal">separators</code>" property</h3>
<a class="indexterm" name="id2622288"></a><pre class="programlisting"> "separators" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write / Construct Only</pre>
<p>A string of valid separators.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622312"></a><h3>
<a name="GimpNumberPairEntry--user-override"></a>The "<code class="literal">user-override</code>" property</h3>
<a class="indexterm" name="id2622326"></a><pre class="programlisting"> "user-override" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether the widget is in 'user override' mode.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2622352"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2622361"></a><h3>
<a name="GimpNumberPairEntry-numbers-changed"></a>The "numbers-changed" signal</h3>
<a class="indexterm" name="id2622370"></a><pre class="programlisting">void user_function (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *gimpnumberpairentry,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>gimpnumberpairentry</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2622433"></a><h3>
<a name="GimpNumberPairEntry-ratio-changed"></a>The "ratio-changed" signal</h3>
<a class="indexterm" name="id2622442"></a><pre class="programlisting">void user_function (<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *gimpnumberpairentry,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>gimpnumberpairentry</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>

View File

@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">
<link rel="prev" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">
<link rel="next" href="GimpPageSelector.html" title="GimpPageSelector">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
@ -27,28 +27,28 @@
<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="GimpMemsizeEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="GimpNumberPairEntry.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="GimpPageSelector.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="#id2509970" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2576695" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2613625" class="shortcut">Description</a>
<a href="#id2618962" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2613431" class="shortcut">Object Hierarchy</a>
<a href="#id2614304" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2613480" class="shortcut">Implemented Interfaces</a>
<a href="#id2618916" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2613600" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2618938" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpOffsetArea"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2509970"></a><span class="refentrytitle">GimpOffsetArea</span>
<a name="id2576695"></a><span class="refentrytitle">GimpOffsetArea</span>
</h2>
<p>GimpOffsetArea &#8212; Widget to control image offsets.</p>
</td>
@ -61,66 +61,98 @@
<a href="GimpOffsetArea.html#GimpOffsetArea-struct">GimpOffsetArea</a>;
GtkWidget* <a href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a> (gint orig_width,
gint orig_height);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpOffsetArea.html#gimp-offset-area-new">gimp_offset_area_new</a> (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> orig_width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> orig_height);
void <a href="GimpOffsetArea.html#gimp-offset-area-set-size">gimp_offset_area_set_size</a> (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint width,
gint height);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void <a href="GimpOffsetArea.html#gimp-offset-area-set-offsets">gimp_offset_area_set_offsets</a> (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint offset_x,
gint offset_y);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offset_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offset_y);
void <a href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf">gimp_offset_area_set_pixbuf</a> (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
GdkPixbuf *pixbuf);
<a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2613431"></a><h2>Object Hierarchy</h2>
<a name="id2614304"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpOffsetArea
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2613480"></a><h2>Implemented Interfaces</h2>
<a name="id2618916"></a><h2>Implemented Interfaces</h2>
<p>
GimpOffsetArea implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2613600"></a><h2>Signals</h2>
<a name="id2618938"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpOffsetArea.html#GimpOffsetArea-offsets-changed">offsets-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2613625"></a><h2>Description</h2>
<a name="id2618962"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2613641"></a><h2>Details</h2>
<a name="id2618978"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2613652"></a><h3>
<a name="id2618989"></a><h3>
<a name="GimpOffsetArea-struct"></a>GimpOffsetArea</h3>
<a class="indexterm" name="id2613663"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
<a class="indexterm" name="id2619001"></a><pre class="programlisting">typedef struct _GimpOffsetArea GimpOffsetArea;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2613680"></a><h3>
<a name="id2619017"></a><h3>
<a name="gimp-offset-area-new"></a>gimp_offset_area_new ()</h3>
<a class="indexterm" name="id2613691"></a><pre class="programlisting">GtkWidget* gimp_offset_area_new (gint orig_width,
gint orig_height);</pre>
<a class="indexterm" name="id2619028"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_offset_area_new (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> orig_width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> orig_height);</pre>
<p>
Creates a new <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget. A <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> can be used
when resizing an image or a drawable to allow the user to interactively
@ -151,11 +183,15 @@ specify the new offsets.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611179"></a><h3>
<a name="id2619133"></a><h3>
<a name="gimp-offset-area-set-size"></a>gimp_offset_area_set_size ()</h3>
<a class="indexterm" name="id2611190"></a><pre class="programlisting">void gimp_offset_area_set_size (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint width,
gint height);</pre>
<a class="indexterm" name="id2619144"></a><pre class="programlisting">void gimp_offset_area_set_size (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Sets the size of the image/drawable displayed by the <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
If the offsets change as a result of this change, the "offsets-changed"
@ -186,11 +222,15 @@ signal is emitted.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611298"></a><h3>
<a name="id2620253"></a><h3>
<a name="gimp-offset-area-set-offsets"></a>gimp_offset_area_set_offsets ()</h3>
<a class="indexterm" name="id2611309"></a><pre class="programlisting">void gimp_offset_area_set_offsets (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint offset_x,
gint offset_y);</pre>
<a class="indexterm" name="id2620264"></a><pre class="programlisting">void gimp_offset_area_set_offsets (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offset_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> offset_y);</pre>
<p>
Sets the offsets of the image/drawable displayed by the <a href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
It does not emit the "offsets-changed" signal.</p>
@ -220,10 +260,12 @@ It does not emit the "offsets-changed" signal.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611862"></a><h3>
<a name="id2620373"></a><h3>
<a name="gimp-offset-area-set-pixbuf"></a>gimp_offset_area_set_pixbuf ()</h3>
<a class="indexterm" name="id2611876"></a><pre class="programlisting">void gimp_offset_area_set_pixbuf (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
GdkPixbuf *pixbuf);</pre>
<a class="indexterm" name="id2620386"></a><pre class="programlisting">void gimp_offset_area_set_pixbuf (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
<a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);</pre>
<p>
Sets the pixbuf which represents the original image/drawable which
is being offset.</p>
@ -240,7 +282,9 @@ is being offset.</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>pixbuf</code></em>&#160;:</span></td>
<td> a <span class="type">GdkPixbuf</span>.
<td> a <a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a>.
</td>
</tr>
</tbody>
@ -250,14 +294,20 @@ is being offset.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2611971"></a><h2>Signal Details</h2>
<a name="id2620481"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2611982"></a><h3>
<a name="id2620492"></a><h3>
<a name="GimpOffsetArea-offsets-changed"></a>The "offsets-changed" signal</h3>
<a class="indexterm" name="id2611990"></a><pre class="programlisting">void user_function (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
gint arg1,
gint arg2,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2620500"></a><pre class="programlisting">void user_function (<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,24 +33,24 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpPathEditor.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="#id2591968" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2586053" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2617388" class="shortcut">Description</a>
<a href="#id2618608" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2617230" class="shortcut">Object Hierarchy</a>
<a href="#id2618450" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2617292" class="shortcut">Implemented Interfaces</a>
<a href="#id2618512" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2617314" class="shortcut">Properties</a>
<a href="#id2618534" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2617356" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2618575" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpPageSelector"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2591968"></a><span class="refentrytitle">GimpPageSelector</span>
<a name="id2586053"></a><span class="refentrytitle">GimpPageSelector</span>
</h2>
<p>GimpPageSelector</p>
</td>
@ -64,73 +64,127 @@
<a href="GimpPageSelector.html#GimpPageSelector-struct">GimpPageSelector</a>;
enum <a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a>;
GtkWidget* <a href="GimpPageSelector.html#gimp-page-selector-new">gimp_page_selector_new</a> (void);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPageSelector.html#gimp-page-selector-new">gimp_page_selector_new</a> (void);
void <a href="GimpPageSelector.html#gimp-page-selector-set-n-pages">gimp_page_selector_set_n_pages</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint n_pages);
gint <a href="GimpPageSelector.html#gimp-page-selector-get-n-pages">gimp_page_selector_get_n_pages</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_pages);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GimpPageSelector.html#gimp-page-selector-get-n-pages">gimp_page_selector_get_n_pages</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a href="GimpPageSelector.html#gimp-page-selector-set-target">gimp_page_selector_set_target</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> target);
<a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> <a href="GimpPageSelector.html#gimp-page-selector-get-target">gimp_page_selector_get_target</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a href="GimpPageSelector.html#gimp-page-selector-set-page-thumbnail">gimp_page_selector_set_page_thumbnail</a>
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
GdkPixbuf *thumbnail);
GdkPixbuf* <a href="GimpPageSelector.html#gimp-page-selector-get-page-thumbnail">gimp_page_selector_get_page_thumbnail</a>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
<a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *thumbnail);
<a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* <a href="GimpPageSelector.html#gimp-page-selector-get-page-thumbnail">gimp_page_selector_get_page_thumbnail</a>
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
void <a href="GimpPageSelector.html#gimp-page-selector-set-page-label">gimp_page_selector_set_page_label</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
const gchar *label);
gchar* <a href="GimpPageSelector.html#gimp-page-selector-get-page-label">gimp_page_selector_get_page_label</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpPageSelector.html#gimp-page-selector-get-page-label">gimp_page_selector_get_page_label</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
void <a href="GimpPageSelector.html#gimp-page-selector-select-all">gimp_page_selector_select_all</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a href="GimpPageSelector.html#gimp-page-selector-unselect-all">gimp_page_selector_unselect_all</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a href="GimpPageSelector.html#gimp-page-selector-select-page">gimp_page_selector_select_page</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
void <a href="GimpPageSelector.html#gimp-page-selector-unselect-page">gimp_page_selector_unselect_page</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
gboolean <a href="GimpPageSelector.html#gimp-page-selector-page-is-selected">gimp_page_selector_page_is_selected</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
gint* <a href="GimpPageSelector.html#gimp-page-selector-get-selected-pages">gimp_page_selector_get_selected_pages</a>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpPageSelector.html#gimp-page-selector-page-is-selected">gimp_page_selector_page_is_selected</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>* <a href="GimpPageSelector.html#gimp-page-selector-get-selected-pages">gimp_page_selector_get_selected_pages</a>
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint *n_selected_pages);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *n_selected_pages);
void <a href="GimpPageSelector.html#gimp-page-selector-select-range">gimp_page_selector_select_range</a> (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
const gchar *range);
gchar* <a href="GimpPageSelector.html#gimp-page-selector-get-selected-range">gimp_page_selector_get_selected_range</a>
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *range);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpPageSelector.html#gimp-page-selector-get-selected-range">gimp_page_selector_get_selected_range</a>
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2617230"></a><h2>Object Hierarchy</h2>
<a name="id2618450"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpPageSelector
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2617292"></a><h2>Implemented Interfaces</h2>
<a name="id2618512"></a><h2>Implemented Interfaces</h2>
<p>
GimpPageSelector implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2617314"></a><h2>Properties</h2>
<a name="id2618534"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpPageSelector.html#GimpPageSelector--n-pages">n-pages</a>" gint : Read / Write
"<a href="GimpPageSelector.html#GimpPageSelector--n-pages">n-pages</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GimpPageSelector.html#GimpPageSelector--target">target</a>" <a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2617356"></a><h2>Signals</h2>
<a name="id2618575"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpPageSelector.html#GimpPageSelector-activate">activate</a>" : Run First / Action
@ -138,26 +192,26 @@ GimpPageSelector implements
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2617388"></a><h2>Description</h2>
<a name="id2618608"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2612103"></a><h2>Details</h2>
<a name="id2618623"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2612114"></a><h3>
<a name="id2611808"></a><h3>
<a name="GimpPageSelector-struct"></a>GimpPageSelector</h3>
<a class="indexterm" name="id2612125"></a><pre class="programlisting">typedef struct _GimpPageSelector GimpPageSelector;</pre>
<a class="indexterm" name="id2611820"></a><pre class="programlisting">typedef struct _GimpPageSelector GimpPageSelector;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612142"></a><h3>
<a name="id2611836"></a><h3>
<a name="GimpPageSelectorTarget"></a>enum GimpPageSelectorTarget</h3>
<a class="indexterm" name="id2612153"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2611848"></a><pre class="programlisting">typedef enum
{
GIMP_PAGE_SELECTOR_TARGET_LAYERS, /*&lt; desc="Layers" &gt;*/
GIMP_PAGE_SELECTOR_TARGET_IMAGES /*&lt; desc="Images" &gt;*/
@ -169,9 +223,11 @@ GimpPageSelector implements
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612171"></a><h3>
<a name="id2611866"></a><h3>
<a name="gimp-page-selector-new"></a>gimp_page_selector_new ()</h3>
<a class="indexterm" name="id2612184"></a><pre class="programlisting">GtkWidget* gimp_page_selector_new (void);</pre>
<a class="indexterm" name="id2611879"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_page_selector_new (void);</pre>
<p>
Creates a new <a href="GimpPageSelector.html" title="GimpPageSelector"><span class="type">GimpPageSelector</span></a> widget.</p>
<p>
@ -191,10 +247,12 @@ Creates a new <a href="GimpPageSelector.html" title="GimpPageSelector"><span cla
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612246"></a><h3>
<a name="id2611941"></a><h3>
<a name="gimp-page-selector-set-n-pages"></a>gimp_page_selector_set_n_pages ()</h3>
<a class="indexterm" name="id2612261"></a><pre class="programlisting">void gimp_page_selector_set_n_pages (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint n_pages);</pre>
<a class="indexterm" name="id2611956"></a><pre class="programlisting">void gimp_page_selector_set_n_pages (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> n_pages);</pre>
<p>
Sets the number of pages in the document to open.</p>
<p>
@ -220,9 +278,11 @@ Sets the number of pages in the document to open.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612348"></a><h3>
<a name="id2612042"></a><h3>
<a name="gimp-page-selector-get-n-pages"></a>gimp_page_selector_get_n_pages ()</h3>
<a class="indexterm" name="id2612364"></a><pre class="programlisting">gint gimp_page_selector_get_n_pages (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<a class="indexterm" name="id2612058"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gimp_page_selector_get_n_pages (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<p>
</p>
<p>
@ -249,9 +309,9 @@ Sets the number of pages in the document to open.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619641"></a><h3>
<a name="id2624670"></a><h3>
<a name="gimp-page-selector-set-target"></a>gimp_page_selector_set_target ()</h3>
<a class="indexterm" name="id2619655"></a><pre class="programlisting">void gimp_page_selector_set_target (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a class="indexterm" name="id2624684"></a><pre class="programlisting">void gimp_page_selector_set_target (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> target);</pre>
<p>
</p>
@ -278,9 +338,9 @@ Sets the number of pages in the document to open.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619737"></a><h3>
<a name="id2624766"></a><h3>
<a name="gimp-page-selector-get-target"></a>gimp_page_selector_get_target ()</h3>
<a class="indexterm" name="id2619752"></a><pre class="programlisting"><a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> gimp_page_selector_get_target (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<a class="indexterm" name="id2624782"></a><pre class="programlisting"><a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> gimp_page_selector_get_target (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<p>
</p>
<p>
@ -307,12 +367,16 @@ Sets the number of pages in the document to open.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619828"></a><h3>
<a name="id2624857"></a><h3>
<a name="gimp-page-selector-set-page-thumbnail"></a>gimp_page_selector_set_page_thumbnail ()</h3>
<a class="indexterm" name="id2619844"></a><pre class="programlisting">void gimp_page_selector_set_page_thumbnail
<a class="indexterm" name="id2624873"></a><pre class="programlisting">void gimp_page_selector_set_page_thumbnail
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
GdkPixbuf *thumbnail);</pre>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
<a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *thumbnail);</pre>
<p>
Sets the thumbnail for given <code class="literal">page_no</code>. A default "page" icon will
be used if no page thumbnail is set.</p>
@ -344,11 +408,15 @@ be used if no page thumbnail is set.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619963"></a><h3>
<a name="id2624993"></a><h3>
<a name="gimp-page-selector-get-page-thumbnail"></a>gimp_page_selector_get_page_thumbnail ()</h3>
<a class="indexterm" name="id2619979"></a><pre class="programlisting">GdkPixbuf* gimp_page_selector_get_page_thumbnail
<a class="indexterm" name="id2625009"></a><pre class="programlisting"><a
href="../gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* gimp_page_selector_get_page_thumbnail
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
</p>
<p>
@ -369,7 +437,9 @@ be used if no page thumbnail is set.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The page's thumbnail, or <code class="literal">NULL</code> if none is set. The returned
<td> The page's thumbnail, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if none is set. The returned
pixbuf is owned by <a href="GimpPageSelector.html" title="GimpPageSelector"><span class="type">GimpPageSelector</span></a> and must not be
unref'ed when no longer needed.
@ -382,11 +452,15 @@ be used if no page thumbnail is set.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620096"></a><h3>
<a name="id2625126"></a><h3>
<a name="gimp-page-selector-set-page-label"></a>gimp_page_selector_set_page_label ()</h3>
<a class="indexterm" name="id2620112"></a><pre class="programlisting">void gimp_page_selector_set_page_label (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
const gchar *label);</pre>
<a class="indexterm" name="id2625142"></a><pre class="programlisting">void gimp_page_selector_set_page_label (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
</p>
<p>
@ -417,10 +491,14 @@ be used if no page thumbnail is set.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620220"></a><h3>
<a name="id2625250"></a><h3>
<a name="gimp-page-selector-get-page-label"></a>gimp_page_selector_get_page_label ()</h3>
<a class="indexterm" name="id2620236"></a><pre class="programlisting">gchar* gimp_page_selector_get_page_label (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a class="indexterm" name="id2625266"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_page_selector_get_page_label (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
</p>
<p>
@ -441,8 +519,12 @@ be used if no page thumbnail is set.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The page's label, or <code class="literal">NULL</code> if none is set. This is a newly
allocated string that should be <code class="function">g_free()</code>'d when no longer
<td> The page's label, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if none is set. This is a newly
allocated string that should be <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a>'d when no longer
needed.
</td>
@ -454,9 +536,9 @@ be used if no page thumbnail is set.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620353"></a><h3>
<a name="id2625383"></a><h3>
<a name="gimp-page-selector-select-all"></a>gimp_page_selector_select_all ()</h3>
<a class="indexterm" name="id2620369"></a><pre class="programlisting">void gimp_page_selector_select_all (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<a class="indexterm" name="id2625399"></a><pre class="programlisting">void gimp_page_selector_select_all (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<p>
Selects all pages.</p>
<p>
@ -475,9 +557,9 @@ Selects all pages.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620434"></a><h3>
<a name="id2625464"></a><h3>
<a name="gimp-page-selector-unselect-all"></a>gimp_page_selector_unselect_all ()</h3>
<a class="indexterm" name="id2620450"></a><pre class="programlisting">void gimp_page_selector_unselect_all (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<a class="indexterm" name="id2625479"></a><pre class="programlisting">void gimp_page_selector_unselect_all (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<p>
Unselects all pages.</p>
<p>
@ -496,10 +578,12 @@ Unselects all pages.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620514"></a><h3>
<a name="id2625544"></a><h3>
<a name="gimp-page-selector-select-page"></a>gimp_page_selector_select_page ()</h3>
<a class="indexterm" name="id2620530"></a><pre class="programlisting">void gimp_page_selector_select_page (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a class="indexterm" name="id2625560"></a><pre class="programlisting">void gimp_page_selector_select_page (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
Adds a page to the selection.</p>
<p>
@ -525,10 +609,12 @@ Adds a page to the selection.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620617"></a><h3>
<a name="id2625647"></a><h3>
<a name="gimp-page-selector-unselect-page"></a>gimp_page_selector_unselect_page ()</h3>
<a class="indexterm" name="id2620633"></a><pre class="programlisting">void gimp_page_selector_unselect_page (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a class="indexterm" name="id2625662"></a><pre class="programlisting">void gimp_page_selector_unselect_page (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
Removes a page from the selection.</p>
<p>
@ -554,10 +640,14 @@ Removes a page from the selection.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620720"></a><h3>
<a name="id2625750"></a><h3>
<a name="gimp-page-selector-page-is-selected"></a>gimp_page_selector_page_is_selected ()</h3>
<a class="indexterm" name="id2620736"></a><pre class="programlisting">gboolean gimp_page_selector_page_is_selected (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a class="indexterm" name="id2625766"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_page_selector_page_is_selected (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
</p>
<p>
@ -578,7 +668,11 @@ Removes a page from the selection.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the page is selected, <code class="literal">FALSE</code> otherwise.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the page is selected, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
@ -589,11 +683,15 @@ Removes a page from the selection.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620851"></a><h3>
<a name="id2625881"></a><h3>
<a name="gimp-page-selector-get-selected-pages"></a>gimp_page_selector_get_selected_pages ()</h3>
<a class="indexterm" name="id2620867"></a><pre class="programlisting">gint* gimp_page_selector_get_selected_pages
<a class="indexterm" name="id2625897"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a>* gimp_page_selector_get_selected_pages
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint *n_selected_pages);</pre>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *n_selected_pages);</pre>
<p>
</p>
<p>
@ -614,7 +712,9 @@ Removes a page from the selection.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A sorted array of page numbers of selected pages. Use <code class="function">g_free()</code> if
<td> A sorted array of page numbers of selected pages. Use <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> if
you don't need the array any longer.
</td>
@ -626,10 +726,12 @@ Removes a page from the selection.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2620977"></a><h3>
<a name="id2626006"></a><h3>
<a name="gimp-page-selector-select-range"></a>gimp_page_selector_select_range ()</h3>
<a class="indexterm" name="id2620992"></a><pre class="programlisting">void gimp_page_selector_select_range (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
const gchar *range);</pre>
<a class="indexterm" name="id2626022"></a><pre class="programlisting">void gimp_page_selector_select_range (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *range);</pre>
<p>
Selectes the pages described by <code class="literal">range</code>. The range string is a
user-editable list of pages and ranges, e.g. "1,3,5-7,9-12,14".
@ -662,9 +764,11 @@ overlapping pages and ranges will be merged.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621097"></a><h3>
<a name="id2626127"></a><h3>
<a name="gimp-page-selector-get-selected-range"></a>gimp_page_selector_get_selected_range ()</h3>
<a class="indexterm" name="id2621113"></a><pre class="programlisting">gchar* gimp_page_selector_get_selected_range
<a class="indexterm" name="id2626143"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_page_selector_get_selected_range
(<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<p>
</p>
@ -694,11 +798,13 @@ overlapping pages and ranges will be merged.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2621203"></a><h2>Property Details</h2>
<a name="id2626233"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2621214"></a><h3>
<a name="id2626244"></a><h3>
<a name="GimpPageSelector--n-pages"></a>The "<code class="literal">n-pages</code>" property</h3>
<a class="indexterm" name="id2621228"></a><pre class="programlisting"> "n-pages" gint : Read / Write</pre>
<a class="indexterm" name="id2626257"></a><pre class="programlisting"> "n-pages" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>
The number of pages of the document to open.</p>
<p>
@ -711,9 +817,9 @@ The number of pages of the document to open.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621268"></a><h3>
<a name="id2626297"></a><h3>
<a name="GimpPageSelector--target"></a>The "<code class="literal">target</code>" property</h3>
<a class="indexterm" name="id2621282"></a><pre class="programlisting"> "target" <a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> : Read / Write</pre>
<a class="indexterm" name="id2626311"></a><pre class="programlisting"> "target" <a href="GimpPageSelector.html#GimpPageSelectorTarget">GimpPageSelectorTarget</a> : Read / Write</pre>
<p>
The target to open the document to.</p>
<p>
@ -725,12 +831,14 @@ The target to open the document to.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2621319"></a><h2>Signal Details</h2>
<a name="id2626349"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2621330"></a><h3>
<a name="id2626360"></a><h3>
<a name="GimpPageSelector-activate"></a>The "activate" signal</h3>
<a class="indexterm" name="id2621338"></a><pre class="programlisting">void user_function (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *widget,
gpointer user_data) : Run First / Action</pre>
<a class="indexterm" name="id2626367"></a><pre class="programlisting">void user_function (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First / Action</pre>
<p>
The "activate" signal on GimpPageSelector is an action signal. It
is emitted when a user double-clicks an item in the page selection.</p>
@ -756,10 +864,12 @@ is emitted when a user double-clicks an item in the page selection.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2621416"></a><h3>
<a name="id2626446"></a><h3>
<a name="GimpPageSelector-selection-changed"></a>The "selection-changed" signal</h3>
<a class="indexterm" name="id2621426"></a><pre class="programlisting">void user_function (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *widget,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2626455"></a><pre class="programlisting">void user_function (<a href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
This signal is emitted whenever the set of selected pages changes.</p>
<p>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpPickButton.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="#id2595658" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2569011" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2615718" class="shortcut">Description</a>
<a href="#id2624560" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2619552" class="shortcut">Object Hierarchy</a>
<a href="#id2624447" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2615665" class="shortcut">Implemented Interfaces</a>
<a href="#id2624507" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2615687" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2624529" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpPathEditor"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2595658"></a><span class="refentrytitle">GimpPathEditor</span>
<a name="id2569011"></a><span class="refentrytitle">GimpPathEditor</span>
</h2>
<p>GimpPathEditor &#8212; Widget for editing a file search path.</p>
</td>
@ -61,44 +61,80 @@
<a href="GimpPathEditor.html#GimpPathEditor-struct">GimpPathEditor</a>;
GtkWidget* <a href="GimpPathEditor.html#gimp-path-editor-new">gimp_path_editor_new</a> (const gchar *title,
const gchar *path);
gchar* <a href="GimpPathEditor.html#gimp-path-editor-get-path">gimp_path_editor_get_path</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPathEditor.html#gimp-path-editor-new">gimp_path_editor_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpPathEditor.html#gimp-path-editor-get-path">gimp_path_editor_get_path</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
void <a href="GimpPathEditor.html#gimp-path-editor-set-path">gimp_path_editor_set_path</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);
gchar* <a href="GimpPathEditor.html#gimp-path-editor-get-writable-path">gimp_path_editor_get_writable_path</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpPathEditor.html#gimp-path-editor-get-writable-path">gimp_path_editor_get_writable_path</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
void <a href="GimpPathEditor.html#gimp-path-editor-set-writable-path">gimp_path_editor_set_writable_path</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);
gboolean <a href="GimpPathEditor.html#gimp-path-editor-get-dir-writable">gimp_path_editor_get_dir_writable</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpPathEditor.html#gimp-path-editor-get-dir-writable">gimp_path_editor_get_dir_writable</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory);
void <a href="GimpPathEditor.html#gimp-path-editor-set-dir-writable">gimp_path_editor_set_dir_writable</a> (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory,
gboolean writable);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> writable);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2619552"></a><h2>Object Hierarchy</h2>
<a name="id2624447"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpPathEditor
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2615665"></a><h2>Implemented Interfaces</h2>
<a name="id2624507"></a><h2>Implemented Interfaces</h2>
<p>
GimpPathEditor implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2615687"></a><h2>Signals</h2>
<a name="id2624529"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpPathEditor.html#GimpPathEditor-path-changed">path-changed</a>" : Run First
@ -106,7 +142,7 @@ GimpPathEditor implements
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2615718"></a><h2>Description</h2>
<a name="id2624560"></a><h2>Description</h2>
<p>
This widget is used to edit file search paths.
</p>
@ -125,27 +161,35 @@ the search path, the "path_changed" signal will be emitted.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2615760"></a><h2>Details</h2>
<a name="id2619790"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2615771"></a><h3>
<a name="id2619800"></a><h3>
<a name="GimpPathEditor-struct"></a>GimpPathEditor</h3>
<a class="indexterm" name="id2615782"></a><pre class="programlisting">typedef struct _GimpPathEditor GimpPathEditor;</pre>
<a class="indexterm" name="id2619812"></a><pre class="programlisting">typedef struct _GimpPathEditor GimpPathEditor;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615799"></a><h3>
<a name="id2619828"></a><h3>
<a name="gimp-path-editor-new"></a>gimp_path_editor_new ()</h3>
<a class="indexterm" name="id2615810"></a><pre class="programlisting">GtkWidget* gimp_path_editor_new (const gchar *title,
const gchar *path);</pre>
<a class="indexterm" name="id2619840"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_path_editor_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);</pre>
<p>
Creates a new <a href="GimpPathEditor.html" title="GimpPathEditor"><span class="type">GimpPathEditor</span></a> widget.
</p>
<p>
The elements of the initial search path must be separated with the
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
<a
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
<p>
</p>
@ -154,7 +198,9 @@ The elements of the initial search path must be separated with the
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>title</code></em>&#160;:</span></td>
<td> The title of the <span class="type">GtkFileChooser</span> dialog which can be popped up.
<td> The title of the <a
href="../gtk/GtkFileChooser.html"
><span class="type">GtkFileChooser</span></a> dialog which can be popped up.
</td>
</tr>
<tr>
@ -172,15 +218,21 @@ The elements of the initial search path must be separated with the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615924"></a><h3>
<a name="id2619954"></a><h3>
<a name="gimp-path-editor-get-path"></a>gimp_path_editor_get_path ()</h3>
<a class="indexterm" name="id2615935"></a><pre class="programlisting">gchar* gimp_path_editor_get_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
<a class="indexterm" name="id2619965"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_path_editor_get_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
<p>
The elements of the returned search path string are separated with the
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.
<a
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.
</p>
<p>
Note that you have to <code class="function">g_free()</code> the returned string.</p>
Note that you have to <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> the returned string.</p>
<p>
</p>
@ -202,13 +254,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616018"></a><h3>
<a name="id2620047"></a><h3>
<a name="gimp-path-editor-set-path"></a>gimp_path_editor_set_path ()</h3>
<a class="indexterm" name="id2616029"></a><pre class="programlisting">void gimp_path_editor_set_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);</pre>
<a class="indexterm" name="id2620059"></a><pre class="programlisting">void gimp_path_editor_set_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);</pre>
<p>
The elements of the initial search path must be separated with the
<span class="type">G_SEARCHPATH_SEPARATOR</span> character.</p>
<a
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
<p>
</p>
@ -230,9 +286,11 @@ The elements of the initial search path must be separated with the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616156"></a><h3>
<a name="id2617964"></a><h3>
<a name="gimp-path-editor-get-writable-path"></a>gimp_path_editor_get_writable_path ()</h3>
<a class="indexterm" name="id2616168"></a><pre class="programlisting">gchar* gimp_path_editor_get_writable_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
<a class="indexterm" name="id2617975"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_path_editor_get_writable_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
<p>
</p>
@ -256,10 +314,12 @@ The elements of the initial search path must be separated with the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616224"></a><h3>
<a name="id2618032"></a><h3>
<a name="gimp-path-editor-set-writable-path"></a>gimp_path_editor_set_writable_path ()</h3>
<a class="indexterm" name="id2616235"></a><pre class="programlisting">void gimp_path_editor_set_writable_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);</pre>
<a class="indexterm" name="id2618044"></a><pre class="programlisting">void gimp_path_editor_set_writable_path (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);</pre>
<p>
</p>
@ -283,10 +343,14 @@ The elements of the initial search path must be separated with the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616303"></a><h3>
<a name="id2618112"></a><h3>
<a name="gimp-path-editor-get-dir-writable"></a>gimp_path_editor_get_dir_writable ()</h3>
<a class="indexterm" name="id2616315"></a><pre class="programlisting">gboolean gimp_path_editor_get_dir_writable (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory);</pre>
<a class="indexterm" name="id2618125"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_path_editor_get_dir_writable (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory);</pre>
<p>
</p>
@ -315,11 +379,15 @@ The elements of the initial search path must be separated with the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616393"></a><h3>
<a name="id2618203"></a><h3>
<a name="gimp-path-editor-set-dir-writable"></a>gimp_path_editor_set_dir_writable ()</h3>
<a class="indexterm" name="id2616407"></a><pre class="programlisting">void gimp_path_editor_set_dir_writable (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory,
gboolean writable);</pre>
<a class="indexterm" name="id2619174"></a><pre class="programlisting">void gimp_path_editor_set_dir_writable (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> writable);</pre>
<p>
</p>
@ -348,12 +416,14 @@ The elements of the initial search path must be separated with the
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2616497"></a><h2>Signal Details</h2>
<a name="id2619263"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2616508"></a><h3>
<a name="id2619274"></a><h3>
<a name="GimpPathEditor-path-changed"></a>The "path-changed" signal</h3>
<a class="indexterm" name="id2616516"></a><pre class="programlisting">void user_function (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2619281"></a><pre class="programlisting">void user_function (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
This signal is emitted whenever the user adds, deletes, modifies
or reorders an element of the search path.</p>
@ -370,10 +440,12 @@ or reorders an element of the search path.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616575"></a><h3>
<a name="id2619340"></a><h3>
<a name="GimpPathEditor-writable-changed"></a>The "writable-changed" signal</h3>
<a class="indexterm" name="id2616584"></a><pre class="programlisting">void user_function (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2619350"></a><pre class="programlisting">void user_function (<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
This signal is emitted whenever the "writable" column of a directory
is changed, either by the user clicking on it or by calling
@ -391,12 +463,14 @@ is changed, either by the user clicking on it or by calling
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2616656"></a><h2>See Also</h2>
<a name="id2619422"></a><h2>See Also</h2>
<p>
<a href="GimpFileEntry.html" title="GimpFileEntry"><span class="type">GimpFileEntry</span></a>
</p>
<p>
<span class="type">G_SEARCHPATH_SEPARATOR</span>
<a
href="../glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a>
</p>
</div>
</div>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpPixmap.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="#id2566872" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2565073" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2619270" class="shortcut">Description</a>
<a href="#id2607151" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2576912" class="shortcut">Object Hierarchy</a>
<a href="#id2597949" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2562547" class="shortcut">Implemented Interfaces</a>
<a href="#id2607105" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2562568" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2607126" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpPickButton"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2566872"></a><span class="refentrytitle">GimpPickButton</span>
<a name="id2565073"></a><span class="refentrytitle">GimpPickButton</span>
</h2>
<p>GimpPickButton &#8212; Widget to pick a color from screen.</p>
</td>
@ -61,39 +61,55 @@
<a href="GimpPickButton.html#GimpPickButton-struct">GimpPickButton</a>;
GtkWidget* <a href="GimpPickButton.html#gimp-pick-button-new">gimp_pick_button_new</a> (void);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPickButton.html#gimp-pick-button-new">gimp_pick_button_new</a> (void);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2576912"></a><h2>Object Hierarchy</h2>
<a name="id2597949"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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/GtkButton.html"
>GtkButton</a>
+----GimpPickButton
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2562547"></a><h2>Implemented Interfaces</h2>
<a name="id2607105"></a><h2>Implemented Interfaces</h2>
<p>
GimpPickButton implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2562568"></a><h2>Signals</h2>
<a name="id2607126"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpPickButton.html#GimpPickButton-color-picked">color-picked</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2619270"></a><h2>Description</h2>
<a name="id2607151"></a><h2>Description</h2>
<p>
<a href="GimpPickButton.html" title="GimpPickButton"><span class="type">GimpPickButton</span></a> is a specialized button. When clicked, it changes the
cursor to a color-picker pipette and allows the user to pick a color
@ -101,20 +117,22 @@ from any point on the screen.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2619295"></a><h2>Details</h2>
<a name="id2615859"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2619306"></a><h3>
<a name="id2615868"></a><h3>
<a name="GimpPickButton-struct"></a>GimpPickButton</h3>
<a class="indexterm" name="id2619318"></a><pre class="programlisting">typedef struct _GimpPickButton GimpPickButton;</pre>
<a class="indexterm" name="id2615880"></a><pre class="programlisting">typedef struct _GimpPickButton GimpPickButton;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619334"></a><h3>
<a name="id2615896"></a><h3>
<a name="gimp-pick-button-new"></a>gimp_pick_button_new ()</h3>
<a class="indexterm" name="id2619345"></a><pre class="programlisting">GtkWidget* gimp_pick_button_new (void);</pre>
<a class="indexterm" name="id2615908"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_pick_button_new (void);</pre>
<p>
Creates a new <a href="GimpPickButton.html" title="GimpPickButton"><span class="type">GimpPickButton</span></a> widget.</p>
<p>
@ -131,13 +149,17 @@ Creates a new <a href="GimpPickButton.html" title="GimpPickButton"><span class="
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2619107"></a><h2>Signal Details</h2>
<a name="id2615964"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2619118"></a><h3>
<a name="id2615975"></a><h3>
<a name="GimpPickButton-color-picked"></a>The "color-picked" signal</h3>
<a class="indexterm" name="id2619126"></a><pre class="programlisting">void user_function (<a href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a> *gimppickbutton,
gpointer arg1,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2615982"></a><pre class="programlisting">void user_function (<a href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a> *gimppickbutton,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg1,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,22 +33,24 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpPreviewArea.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="#id2597292" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2594664" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2612644" class="shortcut">Description</a>
<a href="#id2624192" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2611800" class="shortcut">Object Hierarchy</a>
<a href="#id2583410" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2612623" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
<a href="#id2624171" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpPixmap"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2597292"></a><span class="refentrytitle">GimpPixmap</span>
<a name="id2594664"></a><span class="refentrytitle">GimpPixmap</span>
</h2>
<p>GimpPixmap &#8212; Widget which creates a <span class="type">GtkPixmap</span> from XPM data.</p>
<p>GimpPixmap &#8212; Widget which creates a <a
href="../gtk/GtkPixmap.html"
><span class="type">GtkPixmap</span></a> from XPM data.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -59,52 +61,76 @@
<a href="GimpPixmap.html#GimpPixmap-struct">GimpPixmap</a>;
GtkWidget* <a href="GimpPixmap.html#gimp-pixmap-new">gimp_pixmap_new</a> (gchar **xpm_data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPixmap.html#gimp-pixmap-new">gimp_pixmap_new</a> (<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **xpm_data);
void <a href="GimpPixmap.html#gimp-pixmap-set">gimp_pixmap_set</a> (<a href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
gchar **xpm_data);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **xpm_data);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2611800"></a><h2>Object Hierarchy</h2>
<a name="id2583410"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkMisc
+----GtkImage
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkMisc.html"
>GtkMisc</a>
+----<a
href="../gtk/GtkImage.html"
>GtkImage</a>
+----GimpPixmap
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2612623"></a><h2>Implemented Interfaces</h2>
<a name="id2624171"></a><h2>Implemented Interfaces</h2>
<p>
GimpPixmap implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2612644"></a><h2>Description</h2>
<a name="id2624192"></a><h2>Description</h2>
<p>
Widget which creates a <span class="type">GtkPixmap</span> from XPM data.
Widget which creates a <a
href="../gtk/GtkPixmap.html"
><span class="type">GtkPixmap</span></a> from XPM data.
</p>
<p>
Use this widget instead of <span class="type">GtkPixmap</span> if you don't want to worry about
Use this widget instead of <a
href="../gtk/GtkPixmap.html"
><span class="type">GtkPixmap</span></a> if you don't want to worry about
the parent container's "realized" state.
</p>
<p>
Note that the drawback of the easy interface is that the actual <span class="type">GdkPixmap</span>
Note that the drawback of the easy interface is that the actual <a
href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"
><span class="type">GdkPixmap</span></a>
and it's mask have to be constructed every time you call <a href="GimpPixmap.html#gimp-pixmap-new"><code class="function">gimp_pixmap_new()</code></a>
and cannot be cached in memory without doing bad hacks.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2612701"></a><h2>Details</h2>
<a name="id2624250"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2612712"></a><h3>
<a name="id2624260"></a><h3>
<a name="GimpPixmap-struct"></a>GimpPixmap</h3>
<a class="indexterm" name="id2612725"></a><pre class="programlisting">typedef struct _GimpPixmap GimpPixmap;</pre>
<a class="indexterm" name="id2617555"></a><pre class="programlisting">typedef struct _GimpPixmap GimpPixmap;</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GimpPixmap</code> is deprecated and should not be used in newly-written code.</p>
@ -115,9 +141,13 @@ and cannot be cached in memory without doing bad hacks.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2618921"></a><h3>
<a name="id2617583"></a><h3>
<a name="gimp-pixmap-new"></a>gimp_pixmap_new ()</h3>
<a class="indexterm" name="id2618936"></a><pre class="programlisting">GtkWidget* gimp_pixmap_new (gchar **xpm_data);</pre>
<a class="indexterm" name="id2617598"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_pixmap_new (<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **xpm_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_pixmap_new</code> is deprecated and should not be used in newly-written code.</p>
@ -145,10 +175,12 @@ Creates a new <a href="GimpPixmap.html" title="GimpPixmap"><span class="type">Gi
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619024"></a><h3>
<a name="id2617686"></a><h3>
<a name="gimp-pixmap-set"></a>gimp_pixmap_set ()</h3>
<a class="indexterm" name="id2619039"></a><pre class="programlisting">void gimp_pixmap_set (<a href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
gchar **xpm_data);</pre>
<a class="indexterm" name="id2617701"></a><pre class="programlisting">void gimp_pixmap_set (<a href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> **xpm_data);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_pixmap_set</code> is deprecated and should not be used in newly-written code.</p>
@ -176,12 +208,14 @@ Sets a new image for an existing <a href="GimpPixmap.html" title="GimpPixmap"><s
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2616744"></a><h2>See Also</h2>
<a name="id2619539"></a><h2>See Also</h2>
<p>
<a href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new"><code class="function">gimp_pixmap_button_new()</code></a>
</p>
<p>
<span class="type">GtkPixmap</span>
<a
href="../gtk/GtkPixmap.html"
><span class="type">GtkPixmap</span></a>
</p>
</div>
</div>

View File

@ -7,7 +7,7 @@
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpPreviewArea.html" title="GimpPreviewArea">
<link rel="next" href="GimpRatioEntry.html" title="GimpRatioEntry">
<link rel="next" href="GimpScrolledPreview.html" title="GimpScrolledPreview">
<meta name="generator" content="GTK-Doc V1.8 (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">
@ -31,28 +31,28 @@
<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="GimpRatioEntry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="GimpScrolledPreview.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="#id2565563" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2587301" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2618834" class="shortcut">Description</a>
<a href="#id2629339" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2618661" class="shortcut">Object Hierarchy</a>
<a href="#id2628648" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2618728" class="shortcut">Implemented Interfaces</a>
<a href="#id2629233" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2618750" class="shortcut">Properties</a>
<a href="#id2629254" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2618780" class="shortcut">Style Properties</a>
<a href="#id2629284" class="shortcut">Style Properties</a>
&#160;|&#160;
<a href="#id2618809" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2629314" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpPreview"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2565563"></a><span class="refentrytitle">GimpPreview</span>
<a name="id2587301"></a><span class="refentrytitle">GimpPreview</span>
</h2>
<p>GimpPreview &#8212; A widget providing a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> plus framework to update the preview.</p>
</td>
@ -65,105 +65,171 @@
<a href="GimpPreview.html#GimpPreview-struct">GimpPreview</a>;
gboolean <a href="GimpPreview.html#gimp-preview-get-update">gimp_preview_get_update</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpPreview.html#gimp-preview-get-update">gimp_preview_get_update</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a href="GimpPreview.html#gimp-preview-set-update">gimp_preview_set_update</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gboolean update);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> update);
void <a href="GimpPreview.html#gimp-preview-set-bounds">gimp_preview_set_bounds</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint xmin,
gint ymin,
gint xmax,
gint ymax);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> xmin,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ymin,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> xmax,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ymax);
void <a href="GimpPreview.html#gimp-preview-get-size">gimp_preview_get_size</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *width,
gint *height);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *height);
void <a href="GimpPreview.html#gimp-preview-get-position">gimp_preview_get_position</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *x,
gint *y);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *y);
void <a href="GimpPreview.html#gimp-preview-transform">gimp_preview_transform</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);
void <a href="GimpPreview.html#gimp-preview-untransform">gimp_preview_untransform</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);
GtkWidget* <a href="GimpPreview.html#gimp-preview-get-area">gimp_preview_get_area</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPreview.html#gimp-preview-get-area">gimp_preview_get_area</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a href="GimpPreview.html#gimp-preview-draw">gimp_preview_draw</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a href="GimpPreview.html#gimp-preview-draw-buffer">gimp_preview_draw_buffer</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
const guchar *buffer,
gint rowstride);
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buffer,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride);
void <a href="GimpPreview.html#gimp-preview-invalidate">gimp_preview_invalidate</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a href="GimpPreview.html#gimp-preview-set-default-cursor">gimp_preview_set_default_cursor</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
GdkCursor *cursor);
GtkWidget* <a href="GimpPreview.html#gimp-preview-get-controls">gimp_preview_get_controls</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
<a
href="../gdk/gdk-Cursors.html#GdkCursor"
>GdkCursor</a> *cursor);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPreview.html#gimp-preview-get-controls">gimp_preview_get_controls</a> (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2618661"></a><h2>Object Hierarchy</h2>
<a name="id2628648"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpPreview
+----<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2618728"></a><h2>Implemented Interfaces</h2>
<a name="id2629233"></a><h2>Implemented Interfaces</h2>
<p>
GimpPreview implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2618750"></a><h2>Properties</h2>
<a name="id2629254"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpPreview.html#GimpPreview--update">update</a>" gboolean : Read / Write / Construct
"<a href="GimpPreview.html#GimpPreview--update">update</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2618780"></a><h2>Style Properties</h2>
<a name="id2629284"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a href="GimpPreview.html#GimpPreview--size">size</a>" gint : Read
"<a href="GimpPreview.html#GimpPreview--size">size</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2618809"></a><h2>Signals</h2>
<a name="id2629314"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpPreview.html#GimpPreview-invalidated">invalidated</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2618834"></a><h2>Description</h2>
<a name="id2629339"></a><h2>Description</h2>
<p>
A widget providing a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> plus framework to update the preview.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2624178"></a><h2>Details</h2>
<a name="id2629361"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2624189"></a><h3>
<a name="id2629372"></a><h3>
<a name="GimpPreview-struct"></a>GimpPreview</h3>
<a class="indexterm" name="id2624202"></a><pre class="programlisting">typedef struct _GimpPreview GimpPreview;</pre>
<a class="indexterm" name="id2629385"></a><pre class="programlisting">typedef struct _GimpPreview GimpPreview;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2624217"></a><h3>
<a name="id2629400"></a><h3>
<a name="gimp-preview-get-update"></a>gimp_preview_get_update ()</h3>
<a class="indexterm" name="id2624231"></a><pre class="programlisting">gboolean gimp_preview_get_update (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<a class="indexterm" name="id2629414"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_preview_get_update (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<p>
</p>
<p>
@ -190,10 +256,12 @@ A widget providing a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><spa
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2624306"></a><h3>
<a name="id2629489"></a><h3>
<a name="gimp-preview-set-update"></a>gimp_preview_set_update ()</h3>
<a class="indexterm" name="id2624319"></a><pre class="programlisting">void gimp_preview_set_update (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gboolean update);</pre>
<a class="indexterm" name="id2629502"></a><pre class="programlisting">void gimp_preview_set_update (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> update);</pre>
<p>
Sets the state of the "Preview" check button.</p>
<p>
@ -209,7 +277,9 @@ Sets the state of the "Preview" check button.</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>update</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the preview should invalidate itself when being
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the preview should invalidate itself when being
scrolled or when <a href="GimpPreview.html#gimp-preview-invalidate"><code class="function">gimp_preview_invalidate()</code></a> is being called
</td>
</tr>
@ -220,13 +290,21 @@ Sets the state of the "Preview" check button.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2624424"></a><h3>
<a name="id2629607"></a><h3>
<a name="gimp-preview-set-bounds"></a>gimp_preview_set_bounds ()</h3>
<a class="indexterm" name="id2624438"></a><pre class="programlisting">void gimp_preview_set_bounds (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint xmin,
gint ymin,
gint xmax,
gint ymax);</pre>
<a class="indexterm" name="id2629621"></a><pre class="programlisting">void gimp_preview_set_bounds (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> xmin,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ymin,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> xmax,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ymax);</pre>
<p>
Sets the lower and upper limits for the previewed area. The
difference between the upper and lower value is used to set the
@ -269,11 +347,15 @@ maximum size of the <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627345"></a><h3>
<a name="id2632392"></a><h3>
<a name="gimp-preview-get-size"></a>gimp_preview_get_size ()</h3>
<a class="indexterm" name="id2627357"></a><pre class="programlisting">void gimp_preview_get_size (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *width,
gint *height);</pre>
<a class="indexterm" name="id2632404"></a><pre class="programlisting">void gimp_preview_get_size (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *height);</pre>
<p>
</p>
<p>
@ -304,11 +386,15 @@ maximum size of the <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627461"></a><h3>
<a name="id2632508"></a><h3>
<a name="gimp-preview-get-position"></a>gimp_preview_get_position ()</h3>
<a class="indexterm" name="id2627475"></a><pre class="programlisting">void gimp_preview_get_position (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *x,
gint *y);</pre>
<a class="indexterm" name="id2632521"></a><pre class="programlisting">void gimp_preview_get_position (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *y);</pre>
<p>
</p>
<p>
@ -339,13 +425,21 @@ maximum size of the <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627582"></a><h3>
<a name="id2632629"></a><h3>
<a name="gimp-preview-transform"></a>gimp_preview_transform ()</h3>
<a class="indexterm" name="id2627596"></a><pre class="programlisting">void gimp_preview_transform (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);</pre>
<a class="indexterm" name="id2632642"></a><pre class="programlisting">void gimp_preview_transform (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);</pre>
<p>
Transforms from image to widget coordinates.</p>
<p>
@ -386,13 +480,21 @@ Transforms from image to widget coordinates.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627748"></a><h3>
<a name="id2632794"></a><h3>
<a name="gimp-preview-untransform"></a>gimp_preview_untransform ()</h3>
<a class="indexterm" name="id2627761"></a><pre class="programlisting">void gimp_preview_untransform (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);</pre>
<a class="indexterm" name="id2632808"></a><pre class="programlisting">void gimp_preview_untransform (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);</pre>
<p>
Transforms from widget to image coordinates.</p>
<p>
@ -433,9 +535,11 @@ Transforms from widget to image coordinates.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627914"></a><h3>
<a name="id2632960"></a><h3>
<a name="gimp-preview-get-area"></a>gimp_preview_get_area ()</h3>
<a class="indexterm" name="id2627927"></a><pre class="programlisting">GtkWidget* gimp_preview_get_area (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<a class="indexterm" name="id2632974"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_preview_get_area (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<p>
In most cases, you shouldn't need to access the <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a>
that is being used in the <em class="parameter"><code>preview</code></em>. Sometimes however, you need to.
@ -465,9 +569,9 @@ such cases, use <a href="GimpPreview.html#gimp-preview-get-area"><code class="fu
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628039"></a><h3>
<a name="id2633086"></a><h3>
<a name="gimp-preview-draw"></a>gimp_preview_draw ()</h3>
<a class="indexterm" name="id2628054"></a><pre class="programlisting">void gimp_preview_draw (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<a class="indexterm" name="id2633100"></a><pre class="programlisting">void gimp_preview_draw (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<p>
Calls the GimpPreview::draw method. GimpPreview itself doesn't
implement a default draw method so the behaviour is determined by
@ -494,11 +598,15 @@ original, unmodified drawable to the <em class="parameter"><code>preview</code><
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628148"></a><h3>
<a name="id2633195"></a><h3>
<a name="gimp-preview-draw-buffer"></a>gimp_preview_draw_buffer ()</h3>
<a class="indexterm" name="id2628162"></a><pre class="programlisting">void gimp_preview_draw_buffer (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
const guchar *buffer,
gint rowstride);</pre>
<a class="indexterm" name="id2633208"></a><pre class="programlisting">void gimp_preview_draw_buffer (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buffer,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride);</pre>
<p>
Calls the GimpPreview::draw_buffer method. GimpPreview itself
doesn't implement this method so the behaviour is determined by the
@ -531,9 +639,9 @@ derived class implementing this method.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2561321"></a><h3>
<a name="id2633302"></a><h3>
<a name="gimp-preview-invalidate"></a>gimp_preview_invalidate ()</h3>
<a class="indexterm" name="id2628272"></a><pre class="programlisting">void gimp_preview_invalidate (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<a class="indexterm" name="id2633314"></a><pre class="programlisting">void gimp_preview_invalidate (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<p>
This function starts or renews a short low-priority timeout. When
the timeout expires, the GimpPreview::invalidated signal is emitted
@ -562,14 +670,20 @@ itself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628351"></a><h3>
<a name="id2633394"></a><h3>
<a name="gimp-preview-set-default-cursor"></a>gimp_preview_set_default_cursor ()</h3>
<a class="indexterm" name="id2628363"></a><pre class="programlisting">void gimp_preview_set_default_cursor (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
GdkCursor *cursor);</pre>
<a class="indexterm" name="id2633406"></a><pre class="programlisting">void gimp_preview_set_default_cursor (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
<a
href="../gdk/gdk-Cursors.html#GdkCursor"
>GdkCursor</a> *cursor);</pre>
<p>
Sets the default mouse cursor for the preview. Note that this will
be overriden by a <code class="literal">GDK_FLEUR</code> if the preview has scrollbars, or by a
<code class="literal">GDK_WATCH</code> when the preview is invalidated.</p>
be overriden by a <a
href="../gdk/gdk-Cursors.html#GDK-FLEUR:CAPS"
><code class="literal">GDK_FLEUR</code></a> if the preview has scrollbars, or by a
<a
href="../gdk/gdk-Cursors.html#GDK-WATCH:CAPS"
><code class="literal">GDK_WATCH</code></a> when the preview is invalidated.</p>
<p>
</p>
@ -583,7 +697,11 @@ be overriden by a <code class="literal">GDK_FLEUR</code> if the preview has scro
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>cursor</code></em>&#160;:</span></td>
<td> a <span class="type">GdkCursor</span> or <code class="literal">NULL</code>
<td> a <a
href="../gdk/gdk-Cursors.html#GdkCursor"
><span class="type">GdkCursor</span></a> or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
@ -593,11 +711,15 @@ be overriden by a <code class="literal">GDK_FLEUR</code> if the preview has scro
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628473"></a><h3>
<a name="id2633516"></a><h3>
<a name="gimp-preview-get-controls"></a>gimp_preview_get_controls ()</h3>
<a class="indexterm" name="id2628486"></a><pre class="programlisting">GtkWidget* gimp_preview_get_controls (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<a class="indexterm" name="id2633530"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_preview_get_controls (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<p>
Gives access to the <span class="type">GtkHBox</span> at the bottom of the preview that
Gives access to the <a
href="../gtk/GtkHBox.html"
><span class="type">GtkHBox</span></a> at the bottom of the preview that
contains the update toggle. Derived widgets can use this function
if they need to add controls to this area.</p>
<p>
@ -613,7 +735,9 @@ if they need to add controls to this area.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the <span class="type">GtkHBox</span> at the bottom of the preview.
<td> the <a
href="../gtk/GtkHBox.html"
><span class="type">GtkHBox</span></a> at the bottom of the preview.
</td>
</tr>
@ -624,33 +748,39 @@ if they need to add controls to this area.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2628569"></a><h2>Property Details</h2>
<a name="id2633612"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2628578"></a><h3>
<a name="id2633622"></a><h3>
<a name="GimpPreview--update"></a>The "<code class="literal">update</code>" property</h3>
<a class="indexterm" name="id2628591"></a><pre class="programlisting"> "update" gboolean : Read / Write / Construct</pre>
<a class="indexterm" name="id2633634"></a><pre class="programlisting"> "update" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: TRUE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2628614"></a><h2>Style Property Details</h2>
<a name="id2633658"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2628624"></a><h3>
<a name="id2633668"></a><h3>
<a name="GimpPreview--size"></a>The "<code class="literal">size</code>" style property</h3>
<a class="indexterm" name="id2628637"></a><pre class="programlisting"> "size" gint : Read</pre>
<a class="indexterm" name="id2633680"></a><pre class="programlisting"> "size" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p></p>
<p>Allowed values: [1,1024]</p>
<p>Default value: 200</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2628663"></a><h2>Signal Details</h2>
<a name="id2633706"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2628672"></a><h3>
<a name="id2633715"></a><h3>
<a name="GimpPreview-invalidated"></a>The "invalidated" signal</h3>
<a class="indexterm" name="id2628679"></a><pre class="programlisting">void user_function (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *gimppreview,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2633723"></a><pre class="programlisting">void user_function (<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *gimppreview,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpPreview.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="#id2596577" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2579852" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2617410" class="shortcut">Description</a>
<a href="#id2627598" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2616963" class="shortcut">Object Hierarchy</a>
<a href="#id2627486" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2617012" class="shortcut">Implemented Interfaces</a>
<a href="#id2627535" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2617033" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2627556" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpPreviewArea"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2596577"></a><span class="refentrytitle">GimpPreviewArea</span>
<a name="id2579852"></a><span class="refentrytitle">GimpPreviewArea</span>
</h2>
<p>GimpPreviewArea &#8212; A general purpose preview widget which caches its pixel data.</p>
</td>
@ -61,86 +61,176 @@
<a href="GimpPreviewArea.html#GimpPreviewArea-struct">GimpPreviewArea</a>;
GtkWidget* <a href="GimpPreviewArea.html#gimp-preview-area-new">gimp_preview_area_new</a> (void);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPreviewArea.html#gimp-preview-area-new">gimp_preview_area_new</a> (void);
void <a href="GimpPreviewArea.html#gimp-preview-area-draw">gimp_preview_area_draw</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf,
gint rowstride);
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride);
void <a href="GimpPreviewArea.html#gimp-preview-area-fill">gimp_preview_area_fill</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> red,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> green,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> blue);
void <a href="GimpPreviewArea.html#gimp-preview-area-blend">gimp_preview_area_blend</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
guchar opacity);
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> opacity);
void <a href="GimpPreviewArea.html#gimp-preview-area-mask">gimp_preview_area_mask</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
const guchar *mask,
gint rowstride_mask);
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *mask,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride_mask);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-offsets">gimp_preview_area_set_offsets</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-colormap">gimp_preview_area_set_colormap</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *colormap,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> num_colors);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-max-size">gimp_preview_area_set_max_size</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);
void <a href="GimpPreviewArea.html#gimp-preview-area-menu-popup">gimp_preview_area_menu_popup</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);
<a
href="../gdk/gdk-Event-Structures.html#GdkEventButton"
>GdkEventButton</a> *event);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2616963"></a><h2>Object Hierarchy</h2>
<a name="id2627486"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpPreviewArea
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2617012"></a><h2>Implemented Interfaces</h2>
<a name="id2627535"></a><h2>Implemented Interfaces</h2>
<p>
GimpPreviewArea implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2617033"></a><h2>Properties</h2>
<a name="id2627556"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpPreviewArea.html#GimpPreviewArea--check-size">check-size</a>" <a
@ -152,26 +242,28 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2617410"></a><h2>Description</h2>
<a name="id2627598"></a><h2>Description</h2>
<p>
A general purpose preview widget which caches its pixel data.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2617427"></a><h2>Details</h2>
<a name="id2623782"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2617438"></a><h3>
<a name="id2623793"></a><h3>
<a name="GimpPreviewArea-struct"></a>GimpPreviewArea</h3>
<a class="indexterm" name="id2617449"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
<a class="indexterm" name="id2623804"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2617466"></a><h3>
<a name="id2623821"></a><h3>
<a name="gimp-preview-area-new"></a>gimp_preview_area_new ()</h3>
<a class="indexterm" name="id2617477"></a><pre class="programlisting">GtkWidget* gimp_preview_area_new (void);</pre>
<a class="indexterm" name="id2623832"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_preview_area_new (void);</pre>
<p>
Creates a new <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.</p>
<p>
@ -190,18 +282,30 @@ Since GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2617531"></a><h3>
<a name="id2623886"></a><h3>
<a name="gimp-preview-area-draw"></a>gimp_preview_area_draw ()</h3>
<a class="indexterm" name="id2617542"></a><pre class="programlisting">void gimp_preview_area_draw (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a class="indexterm" name="id2623897"></a><pre class="programlisting">void gimp_preview_area_draw (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf,
gint rowstride);</pre>
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride);</pre>
<p>
Draws <em class="parameter"><code>buf</code></em> on <em class="parameter"><code>area</code></em> and queues a redraw on the given rectangle.
</p>
@ -247,7 +351,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>buf</code></em>&#160;:</span></td>
<td> a <span class="type">guchar</span> buffer that contains the preview pixel data.
<td> a <a
href="../glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the preview pixel data.
</td>
</tr>
<tr>
@ -260,16 +366,30 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2624676"></a><h3>
<a name="id2629722"></a><h3>
<a name="gimp-preview-area-fill"></a>gimp_preview_area_fill ()</h3>
<a class="indexterm" name="id2624686"></a><pre class="programlisting">void gimp_preview_area_fill (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);</pre>
<a class="indexterm" name="id2629733"></a><pre class="programlisting">void gimp_preview_area_fill (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> red,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> green,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> blue);</pre>
<p>
Fills the given rectangle of <em class="parameter"><code>area</code></em> in the given color and queues a
redraw.
@ -327,21 +447,39 @@ Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2624898"></a><h3>
<a name="id2629943"></a><h3>
<a name="gimp-preview-area-blend"></a>gimp_preview_area_blend ()</h3>
<a class="indexterm" name="id2624909"></a><pre class="programlisting">void gimp_preview_area_blend (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a class="indexterm" name="id2629954"></a><pre class="programlisting">void gimp_preview_area_blend (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
guchar opacity);</pre>
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
<a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> opacity);</pre>
<p>
Composites <em class="parameter"><code>buf1</code></em> on <em class="parameter"><code>buf2</code></em> with the given <em class="parameter"><code>opacity</code></em>, draws the result
to <em class="parameter"><code>area</code></em> and queues a redraw on the given rectangle.
@ -388,7 +526,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>buf1</code></em>&#160;:</span></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="../glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the lower layer
</td>
</tr>
@ -399,7 +539,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>buf2</code></em>&#160;:</span></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="../glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the upper layer
</td>
</tr>
@ -418,22 +560,42 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625256"></a><h3>
<a name="id2630301"></a><h3>
<a name="gimp-preview-area-mask"></a>gimp_preview_area_mask ()</h3>
<a class="indexterm" name="id2625267"></a><pre class="programlisting">void gimp_preview_area_mask (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a class="indexterm" name="id2630313"></a><pre class="programlisting">void gimp_preview_area_mask (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
const guchar *mask,
gint rowstride_mask);</pre>
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *mask,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> rowstride_mask);</pre>
<p>
Composites <em class="parameter"><code>buf1</code></em> on <em class="parameter"><code>buf2</code></em> with the given <em class="parameter"><code>mask</code></em>, draws the result on
<em class="parameter"><code>area</code></em> and queues a redraw on the given rectangle.
@ -480,7 +642,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>buf1</code></em>&#160;:</span></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="../glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the lower layer
</td>
</tr>
@ -491,7 +655,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>buf2</code></em>&#160;:</span></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="../glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the upper layer
</td>
</tr>
@ -502,7 +668,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>mask</code></em>&#160;:</span></td>
<td> a <span class="type">guchar</span> buffer representing the mask of the second
<td> a <a
href="../glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer representing the mask of the second
layer.
</td>
</tr>
@ -516,11 +684,15 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625644"></a><h3>
<a name="id2630689"></a><h3>
<a name="gimp-preview-area-set-offsets"></a>gimp_preview_area_set_offsets ()</h3>
<a class="indexterm" name="id2625659"></a><pre class="programlisting">void gimp_preview_area_set_offsets (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);</pre>
<a class="indexterm" name="id2630705"></a><pre class="programlisting">void gimp_preview_area_set_offsets (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);</pre>
<p>
Sets the offsets of the previewed area. This information is used
when drawing the checkerboard and to determine the dither offsets.</p>
@ -552,11 +724,15 @@ when drawing the checkerboard and to determine the dither offsets.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625768"></a><h3>
<a name="id2630814"></a><h3>
<a name="gimp-preview-area-set-colormap"></a>gimp_preview_area_set_colormap ()</h3>
<a class="indexterm" name="id2625781"></a><pre class="programlisting">void gimp_preview_area_set_colormap (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);</pre>
<a class="indexterm" name="id2630827"></a><pre class="programlisting">void gimp_preview_area_set_colormap (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const <a
href="../glib/glib-Basic-Types.html#guchar"
>guchar</a> *colormap,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> num_colors);</pre>
<p>
Sets the colormap for the <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget. You need to
call this function before you use <a href="GimpPreviewArea.html#gimp-preview-area-draw"><code class="function">gimp_preview_area_draw()</code></a> with
@ -577,7 +753,9 @@ Since GIMP 2.2</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>colormap</code></em>&#160;:</span></td>
<td> a <span class="type">guchar</span> buffer that contains the colormap
<td> a <a
href="../glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the colormap
</td>
</tr>
<tr>
@ -590,11 +768,15 @@ Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625928"></a><h3>
<a name="id2630973"></a><h3>
<a name="gimp-preview-area-set-max-size"></a>gimp_preview_area_set_max_size ()</h3>
<a class="indexterm" name="id2625943"></a><pre class="programlisting">void gimp_preview_area_set_max_size (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);</pre>
<a class="indexterm" name="id2630989"></a><pre class="programlisting">void gimp_preview_area_set_max_size (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Usually a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> fills the size that it is
allocated. This funtion allows you to limit the preview area to a
@ -628,10 +810,12 @@ preview will draw itself centered into the allocated area.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626041"></a><h3>
<a name="id2631083"></a><h3>
<a name="gimp-preview-area-menu-popup"></a>gimp_preview_area_menu_popup ()</h3>
<a class="indexterm" name="id2626055"></a><pre class="programlisting">void gimp_preview_area_menu_popup (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);</pre>
<a class="indexterm" name="id2631097"></a><pre class="programlisting">void gimp_preview_area_menu_popup (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../gdk/gdk-Event-Structures.html#GdkEventButton"
>GdkEventButton</a> *event);</pre>
<p>
Creates a popup menu that allows to configure the size and type of
the checkerboard pattern that the <em class="parameter"><code>area</code></em> uses to visualize transparency.</p>
@ -648,7 +832,9 @@ the checkerboard pattern that the <em class="parameter"><code>area</code></em> u
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>event</code></em>&#160;:</span></td>
<td> the button event that causes the menu to popup or <code class="literal">NULL</code>
<td> the button event that causes the menu to popup or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
@ -658,11 +844,11 @@ the checkerboard pattern that the <em class="parameter"><code>area</code></em> u
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2626149"></a><h2>Property Details</h2>
<a name="id2631191"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2626159"></a><h3>
<a name="id2631200"></a><h3>
<a name="GimpPreviewArea--check-size"></a>The "<code class="literal">check-size</code>" property</h3>
<a class="indexterm" name="id2626171"></a><pre class="programlisting"> "check-size" <a
<a class="indexterm" name="id2631213"></a><pre class="programlisting"> "check-size" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
>GimpCheckSize</a> : Read / Write</pre>
<p></p>
@ -670,9 +856,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626194"></a><h3>
<a name="id2631236"></a><h3>
<a name="GimpPreviewArea--check-type"></a>The "<code class="literal">check-type</code>" property</h3>
<a class="indexterm" name="id2626206"></a><pre class="programlisting"> "check-type" <a
<a class="indexterm" name="id2631248"></a><pre class="programlisting"> "check-type" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
>GimpCheckType</a> : Read / Write</pre>
<p></p>

View File

@ -1,442 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpRatioEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpPreview.html" title="GimpPreview">
<link rel="next" href="GimpScrolledPreview.html" title="GimpScrolledPreview">
<meta name="generator" content="GTK-Doc V1.8 (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">
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
<link rel="index" href="libgimpwidgets-index.html" title="Index">
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
</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="GimpPreview.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="GimpScrolledPreview.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="#id2587987" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2626953" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2623943" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2623992" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2624025" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2624089" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpRatioEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2587987"></a><span class="refentrytitle">GimpRatioEntry</span>
</h2>
<p>GimpRatioEntry</p>
</td>
<td valign="top" align="right"><img src="gimp-ratio-entry.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="GimpRatioEntry.html#GimpRatioEntry-struct">GimpRatioEntry</a>;
enum <a href="GimpRatioEntry.html#GimpAspectType">GimpAspectType</a>;
GtkWidget* <a href="GimpRatioEntry.html#gimp-ratio-entry-new">gimp_ratio_entry_new</a> (void);
void <a href="GimpRatioEntry.html#gimp-ratio-entry-set-fraction">gimp_ratio_entry_set_fraction</a> (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
gdouble numerator,
gdouble denominator);
void <a href="GimpRatioEntry.html#gimp-ratio-entry-get-fraction">gimp_ratio_entry_get_fraction</a> (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
gdouble *numerator,
gdouble *denominator);
void <a href="GimpRatioEntry.html#gimp-ratio-entry-set-ratio">gimp_ratio_entry_set_ratio</a> (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
gdouble ratio);
gdouble <a href="GimpRatioEntry.html#gimp-ratio-entry-get-ratio">gimp_ratio_entry_get_ratio</a> (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry);
void <a href="GimpRatioEntry.html#gimp-ratio-entry-set-aspect">gimp_ratio_entry_set_aspect</a> (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
<a href="GimpRatioEntry.html#GimpAspectType">GimpAspectType</a> aspect);
<a href="GimpRatioEntry.html#GimpAspectType">GimpAspectType</a> <a href="GimpRatioEntry.html#gimp-ratio-entry-get-aspect">gimp_ratio_entry_get_aspect</a> (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2623943"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkEntry
+----GimpRatioEntry
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2623992"></a><h2>Implemented Interfaces</h2>
<p>
GimpRatioEntry implements
AtkImplementorIface, GtkEditable and GtkCellEditable.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2624025"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpRatioEntry.html#GimpRatioEntry--aspect">aspect</a>" <a href="GimpRatioEntry.html#GimpAspectType">GimpAspectType</a> : Read / Write
"<a href="GimpRatioEntry.html#GimpRatioEntry--denominator">denominator</a>" gdouble : Read / Write
"<a href="GimpRatioEntry.html#GimpRatioEntry--numerator">numerator</a>" gdouble : Read / Write
"<a href="GimpRatioEntry.html#GimpRatioEntry--ratio">ratio</a>" gdouble : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2624089"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpRatioEntry.html#GimpRatioEntry-ratio-changed">ratio-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2626953"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2626969"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2626980"></a><h3>
<a name="GimpRatioEntry-struct"></a>GimpRatioEntry</h3>
<a class="indexterm" name="id2626992"></a><pre class="programlisting">typedef struct _GimpRatioEntry GimpRatioEntry;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627008"></a><h3>
<a name="GimpAspectType"></a>enum GimpAspectType</h3>
<a class="indexterm" name="id2627020"></a><pre class="programlisting">typedef enum
{
GIMP_ASPECT_SQUARE, /*&lt; desc="Square" &gt;*/
GIMP_ASPECT_PORTRAIT, /*&lt; desc="Portrait" &gt;*/
GIMP_ASPECT_LANDSCAPE /*&lt; desc="Landscape" &gt;*/
} GimpAspectType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627039"></a><h3>
<a name="gimp-ratio-entry-new"></a>gimp_ratio_entry_new ()</h3>
<a class="indexterm" name="id2627053"></a><pre class="programlisting">GtkWidget* gimp_ratio_entry_new (void);</pre>
<p>
</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> a new <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> widget
</td>
</tr></tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627107"></a><h3>
<a name="gimp-ratio-entry-set-fraction"></a>gimp_ratio_entry_set_fraction ()</h3>
<a class="indexterm" name="id2627120"></a><pre class="programlisting">void gimp_ratio_entry_set_fraction (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
gdouble numerator,
gdouble denominator);</pre>
<p>
Sets the fraction displayed by a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a>. If the resulting
ratio is different to the previously set ratio, the "ratio-changed"
signal is emitted.
</p>
<p>
If the denominator is zero, the <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> will silently
convert it to 1.0.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> widget
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>numerator</code></em>&#160;:</span></td>
<td> numerator of the fraction to set in the widget
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>denominator</code></em>&#160;:</span></td>
<td> denominator of the fraction to set in the widget
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626638"></a><h3>
<a name="gimp-ratio-entry-get-fraction"></a>gimp_ratio_entry_get_fraction ()</h3>
<a class="indexterm" name="id2626652"></a><pre class="programlisting">void gimp_ratio_entry_get_fraction (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
gdouble *numerator,
gdouble *denominator);</pre>
<p>
Gets the fraction displayed by a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a>.
</p>
<p>
The denominator may be zero if the <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> shows just a single
value. You can use <a href="GimpRatioEntry.html#gimp-ratio-entry-get-ratio"><span class="type">gimp_ratio_entry_get_ratio</span></a> to retrieve the ratio
as a single decimal value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> widget
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>numerator</code></em>&#160;:</span></td>
<td> pointer to store the numerator of the fraction
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>denominator</code></em>&#160;:</span></td>
<td> pointer to store the denominator of the fraction
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623578"></a><h3>
<a name="gimp-ratio-entry-set-ratio"></a>gimp_ratio_entry_set_ratio ()</h3>
<a class="indexterm" name="id2623591"></a><pre class="programlisting">void gimp_ratio_entry_set_ratio (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
gdouble ratio);</pre>
<p>
Sets the ratio displayed by a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a>. If the new ratio is
different than the previous ratio, the "ratio-changed" signal is
emitted.
</p>
<p>
An attempt is made to convert the decimal number into a fraction with
numerator and denominator &lt; 1000.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> widget
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>ratio</code></em>&#160;:</span></td>
<td> ratio to set in the widget
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623691"></a><h3>
<a name="gimp-ratio-entry-get-ratio"></a>gimp_ratio_entry_get_ratio ()</h3>
<a class="indexterm" name="id2623705"></a><pre class="programlisting">gdouble gimp_ratio_entry_get_ratio (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry);</pre>
<p>
Retrieves the ratio value displayed by a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</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>entry</code></em>&#160;:</span></td>
<td> a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> widget
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The ratio value.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623787"></a><h3>
<a name="gimp-ratio-entry-set-aspect"></a>gimp_ratio_entry_set_aspect ()</h3>
<a class="indexterm" name="id2623801"></a><pre class="programlisting">void gimp_ratio_entry_set_aspect (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry,
<a href="GimpRatioEntry.html#GimpAspectType">GimpAspectType</a> aspect);</pre>
<p>
Sets the aspect of the ratio by swapping the numerator and denominator
(or setting them to 1.0 in case that <em class="parameter"><code>aspect</code></em> is <code class="literal">GIMP_ASPECT_SQUARE</code>).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>entry</code></em>&#160;:</span></td>
<td> a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> widget
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>aspect</code></em>&#160;:</span></td>
<td> the new aspect
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2618025"></a><h3>
<a name="gimp-ratio-entry-get-aspect"></a>gimp_ratio_entry_get_aspect ()</h3>
<a class="indexterm" name="id2618039"></a><pre class="programlisting"><a href="GimpRatioEntry.html#GimpAspectType">GimpAspectType</a> gimp_ratio_entry_get_aspect (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *entry);</pre>
<p>
Gets the aspect of the ratio displayed by a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</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>entry</code></em>&#160;:</span></td>
<td> a <a href="GimpRatioEntry.html" title="GimpRatioEntry"><span class="type">GimpRatioEntry</span></a> widget
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> The entry's current aspect.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2618123"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2618134"></a><h3>
<a name="GimpRatioEntry--aspect"></a>The "<code class="literal">aspect</code>" property</h3>
<a class="indexterm" name="id2618148"></a><pre class="programlisting"> "aspect" <a href="GimpRatioEntry.html#GimpAspectType">GimpAspectType</a> : Read / Write</pre>
<p></p>
<p>Default value: GIMP_ASPECT_SQUARE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2618172"></a><h3>
<a name="GimpRatioEntry--denominator"></a>The "<code class="literal">denominator</code>" property</h3>
<a class="indexterm" name="id2618186"></a><pre class="programlisting"> "denominator" gdouble : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2618215"></a><h3>
<a name="GimpRatioEntry--numerator"></a>The "<code class="literal">numerator</code>" property</h3>
<a class="indexterm" name="id2618229"></a><pre class="programlisting"> "numerator" gdouble : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2618258"></a><h3>
<a name="GimpRatioEntry--ratio"></a>The "<code class="literal">ratio</code>" property</h3>
<a class="indexterm" name="id2618271"></a><pre class="programlisting"> "ratio" gdouble : Read / Write</pre>
<p></p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 1</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2618302"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2618312"></a><h3>
<a name="GimpRatioEntry-ratio-changed"></a>The "ratio-changed" signal</h3>
<a class="indexterm" name="id2618322"></a><pre class="programlisting">void user_function (<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a> *gimpratioentry,
gpointer user_data) : Run First</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>gimpratioentry</code></em>&#160;:</span></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>

View File

@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpRatioEntry.html" title="GimpRatioEntry">
<link rel="prev" href="GimpPreview.html" title="GimpPreview">
<link rel="next" href="GimpSizeEntry.html" title="GimpSizeEntry">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
@ -27,26 +27,26 @@
<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="GimpRatioEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="GimpPreview.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="GimpSizeEntry.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="#id2600552" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2580573" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2626889" class="shortcut">Description</a>
<a href="#id2627174" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2626801" class="shortcut">Object Hierarchy</a>
<a href="#id2626620" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2626868" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
<a href="#id2627152" class="shortcut">Implemented Interfaces</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpScrolledPreview"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2600552"></a><span class="refentrytitle">GimpScrolledPreview</span>
<a name="id2580573"></a><span class="refentrytitle">GimpScrolledPreview</span>
</h2>
<p>GimpScrolledPreview &#8212; A widget providing a <a href="GimpPreview.html" title="GimpPreview"><span class="type">GimpPreview</span></a> enhanced by scrolling capabilities.</p>
</td>
@ -60,60 +60,86 @@
<a href="GimpScrolledPreview.html#GimpScrolledPreview-struct">GimpScrolledPreview</a>;
void <a href="GimpScrolledPreview.html#gimp-scrolled-preview-set-position">gimp_scrolled_preview_set_position</a> (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
gint x,
gint y);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);
void <a href="GimpScrolledPreview.html#gimp-scrolled-preview-set-policy">gimp_scrolled_preview_set_policy</a> (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
GtkPolicyType hscrollbar_policy,
GtkPolicyType vscrollbar_policy);
<a
href="../gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> hscrollbar_policy,
<a
href="../gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> vscrollbar_policy);
void <a href="GimpScrolledPreview.html#gimp-scrolled-preview-freeze">gimp_scrolled_preview_freeze</a> (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);
void <a href="GimpScrolledPreview.html#gimp-scrolled-preview-thaw">gimp_scrolled_preview_thaw</a> (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2626801"></a><h2>Object Hierarchy</h2>
<a name="id2626620"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
+----<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a>
+----GimpScrolledPreview
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2626868"></a><h2>Implemented Interfaces</h2>
<a name="id2627152"></a><h2>Implemented Interfaces</h2>
<p>
GimpScrolledPreview implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2626889"></a><h2>Description</h2>
<a name="id2627174"></a><h2>Description</h2>
<p>
A widget providing a <a href="GimpPreview.html" title="GimpPreview"><span class="type">GimpPreview</span></a> enhanced by scrolling capabilities.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2626912"></a><h2>Details</h2>
<a name="id2627196"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2618395"></a><h3>
<a name="id2627207"></a><h3>
<a name="GimpScrolledPreview-struct"></a>GimpScrolledPreview</h3>
<a class="indexterm" name="id2618407"></a><pre class="programlisting">typedef struct _GimpScrolledPreview GimpScrolledPreview;</pre>
<a class="indexterm" name="id2627218"></a><pre class="programlisting">typedef struct _GimpScrolledPreview GimpScrolledPreview;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2618423"></a><h3>
<a name="id2627235"></a><h3>
<a name="gimp-scrolled-preview-set-position"></a>gimp_scrolled_preview_set_position ()</h3>
<a class="indexterm" name="id2618437"></a><pre class="programlisting">void gimp_scrolled_preview_set_position (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
gint x,
gint y);</pre>
<a class="indexterm" name="id2627248"></a><pre class="programlisting">void gimp_scrolled_preview_set_position (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y);</pre>
<p>
</p>
<p>
@ -144,11 +170,15 @@ A widget providing a <a href="GimpPreview.html" title="GimpPreview"><span class=
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2618543"></a><h3>
<a name="id2632150"></a><h3>
<a name="gimp-scrolled-preview-set-policy"></a>gimp_scrolled_preview_set_policy ()</h3>
<a class="indexterm" name="id2629571"></a><pre class="programlisting">void gimp_scrolled_preview_set_policy (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
GtkPolicyType hscrollbar_policy,
GtkPolicyType vscrollbar_policy);</pre>
<a class="indexterm" name="id2632164"></a><pre class="programlisting">void gimp_scrolled_preview_set_policy (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
<a
href="../gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> hscrollbar_policy,
<a
href="../gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> vscrollbar_policy);</pre>
<p>
</p>
<p>
@ -179,9 +209,9 @@ A widget providing a <a href="GimpPreview.html" title="GimpPreview"><span class=
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629679"></a><h3>
<a name="id2626796"></a><h3>
<a name="gimp-scrolled-preview-freeze"></a>gimp_scrolled_preview_freeze ()</h3>
<a class="indexterm" name="id2629694"></a><pre class="programlisting">void gimp_scrolled_preview_freeze (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);</pre>
<a class="indexterm" name="id2626809"></a><pre class="programlisting">void gimp_scrolled_preview_freeze (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);</pre>
<p>
While the <em class="parameter"><code>preview</code></em> is frozen, it is not going to redraw itself in
response to scroll events.
@ -205,9 +235,9 @@ This function should only be used to implement widgets derived from
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629779"></a><h3>
<a name="id2626893"></a><h3>
<a name="gimp-scrolled-preview-thaw"></a>gimp_scrolled_preview_thaw ()</h3>
<a class="indexterm" name="id2629793"></a><pre class="programlisting">void gimp_scrolled_preview_thaw (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);</pre>
<a class="indexterm" name="id2626907"></a><pre class="programlisting">void gimp_scrolled_preview_thaw (<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);</pre>
<p>
While the <em class="parameter"><code>preview</code></em> is frozen, it is not going to redraw itself in
response to scroll events.

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpStringComboBox.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="#id2570238" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2587198" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2629040" class="shortcut">Description</a>
<a href="#id2629086" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2628926" class="shortcut">Object Hierarchy</a>
<a href="#id2628972" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2628981" class="shortcut">Implemented Interfaces</a>
<a href="#id2629027" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2629002" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2629048" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpSizeEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2570238"></a><span class="refentrytitle">GimpSizeEntry</span>
<a name="id2587198"></a><span class="refentrytitle">GimpSizeEntry</span>
</h2>
<p>GimpSizeEntry &#8212; Widget for entering pixel values and resolutions.</p>
</td>
@ -63,55 +63,127 @@
<a href="GimpSizeEntry.html#GimpSizeEntry-struct">GimpSizeEntry</a>;
<a href="GimpSizeEntry.html#GimpSizeEntryField">GimpSizeEntryField</a>;
enum <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a>;
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-new">gimp_size_entry_new</a> (gint number_of_fields,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpSizeEntry.html#gimp-size-entry-new">gimp_size_entry_new</a> (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> number_of_fields,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
const gchar *unit_format,
gboolean menu_show_pixels,
gboolean menu_show_percent,
gboolean show_refval,
gint spinbutton_width,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *unit_format,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_pixels,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_percent,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_refval,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> spinbutton_width,
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);
void <a href="GimpSizeEntry.html#gimp-size-entry-add-field">gimp_size_entry_add_field</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-attach-label">gimp_size_entry_attach_label</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);
<a
href="../gtk/GtkSpinButton.html"
>GtkSpinButton</a> *value_spinbutton,
<a
href="../gtk/GtkSpinButton.html"
>GtkSpinButton</a> *refval_spinbutton);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpSizeEntry.html#gimp-size-entry-attach-label">gimp_size_entry_attach_label</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> row,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> alignment);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-resolution">gimp_size_entry_set_resolution</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> keep_size);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-size">gimp_size_entry_set_size</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-value-boundaries">gimp_size_entry_set_value_boundaries</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
gdouble <a href="GimpSizeEntry.html#gimp-size-entry-get-value">gimp_size_entry_get_value</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="GimpSizeEntry.html#gimp-size-entry-get-value">gimp_size_entry_get_value</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-value">gimp_size_entry_set_value</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval-boundaries">gimp_size_entry_set_refval_boundaries</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval-digits">gimp_size_entry_set_refval_digits</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);
gdouble <a href="GimpSizeEntry.html#gimp-size-entry-get-refval">gimp_size_entry_get_refval</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="GimpSizeEntry.html#gimp-size-entry-get-refval">gimp_size_entry_get_refval</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval">gimp_size_entry_set_refval</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> refval);
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> <a href="GimpSizeEntry.html#gimp-size-entry-get-unit">gimp_size_entry_get_unit</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
@ -120,39 +192,61 @@ void <a href="GimpSizeEntry.html#gimp-size-entry-set-unit">gimp_s
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-pixel-digits">gimp_size_entry_set_pixel_digits</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits);
void <a href="GimpSizeEntry.html#gimp-size-entry-show-unit-menu">gimp_size_entry_show_unit_menu</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show);
void <a href="GimpSizeEntry.html#gimp-size-entry-grab-focus">gimp_size_entry_grab_focus</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-activates-default">gimp_size_entry_set_activates_default</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_size_entry_get_help_widget</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_size_entry_get_help_widget</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2628926"></a><h2>Object Hierarchy</h2>
<a name="id2628972"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkTable
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="../gtk/GtkTable.html"
>GtkTable</a>
+----GimpSizeEntry
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2628981"></a><h2>Implemented Interfaces</h2>
<a name="id2629027"></a><h2>Implemented Interfaces</h2>
<p>
GimpSizeEntry implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2629002"></a><h2>Signals</h2>
<a name="id2629048"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpSizeEntry.html#GimpSizeEntry-refval-changed">refval-changed</a>" : Run First
@ -161,7 +255,7 @@ GimpSizeEntry implements
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2629040"></a><h2>Description</h2>
<a name="id2629086"></a><h2>Description</h2>
<p>
This widget is used to enter pixel distances/sizes and resolutions.
</p>
@ -177,9 +271,15 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
><span class="type">GimpUnit</span></a> of the displayed values.
</p>
<p>
For each field, there can be one or two <span class="type">GtkSpinButton</span>'s to enter
"value" and "reference value". If you specify <em class="parameter"><code>show_refval</code></em> as <span class="type">FALSE</span>
in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> there will be only one <span class="type">GtkSpinButton</span> and the
For each field, there can be one or two <a
href="../gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a>'s to enter
"value" and "reference value". If you specify <em class="parameter"><code>show_refval</code></em> as <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><span class="type">FALSE</span></a>
in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> there will be only one <a
href="../gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a> and the
<a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> will contain an item for selecting GIMP_UNIT_PIXEL.
</p>
<p>
@ -193,29 +293,29 @@ real-world-unit.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2634404"></a><h2>Details</h2>
<a name="id2637838"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2634413"></a><h3>
<a name="id2637848"></a><h3>
<a name="GimpSizeEntry-struct"></a>GimpSizeEntry</h3>
<a class="indexterm" name="id2634423"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<a class="indexterm" name="id2637858"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634438"></a><h3>
<a name="id2637872"></a><h3>
<a name="GimpSizeEntryField"></a>GimpSizeEntryField</h3>
<a class="indexterm" name="id2634448"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<a class="indexterm" name="id2637883"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634463"></a><h3>
<a name="id2637898"></a><h3>
<a name="GimpSizeEntryUpdatePolicy"></a>enum GimpSizeEntryUpdatePolicy</h3>
<a class="indexterm" name="id2634473"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2637908"></a><pre class="programlisting">typedef enum
{
GIMP_SIZE_ENTRY_UPDATE_NONE = 0,
GIMP_SIZE_ENTRY_UPDATE_SIZE = 1,
@ -228,17 +328,31 @@ real-world-unit.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634490"></a><h3>
<a name="id2637924"></a><h3>
<a name="gimp-size-entry-new"></a>gimp_size_entry_new ()</h3>
<a class="indexterm" name="id2634500"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
<a class="indexterm" name="id2637935"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_size_entry_new (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> number_of_fields,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
const gchar *unit_format,
gboolean menu_show_pixels,
gboolean menu_show_percent,
gboolean show_refval,
gint spinbutton_width,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *unit_format,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_pixels,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_percent,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_refval,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> spinbutton_width,
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);</pre>
<p>
Creates a new <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> widget.
@ -273,7 +387,9 @@ For each input field:
7. <a href="GimpSizeEntry.html#gimp-size-entry-set-refval"><code class="function">gimp_size_entry_set_refval()</code></a> (or <a href="GimpSizeEntry.html#gimp-size-entry-set-value"><code class="function">gimp_size_entry_set_value()</code></a>)
</p>
<p>
The <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> is derived from <span class="type">GtkTable</span> and will have
The <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> is derived from <a
href="../gtk/GtkTable.html"
><span class="type">GtkTable</span></a> and will have
an empty border of one cell width on each side plus an empty column left
of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> to allow the caller to add labels or a
<a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
@ -301,26 +417,34 @@ of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpU
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>menu_show_pixels</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the unit menu shold contain an item for
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the unit menu shold contain an item for
GIMP_UNIT_PIXEL (ignored if the <em class="parameter"><code>update_policy</code></em> is not
GIMP_SIZE_ENTRY_UPDATE_NONE).
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>menu_show_percent</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the unit menu shold contain an item for
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the unit menu shold contain an item for
GIMP_UNIT_PERCENT.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>show_refval</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if you want an extra "reference value"
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if you want an extra "reference value"
spinbutton per input field.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>spinbutton_width</code></em>&#160;:</span></td>
<td> The minimal horizontal size of the <span class="type">GtkSpinButton</span>'s.
<td> The minimal horizontal size of the <a
href="../gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a>'s.
</td>
</tr>
<tr>
@ -339,18 +463,28 @@ of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpU
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634937"></a><h3>
<a name="id2638371"></a><h3>
<a name="gimp-size-entry-add-field"></a>gimp_size_entry_add_field ()</h3>
<a class="indexterm" name="id2634949"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);</pre>
<a class="indexterm" name="id2638383"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../gtk/GtkSpinButton.html"
>GtkSpinButton</a> *value_spinbutton,
<a
href="../gtk/GtkSpinButton.html"
>GtkSpinButton</a> *refval_spinbutton);</pre>
<p>
Adds an input field to the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
<p>
The new input field will have the index 0. If you specified <em class="parameter"><code>show_refval</code></em>
as <code class="literal">TRUE</code> in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> you have to pass an additional
<span class="type">GtkSpinButton</span> to hold the reference value. If <em class="parameter"><code>show_refval</code></em> was <code class="literal">FALSE</code>,
as <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> you have to pass an additional
<a
href="../gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a> to hold the reference value. If <em class="parameter"><code>show_refval</code></em> was <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>,
<em class="parameter"><code>refval_spinbutton</code></em> will be ignored.</p>
<p>
@ -378,15 +512,29 @@ as <code class="literal">TRUE</code> in <a href="GimpSizeEntry.html#gimp-size-en
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635111"></a><h3>
<a name="id2638544"></a><h3>
<a name="gimp-size-entry-attach-label"></a>gimp_size_entry_attach_label ()</h3>
<a class="indexterm" name="id2635124"></a><pre class="programlisting">GtkWidget* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);</pre>
<a class="indexterm" name="id2638558"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> row,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> alignment);</pre>
<p>
Attaches a <span class="type">GtkLabel</span> to the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> (which is a <span class="type">GtkTable</span>).</p>
Attaches a <a
href="../gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a> to the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> (which is a <a
href="../gtk/GtkTable.html"
><span class="type">GtkTable</span></a>).</p>
<p>
</p>
@ -420,7 +568,9 @@ Attaches a <span class="type">GtkLabel</span> to the <a href="GimpSizeEntry.html
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A pointer to the new <span class="type">GtkLabel</span> widget.
<td> A pointer to the new <a
href="../gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a> widget.
</td>
</tr>
</tbody>
@ -428,12 +578,18 @@ Attaches a <span class="type">GtkLabel</span> to the <a href="GimpSizeEntry.html
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635302"></a><h3>
<a name="id2638735"></a><h3>
<a name="gimp-size-entry-set-resolution"></a>gimp_size_entry_set_resolution ()</h3>
<a class="indexterm" name="id2635315"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);</pre>
<a class="indexterm" name="id2638748"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> keep_size);</pre>
<p>
Sets the resolution (in dpi) for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -471,8 +627,12 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>keep_size</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the <em class="parameter"><code>field</code></em>'s size in pixels should stay the same.
<code class="literal">FALSE</code> if the <em class="parameter"><code>field</code></em>'s size in units should stay the same.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <em class="parameter"><code>field</code></em>'s size in pixels should stay the same.
<a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if the <em class="parameter"><code>field</code></em>'s size in units should stay the same.
</td>
</tr>
</tbody>
@ -480,18 +640,26 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635535"></a><h3>
<a name="id2638968"></a><h3>
<a name="gimp-size-entry-set-size"></a>gimp_size_entry_set_size ()</h3>
<a class="indexterm" name="id2635546"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a class="indexterm" name="id2638979"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);</pre>
<p>
Sets the pixel values for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>
which will be treated as 0% and 100%.
</p>
<p>
These values will be used if you specified <em class="parameter"><code>menu_show_percent</code></em> as <code class="literal">TRUE</code>
These values will be used if you specified <em class="parameter"><code>menu_show_percent</code></em> as <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>
in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> and the user has selected GIMP_UNIT_PERCENT in
the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>'s <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>.
</p>
@ -529,13 +697,19 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635742"></a><h3>
<a name="id2639175"></a><h3>
<a name="gimp-size-entry-set-value-boundaries"></a>gimp_size_entry_set_value_boundaries ()</h3>
<a class="indexterm" name="id2635755"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
<a class="indexterm" name="id2639189"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);</pre>
<p>
Limits the range of possible values which can be entered in field # <em class="parameter"><code>field</code></em>
of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
@ -581,10 +755,14 @@ NOTE: In most cases you won't be interested in this function because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635942"></a><h3>
<a name="id2639375"></a><h3>
<a name="gimp-size-entry-get-value"></a>gimp_size_entry_get_value ()</h3>
<a class="indexterm" name="id2635954"></a><pre class="programlisting">gdouble gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<a class="indexterm" name="id2639387"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field);</pre>
<p>
Returns the value of field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -625,11 +803,15 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636111"></a><h3>
<a name="id2639545"></a><h3>
<a name="gimp-size-entry-set-value"></a>gimp_size_entry_set_value ()</h3>
<a class="indexterm" name="id2636123"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);</pre>
<a class="indexterm" name="id2639557"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);</pre>
<p>
Sets the value for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -670,13 +852,19 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636292"></a><h3>
<a name="id2639726"></a><h3>
<a name="gimp-size-entry-set-refval-boundaries"></a>gimp_size_entry_set_refval_boundaries ()</h3>
<a class="indexterm" name="id2636306"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
<a class="indexterm" name="id2639739"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);</pre>
<p>
Limits the range of possible reference values which can be entered in
field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
@ -716,11 +904,15 @@ The current reference value of the <em class="parameter"><code>field</code></em>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636468"></a><h3>
<a name="id2639902"></a><h3>
<a name="gimp-size-entry-set-refval-digits"></a>gimp_size_entry_set_refval_digits ()</h3>
<a class="indexterm" name="id2636482"></a><pre class="programlisting">void gimp_size_entry_set_refval_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);</pre>
<a class="indexterm" name="id2639916"></a><pre class="programlisting">void gimp_size_entry_set_refval_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits);</pre>
<p>
Sets the decimal digits of field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> to
<em class="parameter"><code>digits</code></em>.
@ -747,7 +939,9 @@ of digits will equal to 0 for <span class="type">GIMP_SIZE_ENTRY_UPDATE_SIZE</sp
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
<td> The new number of decimal digits for the <span class="type">GtkSpinButton</span> which
<td> The new number of decimal digits for the <a
href="../gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a> which
displays <em class="parameter"><code>field</code></em>'s reference value.
</td>
</tr>
@ -756,10 +950,14 @@ of digits will equal to 0 for <span class="type">GIMP_SIZE_ENTRY_UPDATE_SIZE</sp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636602"></a><h3>
<a name="id2640042"></a><h3>
<a name="gimp-size-entry-get-refval"></a>gimp_size_entry_get_refval ()</h3>
<a class="indexterm" name="id2636614"></a><pre class="programlisting">gdouble gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<a class="indexterm" name="id2640053"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field);</pre>
<p>
Returns the reference value for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -793,11 +991,15 @@ in dpi, depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636726"></a><h3>
<a name="id2640166"></a><h3>
<a name="gimp-size-entry-set-refval"></a>gimp_size_entry_set_refval ()</h3>
<a class="indexterm" name="id2636737"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);</pre>
<a class="indexterm" name="id2640177"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> refval);</pre>
<p>
Sets the reference value for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -831,9 +1033,9 @@ depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636864"></a><h3>
<a name="id2640304"></a><h3>
<a name="gimp-size-entry-get-unit"></a>gimp_size_entry_get_unit ()</h3>
<a class="indexterm" name="id2636874"></a><pre class="programlisting"><a
<a class="indexterm" name="id2640314"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> gimp_size_entry_get_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<p>
@ -862,9 +1064,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636948"></a><h3>
<a name="id2640388"></a><h3>
<a name="gimp-size-entry-set-unit"></a>gimp_size_entry_set_unit ()</h3>
<a class="indexterm" name="id2636959"></a><pre class="programlisting">void gimp_size_entry_set_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2640398"></a><pre class="programlisting">void gimp_size_entry_set_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit);</pre>
@ -894,10 +1096,12 @@ according to which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637046"></a><h3>
<a name="id2640486"></a><h3>
<a name="gimp-size-entry-set-pixel-digits"></a>gimp_size_entry_set_pixel_digits ()</h3>
<a class="indexterm" name="id2637058"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);</pre>
<a class="indexterm" name="id2640498"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits);</pre>
<p>
Similar to <a href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits"><code class="function">gimp_unit_menu_set_pixel_digits()</code></a>, this function allows
you set up a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> so that sub-pixel sizes can be entered.</p>
@ -922,13 +1126,17 @@ you set up a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="typ
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637147"></a><h3>
<a name="id2640586"></a><h3>
<a name="gimp-size-entry-show-unit-menu"></a>gimp_size_entry_show_unit_menu ()</h3>
<a class="indexterm" name="id2637161"></a><pre class="programlisting">void gimp_size_entry_show_unit_menu (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);</pre>
<a class="indexterm" name="id2640601"></a><pre class="programlisting">void gimp_size_entry_show_unit_menu (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show);</pre>
<p>
Controls whether a unit menu is shown in the size entry. If
<em class="parameter"><code>show</code></em> is <span class="type">TRUE</span>, the menu is shown; otherwise it is hidden.</p>
<em class="parameter"><code>show</code></em> is <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a>, the menu is shown; otherwise it is hidden.</p>
<p>
</p>
@ -952,12 +1160,16 @@ Controls whether a unit menu is shown in the size entry. If
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637251"></a><h3>
<a name="id2640690"></a><h3>
<a name="gimp-size-entry-grab-focus"></a>gimp_size_entry_grab_focus ()</h3>
<a class="indexterm" name="id2637262"></a><pre class="programlisting">void gimp_size_entry_grab_focus (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<a class="indexterm" name="id2640702"></a><pre class="programlisting">void gimp_size_entry_grab_focus (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<p>
This function is rather ugly and just a workaround for the fact that
it's impossible to implement <code class="function">gtk_widget_grab_focus()</code> for a <span class="type">GtkTable</span>.</p>
it's impossible to implement <a
href="../gtk/GtkWidget.html#gtk-widget-grab-focus"
><code class="function">gtk_widget_grab_focus()</code></a> for a <a
href="../gtk/GtkTable.html"
><span class="type">GtkTable</span></a>.</p>
<p>
</p>
@ -972,14 +1184,18 @@ it's impossible to implement <code class="function">gtk_widget_grab_focus()</cod
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637323"></a><h3>
<a name="id2640763"></a><h3>
<a name="gimp-size-entry-set-activates-default"></a>gimp_size_entry_set_activates_default ()</h3>
<a class="indexterm" name="id2637338"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
<a class="indexterm" name="id2640778"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);</pre>
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
Iterates over all entries in the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> and calls
<code class="function">gtk_entry_set_activates_default()</code> on them.</p>
<a
href="../gtk/GtkEntry.html#gtk-entry-set-activates-default"
><code class="function">gtk_entry_set_activates_default()</code></a> on them.</p>
<p>
</p>
@ -993,7 +1209,9 @@ Iterates over all entries in the <a href="GimpSizeEntry.html" title="GimpSizeEnt
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>setting</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> to activate window's default widget on Enter keypress
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to activate window's default widget on Enter keypress
</td>
</tr>
</tbody>
@ -1003,10 +1221,14 @@ Iterates over all entries in the <a href="GimpSizeEntry.html" title="GimpSizeEnt
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637441"></a><h3>
<a name="id2640881"></a><h3>
<a name="gimp-size-entry-get-help-widget"></a>gimp_size_entry_get_help_widget ()</h3>
<a class="indexterm" name="id2637453"></a><pre class="programlisting">GtkWidget* gimp_size_entry_get_help_widget (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<a class="indexterm" name="id2640893"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_size_entry_get_help_widget (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> field);</pre>
<p>
You shouldn't fiddle with the internals of a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> but
if you want to set tooltips using <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data"><code class="function">gimp_help_set_help_data()</code></a> you
@ -1029,7 +1251,9 @@ can use this function to get a pointer to the spinbuttons.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a <span class="type">GtkWidget</span> pointer that you can attach a tooltip to.
<td> a <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> pointer that you can attach a tooltip to.
</td>
</tr>
</tbody>
@ -1037,12 +1261,14 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2637560"></a><h2>Signal Details</h2>
<a name="id2640999"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2637569"></a><h3>
<a name="id2641009"></a><h3>
<a name="GimpSizeEntry-refval-changed"></a>The "refval-changed" signal</h3>
<a class="indexterm" name="id2637578"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2641018"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -1064,10 +1290,12 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637640"></a><h3>
<a name="id2641080"></a><h3>
<a name="GimpSizeEntry-unit-changed"></a>The "unit-changed" signal</h3>
<a class="indexterm" name="id2637647"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2641087"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -1089,10 +1317,12 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637709"></a><h3>
<a name="id2641148"></a><h3>
<a name="GimpSizeEntry-value-changed"></a>The "value-changed" signal</h3>
<a class="indexterm" name="id2637716"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2641156"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -1114,7 +1344,7 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2637780"></a><h2>See Also</h2>
<a name="id2641220"></a><h2>See Also</h2>
<p>
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpUnitMenu.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="#id2592548" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2576774" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2633658" class="shortcut">Description</a>
<a href="#id2637061" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2629273" class="shortcut">Object Hierarchy</a>
<a href="#id2623419" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2633569" class="shortcut">Implemented Interfaces</a>
<a href="#id2623480" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2633603" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2637005" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpStringComboBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2592548"></a><span class="refentrytitle">GimpStringComboBox</span>
<a name="id2576774"></a><span class="refentrytitle">GimpStringComboBox</span>
</h2>
<p>GimpStringComboBox</p>
</td>
@ -61,67 +61,113 @@
<a href="GimpStringComboBox.html#GimpStringComboBox-struct">GimpStringComboBox</a>;
GtkWidget* <a href="GimpStringComboBox.html#gimp-string-combo-box-new">gimp_string_combo_box_new</a> (GtkTreeModel *model,
gint id_column,
gint label_column);
gboolean <a href="GimpStringComboBox.html#gimp-string-combo-box-set-active">gimp_string_combo_box_set_active</a> (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const gchar *id);
gchar* <a href="GimpStringComboBox.html#gimp-string-combo-box-get-active">gimp_string_combo_box_get_active</a> (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpStringComboBox.html#gimp-string-combo-box-new">gimp_string_combo_box_new</a> (<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> id_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> label_column);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GimpStringComboBox.html#gimp-string-combo-box-set-active">gimp_string_combo_box_set_active</a> (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *id);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GimpStringComboBox.html#gimp-string-combo-box-get-active">gimp_string_combo_box_get_active</a> (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2629273"></a><h2>Object Hierarchy</h2>
<a name="id2623419"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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>
+----GimpStringComboBox
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2633569"></a><h2>Implemented Interfaces</h2>
<a name="id2623480"></a><h2>Implemented Interfaces</h2>
<p>
GimpStringComboBox implements
AtkImplementorIface, GtkCellEditable and GtkCellLayout.</p>
AtkImplementorIface, <a
href="../gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="../gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2633603"></a><h2>Properties</h2>
<a name="id2637005"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpStringComboBox.html#GimpStringComboBox--ellipsize">ellipsize</a>" PangoEllipsizeMode : Read / Write
"<a href="GimpStringComboBox.html#GimpStringComboBox--id-column">id-column</a>" gint : Read / Write / Construct Only
"<a href="GimpStringComboBox.html#GimpStringComboBox--label-column">label-column</a>" gint : Read / Write / Construct Only
"<a href="GimpStringComboBox.html#GimpStringComboBox--ellipsize">ellipsize</a>" <a
href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write
"<a href="GimpStringComboBox.html#GimpStringComboBox--id-column">id-column</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct Only
"<a href="GimpStringComboBox.html#GimpStringComboBox--label-column">label-column</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2633658"></a><h2>Description</h2>
<a name="id2637061"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2633674"></a><h2>Details</h2>
<a name="id2637077"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2633685"></a><h3>
<a name="id2637087"></a><h3>
<a name="GimpStringComboBox-struct"></a>GimpStringComboBox</h3>
<a class="indexterm" name="id2633696"></a><pre class="programlisting">typedef struct _GimpStringComboBox GimpStringComboBox;</pre>
<a class="indexterm" name="id2637099"></a><pre class="programlisting">typedef struct _GimpStringComboBox GimpStringComboBox;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629361"></a><h3>
<a name="id2637116"></a><h3>
<a name="gimp-string-combo-box-new"></a>gimp_string_combo_box_new ()</h3>
<a class="indexterm" name="id2629375"></a><pre class="programlisting">GtkWidget* gimp_string_combo_box_new (GtkTreeModel *model,
gint id_column,
gint label_column);</pre>
<a class="indexterm" name="id2637129"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_string_combo_box_new (<a
href="../gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> id_column,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> label_column);</pre>
<p>
</p>
<p>
@ -158,10 +204,14 @@ GimpStringComboBox implements
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629492"></a><h3>
<a name="id2634133"></a><h3>
<a name="gimp-string-combo-box-set-active"></a>gimp_string_combo_box_set_active ()</h3>
<a class="indexterm" name="id2629506"></a><pre class="programlisting">gboolean gimp_string_combo_box_set_active (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const gchar *id);</pre>
<a class="indexterm" name="id2634146"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_string_combo_box_set_active (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *id);</pre>
<p>
Looks up the item that belongs to the given <em class="parameter"><code>id</code></em> and makes it the
selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
@ -183,7 +233,11 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> <code class="literal">TRUE</code> on success or <code class="literal">FALSE</code> if there was no item for
<td> <a
href="../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"
><code class="literal">FALSE</code></a> if there was no item for
this value.
</td>
@ -195,9 +249,11 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633344"></a><h3>
<a name="id2634274"></a><h3>
<a name="gimp-string-combo-box-get-active"></a>gimp_string_combo_box_get_active ()</h3>
<a class="indexterm" name="id2633358"></a><pre class="programlisting">gchar* gimp_string_combo_box_get_active (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);</pre>
<a class="indexterm" name="id2634288"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_string_combo_box_get_active (<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);</pre>
<p>
Retrieves the value of the selected (active) item in the <em class="parameter"><code>combo_box</code></em>.</p>
<p>
@ -213,7 +269,9 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> newly allocated ID string or <code class="literal">NULL</code> if nothing was selected
<td> newly allocated ID string or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if nothing was selected
</td>
</tr>
@ -224,11 +282,13 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2633450"></a><h2>Property Details</h2>
<a name="id2628188"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2633461"></a><h3>
<a name="id2628199"></a><h3>
<a name="GimpStringComboBox--ellipsize"></a>The "<code class="literal">ellipsize</code>" property</h3>
<a class="indexterm" name="id2633475"></a><pre class="programlisting"> "ellipsize" PangoEllipsizeMode : Read / Write</pre>
<a class="indexterm" name="id2628213"></a><pre class="programlisting"> "ellipsize" <a
href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write</pre>
<p>
Specifies the preferred place to ellipsize text in the combo-box,
if the cell renderer does not have enough room to display the
@ -242,9 +302,11 @@ entire string.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623002"></a><h3>
<a name="id2628252"></a><h3>
<a name="GimpStringComboBox--id-column"></a>The "<code class="literal">id-column</code>" property</h3>
<a class="indexterm" name="id2623018"></a><pre class="programlisting"> "id-column" gint : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2628268"></a><pre class="programlisting"> "id-column" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct Only</pre>
<p>
The column in the associated GtkTreeModel that holds strings to
be used as labels in the combo-box.</p>
@ -258,9 +320,11 @@ be used as labels in the combo-box.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623059"></a><h3>
<a name="id2628309"></a><h3>
<a name="GimpStringComboBox--label-column"></a>The "<code class="literal">label-column</code>" property</h3>
<a class="indexterm" name="id2623075"></a><pre class="programlisting"> "label-column" gint : Read / Write / Construct Only</pre>
<a class="indexterm" name="id2628325"></a><pre class="programlisting"> "label-column" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct Only</pre>
<p></p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>

View File

@ -7,7 +7,7 @@
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpStringComboBox.html" title="GimpStringComboBox">
<link rel="next" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="next" href="GimpZoomModel.html" title="GimpZoomModel">
<meta name="generator" content="GTK-Doc V1.8 (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">
@ -31,24 +31,24 @@
<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="libgimpwidgets-cell-renderers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="GimpZoomModel.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="#id2557494" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2574073" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2631782" class="shortcut">Description</a>
<a href="#id2637694" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2622894" class="shortcut">Object Hierarchy</a>
<a href="#id2637580" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2631736" class="shortcut">Implemented Interfaces</a>
<a href="#id2637648" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2631757" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2637669" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpUnitMenu"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2557494"></a><span class="refentrytitle">GimpUnitMenu</span>
<a name="id2574073"></a><span class="refentrytitle">GimpUnitMenu</span>
</h2>
<p>GimpUnitMenu &#8212; Widget for selecting a <a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
@ -63,13 +63,23 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<a href="GimpUnitMenu.html#GimpUnitMenu-struct">GimpUnitMenu</a>;
GtkWidget* <a href="GimpUnitMenu.html#gimp-unit-menu-new">gimp_unit_menu_new</a> (const gchar *format,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpUnitMenu.html#gimp-unit-menu-new">gimp_unit_menu_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *format,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gboolean show_pixels,
gboolean show_percent,
gboolean show_custom);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_pixels,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_percent,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_custom);
void <a href="GimpUnitMenu.html#gimp-unit-menu-set-unit">gimp_unit_menu_set_unit</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
@ -77,44 +87,66 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> <a href="GimpUnitMenu.html#gimp-unit-menu-get-unit">gimp_unit_menu_get_unit</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
gint <a href="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits">gimp_unit_menu_get_pixel_digits</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits">gimp_unit_menu_get_pixel_digits</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
void <a href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits">gimp_unit_menu_set_pixel_digits</a> (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
gint digits);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2622894"></a><h2>Object Hierarchy</h2>
<a name="id2637580"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
+----GtkOptionMenu
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<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/GtkButton.html"
>GtkButton</a>
+----<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a>
+----GimpUnitMenu
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2631736"></a><h2>Implemented Interfaces</h2>
<a name="id2637648"></a><h2>Implemented Interfaces</h2>
<p>
GimpUnitMenu implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2631757"></a><h2>Signals</h2>
<a name="id2637669"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpUnitMenu.html#GimpUnitMenu-unit-changed">unit-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2631782"></a><h2>Description</h2>
<a name="id2637694"></a><h2>Description</h2>
<p>
This widget provides a <span class="type">GtkOptionMenu</span> which contains a list of <a
This widget provides a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> which contains a list of <a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
><span class="type">GimpUnit</span></a>'s.
</p>
@ -133,26 +165,36 @@ Whenever the user selects a unit from the menu or the dialog, the
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2631844"></a><h2>Details</h2>
<a name="id2627633"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2631855"></a><h3>
<a name="id2627644"></a><h3>
<a name="GimpUnitMenu-struct"></a>GimpUnitMenu</h3>
<a class="indexterm" name="id2631867"></a><pre class="programlisting">typedef struct _GimpUnitMenu GimpUnitMenu;</pre>
<a class="indexterm" name="id2627656"></a><pre class="programlisting">typedef struct _GimpUnitMenu GimpUnitMenu;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631883"></a><h3>
<a name="id2627671"></a><h3>
<a name="gimp-unit-menu-new"></a>gimp_unit_menu_new ()</h3>
<a class="indexterm" name="id2631895"></a><pre class="programlisting">GtkWidget* gimp_unit_menu_new (const gchar *format,
<a class="indexterm" name="id2627684"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_unit_menu_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *format,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gboolean show_pixels,
gboolean show_percent,
gboolean show_custom);</pre>
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_pixels,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_percent,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_custom);</pre>
<p>
Creates a new <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> widget.
</p>
@ -212,19 +254,25 @@ The <em class="parameter"><code>format</code></em> string supports the following
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>show_pixels</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the unit menu should contain an item for
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the unit menu should contain an item for
GIMP_UNIT_PIXEL.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>show_percent</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> in the unit menu should contain an item for
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> in the unit menu should contain an item for
GIMP_UNIT_PERCENT.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>show_custom</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the unit menu should contain a "More..." item for
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the unit menu should contain a "More..." item for
opening the user-defined-unit selection dialog.
</td>
</tr>
@ -238,9 +286,9 @@ The <em class="parameter"><code>format</code></em> string supports the following
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2633148"></a><h3>
<a name="id2636013"></a><h3>
<a name="gimp-unit-menu-set-unit"></a>gimp_unit_menu_set_unit ()</h3>
<a class="indexterm" name="id2633160"></a><pre class="programlisting">void gimp_unit_menu_set_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
<a class="indexterm" name="id2636024"></a><pre class="programlisting">void gimp_unit_menu_set_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit);</pre>
@ -269,9 +317,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623289"></a><h3>
<a name="id2636111"></a><h3>
<a name="gimp-unit-menu-get-unit"></a>gimp_unit_menu_get_unit ()</h3>
<a class="indexterm" name="id2623300"></a><pre class="programlisting"><a
<a class="indexterm" name="id2636122"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> gimp_unit_menu_get_unit (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
<p>
@ -299,9 +347,11 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623375"></a><h3>
<a name="id2636197"></a><h3>
<a name="gimp-unit-menu-get-pixel-digits"></a>gimp_unit_menu_get_pixel_digits ()</h3>
<a class="indexterm" name="id2623386"></a><pre class="programlisting">gint gimp_unit_menu_get_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
<a class="indexterm" name="id2636208"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gimp_unit_menu_get_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
<p>
Retrieve the number of digits for a pixel size as set by
<code class="function">gimp_unit_set_pixel_digits()</code>.</p>
@ -326,10 +376,12 @@ Retrieve the number of digits for a pixel size as set by
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2623464"></a><h3>
<a name="id2636286"></a><h3>
<a name="gimp-unit-menu-set-pixel-digits"></a>gimp_unit_menu_set_pixel_digits ()</h3>
<a class="indexterm" name="id2623475"></a><pre class="programlisting">void gimp_unit_menu_set_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
gint digits);</pre>
<a class="indexterm" name="id2636297"></a><pre class="programlisting">void gimp_unit_menu_set_pixel_digits (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits);</pre>
<p>
A GimpUnitMenu can be setup to control the number of digits shown
by attached spinbuttons. Please refer to the documentation of
@ -362,12 +414,14 @@ here. You should do this after attaching your spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2634070"></a><h2>Signal Details</h2>
<a name="id2631421"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2634081"></a><h3>
<a name="id2631432"></a><h3>
<a name="GimpUnitMenu-unit-changed"></a>The "unit-changed" signal</h3>
<a class="indexterm" name="id2634088"></a><pre class="programlisting">void user_function (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
gpointer user_data) : Run First</pre>
<a class="indexterm" name="id2631440"></a><pre class="programlisting">void user_function (<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
This signal is emitted whenever the user selects a <a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
@ -386,7 +440,7 @@ the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnit
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2634162"></a><h2>See Also</h2>
<a name="id2631514"></a><h2>See Also</h2>
<p>
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"

View File

@ -0,0 +1,529 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpZoomModel</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpUnitMenu.html" title="GimpUnitMenu">
<link rel="next" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<meta name="generator" content="GTK-Doc V1.8 (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">
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part&#160;II.&#160;GIMP Display Filters">
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part&#160;III.&#160;GIMP Color Selectors">
<link rel="part" href="libgimpwidgets-controller.html" title="Part&#160;IV.&#160;GIMP Controllers">
<link rel="part" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
<link rel="index" href="libgimpwidgets-index.html" title="Index">
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
</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="GimpUnitMenu.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="libgimpwidgets-cell-renderers.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="#id2585221" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2641333" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2636444" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2636468" class="shortcut">Properties</a>
&#160;|&#160;
<a href="#id2641308" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpZoomModel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2585221"></a><span class="refentrytitle">GimpZoomModel</span>
</h2>
<p>GimpZoomModel</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
<a href="GimpZoomModel.html#GimpZoomModel-struct">GimpZoomModel</a>;
enum <a href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a>;
<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>* <a href="GimpZoomModel.html#gimp-zoom-model-new">gimp_zoom_model_new</a> (void);
void <a href="GimpZoomModel.html#gimp-zoom-model-set-range">gimp_zoom_model_set_range</a> (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max);
void <a href="GimpZoomModel.html#gimp-zoom-model-zoom">gimp_zoom_model_zoom</a> (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="GimpZoomModel.html#gimp-zoom-model-get-factor">gimp_zoom_model_get_factor</a> (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);
void <a href="GimpZoomModel.html#gimp-zoom-model-get-fraction">gimp_zoom_model_get_fraction</a> (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *numerator,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *denominator);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpZoomModel.html#gimp-zoom-button-new">gimp_zoom_button_new</a> (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size);
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a href="GimpZoomModel.html#gimp-zoom-model-zoom-step">gimp_zoom_model_zoom_step</a> (<a href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2636444"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpZoomModel
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2636468"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpZoomModel.html#GimpZoomModel--fraction">fraction</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read
"<a href="GimpZoomModel.html#GimpZoomModel--maximum">maximum</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpZoomModel.html#GimpZoomModel--minimum">minimum</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a href="GimpZoomModel.html#GimpZoomModel--percentage">percentage</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read
"<a href="GimpZoomModel.html#GimpZoomModel--value">value</a>" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2641308"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpZoomModel.html#GimpZoomModel-zoomed">zoomed</a>" : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2641333"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2641349"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2641360"></a><h3>
<a name="GimpZoomModel-struct"></a>GimpZoomModel</h3>
<a class="indexterm" name="id2641371"></a><pre class="programlisting">typedef struct _GimpZoomModel GimpZoomModel;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641388"></a><h3>
<a name="GimpZoomType"></a>enum GimpZoomType</h3>
<a class="indexterm" name="id2641400"></a><pre class="programlisting">typedef enum
{
GIMP_ZOOM_IN, /*&lt; desc="Zoom in" &gt;*/
GIMP_ZOOM_OUT, /*&lt; desc="Zoom out" &gt;*/
GIMP_ZOOM_IN_MORE, /*&lt; skip &gt;*/
GIMP_ZOOM_OUT_MORE, /*&lt; skip &gt;*/
GIMP_ZOOM_IN_MAX, /*&lt; skip &gt;*/
GIMP_ZOOM_OUT_MAX, /*&lt; skip &gt;*/
GIMP_ZOOM_TO /*&lt; skip &gt;*/
} GimpZoomType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641421"></a><h3>
<a name="gimp-zoom-model-new"></a>gimp_zoom_model_new ()</h3>
<a class="indexterm" name="id2641433"></a><pre class="programlisting"><a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>* gimp_zoom_model_new (void);</pre>
<p>
Creates a new <a href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>.</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> a new <a href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>.
Since GIMP 2.4
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641488"></a><h3>
<a name="gimp-zoom-model-set-range"></a>gimp_zoom_model_set_range ()</h3>
<a class="indexterm" name="id2641499"></a><pre class="programlisting">void gimp_zoom_model_set_range (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max);</pre>
<p>
Sets the allowed range of the <em class="parameter"><code>model</code></em>.
</p>
<p>
Since GIMP 2.4</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> a <a href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>min</code></em>&#160;:</span></td>
<td> new lower limit for zoom factor
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>max</code></em>&#160;:</span></td>
<td> new upper limit for zoom factor
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631649"></a><h3>
<a name="gimp-zoom-model-zoom"></a>gimp_zoom_model_zoom ()</h3>
<a class="indexterm" name="id2631661"></a><pre class="programlisting">void gimp_zoom_model_zoom (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);</pre>
<p>
Since GIMP 2.4</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> a <a href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>zoom_type</code></em>&#160;:</span></td>
<td> the <a href="GimpZoomModel.html#GimpZoomType"><span class="type">GimpZoomType</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>scale</code></em>&#160;:</span></td>
<td> ignored unless <em class="parameter"><code>zoom_type</code></em> == <code class="literal">GIMP_ZOOM_TO</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631783"></a><h3>
<a name="gimp-zoom-model-get-factor"></a>gimp_zoom_model_get_factor ()</h3>
<a class="indexterm" name="id2631794"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_zoom_model_get_factor (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);</pre>
<p>
Retrieves the current zoom factor of <em class="parameter"><code>model</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>model</code></em>&#160;:</span></td>
<td> a <a href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the current scale factor
Since GIMP 2.4
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2631868"></a><h3>
<a name="gimp-zoom-model-get-fraction"></a>gimp_zoom_model_get_fraction ()</h3>
<a class="indexterm" name="id2631879"></a><pre class="programlisting">void gimp_zoom_model_get_fraction (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *numerator,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *denominator);</pre>
<p>
Retrieves the current zoom factor of <em class="parameter"><code>model</code></em> as a fraction.
</p>
<p>
Since GIMP 2.4</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> a <a href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>numerator</code></em>&#160;:</span></td>
<td> return location for numerator
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>denominator</code></em>&#160;:</span></td>
<td> return location for denominator
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634300"></a><h3>
<a name="gimp-zoom-button-new"></a>gimp_zoom_button_new ()</h3>
<a class="indexterm" name="id2634310"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_zoom_button_new (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> a <a href="GimpZoomModel.html" title="GimpZoomModel"><span class="type">GimpZoomModel</span></a>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>zoom_type</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>icon_size</code></em>&#160;:</span></td>
<td> use 0 for a button with text labels
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a newly created GtkButton
Since GIMP 2.4
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634420"></a><h3>
<a name="gimp-zoom-model-zoom-step"></a>gimp_zoom_model_zoom_step ()</h3>
<a class="indexterm" name="id2634432"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_zoom_model_zoom_step (<a href="GimpZoomModel.html#GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);</pre>
<p>
Utility function to calculate a new scale factor.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>zoom_type</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>scale</code></em>&#160;:</span></td>
<td> ignored unless <em class="parameter"><code>zoom_type</code></em> == <code class="literal">GIMP_ZOOM_TO</code>
</td>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the new scale factor
Since GIMP 2.4
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2634531"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2634542"></a><h3>
<a name="GimpZoomModel--fraction"></a>The "<code class="literal">fraction</code>" property</h3>
<a class="indexterm" name="id2634556"></a><pre class="programlisting"> "fraction" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read</pre>
<p></p>
<p>Default value: "1:1"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634579"></a><h3>
<a name="GimpZoomModel--maximum"></a>The "<code class="literal">maximum</code>" property</h3>
<a class="indexterm" name="id2634593"></a><pre class="programlisting"> "maximum" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: [0.00390625,256]</p>
<p>Default value: 256</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634620"></a><h3>
<a name="GimpZoomModel--minimum"></a>The "<code class="literal">minimum</code>" property</h3>
<a class="indexterm" name="id2634634"></a><pre class="programlisting"> "minimum" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: [0.00390625,256]</p>
<p>Default value: 0.00390625</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634660"></a><h3>
<a name="GimpZoomModel--percentage"></a>The "<code class="literal">percentage</code>" property</h3>
<a class="indexterm" name="id2634674"></a><pre class="programlisting"> "percentage" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read</pre>
<p></p>
<p>Default value: "100%"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634697"></a><h3>
<a name="GimpZoomModel--value"></a>The "<code class="literal">value</code>" property</h3>
<a class="indexterm" name="id2634711"></a><pre class="programlisting"> "value" <a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p></p>
<p>Allowed values: [0.00390625,256]</p>
<p>Default value: 1</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2634740"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2634750"></a><h3>
<a name="GimpZoomModel-zoomed"></a>The "zoomed" signal</h3>
<a class="indexterm" name="id2634758"></a><pre class="programlisting">void user_function (<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> old_factor,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> new_factor,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
Emitted when the zoom factor of the zoom model changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>model</code></em>&#160;:</span></td>
<td> the object that received the signal
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>old_factor</code></em>&#160;:</span></td>
<td> the zoom factor before it changes
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>new_factor</code></em>&#160;:</span></td>
<td> the zoom factor after it has changed.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -27,7 +27,7 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Widgets Library Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for GIMP 2.3.18
for GIMP 2.4.0-rc1
</p></div>
</div>
@ -42,7 +42,9 @@
<span class="refentrytitle"><a href="GimpBrowser.html">GimpBrowser</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpButton.html">GimpButton</a></span><span class="refpurpose"> &#8212; A <span class="type">GtkButton</span> with a little extra functionality.</span>
<span class="refentrytitle"><a href="GimpButton.html">GimpButton</a></span><span class="refpurpose"> &#8212; A <a
href="../gtk/GtkButton.html"
><span class="type">GtkButton</span></a> with a little extra functionality.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpChainButton.html">GimpChainButton</a></span><span class="refpurpose"> &#8212; Widget to visually connect two entry widgets.</span>
@ -63,7 +65,15 @@
<span class="refentrytitle"><a href="GimpColorSelection.html">GimpColorSelection</a></span><span class="refpurpose"> &#8212; Widget for doing a color selection.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpDialog.html">GimpDialog</a></span><span class="refpurpose"> &#8212; Constructors for <span class="type">GtkDialog</span>'s and action_areas as well as other
<span class="refentrytitle"><a href="GimpColorProfileStore.html">GimpColorProfileStore</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpColorProfileComboBox.html">GimpColorProfileComboBox</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpDialog.html">GimpDialog</a></span><span class="refpurpose"> &#8212; Constructors for <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>'s and action_areas as well as other
dialog-related stuff.</span>
</dt>
<dt>
@ -79,7 +89,9 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpFileEntry.html">GimpFileEntry</a></span><span class="refpurpose"> &#8212; Widget for entering a filename.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpFrame.html">GimpFrame</a></span><span class="refpurpose"> &#8212; A widget providing a HIG-compliant subclass of <span class="type">GtkFrame</span>.</span>
<span class="refentrytitle"><a href="GimpFrame.html">GimpFrame</a></span><span class="refpurpose"> &#8212; A widget providing a HIG-compliant subclass of <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpwidgets-GimpHintBox.html">GimpHintBox</a></span><span class="refpurpose"></span>
@ -94,6 +106,9 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpMemsizeEntry.html">GimpMemsizeEntry</a></span><span class="refpurpose"> &#8212; A composite widget that allows to enter a memory size.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpNumberPairEntry.html">GimpNumberPairEntry</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpOffsetArea.html">GimpOffsetArea</a></span><span class="refpurpose"> &#8212; Widget to control image offsets.</span>
</dt>
<dt>
@ -106,7 +121,9 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpPickButton.html">GimpPickButton</a></span><span class="refpurpose"> &#8212; Widget to pick a color from screen.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpPixmap.html">GimpPixmap</a></span><span class="refpurpose"> &#8212; Widget which creates a <span class="type">GtkPixmap</span> from XPM data.</span>
<span class="refentrytitle"><a href="GimpPixmap.html">GimpPixmap</a></span><span class="refpurpose"> &#8212; Widget which creates a <a
href="../gtk/GtkPixmap.html"
><span class="type">GtkPixmap</span></a> from XPM data.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpPreviewArea.html">GimpPreviewArea</a></span><span class="refpurpose"> &#8212; A general purpose preview widget which caches its pixel data.</span>
@ -115,9 +132,6 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpPreview.html">GimpPreview</a></span><span class="refpurpose"> &#8212; A widget providing a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> plus framework to update the preview.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpRatioEntry.html">GimpRatioEntry</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpScrolledPreview.html">GimpScrolledPreview</a></span><span class="refpurpose"> &#8212; A widget providing a <a href="GimpPreview.html" title="GimpPreview"><span class="type">GimpPreview</span></a> enhanced by scrolling capabilities.</span>
</dt>
<dt>
@ -131,6 +145,9 @@ dialog-related stuff.</span>
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
><span class="type">GimpUnit</span></a>.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpZoomModel.html">GimpZoomModel</a></span><span class="refpurpose"></span>
</dt>
</dl></dd>
<dt><span class="chapter"><a href="libgimpwidgets-cell-renderers.html">Cell Renderers for GtkTreeView</a></span></dt>
<dd><dl>
@ -172,7 +189,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<dt><span class="part"><a href="libgimpwidgets-utils.html">V. GIMP Widgets Utilities</a></span></dt>
<dd><dl>
<dt>
<span class="refentrytitle"><a href="libgimpwidgets-GimpHelpUI.html">GimpHelpUI</a></span><span class="refpurpose"> &#8212; Functions for setting <span class="type">GtkTooltips</span> and help identifier used by GIMP help
<span class="refentrytitle"><a href="libgimpwidgets-GimpHelpUI.html">GimpHelpUI</a></span><span class="refpurpose"> &#8212; Functions for setting <a
href="../gtk/GtkTooltips.html"
><span class="type">GtkTooltips</span></a> and help identifier used by GIMP help
system.</span>
</dt>
<dt>

View File

@ -71,6 +71,20 @@
<ANCHOR id="gimp-color-selection-set-config" href="libgimpwidgets/GimpColorSelection.html#gimp-color-selection-set-config">
<ANCHOR id="GimpColorSelection--config" href="libgimpwidgets/GimpColorSelection.html#GimpColorSelection--config">
<ANCHOR id="GimpColorSelection-color-changed" href="libgimpwidgets/GimpColorSelection.html#GimpColorSelection-color-changed">
<ANCHOR id="GimpColorProfileStore" href="libgimpwidgets/GimpColorProfileStore.html">
<ANCHOR id="GimpColorProfileStore-struct" href="libgimpwidgets/GimpColorProfileStore.html#GimpColorProfileStore-struct">
<ANCHOR id="gimp-color-profile-store-new" href="libgimpwidgets/GimpColorProfileStore.html#gimp-color-profile-store-new">
<ANCHOR id="gimp-color-profile-store-add" href="libgimpwidgets/GimpColorProfileStore.html#gimp-color-profile-store-add">
<ANCHOR id="GimpColorProfileStore--history" href="libgimpwidgets/GimpColorProfileStore.html#GimpColorProfileStore--history">
<ANCHOR id="GimpColorProfileComboBox" href="libgimpwidgets/GimpColorProfileComboBox.html">
<ANCHOR id="GimpColorProfileComboBox-struct" href="libgimpwidgets/GimpColorProfileComboBox.html#GimpColorProfileComboBox-struct">
<ANCHOR id="gimp-color-profile-combo-box-new" href="libgimpwidgets/GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new">
<ANCHOR id="gimp-color-profile-combo-box-new-with-model" href="libgimpwidgets/GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new-with-model">
<ANCHOR id="gimp-color-profile-combo-box-add" href="libgimpwidgets/GimpColorProfileComboBox.html#gimp-color-profile-combo-box-add">
<ANCHOR id="gimp-color-profile-combo-box-set-active" href="libgimpwidgets/GimpColorProfileComboBox.html#gimp-color-profile-combo-box-set-active">
<ANCHOR id="gimp-color-profile-combo-box-get-active" href="libgimpwidgets/GimpColorProfileComboBox.html#gimp-color-profile-combo-box-get-active">
<ANCHOR id="GimpColorProfileComboBox--dialog" href="libgimpwidgets/GimpColorProfileComboBox.html#GimpColorProfileComboBox--dialog">
<ANCHOR id="GimpColorProfileComboBox--model" href="libgimpwidgets/GimpColorProfileComboBox.html#GimpColorProfileComboBox--model">
<ANCHOR id="GimpDialog" href="libgimpwidgets/GimpDialog.html">
<ANCHOR id="GimpDialog-struct" href="libgimpwidgets/GimpDialog.html#GimpDialog-struct">
<ANCHOR id="gimp-dialog-new" href="libgimpwidgets/GimpDialog.html#gimp-dialog-new">
@ -138,6 +152,33 @@
<ANCHOR id="gimp-memsize-entry-set-value" href="libgimpwidgets/GimpMemsizeEntry.html#gimp-memsize-entry-set-value">
<ANCHOR id="gimp-memsize-entry-get-value" href="libgimpwidgets/GimpMemsizeEntry.html#gimp-memsize-entry-get-value">
<ANCHOR id="GimpMemsizeEntry-value-changed" href="libgimpwidgets/GimpMemsizeEntry.html#GimpMemsizeEntry-value-changed">
<ANCHOR id="GimpNumberPairEntry" href="libgimpwidgets/GimpNumberPairEntry.html">
<ANCHOR id="GimpNumberPairEntry-struct" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry-struct">
<ANCHOR id="GimpAspectType" href="libgimpwidgets/GimpNumberPairEntry.html#GimpAspectType">
<ANCHOR id="gimp-number-pair-entry-new" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-new">
<ANCHOR id="gimp-number-pair-entry-set-default-values" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-values">
<ANCHOR id="gimp-number-pair-entry-get-default-values" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-values">
<ANCHOR id="gimp-number-pair-entry-set-values" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-set-values">
<ANCHOR id="gimp-number-pair-entry-get-values" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-get-values">
<ANCHOR id="gimp-number-pair-entry-get-aspect" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-get-aspect">
<ANCHOR id="gimp-number-pair-entry-set-aspect" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-set-aspect">
<ANCHOR id="gimp-number-pair-entry-get-ratio" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio">
<ANCHOR id="gimp-number-pair-entry-set-ratio" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-set-ratio">
<ANCHOR id="gimp-number-pair-entry-get-user-override" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override">
<ANCHOR id="gimp-number-pair-entry-set-user-override" href="libgimpwidgets/GimpNumberPairEntry.html#gimp-number-pair-entry-set-user-override">
<ANCHOR id="GimpNumberPairEntry--allow-simplification" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification">
<ANCHOR id="GimpNumberPairEntry--aspect" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--aspect">
<ANCHOR id="GimpNumberPairEntry--default-left-number" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number">
<ANCHOR id="GimpNumberPairEntry--default-right-number" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number">
<ANCHOR id="GimpNumberPairEntry--left-number" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--left-number">
<ANCHOR id="GimpNumberPairEntry--max-valid-value" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value">
<ANCHOR id="GimpNumberPairEntry--min-valid-value" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value">
<ANCHOR id="GimpNumberPairEntry--ratio" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--ratio">
<ANCHOR id="GimpNumberPairEntry--right-number" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--right-number">
<ANCHOR id="GimpNumberPairEntry--separators" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--separators">
<ANCHOR id="GimpNumberPairEntry--user-override" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry--user-override">
<ANCHOR id="GimpNumberPairEntry-numbers-changed" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry-numbers-changed">
<ANCHOR id="GimpNumberPairEntry-ratio-changed" href="libgimpwidgets/GimpNumberPairEntry.html#GimpNumberPairEntry-ratio-changed">
<ANCHOR id="GimpOffsetArea" href="libgimpwidgets/GimpOffsetArea.html">
<ANCHOR id="GimpOffsetArea-struct" href="libgimpwidgets/GimpOffsetArea.html#GimpOffsetArea-struct">
<ANCHOR id="gimp-offset-area-new" href="libgimpwidgets/GimpOffsetArea.html#gimp-offset-area-new">
@ -219,21 +260,6 @@
<ANCHOR id="GimpPreview--update" href="libgimpwidgets/GimpPreview.html#GimpPreview--update">
<ANCHOR id="GimpPreview--size" href="libgimpwidgets/GimpPreview.html#GimpPreview--size">
<ANCHOR id="GimpPreview-invalidated" href="libgimpwidgets/GimpPreview.html#GimpPreview-invalidated">
<ANCHOR id="GimpRatioEntry" href="libgimpwidgets/GimpRatioEntry.html">
<ANCHOR id="GimpRatioEntry-struct" href="libgimpwidgets/GimpRatioEntry.html#GimpRatioEntry-struct">
<ANCHOR id="GimpAspectType" href="libgimpwidgets/GimpRatioEntry.html#GimpAspectType">
<ANCHOR id="gimp-ratio-entry-new" href="libgimpwidgets/GimpRatioEntry.html#gimp-ratio-entry-new">
<ANCHOR id="gimp-ratio-entry-set-fraction" href="libgimpwidgets/GimpRatioEntry.html#gimp-ratio-entry-set-fraction">
<ANCHOR id="gimp-ratio-entry-get-fraction" href="libgimpwidgets/GimpRatioEntry.html#gimp-ratio-entry-get-fraction">
<ANCHOR id="gimp-ratio-entry-set-ratio" href="libgimpwidgets/GimpRatioEntry.html#gimp-ratio-entry-set-ratio">
<ANCHOR id="gimp-ratio-entry-get-ratio" href="libgimpwidgets/GimpRatioEntry.html#gimp-ratio-entry-get-ratio">
<ANCHOR id="gimp-ratio-entry-set-aspect" href="libgimpwidgets/GimpRatioEntry.html#gimp-ratio-entry-set-aspect">
<ANCHOR id="gimp-ratio-entry-get-aspect" href="libgimpwidgets/GimpRatioEntry.html#gimp-ratio-entry-get-aspect">
<ANCHOR id="GimpRatioEntry--aspect" href="libgimpwidgets/GimpRatioEntry.html#GimpRatioEntry--aspect">
<ANCHOR id="GimpRatioEntry--denominator" href="libgimpwidgets/GimpRatioEntry.html#GimpRatioEntry--denominator">
<ANCHOR id="GimpRatioEntry--numerator" href="libgimpwidgets/GimpRatioEntry.html#GimpRatioEntry--numerator">
<ANCHOR id="GimpRatioEntry--ratio" href="libgimpwidgets/GimpRatioEntry.html#GimpRatioEntry--ratio">
<ANCHOR id="GimpRatioEntry-ratio-changed" href="libgimpwidgets/GimpRatioEntry.html#GimpRatioEntry-ratio-changed">
<ANCHOR id="GimpScrolledPreview" href="libgimpwidgets/GimpScrolledPreview.html">
<ANCHOR id="GimpScrolledPreview-struct" href="libgimpwidgets/GimpScrolledPreview.html#GimpScrolledPreview-struct">
<ANCHOR id="gimp-scrolled-preview-set-position" href="libgimpwidgets/GimpScrolledPreview.html#gimp-scrolled-preview-set-position">
@ -282,6 +308,22 @@
<ANCHOR id="gimp-unit-menu-get-pixel-digits" href="libgimpwidgets/GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits">
<ANCHOR id="gimp-unit-menu-set-pixel-digits" href="libgimpwidgets/GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits">
<ANCHOR id="GimpUnitMenu-unit-changed" href="libgimpwidgets/GimpUnitMenu.html#GimpUnitMenu-unit-changed">
<ANCHOR id="GimpZoomModel" href="libgimpwidgets/GimpZoomModel.html">
<ANCHOR id="GimpZoomModel-struct" href="libgimpwidgets/GimpZoomModel.html#GimpZoomModel-struct">
<ANCHOR id="GimpZoomType" href="libgimpwidgets/GimpZoomModel.html#GimpZoomType">
<ANCHOR id="gimp-zoom-model-new" href="libgimpwidgets/GimpZoomModel.html#gimp-zoom-model-new">
<ANCHOR id="gimp-zoom-model-set-range" href="libgimpwidgets/GimpZoomModel.html#gimp-zoom-model-set-range">
<ANCHOR id="gimp-zoom-model-zoom" href="libgimpwidgets/GimpZoomModel.html#gimp-zoom-model-zoom">
<ANCHOR id="gimp-zoom-model-get-factor" href="libgimpwidgets/GimpZoomModel.html#gimp-zoom-model-get-factor">
<ANCHOR id="gimp-zoom-model-get-fraction" href="libgimpwidgets/GimpZoomModel.html#gimp-zoom-model-get-fraction">
<ANCHOR id="gimp-zoom-button-new" href="libgimpwidgets/GimpZoomModel.html#gimp-zoom-button-new">
<ANCHOR id="gimp-zoom-model-zoom-step" href="libgimpwidgets/GimpZoomModel.html#gimp-zoom-model-zoom-step">
<ANCHOR id="GimpZoomModel--fraction" href="libgimpwidgets/GimpZoomModel.html#GimpZoomModel--fraction">
<ANCHOR id="GimpZoomModel--maximum" href="libgimpwidgets/GimpZoomModel.html#GimpZoomModel--maximum">
<ANCHOR id="GimpZoomModel--minimum" href="libgimpwidgets/GimpZoomModel.html#GimpZoomModel--minimum">
<ANCHOR id="GimpZoomModel--percentage" href="libgimpwidgets/GimpZoomModel.html#GimpZoomModel--percentage">
<ANCHOR id="GimpZoomModel--value" href="libgimpwidgets/GimpZoomModel.html#GimpZoomModel--value">
<ANCHOR id="GimpZoomModel-zoomed" href="libgimpwidgets/GimpZoomModel.html#GimpZoomModel-zoomed">
<ANCHOR id="GimpCellRendererColor" href="libgimpwidgets/GimpCellRendererColor.html">
<ANCHOR id="GimpCellRendererColor-struct" href="libgimpwidgets/GimpCellRendererColor.html#GimpCellRendererColor-struct">
<ANCHOR id="gimp-cell-renderer-color-new" href="libgimpwidgets/GimpCellRendererColor.html#gimp-cell-renderer-color-new">
@ -301,12 +343,16 @@
<ANCHOR id="gimp-color-display-clone" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-clone">
<ANCHOR id="gimp-color-display-set-enabled" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-set-enabled">
<ANCHOR id="gimp-color-display-get-enabled" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-get-enabled">
<ANCHOR id="gimp-color-display-get-config" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-get-config">
<ANCHOR id="gimp-color-display-get-managed" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-get-managed">
<ANCHOR id="gimp-color-display-convert" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-convert">
<ANCHOR id="gimp-color-display-load-state" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-load-state">
<ANCHOR id="gimp-color-display-save-state" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-save-state">
<ANCHOR id="gimp-color-display-configure" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-configure">
<ANCHOR id="gimp-color-display-configure-reset" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-configure-reset">
<ANCHOR id="gimp-color-display-changed" href="libgimpwidgets/GimpColorDisplay.html#gimp-color-display-changed">
<ANCHOR id="GimpColorDisplay--color-config" href="libgimpwidgets/GimpColorDisplay.html#GimpColorDisplay--color-config">
<ANCHOR id="GimpColorDisplay--color-managed" href="libgimpwidgets/GimpColorDisplay.html#GimpColorDisplay--color-managed">
<ANCHOR id="GimpColorDisplay--enabled" href="libgimpwidgets/GimpColorDisplay.html#GimpColorDisplay--enabled">
<ANCHOR id="GimpColorDisplay-changed" href="libgimpwidgets/GimpColorDisplay.html#GimpColorDisplay-changed">
<ANCHOR id="GimpColorDisplayStack" href="libgimpwidgets/GimpColorDisplayStack.html">

View File

@ -33,16 +33,16 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-GimpPropWidgets.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="#id2568629" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2590664" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2659463" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2664967" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpwidgets-GimpEnumWidgets"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2568629"></a><span class="refentrytitle">GimpEnumWidgets</span>
<a name="id2590664"></a><span class="refentrytitle">GimpEnumWidgets</span>
</h2>
<p>GimpEnumWidgets</p>
</td>
@ -54,64 +54,164 @@
GtkWidget* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new">gimp_enum_radio_box_new</a> (GType enum_type,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);
GtkWidget* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range">gimp_enum_radio_box_new_with_range</a> (GType enum_type,
gint minimum,
gint maximum,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);
GtkWidget* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new">gimp_enum_radio_frame_new</a> (GType enum_type,
GtkWidget *label_widget,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);
GtkWidget* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range">gimp_enum_radio_frame_new_with_range</a>
(GType enum_type,
gint minimum,
gint maximum,
GtkWidget *label_widget,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);
GtkWidget* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new">gimp_enum_stock_box_new</a> (GType enum_type,
const gchar *stock_prefix,
GtkIconSize icon_size,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);
GtkWidget* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range">gimp_enum_stock_box_new_with_range</a> (GType enum_type,
gint minimum,
gint maximum,
const gchar *stock_prefix,
GtkIconSize icon_size,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new">gimp_enum_radio_box_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range">gimp_enum_radio_box_new_with_range</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new">gimp_enum_radio_frame_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range">gimp_enum_radio_frame_new_with_range</a>
(<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new">gimp_enum_stock_box_new</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range">gimp_enum_stock_box_new_with_range</a> (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
void <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-set-child-padding">gimp_enum_stock_box_set_child_padding</a>
(GtkWidget *stock_box,
gint xpad,
gint ypad);
(<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *stock_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> xpad,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ypad);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2659463"></a><h2>Description</h2>
<a name="id2664967"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2659479"></a><h2>Details</h2>
<a name="id2664983"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2659490"></a><h3>
<a name="id2664994"></a><h3>
<a name="gimp-enum-radio-box-new"></a>gimp_enum_radio_box_new ()</h3>
<a class="indexterm" name="id2659504"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_box_new (GType enum_type,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<a class="indexterm" name="id2665007"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_box_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Creates a new group of <span class="type">GtkRadioButtons</span> representing the enum
values. A group of radiobuttons is a good way to represent enums
@ -125,13 +225,17 @@ with up to three or four values. Often it is better to use a
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="../gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -146,7 +250,9 @@ with up to three or four values. Often it is better to use a
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="../gtk/GtkVBox.html"
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -157,14 +263,28 @@ with up to three or four values. Often it is better to use a
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2647167"></a><h3>
<a name="id2652712"></a><h3>
<a name="gimp-enum-radio-box-new-with-range"></a>gimp_enum_radio_box_new_with_range ()</h3>
<a class="indexterm" name="id2647180"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_box_new_with_range (GType enum_type,
gint minimum,
gint maximum,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<a class="indexterm" name="id2652726"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_box_new_with_range (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Just like <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><code class="function">gimp_enum_radio_box_new()</code></a>, this function creates a group
of radio buttons, but it allows to limit the range of available
@ -177,7 +297,9 @@ enum values.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -193,7 +315,9 @@ enum values.</p>
<tr>
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="../gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -208,7 +332,9 @@ enum values.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="../gtk/GtkVBox.html"
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -219,16 +345,30 @@ enum values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2647401"></a><h3>
<a name="id2652946"></a><h3>
<a name="gimp-enum-radio-frame-new"></a>gimp_enum_radio_frame_new ()</h3>
<a class="indexterm" name="id2647414"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_frame_new (GType enum_type,
GtkWidget *label_widget,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<a class="indexterm" name="id2652960"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_frame_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><code class="function">gimp_enum_radio_box_new()</code></a> and puts the resulting vbox into a
<span class="type">GtkFrame</span>.</p>
<a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.</p>
<p>
</p>
@ -237,7 +377,9 @@ Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><cod
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -249,7 +391,9 @@ Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><cod
<tr>
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="../gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -264,7 +408,9 @@ Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><cod
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -275,19 +421,37 @@ Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><cod
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2648432"></a><h3>
<a name="id2653968"></a><h3>
<a name="gimp-enum-radio-frame-new-with-range"></a>gimp_enum_radio_frame_new_with_range ()</h3>
<a class="indexterm" name="id2648446"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_frame_new_with_range
(GType enum_type,
gint minimum,
gint maximum,
GtkWidget *label_widget,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<a class="indexterm" name="id2653982"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_frame_new_with_range
(<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range"><code class="function">gimp_enum_radio_box_new_with_range()</code></a> and puts the resulting
vbox into a <span class="type">GtkFrame</span>.</p>
vbox into a <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.</p>
<p>
</p>
@ -296,7 +460,9 @@ vbox into a <span class="type">GtkFrame</span>.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -317,7 +483,9 @@ vbox into a <span class="type">GtkFrame</span>.</p>
<tr>
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="../gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -332,7 +500,9 @@ vbox into a <span class="type">GtkFrame</span>.</p>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="../gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -343,14 +513,28 @@ vbox into a <span class="type">GtkFrame</span>.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2648698"></a><h3>
<a name="id2654234"></a><h3>
<a name="gimp-enum-stock-box-new"></a>gimp_enum_stock_box_new ()</h3>
<a class="indexterm" name="id2648711"></a><pre class="programlisting">GtkWidget* gimp_enum_stock_box_new (GType enum_type,
const gchar *stock_prefix,
GtkIconSize icon_size,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<a class="indexterm" name="id2654247"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_stock_box_new (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Creates a horizontal box of radio buttons with stock icons. The
stock_id for each icon is created by appending the enum_value's
@ -363,7 +547,9 @@ nick to the given <em class="parameter"><code>stock_prefix</code></em>.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -379,7 +565,9 @@ nick to the given <em class="parameter"><code>stock_prefix</code></em>.</p>
<tr>
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="../gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -405,16 +593,34 @@ nick to the given <em class="parameter"><code>stock_prefix</code></em>.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2648931"></a><h3>
<a name="id2654467"></a><h3>
<a name="gimp-enum-stock-box-new-with-range"></a>gimp_enum_stock_box_new_with_range ()</h3>
<a class="indexterm" name="id2648945"></a><pre class="programlisting">GtkWidget* gimp_enum_stock_box_new_with_range (GType enum_type,
gint minimum,
gint maximum,
const gchar *stock_prefix,
GtkIconSize icon_size,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<a class="indexterm" name="id2654481"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_stock_box_new_with_range (<a
href="../gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Just like <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new"><code class="function">gimp_enum_stock_box_new()</code></a>, this function creates a group
of radio buttons, but it allows to limit the range of available
@ -427,7 +633,9 @@ enum values.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>enum_type</code></em>&#160;:</span></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="../gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -453,7 +661,9 @@ enum values.</p>
<tr>
<td><span class="term"><em class="parameter"><code>callback</code></em>&#160;:</span></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="../gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -479,12 +689,18 @@ enum values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2653580"></a><h3>
<a name="id2659078"></a><h3>
<a name="gimp-enum-stock-box-set-child-padding"></a>gimp_enum_stock_box_set_child_padding ()</h3>
<a class="indexterm" name="id2653596"></a><pre class="programlisting">void gimp_enum_stock_box_set_child_padding
(GtkWidget *stock_box,
gint xpad,
gint ypad);</pre>
<a class="indexterm" name="id2659094"></a><pre class="programlisting">void gimp_enum_stock_box_set_child_padding
(<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *stock_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> xpad,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> ypad);</pre>
<p>
Sets the padding of all buttons in a box created by
<a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new"><code class="function">gimp_enum_stock_box_new()</code></a>.</p>

View File

@ -33,18 +33,20 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-GimpQueryBox.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="#id2594646" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2563548" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2642354" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2649758" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpwidgets-GimpHelpUI"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2594646"></a><span class="refentrytitle">GimpHelpUI</span>
<a name="id2563548"></a><span class="refentrytitle">GimpHelpUI</span>
</h2>
<p>GimpHelpUI &#8212; Functions for setting <span class="type">GtkTooltips</span> and help identifier used by GIMP help
<p>GimpHelpUI &#8212; Functions for setting <a
href="../gtk/GtkTooltips.html"
><span class="type">GtkTooltips</span></a> and help identifier used by GIMP help
system.</p>
</td>
<td valign="top" align="right"></td>
@ -55,37 +57,63 @@ system.</p>
void (<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">*GimpHelpFunc</a>) (const gchar *help_id,
gpointer help_data);
void (<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">*GimpHelpFunc</a>) (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);
#define <a href="libgimpwidgets-GimpHelpUI.html#GIMP-HELP-ID:CAPS">GIMP_HELP_ID</a>
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-enable-tooltips">gimp_help_enable_tooltips</a> (void);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-disable-tooltips">gimp_help_disable_tooltips</a> (void);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-standard-help-func">gimp_standard_help_func</a> (const gchar *help_id,
gpointer help_data);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-connect">gimp_help_connect</a> (GtkWidget *widget,
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-standard-help-func">gimp_standard_help_func</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-connect">gimp_help_connect</a> (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
gpointer help_data);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data">gimp_help_set_help_data</a> (GtkWidget *widget,
const gchar *tooltip,
const gchar *help_id);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-context-help">gimp_context_help</a> (GtkWidget *widget);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data">gimp_help_set_help_data</a> (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id);
void <a href="libgimpwidgets-GimpHelpUI.html#gimp-context-help">gimp_context_help</a> (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2642354"></a><h2>Description</h2>
<a name="id2649758"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2642370"></a><h2>Details</h2>
<a name="id2649773"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2642381"></a><h3>
<a name="id2649784"></a><h3>
<a name="GimpHelpFunc"></a>GimpHelpFunc ()</h3>
<a class="indexterm" name="id2642393"></a><pre class="programlisting">void (*GimpHelpFunc) (const gchar *help_id,
gpointer help_data);</pre>
<a class="indexterm" name="id2649797"></a><pre class="programlisting">void (*GimpHelpFunc) (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);</pre>
<p>
This is the prototype for all functions you pass as <em class="parameter"><code>help_func</code></em> to the
various GIMP dialog constructors like <a href="GimpDialog.html#gimp-dialog-new"><code class="function">gimp_dialog_new()</code></a>,
@ -129,9 +157,9 @@ the help.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2645453"></a><h3>
<a name="id2649953"></a><h3>
<a name="GIMP-HELP-ID:CAPS"></a>GIMP_HELP_ID</h3>
<a class="indexterm" name="id2645465"></a><pre class="programlisting">#define GIMP_HELP_ID (gimp_help_id_quark ())
<a class="indexterm" name="id2649966"></a><pre class="programlisting">#define GIMP_HELP_ID (gimp_help_id_quark ())
</pre>
<p>
Since: GIMP 2.2
@ -139,32 +167,40 @@ Since: GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2645482"></a><h3>
<a name="id2650802"></a><h3>
<a name="gimp-help-enable-tooltips"></a>gimp_help_enable_tooltips ()</h3>
<a class="indexterm" name="id2645493"></a><pre class="programlisting">void gimp_help_enable_tooltips (void);</pre>
<a class="indexterm" name="id2650813"></a><pre class="programlisting">void gimp_help_enable_tooltips (void);</pre>
<p>
This function calls <code class="function">gtk_tooltips_enable()</code>.</p>
This function calls <a
href="../gtk/GtkTooltips.html#gtk-tooltips-enable"
><code class="function">gtk_tooltips_enable()</code></a>.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2645526"></a><h3>
<a name="id2650846"></a><h3>
<a name="gimp-help-disable-tooltips"></a>gimp_help_disable_tooltips ()</h3>
<a class="indexterm" name="id2645537"></a><pre class="programlisting">void gimp_help_disable_tooltips (void);</pre>
<a class="indexterm" name="id2650858"></a><pre class="programlisting">void gimp_help_disable_tooltips (void);</pre>
<p>
This function calls <code class="function">gtk_tooltips_disable()</code>.</p>
This function calls <a
href="../gtk/GtkTooltips.html#gtk-tooltips-disable"
><code class="function">gtk_tooltips_disable()</code></a>.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2645570"></a><h3>
<a name="id2650891"></a><h3>
<a name="gimp-standard-help-func"></a>gimp_standard_help_func ()</h3>
<a class="indexterm" name="id2645582"></a><pre class="programlisting">void gimp_standard_help_func (const gchar *help_id,
gpointer help_data);</pre>
<a class="indexterm" name="id2650902"></a><pre class="programlisting">void gimp_standard_help_func (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);</pre>
<p>
This is the standard GIMP help function which does nothing but calling
<a
@ -191,12 +227,18 @@ href="../app/app-Gimp-gui.html#gimp-help"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641302"></a><h3>
<a name="id2650999"></a><h3>
<a name="gimp-help-connect"></a>gimp_help_connect ()</h3>
<a class="indexterm" name="id2641315"></a><pre class="programlisting">void gimp_help_connect (GtkWidget *widget,
<a class="indexterm" name="id2651012"></a><pre class="programlisting">void gimp_help_connect (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
gpointer help_data);</pre>
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);</pre>
<p>
Note that this function is automatically called by all libgimp dialog
constructors. You only have to call it for windows/dialogs you created
@ -210,7 +252,9 @@ constructors. You only have to call it for windows/dialogs you created
<tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> The widget you want to connect the help accelerator for. Will
be a <span class="type">GtkWindow</span> in most cases.
be a <a
href="../gtk/GtkWindow.html"
><span class="type">GtkWindow</span></a> in most cases.
</td>
</tr>
<tr>
@ -233,18 +277,28 @@ constructors. You only have to call it for windows/dialogs you created
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641464"></a><h3>
<a name="id2646869"></a><h3>
<a name="gimp-help-set-help-data"></a>gimp_help_set_help_data ()</h3>
<a class="indexterm" name="id2641475"></a><pre class="programlisting">void gimp_help_set_help_data (GtkWidget *widget,
const gchar *tooltip,
const gchar *help_id);</pre>
<a class="indexterm" name="id2646880"></a><pre class="programlisting">void gimp_help_set_help_data (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id);</pre>
<p>
The reason why we don't use <code class="function">gtk_tooltips_set_tip()</code> is that it's
The reason why we don't use <a
href="../gtk/GtkTooltips.html#gtk-tooltips-set-tip"
><code class="function">gtk_tooltips_set_tip()</code></a> is that it's
impossible to set a <em class="parameter"><code>private_tip</code></em> (aka <em class="parameter"><code>help_id</code></em>) without a visible
<em class="parameter"><code>tooltip</code></em>.
</p>
<p>
This function can be called with <span class="type">NULL</span> for <em class="parameter"><code>tooltip</code></em>. Use this feature
This function can be called with <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><span class="type">NULL</span></a> for <em class="parameter"><code>tooltip</code></em>. Use this feature
if you want to set a help link for a widget which shouldn't have
a visible tooltip.</p>
<p>
@ -255,17 +309,23 @@ a visible tooltip.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> The <span class="type">GtkWidget</span> you want to set a <em class="parameter"><code>tooltip</code></em> and/or <em class="parameter"><code>help_id</code></em> for.
<td> The <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> you want to set a <em class="parameter"><code>tooltip</code></em> and/or <em class="parameter"><code>help_id</code></em> for.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>tooltip</code></em>&#160;:</span></td>
<td> The text for this widget's tooltip (or <code class="literal">NULL</code>).
<td> The text for this widget's tooltip (or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>help_id</code></em>&#160;:</span></td>
<td> The <em class="parameter"><code>help_id</code></em> for the <span class="type">GtkTipsQuery</span> tooltips inspector.
<td> The <em class="parameter"><code>help_id</code></em> for the <a
href="../gtk/GtkTipsQuery.html"
><span class="type">GtkTipsQuery</span></a> tooltips inspector.
</td>
</tr>
</tbody>
@ -273,9 +333,11 @@ a visible tooltip.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2644352"></a><h3>
<a name="id2647058"></a><h3>
<a name="gimp-context-help"></a>gimp_context_help ()</h3>
<a class="indexterm" name="id2644365"></a><pre class="programlisting">void gimp_context_help (GtkWidget *widget);</pre>
<a class="indexterm" name="id2647070"></a><pre class="programlisting">void gimp_context_help (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget);</pre>
<p>
This function invokes the context help inspector.
</p>
@ -296,7 +358,9 @@ case at least for every window/dialog).</p>
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> Any <span class="type">GtkWidget</span> on the screen.
<td> Any <a
href="../gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> on the screen.
</td>
</tr></tbody>
</table></div>

View File

@ -33,16 +33,16 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpIntComboBox.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="#id2588128" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2563604" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2585320" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2596562" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpwidgets-GimpHintBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2588128"></a><span class="refentrytitle">GimpHintBox</span>
<a name="id2563604"></a><span class="refentrytitle">GimpHintBox</span>
</h2>
<p>GimpHintBox</p>
</td>
@ -54,22 +54,30 @@
GtkWidget* <a href="libgimpwidgets-GimpHintBox.html#gimp-hint-box-new">gimp_hint_box_new</a> (const gchar *hint);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpHintBox.html#gimp-hint-box-new">gimp_hint_box_new</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *hint);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2585320"></a><h2>Description</h2>
<a name="id2596562"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2564033"></a><h2>Details</h2>
<a name="id2562618"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2558580"></a><h3>
<a name="id2562628"></a><h3>
<a name="gimp-hint-box-new"></a>gimp_hint_box_new ()</h3>
<a class="indexterm" name="id2558592"></a><pre class="programlisting">GtkWidget* gimp_hint_box_new (const gchar *hint);</pre>
<a class="indexterm" name="id2558959"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_hint_box_new (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *hint);</pre>
<p>
Creates a new widget that shows a text label showing <em class="parameter"><code>hint</code></em>,
decorated with a GIMP_STOCK_INFO wilber icon.</p>

View File

@ -33,16 +33,16 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-GimpStock.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="#id2584389" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2598230" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2643805" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2649235" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpwidgets-GimpQueryBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2584389"></a><span class="refentrytitle">GimpQueryBox</span>
<a name="id2598230"></a><span class="refentrytitle">GimpQueryBox</span>
</h2>
<p>GimpQueryBox &#8212; Some simple dialogs to enter a single int, double, string or boolean value.</p>
</td>
@ -54,101 +54,249 @@
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">*GimpQueryStringCallback</a>) (GtkWidget *query_box,
const gchar *string,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">*GimpQueryIntCallback</a>) (GtkWidget *query_box,
gint value,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">*GimpQueryDoubleCallback</a>) (GtkWidget *query_box,
gdouble value,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">*GimpQuerySizeCallback</a>) (GtkWidget *query_box,
gdouble size,
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">*GimpQueryStringCallback</a>) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">*GimpQueryIntCallback</a>) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">*GimpQueryDoubleCallback</a>) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">*GimpQuerySizeCallback</a>) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> size,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gpointer data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">*GimpQueryBooleanCallback</a>) (GtkWidget *query_box,
gboolean value,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-string-box">gimp_query_string_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">*GimpQueryBooleanCallback</a>) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-string-box">gimp_query_string_box</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *initial,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">GimpQueryStringCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-int-box">gimp_query_int_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-int-box">gimp_query_int_box</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gint initial,
gint lower,
gint upper,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> initial,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> lower,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> upper,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">GimpQueryIntCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-double-box">gimp_query_double_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-double-box">gimp_query_double_box</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">GimpQueryDoubleCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-size-box">gimp_query_size_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-size-box">gimp_query_size_box</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gdouble resolution,
gboolean dot_for_dot,
GObject *object,
const gchar *signal,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dot_for_dot,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">GimpQuerySizeCallback</a> callback,
gpointer data);
GtkWidget* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-boolean-box">gimp_query_boolean_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-GimpQueryBox.html#gimp-query-boolean-box">gimp_query_boolean_box</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *stock_id,
const gchar *message,
const gchar *true_button,
const gchar *false_button,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *true_button,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *false_button,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">GimpQueryBooleanCallback</a> callback,
gpointer data);
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
#define <a href="libgimpwidgets-GimpQueryBox.html#GIMP-QUERY-BOX-VBOX:CAPS">GIMP_QUERY_BOX_VBOX</a> (qbox)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2643805"></a><h2>Description</h2>
<a name="id2649235"></a><h2>Description</h2>
<p>
These functions provide simple dialogs for entering a single string,
integer, double, boolean or pixel size value.
</p>
<p>
They return a pointer to a <span class="type">GtkDialog</span> which has to be shown with
<code class="function">gtk_widget_show()</code> by the caller.
They return a pointer to a <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> which has to be shown with
<a
href="../gtk/GtkWidget.html#gtk-widget-show"
><code class="function">gtk_widget_show()</code></a> by the caller.
</p>
<p>
The dialogs contain an entry widget for the kind of value they ask for
@ -158,15 +306,23 @@ callback function is called and returns the entered value.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2643851"></a><h2>Details</h2>
<a name="id2649281"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2643862"></a><h3>
<a name="id2649291"></a><h3>
<a name="GimpQueryStringCallback"></a>GimpQueryStringCallback ()</h3>
<a class="indexterm" name="id2643873"></a><pre class="programlisting">void (*GimpQueryStringCallback) (GtkWidget *query_box,
const gchar *string,
gpointer data);</pre>
<a class="indexterm" name="id2649303"></a><pre class="programlisting">void (*GimpQueryStringCallback) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *string,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Note that you have to <code class="function">g_free()</code> the returned string.
Note that you have to <a
href="../glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> the returned string.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -193,11 +349,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2643970"></a><h3>
<a name="id2649400"></a><h3>
<a name="GimpQueryIntCallback"></a>GimpQueryIntCallback ()</h3>
<a class="indexterm" name="id2643981"></a><pre class="programlisting">void (*GimpQueryIntCallback) (GtkWidget *query_box,
gint value,
gpointer data);</pre>
<a class="indexterm" name="id2649411"></a><pre class="programlisting">void (*GimpQueryIntCallback) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -226,11 +388,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2649532"></a><h3>
<a name="id2655043"></a><h3>
<a name="GimpQueryDoubleCallback"></a>GimpQueryDoubleCallback ()</h3>
<a class="indexterm" name="id2649543"></a><pre class="programlisting">void (*GimpQueryDoubleCallback) (GtkWidget *query_box,
gdouble value,
gpointer data);</pre>
<a class="indexterm" name="id2655054"></a><pre class="programlisting">void (*GimpQueryDoubleCallback) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -259,14 +427,20 @@ Note that you have to <code class="function">g_free()</code> the returned string
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2649622"></a><h3>
<a name="id2655133"></a><h3>
<a name="GimpQuerySizeCallback"></a>GimpQuerySizeCallback ()</h3>
<a class="indexterm" name="id2649632"></a><pre class="programlisting">void (*GimpQuerySizeCallback) (GtkWidget *query_box,
gdouble size,
<a class="indexterm" name="id2655143"></a><pre class="programlisting">void (*GimpQuerySizeCallback) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> size,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gpointer data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -300,11 +474,17 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2649745"></a><h3>
<a name="id2655256"></a><h3>
<a name="GimpQueryBooleanCallback"></a>GimpQueryBooleanCallback ()</h3>
<a class="indexterm" name="id2649756"></a><pre class="programlisting">void (*GimpQueryBooleanCallback) (GtkWidget *query_box,
gboolean value,
gpointer data);</pre>
<a class="indexterm" name="id2655268"></a><pre class="programlisting">void (*GimpQueryBooleanCallback) (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> value,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -333,20 +513,40 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2649845"></a><h3>
<a name="id2655356"></a><h3>
<a name="gimp-query-string-box"></a>gimp_query_string_box ()</h3>
<a class="indexterm" name="id2649856"></a><pre class="programlisting">GtkWidget* gimp_query_string_box (const gchar *title,
GtkWidget *parent,
<a class="indexterm" name="id2655367"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_string_box (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *initial,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback">GimpQueryStringCallback</a> callback,
gpointer data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for a string value.</p>
Creates a new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for a string value.</p>
<p>
</p>
@ -405,7 +605,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a st
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -413,22 +615,46 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a st
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2650125"></a><h3>
<a name="id2655636"></a><h3>
<a name="gimp-query-int-box"></a>gimp_query_int_box ()</h3>
<a class="indexterm" name="id2650138"></a><pre class="programlisting">GtkWidget* gimp_query_int_box (const gchar *title,
GtkWidget *parent,
<a class="indexterm" name="id2655649"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_int_box (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gint initial,
gint lower,
gint upper,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> initial,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> lower,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> upper,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback">GimpQueryIntCallback</a> callback,
gpointer data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for an integer value.</p>
Creates a new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for an integer value.</p>
<p>
</p>
@ -497,7 +723,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for an i
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -505,23 +733,49 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for an i
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2650416"></a><h3>
<a name="id2655923"></a><h3>
<a name="gimp-query-double-box"></a>gimp_query_double_box ()</h3>
<a class="indexterm" name="id2650426"></a><pre class="programlisting">GtkWidget* gimp_query_double_box (const gchar *title,
GtkWidget *parent,
<a class="indexterm" name="id2655933"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_double_box (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback">GimpQueryDoubleCallback</a> callback,
gpointer data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for a double value.</p>
Creates a new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for a double value.</p>
<p>
</p>
@ -570,7 +824,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>digits</code></em>&#160;:</span></td>
<td> The number of decimal digits the <span class="type">GtkSpinButton</span> will provide.
<td> The number of decimal digits the <a
href="../gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a> will provide.
</td>
</tr>
<tr>
@ -595,7 +851,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -603,28 +861,58 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2650739"></a><h3>
<a name="id2656244"></a><h3>
<a name="gimp-query-size-box"></a>gimp_query_size_box ()</h3>
<a class="indexterm" name="id2650749"></a><pre class="programlisting">GtkWidget* gimp_query_size_box (const gchar *title,
GtkWidget *parent,
<a class="indexterm" name="id2656254"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_size_box (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gdouble resolution,
gboolean dot_for_dot,
GObject *object,
const gchar *signal,
<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dot_for_dot,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback">GimpQuerySizeCallback</a> callback,
gpointer data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that queries the user for a size using a
Creates a new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for a size using a
<a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.</p>
<p>
@ -691,7 +979,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>dot_for_dot</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>'s initial unit should be "pixels".
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>'s initial unit should be "pixels".
</td>
</tr>
<tr>
@ -717,7 +1007,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -725,22 +1017,46 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2651151"></a><h3>
<a name="id2656656"></a><h3>
<a name="gimp-query-boolean-box"></a>gimp_query_boolean_box ()</h3>
<a class="indexterm" name="id2651161"></a><pre class="programlisting">GtkWidget* gimp_query_boolean_box (const gchar *title,
GtkWidget *parent,
<a class="indexterm" name="id2656667"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_boolean_box (const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *stock_id,
const gchar *message,
const gchar *true_button,
const gchar *false_button,
GObject *object,
const gchar *signal,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *true_button,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *false_button,
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback">GimpQueryBooleanCallback</a> callback,
gpointer data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
Creates a new <span class="type">GtkDialog</span> that asks the user to do a boolean decision.</p>
Creates a new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that asks the user to do a boolean decision.</p>
<p>
</p>
@ -812,7 +1128,9 @@ Creates a new <span class="type">GtkDialog</span> that asks the user to do a boo
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="../gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -820,11 +1138,13 @@ Creates a new <span class="type">GtkDialog</span> that asks the user to do a boo
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2651452"></a><h3>
<a name="id2656958"></a><h3>
<a name="GIMP-QUERY-BOX-VBOX:CAPS"></a>GIMP_QUERY_BOX_VBOX()</h3>
<a class="indexterm" name="id2651463"></a><pre class="programlisting">#define GIMP_QUERY_BOX_VBOX(qbox)</pre>
<a class="indexterm" name="id2656969"></a><pre class="programlisting">#define GIMP_QUERY_BOX_VBOX(qbox)</pre>
<p>
A macro to access the <span class="type">GtkVBox</span> in a <span class="type">GimpQueryBox</span>. Useful if you want to add
A macro to access the <a
href="../gtk/GtkVBox.html"
><span class="type">GtkVBox</span></a> in a <span class="type">GimpQueryBox</span>. Useful if you want to add
more widgets.
</p>
<div class="variablelist"><table border="0">
@ -840,7 +1160,7 @@ more widgets.
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2651508"></a><h2>See Also</h2>
<a name="id2657014"></a><h2>See Also</h2>
<p>
GimpSizeEntry
</p>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="prev" href="GimpUnitMenu.html" title="GimpUnitMenu">
<link rel="prev" href="GimpZoomModel.html" title="GimpZoomModel">
<link rel="next" href="GimpCellRendererColor.html" title="GimpCellRendererColor">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
@ -26,7 +26,7 @@
</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="GimpUnitMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="GimpZoomModel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td>&#160;</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>

View File

@ -59,6 +59,9 @@
<div class="gallery-float"><a href="GimpColorSelection.html" title="GimpColorSelection">
<img src="gimp-color-selection.png">
</a></div>
<div class="gallery-float"><a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">
<img src="gimp-color-profile-combo-box.png">
</a></div>
<div class="gallery-float"><a href="GimpDialog.html" title="GimpDialog">
<img src="gimp-dialog.png">
</a></div>
@ -77,6 +80,9 @@
<div class="gallery-float"><a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">
<img src="gimp-memsize-entry.png">
</a></div>
<div class="gallery-float"><a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">
<img src="gimp-number-pair-entry.png">
</a></div>
<div class="gallery-float"><a href="GimpOffsetArea.html" title="GimpOffsetArea">
<img src="gimp-offset-area.png">
</a></div>
@ -92,9 +98,6 @@
<div class="gallery-float"><a href="GimpPreviewArea.html" title="GimpPreviewArea">
<img src="gimp-preview-area.png">
</a></div>
<div class="gallery-float"><a href="GimpRatioEntry.html" title="GimpRatioEntry">
<img src="gimp-ratio-entry.png">
</a></div>
<div class="gallery-float"><a href="GimpStringComboBox.html" title="GimpStringComboBox">
<img src="gimp-string-combo-box.png">
</a></div>

View File

@ -33,16 +33,16 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-index.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="#id2566893" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2595667" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2659135" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2664659" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpwidgets-gimpoldwidgets"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2566893"></a><span class="refentrytitle">gimpoldwidgets</span>
<a name="id2595667"></a><span class="refentrytitle">gimpoldwidgets</span>
</h2>
<p>gimpoldwidgets &#8212; Old API that is still available but declared as deprecated.</p>
</td>
@ -54,60 +54,130 @@
GtkWidget* <a href="libgimpwidgets-gimpoldwidgets.html#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,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new">gimp_int_option_menu_new</a> (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> initial,
...);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-history">gimp_int_option_menu_set_history</a> (GtkOptionMenu *option_menu,
gint item_data);
gboolean (<a href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback">*GimpIntOptionMenuSensitivityCallback</a>)
(gint item_data,
gpointer callback_data);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-sensitive">gimp_int_option_menu_set_sensitive</a> (GtkOptionMenu *option_menu,
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-history">gimp_int_option_menu_set_history</a> (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> item_data);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback">*GimpIntOptionMenuSensitivityCallback</a>)
(<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> item_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-sensitive">gimp_int_option_menu_set_sensitive</a> (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback">GimpIntOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);
GtkWidget* <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new">gimp_option_menu_new</a> (gboolean menu_only,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new">gimp_option_menu_new</a> (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
...);
GtkWidget* <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2">gimp_option_menu_new2</a> (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gpointer initial,
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2">gimp_option_menu_new2</a> (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> initial,
...);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history">gimp_option_menu_set_history</a> (GtkOptionMenu *option_menu,
gpointer item_data);
gboolean (<a href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback">*GimpOptionMenuSensitivityCallback</a>)
(gpointer item_data,
gpointer callback_data);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-sensitive">gimp_option_menu_set_sensitive</a> (GtkOptionMenu *option_menu,
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history">gimp_option_menu_set_history</a> (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback">*GimpOptionMenuSensitivityCallback</a>)
(<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-sensitive">gimp_option_menu_set_sensitive</a> (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback">GimpOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-menu-item-update">gimp_menu_item_update</a> (GtkWidget *widget,
gpointer data);
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a href="libgimpwidgets-gimpoldwidgets.html#gimp-menu-item-update">gimp_menu_item_update</a> (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2659135"></a><h2>Description</h2>
<a name="id2664659"></a><h2>Description</h2>
<p>
These functions are not defined if you #define GIMP_DISABLE_DEPRECATED.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2656358"></a><h2>Details</h2>
<a name="id2664676"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2656368"></a><h3>
<a name="id2658289"></a><h3>
<a name="gimp-int-option-menu-new"></a>gimp_int_option_menu_new ()</h3>
<a class="indexterm" name="id2656382"></a><pre class="programlisting">GtkWidget* gimp_int_option_menu_new (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gint initial,
<a class="indexterm" name="id2658302"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_option_menu_new (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> 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 <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span>. This
Convenience function to create a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>. This
function does the same thing as the deprecated function
<a href="libgimpwidgets-gimpoldwidgets.html#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
@ -120,7 +190,11 @@ enum to a menu).</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>menu_only</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
</td>
</tr>
<tr>
@ -132,7 +206,9 @@ enum to a menu).</p>
<tr>
<td><span class="term"><em class="parameter"><code>menu_item_callback_data</code></em>&#160;:</span></td>
<td>
The data which will be passed to <code class="function">g_signal_connect()</code>.
The data which will be passed to <a
href="../gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>.
</td>
</tr>
<tr>
@ -142,12 +218,18 @@ enum to a menu).</p>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
<td> A <a
href="../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>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<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> A <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -155,17 +237,25 @@ enum to a menu).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2657171"></a><h3>
<a name="id2662658"></a><h3>
<a name="gimp-int-option-menu-set-history"></a>gimp_int_option_menu_set_history ()</h3>
<a class="indexterm" name="id2657185"></a><pre class="programlisting">void gimp_int_option_menu_set_history (GtkOptionMenu *option_menu,
gint item_data);</pre>
<a class="indexterm" name="id2662671"></a><pre class="programlisting">void gimp_int_option_menu_set_history (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> 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 <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>
Iterates over all entries in a <a
href="../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="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a>
that was created using <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new"><code class="function">gimp_int_option_menu_new()</code></a>. This function does the
same thing as <a href="libgimpwidgets-gimpoldwidgets.html#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>
@ -177,7 +267,9 @@ same thing as <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-h
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>option_menu</code></em>&#160;:</span></td>
<td> A <span class="type">GtkOptionMenu</span> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new"><code class="function">gimp_int_option_menu_new()</code></a>.
<td> A <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new"><code class="function">gimp_int_option_menu_new()</code></a>.
</td>
</tr>
<tr>
@ -190,11 +282,17 @@ same thing as <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-h
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674393"></a><h3>
<a name="id2679880"></a><h3>
<a name="GimpIntOptionMenuSensitivityCallback"></a>GimpIntOptionMenuSensitivityCallback ()</h3>
<a class="indexterm" name="id2674409"></a><pre class="programlisting">gboolean (*GimpIntOptionMenuSensitivityCallback)
(gint item_data,
gpointer callback_data);</pre>
<a class="indexterm" name="id2679896"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpIntOptionMenuSensitivityCallback)
(<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> item_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> 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>
@ -227,11 +325,15 @@ same thing as <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-h
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674502"></a><h3>
<a name="id2679989"></a><h3>
<a name="gimp-int-option-menu-set-sensitive"></a>gimp_int_option_menu_set_sensitive ()</h3>
<a class="indexterm" name="id2674516"></a><pre class="programlisting">void gimp_int_option_menu_set_sensitive (GtkOptionMenu *option_menu,
<a class="indexterm" name="id2680003"></a><pre class="programlisting">void gimp_int_option_menu_set_sensitive (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback">GimpIntOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> 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>
@ -250,7 +352,9 @@ same thing as <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-s
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>option_menu</code></em>&#160;:</span></td>
<td> a <span class="type">GtkOptionMenu</span> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
<td> a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
<a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -270,16 +374,24 @@ same thing as <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-s
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2657470"></a><h3>
<a name="id2662954"></a><h3>
<a name="gimp-option-menu-new"></a>gimp_option_menu_new ()</h3>
<a class="indexterm" name="id2657484"></a><pre class="programlisting">GtkWidget* gimp_option_menu_new (gboolean menu_only,
<a class="indexterm" name="id2662968"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_option_menu_new (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> 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 <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span>.</p>
Convenience function to create a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>.</p>
<p>
</p>
@ -288,17 +400,27 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>menu_only</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
<td> A <a
href="../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>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<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> A <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -306,19 +428,33 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2657640"></a><h3>
<a name="id2663122"></a><h3>
<a name="gimp-option-menu-new2"></a>gimp_option_menu_new2 ()</h3>
<a class="indexterm" name="id2657653"></a><pre class="programlisting">GtkWidget* gimp_option_menu_new2 (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gpointer initial,
<a class="indexterm" name="id2663136"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_option_menu_new2 (<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="../gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> 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 <span class="type">GtkOptionMenu</span> or a <span class="type">GtkMenu</span>.</p>
Convenience function to create a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>.</p>
<p>
</p>
@ -327,7 +463,11 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>menu_only</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
</td>
</tr>
<tr>
@ -339,7 +479,9 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<tr>
<td><span class="term"><em class="parameter"><code>menu_item_callback_data</code></em>&#160;:</span></td>
<td>
The data which will be passed to <code class="function">g_signal_connect()</code>.
The data which will be passed to <a
href="../gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>.
</td>
</tr>
<tr>
@ -349,12 +491,18 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
<td> A <a
href="../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>
</tr>
<tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<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> A <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="../gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -362,18 +510,26 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2658053"></a><h3>
<a name="id2663537"></a><h3>
<a name="gimp-option-menu-set-history"></a>gimp_option_menu_set_history ()</h3>
<a class="indexterm" name="id2658068"></a><pre class="programlisting">void gimp_option_menu_set_history (GtkOptionMenu *option_menu,
gpointer item_data);</pre>
<a class="indexterm" name="id2663553"></a><pre class="programlisting">void gimp_option_menu_set_history (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> 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 <span class="type">GtkOptionMenu</span> and selects the one
Iterates over all entries in a <a
href="../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 <span class="type">GtkOptionMenu</span> that was created using <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> that was created using <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
<a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2"><code class="function">gimp_option_menu_new2()</code></a>.</p>
<p>
@ -383,7 +539,9 @@ a <span class="type">GtkOptionMenu</span> that was created using <a href="libgim
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>option_menu</code></em>&#160;:</span></td>
<td> A <span class="type">GtkOptionMenu</span> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
<td> A <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
<a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -397,11 +555,17 @@ a <span class="type">GtkOptionMenu</span> that was created using <a href="libgim
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2658224"></a><h3>
<a name="id2663709"></a><h3>
<a name="GimpOptionMenuSensitivityCallback"></a>GimpOptionMenuSensitivityCallback ()</h3>
<a class="indexterm" name="id2658240"></a><pre class="programlisting">gboolean (*GimpOptionMenuSensitivityCallback)
(gpointer item_data,
gpointer callback_data);</pre>
<a class="indexterm" name="id2663725"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpOptionMenuSensitivityCallback)
(<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> 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>
@ -434,11 +598,15 @@ a <span class="type">GtkOptionMenu</span> that was created using <a href="libgim
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2658332"></a><h3>
<a name="id2663817"></a><h3>
<a name="gimp-option-menu-set-sensitive"></a>gimp_option_menu_set_sensitive ()</h3>
<a class="indexterm" name="id2658348"></a><pre class="programlisting">void gimp_option_menu_set_sensitive (GtkOptionMenu *option_menu,
<a class="indexterm" name="id2663832"></a><pre class="programlisting">void gimp_option_menu_set_sensitive (<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback">GimpOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);</pre>
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> 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>
@ -455,7 +623,9 @@ according to the return value of this function.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>option_menu</code></em>&#160;:</span></td>
<td> a <span class="type">GtkOptionMenu</span> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
<td> a <a
href="../gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new"><code class="function">gimp_option_menu_new()</code></a> or
<a href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -475,10 +645,14 @@ according to the return value of this function.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674876"></a><h3>
<a name="id2680354"></a><h3>
<a name="gimp-menu-item-update"></a>gimp_menu_item_update ()</h3>
<a class="indexterm" name="id2674890"></a><pre class="programlisting">void gimp_menu_item_update (GtkWidget *widget,
gpointer data);</pre>
<a class="indexterm" name="id2680367"></a><pre class="programlisting">void gimp_menu_item_update (<a
href="../gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> 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>
@ -493,12 +667,16 @@ according to the return value of this function.</p>
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>widget</code></em>&#160;:</span></td>
<td> A <span class="type">GtkMenuItem</span>.
<td> A <a
href="../gtk/GtkMenuItem.html"
><span class="type">GtkMenuItem</span></a>.
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td> A pointer to a <span class="type">gint</span> variable which will store the value of
<td> A pointer to a <a
href="../glib/glib-Basic-Types.html#gint"
><span class="type">gint</span></a> 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>
@ -507,7 +685,7 @@ according to the return value of this function.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2674995"></a><h2>See Also</h2>
<a name="id2680473"></a><h2>See Also</h2>
<p>
GimpIntComboBox
</p>

View File

@ -36,35 +36,70 @@
<div class="titlepage"><div><div><h2 class="title">
<a name="libgimpwidgets-hierarchy"></a>Object Hierarchy</h2></div></div></div>
<pre class="screen">
GObject
GInitiallyUnowned
GtkObject
GtkWidget
GtkContainer
GtkPaned
GtkHPaned
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
<a
href="../gtk/GtkObject.html"
>GtkObject</a>
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
<a
href="../gtk/GtkContainer.html"
>GtkContainer</a>
<a
href="../gtk/GtkPaned.html"
>GtkPaned</a>
<a
href="../gtk/GtkHPaned.html"
>GtkHPaned</a>
<a href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a>
GtkBin
GtkButton
<a
href="../gtk/GtkBin.html"
>GtkBin</a>
<a
href="../gtk/GtkButton.html"
>GtkButton</a>
<a href="GimpButton.html" title="GimpButton">GimpButton</a>
<a href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a>
<a href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a>
GtkOptionMenu
<a
href="../gtk/GtkOptionMenu.html"
>GtkOptionMenu</a>
<a href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a>
GtkWindow
GtkDialog
<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a>
GtkComboBox
<a
href="../gtk/GtkComboBox.html"
>GtkComboBox</a>
<a href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a>
<a href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a>
<a href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a>
<a href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a>
GtkFrame
<a
href="../gtk/GtkWindow.html"
>GtkWindow</a>
<a
href="../gtk/GtkDialog.html"
>GtkDialog</a>
<a href="GimpDialog.html" title="GimpDialog">GimpDialog</a>
<a
href="../gtk/GtkFrame.html"
>GtkFrame</a>
<a href="GimpFrame.html" title="GimpFrame">GimpFrame</a>
GtkTable
<a
href="../gtk/GtkTable.html"
>GtkTable</a>
<a href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a>
<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a>
GtkBox
GtkVBox
<a
href="../gtk/GtkBox.html"
>GtkBox</a>
<a
href="../gtk/GtkVBox.html"
>GtkVBox</a>
<a href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
<a href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a>
<a href="GimpColorScales.html" title="GimpColorScales">GimpColorScales</a>
@ -74,35 +109,58 @@
<a href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a>
<a href="GimpPreview.html" title="GimpPreview">GimpPreview</a>
<a href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a>
GtkHBox
<a
href="../gtk/GtkHBox.html"
>GtkHBox</a>
<a href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a>
<a href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a>
GtkDrawingArea
<a
href="../gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
<a href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a>
<a href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a>
<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a>
GtkEntry
<a
href="../gtk/GtkEntry.html"
>GtkEntry</a>
<a href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a>
<a href="GimpRatioEntry.html" title="GimpRatioEntry">GimpRatioEntry</a>
GtkRange
GtkScale
<a href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a>
<a
href="../gtk/GtkRange.html"
>GtkRange</a>
<a
href="../gtk/GtkScale.html"
>GtkScale</a>
<a href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a>
GtkMisc
GtkLabel
<a
href="../gtk/GtkMisc.html"
>GtkMisc</a>
<a
href="../gtk/GtkLabel.html"
>GtkLabel</a>
<a href="GimpEnumLabel.html" title="GimpEnumLabel">GimpEnumLabel</a>
GtkImage
<a
href="../gtk/GtkImage.html"
>GtkImage</a>
<a href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a>
GtkCellRenderer
<a
href="../gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>
<a href="GimpCellRendererColor.html" title="GimpCellRendererColor">GimpCellRendererColor</a>
GtkCellRendererToggle
<a
href="../gtk/GtkCellRendererToggle.html"
>GtkCellRendererToggle</a>
<a href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a>
<a href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>
<a href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a>
<a href="GimpController.html" title="GimpController">GimpController</a>
GtkListStore
<a
href="../gtk/GtkListStore.html"
>GtkListStore</a>
<a href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a>
<a href="GimpIntStore.html" title="GimpIntStore">GimpIntStore</a>
<a href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a>
GimpZoomModel
<a href="GimpController.html" title="GimpController">GimpController</a>
<a href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>
</pre>
</div>
</body>

View File

@ -37,47 +37,49 @@
<div class="index"><div class="indexdiv">
<h3>G</h3>
<dl>
<dt>GimpFileEntry, <a href="GimpFileEntry.html#id2589221">GimpFileEntry</a>
<dt>GimpFileEntry, <a href="GimpFileEntry.html#id2558892">GimpFileEntry</a>
</dt>
<dt>GimpIntOptionMenuSensitivityCallback, <a href="libgimpwidgets-gimpoldwidgets.html#id2674393">GimpIntOptionMenuSensitivityCallback ()</a>
<dt>GimpIntOptionMenuSensitivityCallback, <a href="libgimpwidgets-gimpoldwidgets.html#id2679880">GimpIntOptionMenuSensitivityCallback ()</a>
</dt>
<dt>GimpOptionMenuSensitivityCallback, <a href="libgimpwidgets-gimpoldwidgets.html#id2658224">GimpOptionMenuSensitivityCallback ()</a>
<dt>GimpOptionMenuSensitivityCallback, <a href="libgimpwidgets-gimpoldwidgets.html#id2663709">GimpOptionMenuSensitivityCallback ()</a>
</dt>
<dt>GimpPixmap, <a href="GimpPixmap.html#id2612712">GimpPixmap</a>
<dt>GimpPixmap, <a href="GimpPixmap.html#id2624260">GimpPixmap</a>
</dt>
<dt>gimp_file_entry_get_filename, <a href="GimpFileEntry.html#id2610074">gimp_file_entry_get_filename ()</a>
<dt>gimp_color_display_new, <a href="GimpColorDisplay.html#id2641779">gimp_color_display_new ()</a>
</dt>
<dt>gimp_file_entry_new, <a href="GimpFileEntry.html#id2609881">gimp_file_entry_new ()</a>
<dt>gimp_file_entry_get_filename, <a href="GimpFileEntry.html#id2612471">gimp_file_entry_get_filename ()</a>
</dt>
<dt>gimp_file_entry_set_filename, <a href="GimpFileEntry.html#id2559989">gimp_file_entry_set_filename ()</a>
<dt>gimp_file_entry_new, <a href="GimpFileEntry.html#id2612278">gimp_file_entry_new ()</a>
</dt>
<dt>gimp_int_option_menu_new, <a href="libgimpwidgets-gimpoldwidgets.html#id2656368">gimp_int_option_menu_new ()</a>
<dt>gimp_file_entry_set_filename, <a href="GimpFileEntry.html#id2557641">gimp_file_entry_set_filename ()</a>
</dt>
<dt>gimp_int_option_menu_set_history, <a href="libgimpwidgets-gimpoldwidgets.html#id2657171">gimp_int_option_menu_set_history ()</a>
<dt>gimp_int_option_menu_new, <a href="libgimpwidgets-gimpoldwidgets.html#id2658289">gimp_int_option_menu_new ()</a>
</dt>
<dt>gimp_int_option_menu_set_sensitive, <a href="libgimpwidgets-gimpoldwidgets.html#id2674502">gimp_int_option_menu_set_sensitive ()</a>
<dt>gimp_int_option_menu_set_history, <a href="libgimpwidgets-gimpoldwidgets.html#id2662658">gimp_int_option_menu_set_history ()</a>
</dt>
<dt>gimp_menu_item_update, <a href="libgimpwidgets-gimpoldwidgets.html#id2674876">gimp_menu_item_update ()</a>
<dt>gimp_int_option_menu_set_sensitive, <a href="libgimpwidgets-gimpoldwidgets.html#id2679989">gimp_int_option_menu_set_sensitive ()</a>
</dt>
<dt>gimp_option_menu_new, <a href="libgimpwidgets-gimpoldwidgets.html#id2657470">gimp_option_menu_new ()</a>
<dt>gimp_menu_item_update, <a href="libgimpwidgets-gimpoldwidgets.html#id2680354">gimp_menu_item_update ()</a>
</dt>
<dt>gimp_option_menu_new2, <a href="libgimpwidgets-gimpoldwidgets.html#id2657640">gimp_option_menu_new2 ()</a>
<dt>gimp_option_menu_new, <a href="libgimpwidgets-gimpoldwidgets.html#id2662954">gimp_option_menu_new ()</a>
</dt>
<dt>gimp_option_menu_set_history, <a href="libgimpwidgets-gimpoldwidgets.html#id2658053">gimp_option_menu_set_history ()</a>
<dt>gimp_option_menu_new2, <a href="libgimpwidgets-gimpoldwidgets.html#id2663122">gimp_option_menu_new2 ()</a>
</dt>
<dt>gimp_option_menu_set_sensitive, <a href="libgimpwidgets-gimpoldwidgets.html#id2658332">gimp_option_menu_set_sensitive ()</a>
<dt>gimp_option_menu_set_history, <a href="libgimpwidgets-gimpoldwidgets.html#id2663537">gimp_option_menu_set_history ()</a>
</dt>
<dt>gimp_pixmap_button_new, <a href="libgimpwidgets-GimpWidgets.html#id2680132">gimp_pixmap_button_new ()</a>
<dt>gimp_option_menu_set_sensitive, <a href="libgimpwidgets-gimpoldwidgets.html#id2663817">gimp_option_menu_set_sensitive ()</a>
</dt>
<dt>gimp_pixmap_new, <a href="GimpPixmap.html#id2618921">gimp_pixmap_new ()</a>
<dt>gimp_pixmap_button_new, <a href="libgimpwidgets-GimpWidgets.html#id2685635">gimp_pixmap_button_new ()</a>
</dt>
<dt>gimp_pixmap_set, <a href="GimpPixmap.html#id2619024">gimp_pixmap_set ()</a>
<dt>gimp_pixmap_new, <a href="GimpPixmap.html#id2617583">gimp_pixmap_new ()</a>
</dt>
<dt>GIMP_STOCK_INDEXED_PALETTE, <a href="libgimpwidgets-GimpStock.html#id2662583">GIMP_STOCK_INDEXED_PALETTE</a>
<dt>gimp_pixmap_set, <a href="GimpPixmap.html#id2617686">gimp_pixmap_set ()</a>
</dt>
<dt>GIMP_STOCK_QMASK_OFF, <a href="libgimpwidgets-GimpStock.html#id2668524">GIMP_STOCK_QMASK_OFF</a>
<dt>GIMP_STOCK_INDEXED_PALETTE, <a href="libgimpwidgets-GimpStock.html#id2668087">GIMP_STOCK_INDEXED_PALETTE</a>
</dt>
<dt>GIMP_STOCK_QMASK_ON, <a href="libgimpwidgets-GimpStock.html#id2668478">GIMP_STOCK_QMASK_ON</a>
<dt>GIMP_STOCK_QMASK_OFF, <a href="libgimpwidgets-GimpStock.html#id2674029">GIMP_STOCK_QMASK_OFF</a>
</dt>
<dt>GIMP_STOCK_QMASK_ON, <a href="libgimpwidgets-GimpStock.html#id2673983">GIMP_STOCK_QMASK_ON</a>
</dt>
</dl>
</div></div>

View File

@ -38,73 +38,73 @@
<div class="index"><div class="indexdiv">
<h3>G</h3>
<dl>
<dt>gimp_cell_renderer_color_new, <a href="GimpCellRendererColor.html#id2633716">gimp_cell_renderer_color_new ()</a>
<dt>gimp_cell_renderer_color_new, <a href="GimpCellRendererColor.html#id2622832">gimp_cell_renderer_color_new ()</a>
</dt>
<dt>gimp_cell_renderer_toggle_clicked, <a href="GimpCellRendererToggle.html#id2631486">gimp_cell_renderer_toggle_clicked ()</a>
<dt>gimp_cell_renderer_toggle_clicked, <a href="GimpCellRendererToggle.html#id2636541">gimp_cell_renderer_toggle_clicked ()</a>
</dt>
<dt>gimp_cell_renderer_toggle_new, <a href="GimpCellRendererToggle.html#id2631378">gimp_cell_renderer_toggle_new ()</a>
<dt>gimp_cell_renderer_toggle_new, <a href="GimpCellRendererToggle.html#id2642938">gimp_cell_renderer_toggle_new ()</a>
</dt>
<dt>gimp_color_hex_entry_get_color, <a href="GimpColorHexEntry.html#id2558842">gimp_color_hex_entry_get_color ()</a>
<dt>gimp_color_hex_entry_get_color, <a href="GimpColorHexEntry.html#id2568235">gimp_color_hex_entry_get_color ()</a>
</dt>
<dt>gimp_color_hex_entry_new, <a href="GimpColorHexEntry.html#id2602051">gimp_color_hex_entry_new ()</a>
<dt>gimp_color_hex_entry_new, <a href="GimpColorHexEntry.html#id2559243">gimp_color_hex_entry_new ()</a>
</dt>
<dt>gimp_color_hex_entry_set_color, <a href="GimpColorHexEntry.html#id2602119">gimp_color_hex_entry_set_color ()</a>
<dt>gimp_color_hex_entry_set_color, <a href="GimpColorHexEntry.html#id2559311">gimp_color_hex_entry_set_color ()</a>
</dt>
<dt>gimp_dialogs_show_help_button, <a href="GimpDialog.html#id2608549">gimp_dialogs_show_help_button ()</a>
<dt>gimp_dialogs_show_help_button, <a href="GimpDialog.html#id2610740">gimp_dialogs_show_help_button ()</a>
</dt>
<dt>gimp_frame_new, <a href="GimpFrame.html#id2606858">gimp_frame_new ()</a>
<dt>gimp_frame_new, <a href="GimpFrame.html#id2564614">gimp_frame_new ()</a>
</dt>
<dt>gimp_int_combo_box_append, <a href="GimpIntComboBox.html#id2614449">gimp_int_combo_box_append ()</a>
<dt>gimp_int_combo_box_append, <a href="GimpIntComboBox.html#id2616632">gimp_int_combo_box_append ()</a>
</dt>
<dt>gimp_int_combo_box_connect, <a href="GimpIntComboBox.html#id2614866">gimp_int_combo_box_connect ()</a>
<dt>gimp_int_combo_box_connect, <a href="GimpIntComboBox.html#id2617050">gimp_int_combo_box_connect ()</a>
</dt>
<dt>gimp_int_combo_box_get_active, <a href="GimpIntComboBox.html#id2614722">gimp_int_combo_box_get_active ()</a>
<dt>gimp_int_combo_box_get_active, <a href="GimpIntComboBox.html#id2616906">gimp_int_combo_box_get_active ()</a>
</dt>
<dt>gimp_int_combo_box_new, <a href="GimpIntComboBox.html#id2609407">gimp_int_combo_box_new ()</a>
<dt>gimp_int_combo_box_new, <a href="GimpIntComboBox.html#id2613574">gimp_int_combo_box_new ()</a>
</dt>
<dt>gimp_int_combo_box_new_array, <a href="GimpIntComboBox.html#id2614206">gimp_int_combo_box_new_array ()</a>
<dt>gimp_int_combo_box_new_array, <a href="GimpIntComboBox.html#id2616390">gimp_int_combo_box_new_array ()</a>
</dt>
<dt>gimp_int_combo_box_new_valist, <a href="GimpIntComboBox.html#id2610263">gimp_int_combo_box_new_valist ()</a>
<dt>gimp_int_combo_box_new_valist, <a href="GimpIntComboBox.html#id2611282">gimp_int_combo_box_new_valist ()</a>
</dt>
<dt>gimp_int_combo_box_prepend, <a href="GimpIntComboBox.html#id2614322">gimp_int_combo_box_prepend ()</a>
<dt>gimp_int_combo_box_prepend, <a href="GimpIntComboBox.html#id2616505">gimp_int_combo_box_prepend ()</a>
</dt>
<dt>gimp_int_combo_box_set_active, <a href="GimpIntComboBox.html#id2614578">gimp_int_combo_box_set_active ()</a>
<dt>gimp_int_combo_box_set_active, <a href="GimpIntComboBox.html#id2616762">gimp_int_combo_box_set_active ()</a>
</dt>
<dt>gimp_int_store_lookup_by_value, <a href="GimpIntStore.html#id2596516">gimp_int_store_lookup_by_value ()</a>
<dt>gimp_int_store_lookup_by_value, <a href="GimpIntStore.html#id2558268">gimp_int_store_lookup_by_value ()</a>
</dt>
<dt>gimp_int_store_new, <a href="GimpIntStore.html#id2596431">gimp_int_store_new ()</a>
<dt>gimp_int_store_new, <a href="GimpIntStore.html#id2616087">gimp_int_store_new ()</a>
</dt>
<dt>gimp_label_set_attributes, <a href="libgimpwidgets-GimpWidgets.html#id2681568">gimp_label_set_attributes ()</a>
<dt>gimp_label_set_attributes, <a href="libgimpwidgets-GimpWidgets.html#id2687071">gimp_label_set_attributes ()</a>
</dt>
<dt>gimp_offset_area_set_pixbuf, <a href="GimpOffsetArea.html#id2611862">gimp_offset_area_set_pixbuf ()</a>
<dt>gimp_offset_area_set_pixbuf, <a href="GimpOffsetArea.html#id2620373">gimp_offset_area_set_pixbuf ()</a>
</dt>
<dt>gimp_preview_area_menu_popup, <a href="GimpPreviewArea.html#id2626041">gimp_preview_area_menu_popup ()</a>
<dt>gimp_preview_area_menu_popup, <a href="GimpPreviewArea.html#id2631083">gimp_preview_area_menu_popup ()</a>
</dt>
<dt>gimp_preview_area_set_max_size, <a href="GimpPreviewArea.html#id2625928">gimp_preview_area_set_max_size ()</a>
<dt>gimp_preview_area_set_max_size, <a href="GimpPreviewArea.html#id2630973">gimp_preview_area_set_max_size ()</a>
</dt>
<dt>gimp_preview_area_set_offsets, <a href="GimpPreviewArea.html#id2625644">gimp_preview_area_set_offsets ()</a>
<dt>gimp_preview_area_set_offsets, <a href="GimpPreviewArea.html#id2630689">gimp_preview_area_set_offsets ()</a>
</dt>
<dt>gimp_preview_draw, <a href="GimpPreview.html#id2628039">gimp_preview_draw ()</a>
<dt>gimp_preview_draw, <a href="GimpPreview.html#id2633086">gimp_preview_draw ()</a>
</dt>
<dt>gimp_preview_draw_buffer, <a href="GimpPreview.html#id2628148">gimp_preview_draw_buffer ()</a>
<dt>gimp_preview_draw_buffer, <a href="GimpPreview.html#id2633195">gimp_preview_draw_buffer ()</a>
</dt>
<dt>gimp_preview_get_position, <a href="GimpPreview.html#id2627461">gimp_preview_get_position ()</a>
<dt>gimp_preview_get_position, <a href="GimpPreview.html#id2632508">gimp_preview_get_position ()</a>
</dt>
<dt>gimp_preview_get_size, <a href="GimpPreview.html#id2627345">gimp_preview_get_size ()</a>
<dt>gimp_preview_get_size, <a href="GimpPreview.html#id2632392">gimp_preview_get_size ()</a>
</dt>
<dt>gimp_preview_get_update, <a href="GimpPreview.html#id2624217">gimp_preview_get_update ()</a>
<dt>gimp_preview_get_update, <a href="GimpPreview.html#id2629400">gimp_preview_get_update ()</a>
</dt>
<dt>gimp_preview_invalidate, <a href="GimpPreview.html#id2561321">gimp_preview_invalidate ()</a>
<dt>gimp_preview_invalidate, <a href="GimpPreview.html#id2633302">gimp_preview_invalidate ()</a>
</dt>
<dt>gimp_preview_set_bounds, <a href="GimpPreview.html#id2624424">gimp_preview_set_bounds ()</a>
<dt>gimp_preview_set_bounds, <a href="GimpPreview.html#id2629607">gimp_preview_set_bounds ()</a>
</dt>
<dt>gimp_preview_set_default_cursor, <a href="GimpPreview.html#id2628351">gimp_preview_set_default_cursor ()</a>
<dt>gimp_preview_set_default_cursor, <a href="GimpPreview.html#id2633394">gimp_preview_set_default_cursor ()</a>
</dt>
<dt>gimp_preview_set_update, <a href="GimpPreview.html#id2624306">gimp_preview_set_update ()</a>
<dt>gimp_preview_set_update, <a href="GimpPreview.html#id2629489">gimp_preview_set_update ()</a>
</dt>
<dt>gimp_scale_entry_get_logarithmic, <a href="libgimpwidgets-GimpWidgets.html#id2678604">gimp_scale_entry_get_logarithmic ()</a>
<dt>gimp_scale_entry_get_logarithmic, <a href="libgimpwidgets-GimpWidgets.html#id2684105">gimp_scale_entry_get_logarithmic ()</a>
</dt>
<dt>gimp_scale_entry_set_logarithmic, <a href="libgimpwidgets-GimpWidgets.html#id2678500">gimp_scale_entry_set_logarithmic ()</a>
<dt>gimp_scale_entry_set_logarithmic, <a href="libgimpwidgets-GimpWidgets.html#id2684001">gimp_scale_entry_set_logarithmic ()</a>
</dt>
</dl>
</div></div>

View File

@ -38,161 +38,193 @@
<div class="index"><div class="indexdiv">
<h3>G</h3>
<dl>
<dt>GimpChainButton:position, <a href="GimpChainButton.html#id2575222">The "position" property</a>
<dt>GimpChainButton:position, <a href="GimpChainButton.html#id2579958">The "position" property</a>
</dt>
<dt>GimpColorArea:color, <a href="GimpColorArea.html#id2601706">The "color" property</a>
<dt>GimpColorArea:color, <a href="GimpColorArea.html#id2601917">The "color" property</a>
</dt>
<dt>GimpColorArea:draw-border, <a href="GimpColorArea.html#id2601788">The "draw-border" property</a>
<dt>GimpColorArea:draw-border, <a href="GimpColorArea.html#id2601999">The "draw-border" property</a>
</dt>
<dt>GimpColorArea:type, <a href="GimpColorArea.html#id2601838">The "type" property</a>
<dt>GimpColorArea:type, <a href="GimpColorArea.html#id2602049">The "type" property</a>
</dt>
<dt>GimpColorButton:color, <a href="GimpColorButton.html#id2603594">The "color" property</a>
<dt>GimpColorButton:color, <a href="GimpColorButton.html#id2603801">The "color" property</a>
</dt>
<dt>GimpColorButton:continuous-update, <a href="GimpColorButton.html#id2603641">The "continuous-update" property</a>
<dt>GimpColorButton:continuous-update, <a href="GimpColorButton.html#id2603848">The "continuous-update" property</a>
</dt>
<dt>GimpColorButton:title, <a href="GimpColorButton.html#id2603693">The "title" property</a>
<dt>GimpColorButton:title, <a href="GimpColorButton.html#id2603900">The "title" property</a>
</dt>
<dt>GimpColorButton:type, <a href="GimpColorButton.html#id2603744">The "type" property</a>
<dt>GimpColorButton:type, <a href="GimpColorButton.html#id2603950">The "type" property</a>
</dt>
<dt>GimpEnumStore:enum-type, <a href="GimpEnumStore.html#id2596302">The "enum-type" property</a>
<dt>GimpColorProfileComboBox:dialog, <a href="GimpColorProfileComboBox.html#id2608520">The "dialog" property</a>
</dt>
<dt>GimpIntComboBox:ellipsize, <a href="GimpIntComboBox.html#id2615310">The "ellipsize" property</a>
<dt>GimpColorProfileComboBox:model, <a href="GimpColorProfileComboBox.html#id2608576">The "model" property</a>
</dt>
<dt>GimpIntStore:user-data-type, <a href="GimpIntStore.html#id2613047">The "user-data-type" property</a>
<dt>GimpColorProfileStore:history, <a href="GimpColorProfileStore.html#id2604134">The "history" property</a>
</dt>
<dt>GimpPageSelector::activate, <a href="GimpPageSelector.html#id2621330">The "activate" signal</a>
<dt>GimpEnumStore:enum-type, <a href="GimpEnumStore.html#id2564508">The "enum-type" property</a>
</dt>
<dt>GimpPageSelector::selection-changed, <a href="GimpPageSelector.html#id2621416">The "selection-changed" signal</a>
<dt>GimpIntComboBox:ellipsize, <a href="GimpIntComboBox.html#id2617494">The "ellipsize" property</a>
</dt>
<dt>GimpPageSelector:n-pages, <a href="GimpPageSelector.html#id2621214">The "n-pages" property</a>
<dt>GimpIntStore:user-data-type, <a href="GimpIntStore.html#id2615609">The "user-data-type" property</a>
</dt>
<dt>GimpPageSelector:target, <a href="GimpPageSelector.html#id2621268">The "target" property</a>
<dt>GimpPageSelector::activate, <a href="GimpPageSelector.html#id2626360">The "activate" signal</a>
</dt>
<dt>GimpStringComboBox:ellipsize, <a href="GimpStringComboBox.html#id2633461">The "ellipsize" property</a>
<dt>GimpPageSelector::selection-changed, <a href="GimpPageSelector.html#id2626446">The "selection-changed" signal</a>
</dt>
<dt>GimpStringComboBox:id-column, <a href="GimpStringComboBox.html#id2623002">The "id-column" property</a>
<dt>GimpPageSelector:n-pages, <a href="GimpPageSelector.html#id2626244">The "n-pages" property</a>
</dt>
<dt>gimp_browser_add_search_types, <a href="GimpBrowser.html#id2555982">gimp_browser_add_search_types ()</a>
<dt>GimpPageSelector:target, <a href="GimpPageSelector.html#id2626297">The "target" property</a>
</dt>
<dt>gimp_browser_new, <a href="GimpBrowser.html#id2589702">gimp_browser_new ()</a>
<dt>GimpStringComboBox:ellipsize, <a href="GimpStringComboBox.html#id2628199">The "ellipsize" property</a>
</dt>
<dt>gimp_browser_set_widget, <a href="GimpBrowser.html#id2556134">gimp_browser_set_widget ()</a>
<dt>GimpStringComboBox:id-column, <a href="GimpStringComboBox.html#id2628252">The "id-column" property</a>
</dt>
<dt>gimp_browser_show_message, <a href="GimpBrowser.html#id2514882">gimp_browser_show_message ()</a>
<dt>gimp_browser_add_search_types, <a href="GimpBrowser.html#id2574691">gimp_browser_add_search_types ()</a>
</dt>
<dt>gimp_color_selection_set_config, <a href="GimpColorSelection.html#id2591789">gimp_color_selection_set_config ()</a>
<dt>gimp_browser_new, <a href="GimpBrowser.html#id2570925">gimp_browser_new ()</a>
</dt>
<dt>gimp_color_selector_set_config, <a href="GimpColorSelector.html#id2643134">gimp_color_selector_set_config ()</a>
<dt>gimp_browser_set_widget, <a href="GimpBrowser.html#id2574844">gimp_browser_set_widget ()</a>
</dt>
<dt>gimp_enum_combo_box_new, <a href="GimpEnumComboBox.html#id2601075">gimp_enum_combo_box_new ()</a>
<dt>gimp_browser_show_message, <a href="GimpBrowser.html#id2515042">gimp_browser_show_message ()</a>
</dt>
<dt>gimp_enum_combo_box_new_with_model, <a href="GimpEnumComboBox.html#id2605423">gimp_enum_combo_box_new_with_model ()</a>
<dt>gimp_color_display_get_config, <a href="GimpColorDisplay.html#id2642098">gimp_color_display_get_config ()</a>
</dt>
<dt>gimp_enum_combo_box_set_stock_prefix, <a href="GimpEnumComboBox.html#id2605532">gimp_enum_combo_box_set_stock_prefix ()</a>
<dt>gimp_color_display_get_managed, <a href="GimpColorDisplay.html#id2644708">gimp_color_display_get_managed ()</a>
</dt>
<dt>gimp_enum_label_new, <a href="GimpEnumLabel.html#id2574493">gimp_enum_label_new ()</a>
<dt>gimp_color_profile_combo_box_add, <a href="GimpColorProfileComboBox.html#id2604867">gimp_color_profile_combo_box_add ()</a>
</dt>
<dt>gimp_enum_label_set_value, <a href="GimpEnumLabel.html#id2574611">gimp_enum_label_set_value ()</a>
<dt>gimp_color_profile_combo_box_get_active, <a href="GimpColorProfileComboBox.html#id2608413">gimp_color_profile_combo_box_get_active ()</a>
</dt>
<dt>gimp_enum_radio_box_new, <a href="libgimpwidgets-GimpEnumWidgets.html#id2659490">gimp_enum_radio_box_new ()</a>
<dt>gimp_color_profile_combo_box_new, <a href="GimpColorProfileComboBox.html#id2604463">gimp_color_profile_combo_box_new ()</a>
</dt>
<dt>gimp_enum_radio_box_new_with_range, <a href="libgimpwidgets-GimpEnumWidgets.html#id2647167">gimp_enum_radio_box_new_with_range ()</a>
<dt>gimp_color_profile_combo_box_new_with_model, <a href="GimpColorProfileComboBox.html#id2604604">gimp_color_profile_combo_box_new_with_model ()</a>
</dt>
<dt>gimp_enum_radio_frame_new, <a href="libgimpwidgets-GimpEnumWidgets.html#id2647401">gimp_enum_radio_frame_new ()</a>
<dt>gimp_color_profile_combo_box_set_active, <a href="GimpColorProfileComboBox.html#id2605038">gimp_color_profile_combo_box_set_active ()</a>
</dt>
<dt>gimp_enum_radio_frame_new_with_range, <a href="libgimpwidgets-GimpEnumWidgets.html#id2648432">gimp_enum_radio_frame_new_with_range ()</a>
<dt>gimp_color_profile_store_add, <a href="GimpColorProfileStore.html#id2605121">gimp_color_profile_store_add ()</a>
</dt>
<dt>gimp_enum_stock_box_new, <a href="libgimpwidgets-GimpEnumWidgets.html#id2648698">gimp_enum_stock_box_new ()</a>
<dt>gimp_color_profile_store_new, <a href="GimpColorProfileStore.html#id2601430">gimp_color_profile_store_new ()</a>
</dt>
<dt>gimp_enum_stock_box_new_with_range, <a href="libgimpwidgets-GimpEnumWidgets.html#id2648931">gimp_enum_stock_box_new_with_range ()</a>
<dt>gimp_color_selection_set_config, <a href="GimpColorSelection.html#id2606784">gimp_color_selection_set_config ()</a>
</dt>
<dt>gimp_enum_stock_box_set_child_padding, <a href="libgimpwidgets-GimpEnumWidgets.html#id2653580">gimp_enum_stock_box_set_child_padding ()</a>
<dt>gimp_color_selector_set_config, <a href="GimpColorSelector.html#id2648602">gimp_color_selector_set_config ()</a>
</dt>
<dt>gimp_enum_store_new, <a href="GimpEnumStore.html#id2603130">gimp_enum_store_new ()</a>
<dt>gimp_enum_combo_box_new, <a href="GimpEnumComboBox.html#id2556911">gimp_enum_combo_box_new ()</a>
</dt>
<dt>gimp_enum_store_new_with_range, <a href="GimpEnumStore.html#id2595781">gimp_enum_store_new_with_range ()</a>
<dt>gimp_enum_combo_box_new_with_model, <a href="GimpEnumComboBox.html#id2608746">gimp_enum_combo_box_new_with_model ()</a>
</dt>
<dt>gimp_enum_store_new_with_values, <a href="GimpEnumStore.html#id2605874">gimp_enum_store_new_with_values ()</a>
<dt>gimp_enum_combo_box_set_stock_prefix, <a href="GimpEnumComboBox.html#id2608854">gimp_enum_combo_box_set_stock_prefix ()</a>
</dt>
<dt>gimp_enum_store_new_with_values_valist, <a href="GimpEnumStore.html#id2606032">gimp_enum_store_new_with_values_valist ()</a>
<dt>gimp_enum_label_new, <a href="GimpEnumLabel.html#id2609151">gimp_enum_label_new ()</a>
</dt>
<dt>gimp_enum_store_set_stock_prefix, <a href="GimpEnumStore.html#id2596160">gimp_enum_store_set_stock_prefix ()</a>
<dt>gimp_enum_label_set_value, <a href="GimpEnumLabel.html#id2609414">gimp_enum_label_set_value ()</a>
</dt>
<dt>gimp_int_combo_box_set_sensitivity, <a href="GimpIntComboBox.html#id2615105">gimp_int_combo_box_set_sensitivity ()</a>
<dt>gimp_enum_radio_box_new, <a href="libgimpwidgets-GimpEnumWidgets.html#id2664994">gimp_enum_radio_box_new ()</a>
</dt>
<dt>gimp_page_selector_get_n_pages, <a href="GimpPageSelector.html#id2612348">gimp_page_selector_get_n_pages ()</a>
<dt>gimp_enum_radio_box_new_with_range, <a href="libgimpwidgets-GimpEnumWidgets.html#id2652712">gimp_enum_radio_box_new_with_range ()</a>
</dt>
<dt>gimp_page_selector_get_page_label, <a href="GimpPageSelector.html#id2620220">gimp_page_selector_get_page_label ()</a>
<dt>gimp_enum_radio_frame_new, <a href="libgimpwidgets-GimpEnumWidgets.html#id2652946">gimp_enum_radio_frame_new ()</a>
</dt>
<dt>gimp_page_selector_get_page_thumbnail, <a href="GimpPageSelector.html#id2619963">gimp_page_selector_get_page_thumbnail ()</a>
<dt>gimp_enum_radio_frame_new_with_range, <a href="libgimpwidgets-GimpEnumWidgets.html#id2653968">gimp_enum_radio_frame_new_with_range ()</a>
</dt>
<dt>gimp_page_selector_get_selected_pages, <a href="GimpPageSelector.html#id2620851">gimp_page_selector_get_selected_pages ()</a>
<dt>gimp_enum_stock_box_new, <a href="libgimpwidgets-GimpEnumWidgets.html#id2654234">gimp_enum_stock_box_new ()</a>
</dt>
<dt>gimp_page_selector_get_selected_range, <a href="GimpPageSelector.html#id2621097">gimp_page_selector_get_selected_range ()</a>
<dt>gimp_enum_stock_box_new_with_range, <a href="libgimpwidgets-GimpEnumWidgets.html#id2654467">gimp_enum_stock_box_new_with_range ()</a>
</dt>
<dt>gimp_page_selector_get_target, <a href="GimpPageSelector.html#id2619737">gimp_page_selector_get_target ()</a>
<dt>gimp_enum_stock_box_set_child_padding, <a href="libgimpwidgets-GimpEnumWidgets.html#id2659078">gimp_enum_stock_box_set_child_padding ()</a>
</dt>
<dt>gimp_page_selector_new, <a href="GimpPageSelector.html#id2612171">gimp_page_selector_new ()</a>
<dt>gimp_enum_store_new, <a href="GimpEnumStore.html#id2606302">gimp_enum_store_new ()</a>
</dt>
<dt>gimp_page_selector_page_is_selected, <a href="GimpPageSelector.html#id2620720">gimp_page_selector_page_is_selected ()</a>
<dt>gimp_enum_store_new_with_range, <a href="GimpEnumStore.html#id2564002">gimp_enum_store_new_with_range ()</a>
</dt>
<dt>gimp_page_selector_select_all, <a href="GimpPageSelector.html#id2620353">gimp_page_selector_select_all ()</a>
<dt>gimp_enum_store_new_with_values, <a href="GimpEnumStore.html#id2564170">gimp_enum_store_new_with_values ()</a>
</dt>
<dt>gimp_page_selector_select_page, <a href="GimpPageSelector.html#id2620514">gimp_page_selector_select_page ()</a>
<dt>gimp_enum_store_new_with_values_valist, <a href="GimpEnumStore.html#id2605671">gimp_enum_store_new_with_values_valist ()</a>
</dt>
<dt>gimp_page_selector_select_range, <a href="GimpPageSelector.html#id2620977">gimp_page_selector_select_range ()</a>
<dt>gimp_enum_store_set_stock_prefix, <a href="GimpEnumStore.html#id2564366">gimp_enum_store_set_stock_prefix ()</a>
</dt>
<dt>gimp_page_selector_set_n_pages, <a href="GimpPageSelector.html#id2612246">gimp_page_selector_set_n_pages ()</a>
<dt>gimp_int_combo_box_set_sensitivity, <a href="GimpIntComboBox.html#id2617289">gimp_int_combo_box_set_sensitivity ()</a>
</dt>
<dt>gimp_page_selector_set_page_label, <a href="GimpPageSelector.html#id2620096">gimp_page_selector_set_page_label ()</a>
<dt>gimp_number_pair_entry_get_aspect, <a href="GimpNumberPairEntry.html#id2621251">gimp_number_pair_entry_get_aspect ()</a>
</dt>
<dt>gimp_page_selector_set_page_thumbnail, <a href="GimpPageSelector.html#id2619828">gimp_page_selector_set_page_thumbnail ()</a>
<dt>gimp_number_pair_entry_get_default_values, <a href="GimpNumberPairEntry.html#id2620844">gimp_number_pair_entry_get_default_values ()</a>
</dt>
<dt>gimp_page_selector_set_target, <a href="GimpPageSelector.html#id2619641">gimp_page_selector_set_target ()</a>
<dt>gimp_number_pair_entry_get_ratio, <a href="GimpNumberPairEntry.html#id2621470">gimp_number_pair_entry_get_ratio ()</a>
</dt>
<dt>gimp_page_selector_unselect_all, <a href="GimpPageSelector.html#id2620434">gimp_page_selector_unselect_all ()</a>
<dt>gimp_number_pair_entry_get_user_override, <a href="GimpNumberPairEntry.html#id2621686">gimp_number_pair_entry_get_user_override ()</a>
</dt>
<dt>gimp_page_selector_unselect_page, <a href="GimpPageSelector.html#id2620617">gimp_page_selector_unselect_page ()</a>
<dt>gimp_number_pair_entry_get_values, <a href="GimpNumberPairEntry.html#id2621101">gimp_number_pair_entry_get_values ()</a>
</dt>
<dt>gimp_preview_get_area, <a href="GimpPreview.html#id2627914">gimp_preview_get_area ()</a>
<dt>gimp_number_pair_entry_new, <a href="GimpNumberPairEntry.html#id2615134">gimp_number_pair_entry_new ()</a>
</dt>
<dt>gimp_preview_get_controls, <a href="GimpPreview.html#id2628473">gimp_preview_get_controls ()</a>
<dt>gimp_number_pair_entry_set_aspect, <a href="GimpNumberPairEntry.html#id2621351">gimp_number_pair_entry_set_aspect ()</a>
</dt>
<dt>gimp_preview_transform, <a href="GimpPreview.html#id2627582">gimp_preview_transform ()</a>
<dt>gimp_number_pair_entry_set_default_values, <a href="GimpNumberPairEntry.html#id2620732">gimp_number_pair_entry_set_default_values ()</a>
</dt>
<dt>gimp_preview_untransform, <a href="GimpPreview.html#id2627748">gimp_preview_untransform ()</a>
<dt>gimp_number_pair_entry_set_ratio, <a href="GimpNumberPairEntry.html#id2621569">gimp_number_pair_entry_set_ratio ()</a>
</dt>
<dt>gimp_ratio_entry_get_aspect, <a href="GimpRatioEntry.html#id2618025">gimp_ratio_entry_get_aspect ()</a>
<dt>gimp_number_pair_entry_set_user_override, <a href="GimpNumberPairEntry.html#id2621779">gimp_number_pair_entry_set_user_override ()</a>
</dt>
<dt>gimp_ratio_entry_get_fraction, <a href="GimpRatioEntry.html#id2626638">gimp_ratio_entry_get_fraction ()</a>
<dt>gimp_number_pair_entry_set_values, <a href="GimpNumberPairEntry.html#id2620968">gimp_number_pair_entry_set_values ()</a>
</dt>
<dt>gimp_ratio_entry_get_ratio, <a href="GimpRatioEntry.html#id2623691">gimp_ratio_entry_get_ratio ()</a>
<dt>gimp_page_selector_get_n_pages, <a href="GimpPageSelector.html#id2612042">gimp_page_selector_get_n_pages ()</a>
</dt>
<dt>gimp_ratio_entry_new, <a href="GimpRatioEntry.html#id2627039">gimp_ratio_entry_new ()</a>
<dt>gimp_page_selector_get_page_label, <a href="GimpPageSelector.html#id2625250">gimp_page_selector_get_page_label ()</a>
</dt>
<dt>gimp_ratio_entry_set_aspect, <a href="GimpRatioEntry.html#id2623787">gimp_ratio_entry_set_aspect ()</a>
<dt>gimp_page_selector_get_page_thumbnail, <a href="GimpPageSelector.html#id2624993">gimp_page_selector_get_page_thumbnail ()</a>
</dt>
<dt>gimp_ratio_entry_set_fraction, <a href="GimpRatioEntry.html#id2627107">gimp_ratio_entry_set_fraction ()</a>
<dt>gimp_page_selector_get_selected_pages, <a href="GimpPageSelector.html#id2625881">gimp_page_selector_get_selected_pages ()</a>
</dt>
<dt>gimp_ratio_entry_set_ratio, <a href="GimpRatioEntry.html#id2623578">gimp_ratio_entry_set_ratio ()</a>
<dt>gimp_page_selector_get_selected_range, <a href="GimpPageSelector.html#id2626127">gimp_page_selector_get_selected_range ()</a>
</dt>
<dt>gimp_scrolled_preview_freeze, <a href="GimpScrolledPreview.html#id2629679">gimp_scrolled_preview_freeze ()</a>
<dt>gimp_page_selector_get_target, <a href="GimpPageSelector.html#id2624766">gimp_page_selector_get_target ()</a>
</dt>
<dt>gimp_scrolled_preview_set_policy, <a href="GimpScrolledPreview.html#id2618543">gimp_scrolled_preview_set_policy ()</a>
<dt>gimp_page_selector_new, <a href="GimpPageSelector.html#id2611866">gimp_page_selector_new ()</a>
</dt>
<dt>gimp_scrolled_preview_set_position, <a href="GimpScrolledPreview.html#id2618423">gimp_scrolled_preview_set_position ()</a>
<dt>gimp_page_selector_page_is_selected, <a href="GimpPageSelector.html#id2625750">gimp_page_selector_page_is_selected ()</a>
</dt>
<dt>gimp_scrolled_preview_thaw, <a href="GimpScrolledPreview.html#id2629779">gimp_scrolled_preview_thaw ()</a>
<dt>gimp_page_selector_select_all, <a href="GimpPageSelector.html#id2625383">gimp_page_selector_select_all ()</a>
</dt>
<dt>gimp_size_entry_set_activates_default, <a href="GimpSizeEntry.html#id2637323">gimp_size_entry_set_activates_default ()</a>
<dt>gimp_page_selector_select_page, <a href="GimpPageSelector.html#id2625544">gimp_page_selector_select_page ()</a>
</dt>
<dt>gimp_size_entry_show_unit_menu, <a href="GimpSizeEntry.html#id2637147">gimp_size_entry_show_unit_menu ()</a>
<dt>gimp_page_selector_select_range, <a href="GimpPageSelector.html#id2626006">gimp_page_selector_select_range ()</a>
</dt>
<dt>gimp_string_combo_box_get_active, <a href="GimpStringComboBox.html#id2633344">gimp_string_combo_box_get_active ()</a>
<dt>gimp_page_selector_set_n_pages, <a href="GimpPageSelector.html#id2611941">gimp_page_selector_set_n_pages ()</a>
</dt>
<dt>gimp_string_combo_box_new, <a href="GimpStringComboBox.html#id2629361">gimp_string_combo_box_new ()</a>
<dt>gimp_page_selector_set_page_label, <a href="GimpPageSelector.html#id2625126">gimp_page_selector_set_page_label ()</a>
</dt>
<dt>gimp_string_combo_box_set_active, <a href="GimpStringComboBox.html#id2629492">gimp_string_combo_box_set_active ()</a>
<dt>gimp_page_selector_set_page_thumbnail, <a href="GimpPageSelector.html#id2624857">gimp_page_selector_set_page_thumbnail ()</a>
</dt>
<dt>gimp_page_selector_set_target, <a href="GimpPageSelector.html#id2624670">gimp_page_selector_set_target ()</a>
</dt>
<dt>gimp_page_selector_unselect_all, <a href="GimpPageSelector.html#id2625464">gimp_page_selector_unselect_all ()</a>
</dt>
<dt>gimp_page_selector_unselect_page, <a href="GimpPageSelector.html#id2625647">gimp_page_selector_unselect_page ()</a>
</dt>
<dt>gimp_preview_get_area, <a href="GimpPreview.html#id2632960">gimp_preview_get_area ()</a>
</dt>
<dt>gimp_preview_get_controls, <a href="GimpPreview.html#id2633516">gimp_preview_get_controls ()</a>
</dt>
<dt>gimp_preview_transform, <a href="GimpPreview.html#id2632629">gimp_preview_transform ()</a>
</dt>
<dt>gimp_preview_untransform, <a href="GimpPreview.html#id2632794">gimp_preview_untransform ()</a>
</dt>
<dt>gimp_scrolled_preview_freeze, <a href="GimpScrolledPreview.html#id2626796">gimp_scrolled_preview_freeze ()</a>
</dt>
<dt>gimp_scrolled_preview_set_policy, <a href="GimpScrolledPreview.html#id2632150">gimp_scrolled_preview_set_policy ()</a>
</dt>
<dt>gimp_scrolled_preview_set_position, <a href="GimpScrolledPreview.html#id2627235">gimp_scrolled_preview_set_position ()</a>
</dt>
<dt>gimp_scrolled_preview_thaw, <a href="GimpScrolledPreview.html#id2626893">gimp_scrolled_preview_thaw ()</a>
</dt>
<dt>gimp_size_entry_set_activates_default, <a href="GimpSizeEntry.html#id2640763">gimp_size_entry_set_activates_default ()</a>
</dt>
<dt>gimp_size_entry_show_unit_menu, <a href="GimpSizeEntry.html#id2640586">gimp_size_entry_show_unit_menu ()</a>
</dt>
<dt>gimp_string_combo_box_get_active, <a href="GimpStringComboBox.html#id2634274">gimp_string_combo_box_get_active ()</a>
</dt>
<dt>gimp_string_combo_box_new, <a href="GimpStringComboBox.html#id2637116">gimp_string_combo_box_new ()</a>
</dt>
<dt>gimp_string_combo_box_set_active, <a href="GimpStringComboBox.html#id2634133">gimp_string_combo_box_set_active ()</a>
</dt>
</dl>
</div></div>

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,8 @@
<sub name="GimpColorHexEntry" link="GimpColorHexEntry.html"/>
<sub name="GimpColorScale" link="GimpColorScale.html"/>
<sub name="GimpColorSelection" link="GimpColorSelection.html"/>
<sub name="GimpColorProfileStore" link="GimpColorProfileStore.html"/>
<sub name="GimpColorProfileComboBox" link="GimpColorProfileComboBox.html"/>
<sub name="GimpDialog" link="GimpDialog.html"/>
<sub name="GimpEnumStore" link="GimpEnumStore.html"/>
<sub name="GimpEnumComboBox" link="GimpEnumComboBox.html"/>
@ -23,6 +25,7 @@
<sub name="GimpIntComboBox" link="GimpIntComboBox.html"/>
<sub name="GimpIntStore" link="GimpIntStore.html"/>
<sub name="GimpMemsizeEntry" link="GimpMemsizeEntry.html"/>
<sub name="GimpNumberPairEntry" link="GimpNumberPairEntry.html"/>
<sub name="GimpOffsetArea" link="GimpOffsetArea.html"/>
<sub name="GimpPageSelector" link="GimpPageSelector.html"/>
<sub name="GimpPathEditor" link="GimpPathEditor.html"/>
@ -30,11 +33,11 @@
<sub name="GimpPixmap" link="GimpPixmap.html"/>
<sub name="GimpPreviewArea" link="GimpPreviewArea.html"/>
<sub name="GimpPreview" link="GimpPreview.html"/>
<sub name="GimpRatioEntry" link="GimpRatioEntry.html"/>
<sub name="GimpScrolledPreview" link="GimpScrolledPreview.html"/>
<sub name="GimpSizeEntry" link="GimpSizeEntry.html"/>
<sub name="GimpStringComboBox" link="GimpStringComboBox.html"/>
<sub name="GimpUnitMenu" link="GimpUnitMenu.html"/>
<sub name="GimpZoomModel" link="GimpZoomModel.html"/>
</sub>
<sub name="Cell Renderers for GtkTreeView" link="libgimpwidgets-cell-renderers.html">
<sub name="GimpCellRendererColor" link="GimpCellRendererColor.html"/>
@ -135,6 +138,18 @@
<function name="gimp_color_selection_set_config ()" link="GimpColorSelection.html#gimp-color-selection-set-config"/>
<function name="The &quot;config&quot; property" link="GimpColorSelection.html#GimpColorSelection--config"/>
<function name="The &quot;color-changed&quot; signal" link="GimpColorSelection.html#GimpColorSelection-color-changed"/>
<function name="GimpColorProfileStore" link="GimpColorProfileStore.html#GimpColorProfileStore-struct"/>
<function name="gimp_color_profile_store_new ()" link="GimpColorProfileStore.html#gimp-color-profile-store-new"/>
<function name="gimp_color_profile_store_add ()" link="GimpColorProfileStore.html#gimp-color-profile-store-add"/>
<function name="The &quot;history&quot; property" link="GimpColorProfileStore.html#GimpColorProfileStore--history"/>
<function name="GimpColorProfileComboBox" link="GimpColorProfileComboBox.html#GimpColorProfileComboBox-struct"/>
<function name="gimp_color_profile_combo_box_new ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new"/>
<function name="gimp_color_profile_combo_box_new_with_model ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new-with-model"/>
<function name="gimp_color_profile_combo_box_add ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-add"/>
<function name="gimp_color_profile_combo_box_set_active ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-set-active"/>
<function name="gimp_color_profile_combo_box_get_active ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-get-active"/>
<function name="The &quot;dialog&quot; property" link="GimpColorProfileComboBox.html#GimpColorProfileComboBox--dialog"/>
<function name="The &quot;model&quot; property" link="GimpColorProfileComboBox.html#GimpColorProfileComboBox--model"/>
<function name="GimpDialog" link="GimpDialog.html#GimpDialog-struct"/>
<function name="gimp_dialog_new ()" link="GimpDialog.html#gimp-dialog-new"/>
<function name="gimp_dialog_new_valist ()" link="GimpDialog.html#gimp-dialog-new-valist"/>
@ -192,6 +207,32 @@
<function name="gimp_memsize_entry_set_value ()" link="GimpMemsizeEntry.html#gimp-memsize-entry-set-value"/>
<function name="gimp_memsize_entry_get_value ()" link="GimpMemsizeEntry.html#gimp-memsize-entry-get-value"/>
<function name="The &quot;value-changed&quot; signal" link="GimpMemsizeEntry.html#GimpMemsizeEntry-value-changed"/>
<function name="GimpNumberPairEntry" link="GimpNumberPairEntry.html#GimpNumberPairEntry-struct"/>
<function name="enum GimpAspectType" link="GimpNumberPairEntry.html#GimpAspectType"/>
<function name="gimp_number_pair_entry_new ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-new"/>
<function name="gimp_number_pair_entry_set_default_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-values"/>
<function name="gimp_number_pair_entry_get_default_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-values"/>
<function name="gimp_number_pair_entry_set_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-values"/>
<function name="gimp_number_pair_entry_get_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-values"/>
<function name="gimp_number_pair_entry_get_aspect ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-aspect"/>
<function name="gimp_number_pair_entry_set_aspect ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-aspect"/>
<function name="gimp_number_pair_entry_get_ratio ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio"/>
<function name="gimp_number_pair_entry_set_ratio ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-ratio"/>
<function name="gimp_number_pair_entry_get_user_override ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override"/>
<function name="gimp_number_pair_entry_set_user_override ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-user-override"/>
<function name="The &quot;allow-simplification&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification"/>
<function name="The &quot;aspect&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--aspect"/>
<function name="The &quot;default-left-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number"/>
<function name="The &quot;default-right-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number"/>
<function name="The &quot;left-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--left-number"/>
<function name="The &quot;max-valid-value&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value"/>
<function name="The &quot;min-valid-value&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value"/>
<function name="The &quot;ratio&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--ratio"/>
<function name="The &quot;right-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--right-number"/>
<function name="The &quot;separators&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--separators"/>
<function name="The &quot;user-override&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--user-override"/>
<function name="The &quot;numbers-changed&quot; signal" link="GimpNumberPairEntry.html#GimpNumberPairEntry-numbers-changed"/>
<function name="The &quot;ratio-changed&quot; signal" link="GimpNumberPairEntry.html#GimpNumberPairEntry-ratio-changed"/>
<function name="GimpOffsetArea" link="GimpOffsetArea.html#GimpOffsetArea-struct"/>
<function name="gimp_offset_area_new ()" link="GimpOffsetArea.html#gimp-offset-area-new"/>
<function name="gimp_offset_area_set_size ()" link="GimpOffsetArea.html#gimp-offset-area-set-size"/>
@ -266,20 +307,6 @@
<function name="The &quot;update&quot; property" link="GimpPreview.html#GimpPreview--update"/>
<function name="The &quot;size&quot; style property" link="GimpPreview.html#GimpPreview--size"/>
<function name="The &quot;invalidated&quot; signal" link="GimpPreview.html#GimpPreview-invalidated"/>
<function name="GimpRatioEntry" link="GimpRatioEntry.html#GimpRatioEntry-struct"/>
<function name="enum GimpAspectType" link="GimpRatioEntry.html#GimpAspectType"/>
<function name="gimp_ratio_entry_new ()" link="GimpRatioEntry.html#gimp-ratio-entry-new"/>
<function name="gimp_ratio_entry_set_fraction ()" link="GimpRatioEntry.html#gimp-ratio-entry-set-fraction"/>
<function name="gimp_ratio_entry_get_fraction ()" link="GimpRatioEntry.html#gimp-ratio-entry-get-fraction"/>
<function name="gimp_ratio_entry_set_ratio ()" link="GimpRatioEntry.html#gimp-ratio-entry-set-ratio"/>
<function name="gimp_ratio_entry_get_ratio ()" link="GimpRatioEntry.html#gimp-ratio-entry-get-ratio"/>
<function name="gimp_ratio_entry_set_aspect ()" link="GimpRatioEntry.html#gimp-ratio-entry-set-aspect"/>
<function name="gimp_ratio_entry_get_aspect ()" link="GimpRatioEntry.html#gimp-ratio-entry-get-aspect"/>
<function name="The &quot;aspect&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--aspect"/>
<function name="The &quot;denominator&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--denominator"/>
<function name="The &quot;numerator&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--numerator"/>
<function name="The &quot;ratio&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--ratio"/>
<function name="The &quot;ratio-changed&quot; signal" link="GimpRatioEntry.html#GimpRatioEntry-ratio-changed"/>
<function name="GimpScrolledPreview" link="GimpScrolledPreview.html#GimpScrolledPreview-struct"/>
<function name="gimp_scrolled_preview_set_position ()" link="GimpScrolledPreview.html#gimp-scrolled-preview-set-position"/>
<function name="gimp_scrolled_preview_set_policy ()" link="GimpScrolledPreview.html#gimp-scrolled-preview-set-policy"/>
@ -324,6 +351,21 @@
<function name="gimp_unit_menu_get_pixel_digits ()" link="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits"/>
<function name="gimp_unit_menu_set_pixel_digits ()" link="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits"/>
<function name="The &quot;unit-changed&quot; signal" link="GimpUnitMenu.html#GimpUnitMenu-unit-changed"/>
<function name="GimpZoomModel" link="GimpZoomModel.html#GimpZoomModel-struct"/>
<function name="enum GimpZoomType" link="GimpZoomModel.html#GimpZoomType"/>
<function name="gimp_zoom_model_new ()" link="GimpZoomModel.html#gimp-zoom-model-new"/>
<function name="gimp_zoom_model_set_range ()" link="GimpZoomModel.html#gimp-zoom-model-set-range"/>
<function name="gimp_zoom_model_zoom ()" link="GimpZoomModel.html#gimp-zoom-model-zoom"/>
<function name="gimp_zoom_model_get_factor ()" link="GimpZoomModel.html#gimp-zoom-model-get-factor"/>
<function name="gimp_zoom_model_get_fraction ()" link="GimpZoomModel.html#gimp-zoom-model-get-fraction"/>
<function name="gimp_zoom_button_new ()" link="GimpZoomModel.html#gimp-zoom-button-new"/>
<function name="gimp_zoom_model_zoom_step ()" link="GimpZoomModel.html#gimp-zoom-model-zoom-step"/>
<function name="The &quot;fraction&quot; property" link="GimpZoomModel.html#GimpZoomModel--fraction"/>
<function name="The &quot;maximum&quot; property" link="GimpZoomModel.html#GimpZoomModel--maximum"/>
<function name="The &quot;minimum&quot; property" link="GimpZoomModel.html#GimpZoomModel--minimum"/>
<function name="The &quot;percentage&quot; property" link="GimpZoomModel.html#GimpZoomModel--percentage"/>
<function name="The &quot;value&quot; property" link="GimpZoomModel.html#GimpZoomModel--value"/>
<function name="The &quot;zoomed&quot; signal" link="GimpZoomModel.html#GimpZoomModel-zoomed"/>
<function name="GimpCellRendererColor" link="GimpCellRendererColor.html#GimpCellRendererColor-struct"/>
<function name="gimp_cell_renderer_color_new ()" link="GimpCellRendererColor.html#gimp-cell-renderer-color-new"/>
<function name="The &quot;color&quot; property" link="GimpCellRendererColor.html#GimpCellRendererColor--color"/>
@ -340,12 +382,16 @@
<function name="gimp_color_display_clone ()" link="GimpColorDisplay.html#gimp-color-display-clone"/>
<function name="gimp_color_display_set_enabled ()" link="GimpColorDisplay.html#gimp-color-display-set-enabled"/>
<function name="gimp_color_display_get_enabled ()" link="GimpColorDisplay.html#gimp-color-display-get-enabled"/>
<function name="gimp_color_display_get_config ()" link="GimpColorDisplay.html#gimp-color-display-get-config"/>
<function name="gimp_color_display_get_managed ()" link="GimpColorDisplay.html#gimp-color-display-get-managed"/>
<function name="gimp_color_display_convert ()" link="GimpColorDisplay.html#gimp-color-display-convert"/>
<function name="gimp_color_display_load_state ()" link="GimpColorDisplay.html#gimp-color-display-load-state"/>
<function name="gimp_color_display_save_state ()" link="GimpColorDisplay.html#gimp-color-display-save-state"/>
<function name="gimp_color_display_configure ()" link="GimpColorDisplay.html#gimp-color-display-configure"/>
<function name="gimp_color_display_configure_reset ()" link="GimpColorDisplay.html#gimp-color-display-configure-reset"/>
<function name="gimp_color_display_changed ()" link="GimpColorDisplay.html#gimp-color-display-changed"/>
<function name="The &quot;color-config&quot; property" link="GimpColorDisplay.html#GimpColorDisplay--color-config"/>
<function name="The &quot;color-managed&quot; property" link="GimpColorDisplay.html#GimpColorDisplay--color-managed"/>
<function name="The &quot;enabled&quot; property" link="GimpColorDisplay.html#GimpColorDisplay--enabled"/>
<function name="The &quot;changed&quot; signal" link="GimpColorDisplay.html#GimpColorDisplay-changed"/>
<function name="GimpColorDisplayStack" link="GimpColorDisplayStack.html#GimpColorDisplayStack-struct"/>

View File

@ -13,6 +13,8 @@
<sub name="GimpColorHexEntry" link="GimpColorHexEntry.html"/>
<sub name="GimpColorScale" link="GimpColorScale.html"/>
<sub name="GimpColorSelection" link="GimpColorSelection.html"/>
<sub name="GimpColorProfileStore" link="GimpColorProfileStore.html"/>
<sub name="GimpColorProfileComboBox" link="GimpColorProfileComboBox.html"/>
<sub name="GimpDialog" link="GimpDialog.html"/>
<sub name="GimpEnumStore" link="GimpEnumStore.html"/>
<sub name="GimpEnumComboBox" link="GimpEnumComboBox.html"/>
@ -23,6 +25,7 @@
<sub name="GimpIntComboBox" link="GimpIntComboBox.html"/>
<sub name="GimpIntStore" link="GimpIntStore.html"/>
<sub name="GimpMemsizeEntry" link="GimpMemsizeEntry.html"/>
<sub name="GimpNumberPairEntry" link="GimpNumberPairEntry.html"/>
<sub name="GimpOffsetArea" link="GimpOffsetArea.html"/>
<sub name="GimpPageSelector" link="GimpPageSelector.html"/>
<sub name="GimpPathEditor" link="GimpPathEditor.html"/>
@ -30,11 +33,11 @@
<sub name="GimpPixmap" link="GimpPixmap.html"/>
<sub name="GimpPreviewArea" link="GimpPreviewArea.html"/>
<sub name="GimpPreview" link="GimpPreview.html"/>
<sub name="GimpRatioEntry" link="GimpRatioEntry.html"/>
<sub name="GimpScrolledPreview" link="GimpScrolledPreview.html"/>
<sub name="GimpSizeEntry" link="GimpSizeEntry.html"/>
<sub name="GimpStringComboBox" link="GimpStringComboBox.html"/>
<sub name="GimpUnitMenu" link="GimpUnitMenu.html"/>
<sub name="GimpZoomModel" link="GimpZoomModel.html"/>
</sub>
<sub name="Cell Renderers for GtkTreeView" link="libgimpwidgets-cell-renderers.html">
<sub name="GimpCellRendererColor" link="GimpCellRendererColor.html"/>
@ -135,6 +138,18 @@
<keyword type="function" name="gimp_color_selection_set_config ()" link="GimpColorSelection.html#gimp-color-selection-set-config" since="GIMP 2.4"/>
<keyword type="" name="The &quot;config&quot; property" link="GimpColorSelection.html#GimpColorSelection--config"/>
<keyword type="" name="The &quot;color-changed&quot; signal" link="GimpColorSelection.html#GimpColorSelection-color-changed"/>
<keyword type="struct" name="GimpColorProfileStore" link="GimpColorProfileStore.html#GimpColorProfileStore-struct"/>
<keyword type="function" name="gimp_color_profile_store_new ()" link="GimpColorProfileStore.html#gimp-color-profile-store-new" since="GIMP 2.4"/>
<keyword type="function" name="gimp_color_profile_store_add ()" link="GimpColorProfileStore.html#gimp-color-profile-store-add" since="GIMP 2.4"/>
<keyword type="" name="The &quot;history&quot; property" link="GimpColorProfileStore.html#GimpColorProfileStore--history"/>
<keyword type="struct" name="GimpColorProfileComboBox" link="GimpColorProfileComboBox.html#GimpColorProfileComboBox-struct"/>
<keyword type="function" name="gimp_color_profile_combo_box_new ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new" since="GIMP 2.4"/>
<keyword type="function" name="gimp_color_profile_combo_box_new_with_model ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new-with-model" since="GIMP 2.4"/>
<keyword type="function" name="gimp_color_profile_combo_box_add ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-add" since="GIMP 2.4"/>
<keyword type="function" name="gimp_color_profile_combo_box_set_active ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-set-active" since="GIMP 2.4"/>
<keyword type="function" name="gimp_color_profile_combo_box_get_active ()" link="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-get-active" since="GIMP 2.4"/>
<keyword type="" name="The &quot;dialog&quot; property" link="GimpColorProfileComboBox.html#GimpColorProfileComboBox--dialog"/>
<keyword type="" name="The &quot;model&quot; property" link="GimpColorProfileComboBox.html#GimpColorProfileComboBox--model"/>
<keyword type="struct" name="GimpDialog" link="GimpDialog.html#GimpDialog-struct"/>
<keyword type="function" name="gimp_dialog_new ()" link="GimpDialog.html#gimp-dialog-new"/>
<keyword type="function" name="gimp_dialog_new_valist ()" link="GimpDialog.html#gimp-dialog-new-valist"/>
@ -192,6 +207,32 @@
<keyword type="function" name="gimp_memsize_entry_set_value ()" link="GimpMemsizeEntry.html#gimp-memsize-entry-set-value"/>
<keyword type="function" name="gimp_memsize_entry_get_value ()" link="GimpMemsizeEntry.html#gimp-memsize-entry-get-value"/>
<keyword type="" name="The &quot;value-changed&quot; signal" link="GimpMemsizeEntry.html#GimpMemsizeEntry-value-changed"/>
<keyword type="struct" name="GimpNumberPairEntry" link="GimpNumberPairEntry.html#GimpNumberPairEntry-struct"/>
<keyword type="enum" name="enum GimpAspectType" link="GimpNumberPairEntry.html#GimpAspectType"/>
<keyword type="function" name="gimp_number_pair_entry_new ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-new" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_set_default_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-values" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_get_default_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-values" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_set_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-values" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_get_values ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-values" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_get_aspect ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-aspect" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_set_aspect ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-aspect" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_get_ratio ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_set_ratio ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-ratio" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_get_user_override ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override" since="GIMP 2.4"/>
<keyword type="function" name="gimp_number_pair_entry_set_user_override ()" link="GimpNumberPairEntry.html#gimp-number-pair-entry-set-user-override" since="GIMP 2.4"/>
<keyword type="" name="The &quot;allow-simplification&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification"/>
<keyword type="" name="The &quot;aspect&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--aspect"/>
<keyword type="" name="The &quot;default-left-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number"/>
<keyword type="" name="The &quot;default-right-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number"/>
<keyword type="" name="The &quot;left-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--left-number"/>
<keyword type="" name="The &quot;max-valid-value&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value"/>
<keyword type="" name="The &quot;min-valid-value&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value"/>
<keyword type="" name="The &quot;ratio&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--ratio"/>
<keyword type="" name="The &quot;right-number&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--right-number"/>
<keyword type="" name="The &quot;separators&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--separators"/>
<keyword type="" name="The &quot;user-override&quot; property" link="GimpNumberPairEntry.html#GimpNumberPairEntry--user-override"/>
<keyword type="" name="The &quot;numbers-changed&quot; signal" link="GimpNumberPairEntry.html#GimpNumberPairEntry-numbers-changed"/>
<keyword type="" name="The &quot;ratio-changed&quot; signal" link="GimpNumberPairEntry.html#GimpNumberPairEntry-ratio-changed"/>
<keyword type="struct" name="GimpOffsetArea" link="GimpOffsetArea.html#GimpOffsetArea-struct"/>
<keyword type="function" name="gimp_offset_area_new ()" link="GimpOffsetArea.html#gimp-offset-area-new"/>
<keyword type="function" name="gimp_offset_area_set_size ()" link="GimpOffsetArea.html#gimp-offset-area-set-size"/>
@ -266,20 +307,6 @@
<keyword type="" name="The &quot;update&quot; property" link="GimpPreview.html#GimpPreview--update"/>
<keyword type="" name="The &quot;size&quot; style property" link="GimpPreview.html#GimpPreview--size"/>
<keyword type="" name="The &quot;invalidated&quot; signal" link="GimpPreview.html#GimpPreview-invalidated"/>
<keyword type="struct" name="GimpRatioEntry" link="GimpRatioEntry.html#GimpRatioEntry-struct"/>
<keyword type="enum" name="enum GimpAspectType" link="GimpRatioEntry.html#GimpAspectType"/>
<keyword type="function" name="gimp_ratio_entry_new ()" link="GimpRatioEntry.html#gimp-ratio-entry-new" since="GIMP 2.4"/>
<keyword type="function" name="gimp_ratio_entry_set_fraction ()" link="GimpRatioEntry.html#gimp-ratio-entry-set-fraction" since="GIMP 2.4"/>
<keyword type="function" name="gimp_ratio_entry_get_fraction ()" link="GimpRatioEntry.html#gimp-ratio-entry-get-fraction" since="GIMP 2.4"/>
<keyword type="function" name="gimp_ratio_entry_set_ratio ()" link="GimpRatioEntry.html#gimp-ratio-entry-set-ratio" since="GIMP 2.4"/>
<keyword type="function" name="gimp_ratio_entry_get_ratio ()" link="GimpRatioEntry.html#gimp-ratio-entry-get-ratio" since="GIMP 2.4"/>
<keyword type="function" name="gimp_ratio_entry_set_aspect ()" link="GimpRatioEntry.html#gimp-ratio-entry-set-aspect" since="GIMP 2.4"/>
<keyword type="function" name="gimp_ratio_entry_get_aspect ()" link="GimpRatioEntry.html#gimp-ratio-entry-get-aspect" since="GIMP 2.4"/>
<keyword type="" name="The &quot;aspect&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--aspect"/>
<keyword type="" name="The &quot;denominator&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--denominator"/>
<keyword type="" name="The &quot;numerator&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--numerator"/>
<keyword type="" name="The &quot;ratio&quot; property" link="GimpRatioEntry.html#GimpRatioEntry--ratio"/>
<keyword type="" name="The &quot;ratio-changed&quot; signal" link="GimpRatioEntry.html#GimpRatioEntry-ratio-changed"/>
<keyword type="struct" name="GimpScrolledPreview" link="GimpScrolledPreview.html#GimpScrolledPreview-struct"/>
<keyword type="function" name="gimp_scrolled_preview_set_position ()" link="GimpScrolledPreview.html#gimp-scrolled-preview-set-position" since="GIMP 2.4"/>
<keyword type="function" name="gimp_scrolled_preview_set_policy ()" link="GimpScrolledPreview.html#gimp-scrolled-preview-set-policy" since="GIMP 2.4"/>
@ -324,6 +351,21 @@
<keyword type="function" name="gimp_unit_menu_get_pixel_digits ()" link="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits"/>
<keyword type="function" name="gimp_unit_menu_set_pixel_digits ()" link="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits"/>
<keyword type="" name="The &quot;unit-changed&quot; signal" link="GimpUnitMenu.html#GimpUnitMenu-unit-changed"/>
<keyword type="struct" name="GimpZoomModel" link="GimpZoomModel.html#GimpZoomModel-struct"/>
<keyword type="enum" name="enum GimpZoomType" link="GimpZoomModel.html#GimpZoomType"/>
<keyword type="function" name="gimp_zoom_model_new ()" link="GimpZoomModel.html#gimp-zoom-model-new"/>
<keyword type="function" name="gimp_zoom_model_set_range ()" link="GimpZoomModel.html#gimp-zoom-model-set-range"/>
<keyword type="function" name="gimp_zoom_model_zoom ()" link="GimpZoomModel.html#gimp-zoom-model-zoom"/>
<keyword type="function" name="gimp_zoom_model_get_factor ()" link="GimpZoomModel.html#gimp-zoom-model-get-factor"/>
<keyword type="function" name="gimp_zoom_model_get_fraction ()" link="GimpZoomModel.html#gimp-zoom-model-get-fraction"/>
<keyword type="function" name="gimp_zoom_button_new ()" link="GimpZoomModel.html#gimp-zoom-button-new"/>
<keyword type="function" name="gimp_zoom_model_zoom_step ()" link="GimpZoomModel.html#gimp-zoom-model-zoom-step"/>
<keyword type="" name="The &quot;fraction&quot; property" link="GimpZoomModel.html#GimpZoomModel--fraction"/>
<keyword type="" name="The &quot;maximum&quot; property" link="GimpZoomModel.html#GimpZoomModel--maximum"/>
<keyword type="" name="The &quot;minimum&quot; property" link="GimpZoomModel.html#GimpZoomModel--minimum"/>
<keyword type="" name="The &quot;percentage&quot; property" link="GimpZoomModel.html#GimpZoomModel--percentage"/>
<keyword type="" name="The &quot;value&quot; property" link="GimpZoomModel.html#GimpZoomModel--value"/>
<keyword type="" name="The &quot;zoomed&quot; signal" link="GimpZoomModel.html#GimpZoomModel-zoomed"/>
<keyword type="struct" name="GimpCellRendererColor" link="GimpCellRendererColor.html#GimpCellRendererColor-struct"/>
<keyword type="function" name="gimp_cell_renderer_color_new ()" link="GimpCellRendererColor.html#gimp-cell-renderer-color-new" since="GIMP 2.2"/>
<keyword type="" name="The &quot;color&quot; property" link="GimpCellRendererColor.html#GimpCellRendererColor--color"/>
@ -336,16 +378,20 @@
<keyword type="" name="The &quot;stock-size&quot; property" link="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-size"/>
<keyword type="" name="The &quot;clicked&quot; signal" link="GimpCellRendererToggle.html#GimpCellRendererToggle-clicked"/>
<keyword type="struct" name="GimpColorDisplay" link="GimpColorDisplay.html#GimpColorDisplay-struct"/>
<keyword type="function" name="gimp_color_display_new ()" link="GimpColorDisplay.html#gimp-color-display-new"/>
<keyword type="function" name="gimp_color_display_new ()" link="GimpColorDisplay.html#gimp-color-display-new" deprecated=""/>
<keyword type="function" name="gimp_color_display_clone ()" link="GimpColorDisplay.html#gimp-color-display-clone"/>
<keyword type="function" name="gimp_color_display_set_enabled ()" link="GimpColorDisplay.html#gimp-color-display-set-enabled"/>
<keyword type="function" name="gimp_color_display_get_enabled ()" link="GimpColorDisplay.html#gimp-color-display-get-enabled"/>
<keyword type="function" name="gimp_color_display_get_config ()" link="GimpColorDisplay.html#gimp-color-display-get-config" since="GIMP 2.4"/>
<keyword type="function" name="gimp_color_display_get_managed ()" link="GimpColorDisplay.html#gimp-color-display-get-managed" since="GIMP 2.4"/>
<keyword type="function" name="gimp_color_display_convert ()" link="GimpColorDisplay.html#gimp-color-display-convert"/>
<keyword type="function" name="gimp_color_display_load_state ()" link="GimpColorDisplay.html#gimp-color-display-load-state"/>
<keyword type="function" name="gimp_color_display_save_state ()" link="GimpColorDisplay.html#gimp-color-display-save-state"/>
<keyword type="function" name="gimp_color_display_configure ()" link="GimpColorDisplay.html#gimp-color-display-configure"/>
<keyword type="function" name="gimp_color_display_configure_reset ()" link="GimpColorDisplay.html#gimp-color-display-configure-reset"/>
<keyword type="function" name="gimp_color_display_changed ()" link="GimpColorDisplay.html#gimp-color-display-changed"/>
<keyword type="" name="The &quot;color-config&quot; property" link="GimpColorDisplay.html#GimpColorDisplay--color-config"/>
<keyword type="" name="The &quot;color-managed&quot; property" link="GimpColorDisplay.html#GimpColorDisplay--color-managed"/>
<keyword type="" name="The &quot;enabled&quot; property" link="GimpColorDisplay.html#GimpColorDisplay--enabled"/>
<keyword type="" name="The &quot;changed&quot; signal" link="GimpColorDisplay.html#GimpColorDisplay-changed"/>
<keyword type="struct" name="GimpColorDisplayStack" link="GimpColorDisplayStack.html#GimpColorDisplayStack-struct"/>