Imported Upstream version 2.6.3

This commit is contained in:
Ari Pollak
2010-08-11 01:26:23 -04:00
parent 96563501af
commit 15545dd8aa
254 changed files with 53505 additions and 39120 deletions

View File

@ -57,27 +57,51 @@
<a name="GimpBrowser.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpBrowser.html#GimpBrowser-struct" title="GimpBrowser">GimpBrowser</a>;
GtkWidget* <a class="link" href="GimpBrowser.html#gimp-browser-new" title="gimp_browser_new ()">gimp_browser_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpBrowser.html#gimp-browser-new" title="gimp_browser_new ()">gimp_browser_new</a> (void);
void <a class="link" href="GimpBrowser.html#gimp-browser-add-search-types" title="gimp_browser_add_search_types ()">gimp_browser_add_search_types</a> (<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *first_type_label,
gint first_type_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_type_label,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_type_id,
...);
void <a class="link" href="GimpBrowser.html#gimp-browser-set-widget" title="gimp_browser_set_widget ()">gimp_browser_set_widget</a> (<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
GtkWidget *widget);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget);
void <a class="link" href="GimpBrowser.html#gimp-browser-show-message" title="gimp_browser_show_message ()">gimp_browser_show_message</a> (<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *message);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpBrowser.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkPaned
+----GtkHPaned
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkPaned.html"
>GtkPaned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkHPaned.html"
>GtkHPaned</a>
+----GimpBrowser
</pre>
</div>
@ -85,7 +109,9 @@ void <a class="link" href="GimpBrowser.html#gimp-browser-show-mes
<a name="GimpBrowser.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpBrowser implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpBrowser.signals"></a><h2>Signals</h2>
@ -111,7 +137,9 @@ GimpBrowser implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-browser-new"></a><h3>gimp_browser_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_browser_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_browser_new (void);</pre>
<p>
Create a new <a class="link" href="GimpBrowser.html" title="GimpBrowser"><span class="type">GimpBrowser</span></a> widget.</p>
<p>
@ -133,11 +161,17 @@ Create a new <a class="link" href="GimpBrowser.html" title="GimpBrowser"><span c
<div class="refsect2" lang="en">
<a name="gimp-browser-add-search-types"></a><h3>gimp_browser_add_search_types ()</h3>
<pre class="programlisting">void gimp_browser_add_search_types (<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *first_type_label,
gint first_type_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_type_label,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
><span class="type">GtkComboBox</span></a> with search types.</p>
<p>
</p>
@ -161,7 +195,9 @@ Populates the <span class="type">GtkComboBox</span> with search types.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> a <code class="literal">NULL</code>-terminated list of more labels and ids.
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated list of more labels and ids.
</td>
</tr>
</tbody>
@ -173,7 +209,9 @@ Populates the <span class="type">GtkComboBox</span> with search types.</p>
<div class="refsect2" lang="en">
<a name="gimp-browser-set-widget"></a><h3>gimp_browser_set_widget ()</h3>
<pre class="programlisting">void gimp_browser_set_widget (<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
GtkWidget *widget);</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -189,7 +227,9 @@ Sets the widget to appear on the right side of the <em class="parameter"><code>b
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td> a <span class="type">GtkWidget</span>
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a>
</td>
</tr>
</tbody>
@ -201,11 +241,17 @@ Sets the widget to appear on the right side of the <em class="parameter"><code>b
<div class="refsect2" lang="en">
<a name="gimp-browser-show-message"></a><h3>gimp_browser_show_message ()</h3>
<pre class="programlisting">void gimp_browser_show_message (<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *browser,
const gchar *message);</pre>
const <a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpBrowser.html#gimp-browser-set-widget" title="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="/usr/share/gtk-doc/html/gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a>, the widget previously added with
<a class="link" href="GimpBrowser.html#gimp-browser-set-widget" title="gimp_browser_set_widget ()"><code class="function">gimp_browser_set_widget()</code></a> is removed and replaced by a <a
href="/usr/share/gtk-doc/html/gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a>.</p>
<p>
</p>
@ -233,9 +279,15 @@ side already contains a <span class="type">GtkLabel</span>, the widget previousl
<div class="refsect2" lang="en">
<a name="GimpBrowser-search"></a><h3>The <code class="literal">"search"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a> *gimpbrowser,
gchar *arg1,
gint arg2,
gpointer user_data) : Run Last</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>

View File

@ -49,7 +49,9 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpButton.top_of_page"></a>GimpButton</span></h2>
<p>GimpButton — A <span class="type">GtkButton</span> with a little extra functionality.</p>
<p>GimpButton — A <a
href="/usr/share/gtk-doc/html/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>
@ -57,21 +59,39 @@
<a name="GimpButton.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpButton.html#GimpButton-struct" title="GimpButton">GimpButton</a>;
GtkWidget* <a class="link" href="GimpButton.html#gimp-button-new" title="gimp_button_new ()">gimp_button_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpButton.html#gimp-button-new" title="gimp_button_new ()">gimp_button_new</a> (void);
void <a class="link" href="GimpButton.html#gimp-button-extended-clicked" title="gimp_button_extended_clicked ()">gimp_button_extended_clicked</a> (<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
GdkModifierType state);
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkButton.html"
>GtkButton</a>
+----GimpButton
+----<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a>
</pre>
@ -80,7 +100,9 @@ void <a class="link" href="GimpButton.html#gimp-button-extended-c
<a name="GimpButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpButton implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpButton.signals"></a><h2>Signals</h2>
@ -91,7 +113,9 @@ GimpButton implements
<div class="refsect1" lang="en">
<a name="GimpButton.description"></a><h2>Description</h2>
<p>
<a class="link" 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 class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> adds an extra signal to the <a
href="/usr/share/gtk-doc/html/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>
@ -108,7 +132,9 @@ modifier keys pressed.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-button-new"></a><h3>gimp_button_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_button_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_button_new (void);</pre>
<p>
Creates a new <a class="link" href="GimpButton.html" title="GimpButton"><span class="type">GimpButton</span></a> widget.</p>
<p>
@ -127,7 +153,9 @@ Creates a new <a class="link" href="GimpButton.html" title="GimpButton"><span cl
<div class="refsect2" lang="en">
<a name="gimp-button-extended-clicked"></a><h3>gimp_button_extended_clicked ()</h3>
<pre class="programlisting">void gimp_button_extended_clicked (<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a> *button,
GdkModifierType state);</pre>
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);</pre>
<p>
Emits the button's "extended_clicked" signal.</p>
<p>
@ -155,8 +183,12 @@ Emits the button's "extended_clicked" signal.</p>
<div class="refsect2" lang="en">
<a name="GimpButton-extended-clicked"></a><h3>The <code class="literal">"extended-clicked"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a> *gimpbutton,
GdkModifierType arg1,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -55,16 +55,26 @@
<a name="GimpCellRendererColor.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor-struct" title="GimpCellRendererColor">GimpCellRendererColor</a>;
GtkCellRenderer* <a class="link" href="GimpCellRendererColor.html#gimp-cell-renderer-color-new" title="gimp_cell_renderer_color_new ()">gimp_cell_renderer_color_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* <a class="link" href="GimpCellRendererColor.html#gimp-cell-renderer-color-new" title="gimp_cell_renderer_color_new ()">gimp_cell_renderer_color_new</a> (void);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpCellRendererColor.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkCellRenderer
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>
+----GimpCellRendererColor
</pre>
</div>
@ -74,8 +84,12 @@ GtkCellRenderer* <a class="link" href="GimpCellRendererColor.html#gimp-cell-r
"<a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--color" title='The "color" property'>color</a>" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a>* : Read / Write
"<a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--icon-size" title='The "icon-size" property'>icon-size</a>" gint : Read / Write / Construct
"<a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--opaque" title='The "opaque" property'>opaque</a>" gboolean : Read / Write / Construct
"<a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--icon-size" title='The "icon-size" property'>icon-size</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct
"<a class="link" href="GimpCellRendererColor.html#GimpCellRendererColor--opaque" title='The "opaque" property'>opaque</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
@ -96,9 +110,13 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-cell-renderer-color-new"></a><h3>gimp_cell_renderer_color_new ()</h3>
<pre class="programlisting">GtkCellRenderer* gimp_cell_renderer_color_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
><span class="type">GtkCellRenderer</span></a> that displays a color.</p>
<p>
</p>
@ -127,7 +145,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<hr>
<div class="refsect2" lang="en">
<a name="GimpCellRendererColor--icon-size"></a><h3>The <code class="literal">"icon-size"</code> property</h3>
<pre class="programlisting"> "icon-size" gint : Read / Write / Construct</pre>
<pre class="programlisting"> "icon-size" <a
href="/usr/share/gtk-doc/html/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>
@ -135,7 +155,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<hr>
<div class="refsect2" lang="en">
<a name="GimpCellRendererColor--opaque"></a><h3>The <code class="literal">"opaque"</code> property</h3>
<pre class="programlisting"> "opaque" gboolean : Read / Write / Construct</pre>
<pre class="programlisting"> "opaque" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: TRUE</p>
</div>

View File

@ -57,28 +57,50 @@
<a name="GimpCellRendererToggle.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpCellRendererToggle.html#GimpCellRendererToggle-struct" title="GimpCellRendererToggle">GimpCellRendererToggle</a>;
GtkCellRenderer* <a class="link" href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-new" title="gimp_cell_renderer_toggle_new ()">gimp_cell_renderer_toggle_new</a> (const gchar *stock_id);
<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* <a class="link" href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-new" title="gimp_cell_renderer_toggle_new ()">gimp_cell_renderer_toggle_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id);
void <a class="link" href="GimpCellRendererToggle.html#gimp-cell-renderer-toggle-clicked" title="gimp_cell_renderer_toggle_clicked ()">gimp_cell_renderer_toggle_clicked</a> (<a class="link" href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const gchar *path,
GdkModifierType state);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpCellRendererToggle.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkCellRenderer
+----GtkCellRendererToggle
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRendererToggle.html"
>GtkCellRendererToggle</a>
+----GimpCellRendererToggle
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpCellRendererToggle.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-id" title='The "stock-id" property'>stock-id</a>" gchar* : Read / Write / Construct
"<a class="link" href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-size" title='The "stock-size" property'>stock-size</a>" gint : Read / Write / Construct
"<a class="link" href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-id" title='The "stock-id" property'>stock-id</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct
"<a class="link" href="GimpCellRendererToggle.html#GimpCellRendererToggle--stock-size" title='The "stock-size" property'>stock-size</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
@ -105,9 +127,15 @@ void <a class="link" href="GimpCellRendererToggle.html#gimp-cell-
<hr>
<div class="refsect2" lang="en">
<a name="gimp-cell-renderer-toggle-new"></a><h3>gimp_cell_renderer_toggle_new ()</h3>
<pre class="programlisting">GtkCellRenderer* gimp_cell_renderer_toggle_new (const gchar *stock_id);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>* gimp_cell_renderer_toggle_new (const <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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
@ -138,8 +166,12 @@ layer's visibility by showing <a class="link" href="libgimpwidgets-GimpStock.htm
<div class="refsect2" lang="en">
<a name="gimp-cell-renderer-toggle-clicked"></a><h3>gimp_cell_renderer_toggle_clicked ()</h3>
<pre class="programlisting">void gimp_cell_renderer_toggle_clicked (<a class="link" href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *cell,
const gchar *path,
GdkModifierType state);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path,
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> state);</pre>
<p>
Emits the "clicked" signal from a <a class="link" href="GimpCellRendererToggle.html" title="GimpCellRendererToggle"><span class="type">GimpCellRendererToggle</span></a>.</p>
<p>
@ -173,14 +205,18 @@ Emits the "clicked" signal from a <a class="link" href="GimpCellRendererToggle.h
<a name="GimpCellRendererToggle.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpCellRendererToggle--stock-id"></a><h3>The <code class="literal">"stock-id"</code> property</h3>
<pre class="programlisting"> "stock-id" gchar* : Read / Write / Construct</pre>
<pre class="programlisting"> "stock-id" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct</pre>
<p></p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpCellRendererToggle--stock-size"></a><h3>The <code class="literal">"stock-size"</code> property</h3>
<pre class="programlisting"> "stock-size" gint : Read / Write / Construct</pre>
<pre class="programlisting"> "stock-size" <a
href="/usr/share/gtk-doc/html/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>
@ -191,9 +227,15 @@ Emits the "clicked" signal from a <a class="link" href="GimpCellRendererToggle.h
<div class="refsect2" lang="en">
<a name="GimpCellRendererToggle-clicked"></a><h3>The <code class="literal">"clicked"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a> *gimpcellrenderertoggle,
gchar *arg1,
GdkModifierType arg2,
gpointer user_data) : Run Last</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *arg1,
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>

View File

@ -60,21 +60,39 @@
<pre class="synopsis">
<a class="link" href="GimpChainButton.html#GimpChainButton-struct" title="GimpChainButton">GimpChainButton</a>;
enum <a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a>;
GtkWidget* <a class="link" href="GimpChainButton.html#gimp-chain-button-new" title="gimp_chain_button_new ()">gimp_chain_button_new</a> (<a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> position);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpChainButton.html#gimp-chain-button-new" title="gimp_chain_button_new ()">gimp_chain_button_new</a> (<a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> position);
void <a class="link" href="GimpChainButton.html#gimp-chain-button-set-active" title="gimp_chain_button_set_active ()">gimp_chain_button_set_active</a> (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
gboolean active);
gboolean <a class="link" href="GimpChainButton.html#gimp-chain-button-get-active" title="gimp_chain_button_get_active ()">gimp_chain_button_get_active</a> (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> active);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpChainButton.html#gimp-chain-button-get-active" title="gimp_chain_button_get_active ()">gimp_chain_button_get_active</a> (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpChainButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkTable
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkTable.html"
>GtkTable</a>
+----GimpChainButton
</pre>
</div>
@ -82,7 +100,9 @@ gboolean <a class="link" href="GimpChainButton.html#gimp-chain-button
<a name="GimpChainButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpChainButton implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpChainButton.properties"></a><h2>Properties</h2>
@ -140,7 +160,9 @@ necessary.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-chain-button-new"></a><h3>gimp_chain_button_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_chain_button_new (<a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> position);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_chain_button_new (<a class="link" href="GimpChainButton.html#GimpChainPosition" title="enum GimpChainPosition">GimpChainPosition</a> position);</pre>
<p>
Creates a new <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> widget.
</p>
@ -177,10 +199,16 @@ for more than two widgets, but the look is optimized for two.</p>
<div class="refsect2" lang="en">
<a name="gimp-chain-button-set-active"></a><h3>gimp_chain_button_set_active ()</h3>
<pre class="programlisting">void gimp_chain_button_set_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button,
gboolean active);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> active);</pre>
<p>
Sets the state of the <a class="link" 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 class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> to be either locked (<a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>) or
unlocked (<a
href="/usr/share/gtk-doc/html/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>
@ -203,7 +231,9 @@ unlocked (<code class="literal">FALSE</code>) and changes the showed pixmap to r
<hr>
<div class="refsect2" lang="en">
<a name="gimp-chain-button-get-active"></a><h3>gimp_chain_button_get_active ()</h3>
<pre class="programlisting">gboolean gimp_chain_button_get_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_chain_button_get_active (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *button);</pre>
<p>
Checks the state of the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
<p>
@ -219,7 +249,9 @@ Checks the state of the <a class="link" href="GimpChainButton.html" title="GimpC
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> is active (locked).
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a> is active (locked).
</td>
</tr>
</tbody>
@ -246,7 +278,9 @@ The position in which the chain button will be used.</p>
<div class="refsect2" lang="en">
<a name="GimpChainButton-toggled"></a><h3>The <code class="literal">"toggled"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a> *gimpchainbutton,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -60,11 +60,15 @@
<pre class="synopsis">
<a class="link" href="GimpColorArea.html#GimpColorArea-struct" title="GimpColorArea">GimpColorArea</a>;
enum <a class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType">GimpColorAreaType</a>;
GtkWidget* <a class="link" href="GimpColorArea.html#gimp-color-area-new" title="gimp_color_area_new ()">gimp_color_area_new</a> (const <a
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorArea.html#gimp-color-area-new" title="gimp_color_area_new ()">gimp_color_area_new</a> (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
<a class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType">GimpColorAreaType</a> type,
GdkModifierType drag_mask);
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> drag_mask);
void <a class="link" href="GimpColorArea.html#gimp-color-area-set-color" title="gimp_color_area_set_color ()">gimp_color_area_set_color</a> (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -73,21 +77,35 @@ void <a class="link" href="GimpColorArea.html#gimp-color-area-get
<a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
gboolean <a class="link" href="GimpColorArea.html#gimp-color-area-has-alpha" title="gimp_color_area_has_alpha ()">gimp_color_area_has_alpha</a> (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpColorArea.html#gimp-color-area-has-alpha" title="gimp_color_area_has_alpha ()">gimp_color_area_has_alpha</a> (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);
void <a class="link" href="GimpColorArea.html#gimp-color-area-set-type" title="gimp_color_area_set_type ()">gimp_color_area_set_type</a> (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
<a class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType">GimpColorAreaType</a> type);
void <a class="link" href="GimpColorArea.html#gimp-color-area-set-draw-border" title="gimp_color_area_set_draw_border ()">gimp_color_area_set_draw_border</a> (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
gboolean draw_border);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> draw_border);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorArea.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpColorArea
</pre>
</div>
@ -95,7 +113,9 @@ void <a class="link" href="GimpColorArea.html#gimp-color-area-set
<a name="GimpColorArea.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorArea implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorArea.properties"></a><h2>Properties</h2>
@ -103,8 +123,12 @@ GimpColorArea implements
"<a class="link" href="GimpColorArea.html#GimpColorArea--color" title='The "color" property'>color</a>" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a>* : Read / Write / Construct
"<a class="link" href="GimpColorArea.html#GimpColorArea--drag-mask" title='The "drag-mask" property'>drag-mask</a>" GdkModifierType : Write / Construct Only
"<a class="link" href="GimpColorArea.html#GimpColorArea--draw-border" title='The "draw-border" property'>draw-border</a>" gboolean : Read / Write
"<a class="link" href="GimpColorArea.html#GimpColorArea--drag-mask" title='The "drag-mask" property'>drag-mask</a>" <a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> : Write / Construct Only
"<a class="link" href="GimpColorArea.html#GimpColorArea--draw-border" title='The "draw-border" property'>draw-border</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a class="link" href="GimpColorArea.html#GimpColorArea--type" title='The "type" property'>type</a>" <a class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct
</pre>
</div>
@ -146,11 +170,15 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-area-new"></a><h3>gimp_color_area_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_area_new (const <a
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_area_new (const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
<a class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType">GimpColorAreaType</a> type,
GdkModifierType drag_mask);</pre>
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> drag_mask);</pre>
<p>
Creates a new <a class="link" href="GimpColorArea.html" title="GimpColorArea"><span class="type">GimpColorArea</span></a> widget.
</p>
@ -251,7 +279,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-area-has-alpha"></a><h3>gimp_color_area_has_alpha ()</h3>
<pre class="programlisting">gboolean gimp_color_area_has_alpha (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_area_has_alpha (<a class="link" 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 class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType"><span class="type">GimpColorAreaType</span></a>.</p>
@ -268,7 +298,11 @@ via the <em class="parameter"><code>area</code></em>'s <a class="link" href="Gim
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
</tbody>
@ -306,7 +340,9 @@ the checkerboard used to do that.</p>
<div class="refsect2" lang="en">
<a name="gimp-color-area-set-draw-border"></a><h3>gimp_color_area_set_draw_border ()</h3>
<pre class="programlisting">void gimp_color_area_set_draw_border (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *area,
gboolean draw_border);</pre>
<a
href="/usr/share/gtk-doc/html/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
@ -349,13 +385,17 @@ The color displayed in the color area.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpColorArea--drag-mask"></a><h3>The <code class="literal">"drag-mask"</code> property</h3>
<pre class="programlisting"> "drag-mask" GdkModifierType : Write / Construct Only</pre>
<pre class="programlisting"> "drag-mask" <a
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkModifierType"
>GdkModifierType</a> : Write / Construct Only</pre>
<p></p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpColorArea--draw-border"></a><h3>The <code class="literal">"draw-border"</code> property</h3>
<pre class="programlisting"> "draw-border" gboolean : Read / Write</pre>
<pre class="programlisting"> "draw-border" <a
href="/usr/share/gtk-doc/html/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>
@ -384,7 +424,9 @@ The type of the color area.</p>
<div class="refsect2" lang="en">
<a name="GimpColorArea-color-changed"></a><h3>The <code class="literal">"color-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a> *gimpcolorarea,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -59,9 +59,17 @@
<a name="GimpColorButton.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorButton.html#GimpColorButton-struct" title="GimpColorButton">GimpColorButton</a>;
GtkWidget* <a class="link" href="GimpColorButton.html#gimp-color-button-new" title="gimp_color_button_new ()">gimp_color_button_new</a> (const gchar *title,
gint width,
gint height,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorButton.html#gimp-color-button-new" title="gimp_color_button_new ()">gimp_color_button_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -75,9 +83,15 @@ void <a class="link" href="GimpColorButton.html#gimp-color-button
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
void <a class="link" href="GimpColorButton.html#gimp-color-button-set-update" title="gimp_color_button_set_update ()">gimp_color_button_set_update</a> (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
gboolean continuous);
gboolean <a class="link" href="GimpColorButton.html#gimp-color-button-get-update" title="gimp_color_button_get_update ()">gimp_color_button_get_update</a> (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
gboolean <a class="link" href="GimpColorButton.html#gimp-color-button-has-alpha" title="gimp_color_button_has_alpha ()">gimp_color_button_has_alpha</a> (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> continuous);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpColorButton.html#gimp-color-button-get-update" title="gimp_color_button_get_update ()">gimp_color_button_get_update</a> (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpColorButton.html#gimp-color-button-has-alpha" title="gimp_color_button_has_alpha ()">gimp_color_button_has_alpha</a> (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);
void <a class="link" href="GimpColorButton.html#gimp-color-button-set-type" title="gimp_color_button_set_type ()">gimp_color_button_set_type</a> (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
<a class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType">GimpColorAreaType</a> type);
</pre>
@ -85,13 +99,27 @@ void <a class="link" href="GimpColorButton.html#gimp-color-button
<div class="refsect1" lang="en">
<a name="GimpColorButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkButton.html"
>GtkButton</a>
+----<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a>
+----GimpColorButton
</pre>
@ -100,7 +128,9 @@ void <a class="link" href="GimpColorButton.html#gimp-color-button
<a name="GimpColorButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorButton implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorButton.properties"></a><h2>Properties</h2>
@ -108,8 +138,12 @@ GimpColorButton implements
"<a class="link" href="GimpColorButton.html#GimpColorButton--color" title='The "color" property'>color</a>" <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a>* : Read / Write / Construct
"<a class="link" href="GimpColorButton.html#GimpColorButton--continuous-update" title='The "continuous-update" property'>continuous-update</a>" gboolean : Read / Write / Construct
"<a class="link" href="GimpColorButton.html#GimpColorButton--title" title='The "title" property'>title</a>" gchar* : Read / Write / Construct Only
"<a class="link" href="GimpColorButton.html#GimpColorButton--continuous-update" title='The "continuous-update" property'>continuous-update</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
"<a class="link" href="GimpColorButton.html#GimpColorButton--title" title='The "title" property'>title</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct Only
"<a class="link" href="GimpColorButton.html#GimpColorButton--type" title='The "type" property'>type</a>" <a class="link" href="GimpColorArea.html#GimpColorAreaType" title="enum GimpColorAreaType">GimpColorAreaType</a> : Read / Write / Construct
</pre>
</div>
@ -144,9 +178,17 @@ color, the "color_changed" signal is emitted.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-button-new"></a><h3>gimp_color_button_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_button_new (const gchar *title,
gint width,
gint height,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_button_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -265,9 +307,13 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<div class="refsect2" lang="en">
<a name="gimp-color-button-set-update"></a><h3>gimp_color_button_set_update ()</h3>
<pre class="programlisting">void gimp_color_button_set_update (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button,
gboolean continuous);</pre>
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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>
@ -292,7 +338,9 @@ dialog.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-button-get-update"></a><h3>gimp_color_button_get_update ()</h3>
<pre class="programlisting">gboolean gimp_color_button_get_update (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_button_get_update (<a class="link" 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>
@ -317,7 +365,9 @@ Returns the color button's <em class="parameter"><code>continuous_update</code><
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-button-has-alpha"></a><h3>gimp_color_button_has_alpha ()</h3>
<pre class="programlisting">gboolean gimp_color_button_has_alpha (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *button);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_button_has_alpha (<a class="link" 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>
@ -333,7 +383,11 @@ Checks whether the <em class="parameter"><code>buttons</code></em> shows transpa
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a>
otherwise.
</td>
</tr>
@ -385,7 +439,9 @@ The color displayed in the button's color area.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpColorButton--continuous-update"></a><h3>The <code class="literal">"continuous-update"</code> property</h3>
<pre class="programlisting"> "continuous-update" gboolean : Read / Write / Construct</pre>
<pre class="programlisting"> "continuous-update" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p>
The update policy of the color button.</p>
<p>
@ -398,7 +454,9 @@ The update policy of the color button.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpColorButton--title"></a><h3>The <code class="literal">"title"</code> property</h3>
<pre class="programlisting"> "title" gchar* : Read / Write / Construct Only</pre>
<pre class="programlisting"> "title" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct Only</pre>
<p>
The title to be used for the color selection dialog.</p>
<p>
@ -427,7 +485,9 @@ The type of the button's color area.</p>
<div class="refsect2" lang="en">
<a name="GimpColorButton-color-changed"></a><h3>The <code class="literal">"color-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a> *gimpcolorbutton,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -59,11 +59,17 @@
<a name="GimpColorDisplay.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorDisplay.html#GimpColorDisplay-struct" title="GimpColorDisplay">GimpColorDisplay</a>;
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* <a class="link" href="GimpColorDisplay.html#gimp-color-display-new" title="gimp_color_display_new ()">gimp_color_display_new</a> (GType display_type);
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* <a class="link" href="GimpColorDisplay.html#gimp-color-display-new" title="gimp_color_display_new ()">gimp_color_display_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> display_type);
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* <a class="link" href="GimpColorDisplay.html#gimp-color-display-clone" title="gimp_color_display_clone ()">gimp_color_display_clone</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a class="link" href="GimpColorDisplay.html#gimp-color-display-set-enabled" title="gimp_color_display_set_enabled ()">gimp_color_display_set_enabled</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
gboolean enabled);
gboolean <a class="link" href="GimpColorDisplay.html#gimp-color-display-get-enabled" title="gimp_color_display_get_enabled ()">gimp_color_display_get_enabled</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enabled);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpColorDisplay.html#gimp-color-display-get-enabled" title="gimp_color_display_get_enabled ()">gimp_color_display_get_enabled</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
<a
href="../libgimpconfig/GimpColorConfig.html"
>GimpColorConfig</a>* <a class="link" href="GimpColorDisplay.html#gimp-color-display-get-config" title="gimp_color_display_get_config ()">gimp_color_display_get_config</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
@ -71,11 +77,21 @@ href="../libgimpconfig/GimpColorConfig.html"
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManaged"
>GimpColorManaged</a>* <a class="link" href="GimpColorDisplay.html#gimp-color-display-get-managed" title="gimp_color_display_get_managed ()">gimp_color_display_get_managed</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a class="link" href="GimpColorDisplay.html#gimp-color-display-convert" title="gimp_color_display_convert ()">gimp_color_display_convert</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpl);
void <a class="link" href="GimpColorDisplay.html#gimp-color-display-load-state" title="gimp_color_display_load_state ()">gimp_color_display_load_state</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
<a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
@ -83,7 +99,9 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
<a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a>* <a class="link" href="GimpColorDisplay.html#gimp-color-display-save-state" title="gimp_color_display_save_state ()">gimp_color_display_save_state</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
GtkWidget* <a class="link" href="GimpColorDisplay.html#gimp-color-display-configure" title="gimp_color_display_configure ()">gimp_color_display_configure</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorDisplay.html#gimp-color-display-configure" title="gimp_color_display_configure ()">gimp_color_display_configure</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a class="link" href="GimpColorDisplay.html#gimp-color-display-configure-reset" title="gimp_color_display_configure_reset ()">gimp_color_display_configure_reset</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a class="link" href="GimpColorDisplay.html#gimp-color-display-changed" title="gimp_color_display_changed ()">gimp_color_display_changed</a> (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
</pre>
@ -91,7 +109,9 @@ void <a class="link" href="GimpColorDisplay.html#gimp-color-displ
<div class="refsect1" lang="en">
<a name="GimpColorDisplay.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpColorDisplay
</pre>
</div>
@ -112,7 +132,9 @@ href="../libgimpconfig/GimpColorConfig.html"
"<a class="link" href="GimpColorDisplay.html#GimpColorDisplay--color-managed" title='The "color-managed" property'>color-managed</a>" <a
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManagedInterface"
>GimpColorManagedInterface</a>* : Read / Write / Construct Only
"<a class="link" href="GimpColorDisplay.html#GimpColorDisplay--enabled" title='The "enabled" property'>enabled</a>" gboolean : Read / Write / Construct
"<a class="link" href="GimpColorDisplay.html#GimpColorDisplay--enabled" title='The "enabled" property'>enabled</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
@ -140,13 +162,17 @@ display color correction modules.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-display-new"></a><h3>gimp_color_display_new ()</h3>
<pre class="programlisting"><a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* gimp_color_display_new (GType display_type);</pre>
<pre class="programlisting"><a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>* gimp_color_display_new (<a
href="/usr/share/gtk-doc/html/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 <code class="function">g_object_new()</code> directly.</p>
This function is deprecated. Please use <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new"
><code class="function">g_object_new()</code></a> directly.</p>
<p>
</p>
@ -195,7 +221,9 @@ This function is deprecated. Please use <code class="function">g_object_new()</c
<div class="refsect2" lang="en">
<a name="gimp-color-display-set-enabled"></a><h3>gimp_color_display_set_enabled ()</h3>
<pre class="programlisting">void gimp_color_display_set_enabled (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
gboolean enabled);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> enabled);</pre>
<p>
</p>
@ -220,7 +248,9 @@ This function is deprecated. Please use <code class="function">g_object_new()</c
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-display-get-enabled"></a><h3>gimp_color_display_get_enabled ()</h3>
<pre class="programlisting">gboolean gimp_color_display_get_enabled (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_display_get_enabled (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
@ -265,7 +295,9 @@ href="../libgimpconfig/GimpColorConfig.html"
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a pointer to the <a
href="../libgimpconfig/GimpColorConfig.html"
><span class="type">GimpColorConfig</span></a> object or <code class="literal">NULL</code>.
><span class="type">GimpColorConfig</span></a> object or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
@ -297,7 +329,9 @@ href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManaged"
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a pointer to the <a
href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManaged"
><span class="type">GimpColorManaged</span></a> object or <code class="literal">NULL</code>.
><span class="type">GimpColorManaged</span></a> object or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
@ -310,11 +344,21 @@ href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManaged"
<div class="refsect2" lang="en">
<a name="gimp-color-display-convert"></a><h3>gimp_color_display_convert ()</h3>
<pre class="programlisting">void gimp_color_display_convert (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpl);</pre>
<p>
</p>
@ -414,7 +458,9 @@ href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-display-configure"></a><h3>gimp_color_display_configure ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_display_configure (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_display_configure (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);</pre>
<p>
</p>
@ -493,7 +539,9 @@ href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManagedInterfa
<hr>
<div class="refsect2" lang="en">
<a name="GimpColorDisplay--enabled"></a><h3>The <code class="literal">"enabled"</code> property</h3>
<pre class="programlisting"> "enabled" gboolean : Read / Write / Construct</pre>
<pre class="programlisting"> "enabled" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: TRUE</p>
</div>
@ -503,7 +551,9 @@ href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManagedInterfa
<div class="refsect2" lang="en">
<a name="GimpColorDisplay-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *gimpcolordisplay,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -530,7 +580,9 @@ href="../libgimpcolor/libgimpcolor-GimpColorManaged.html#GimpColorManagedInterfa
<span class="type">GModule</span>
</p>
<p>
<span class="type">GTypeModule</span>
<a
href="/usr/share/gtk-doc/html/gobject/GTypeModule.html"
><span class="type">GTypeModule</span></a>
</p>
<p>
<span class="type">libgimp-gimpmodule</span>

View File

@ -68,17 +68,29 @@ void <a class="link" href="GimpColorDisplayStack.html#gimp-color-
(<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *display);
void <a class="link" href="GimpColorDisplayStack.html#gimp-color-display-stack-convert" title="gimp_color_display_stack_convert ()">gimp_color_display_stack_convert</a> (<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpl);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorDisplayStack.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpColorDisplayStack
</pre>
</div>
@ -276,11 +288,21 @@ void <a class="link" href="GimpColorDisplayStack.html#gimp-color-
<div class="refsect2" lang="en">
<a name="gimp-color-display-stack-convert"></a><h3>gimp_color_display_stack_convert ()</h3>
<pre class="programlisting">void gimp_color_display_stack_convert (<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *stack,
guchar *buf,
gint width,
gint height,
gint bpp,
gint bpl);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpp,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> bpl);</pre>
<p>
</p>
@ -329,8 +351,12 @@ void <a class="link" href="GimpColorDisplayStack.html#gimp-color-
<a name="GimpColorDisplayStack-added"></a><h3>The <code class="literal">"added"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *arg1,
gint arg2,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -364,7 +390,9 @@ void <a class="link" href="GimpColorDisplayStack.html#gimp-color-
<div class="refsect2" lang="en">
<a name="GimpColorDisplayStack-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -389,7 +417,9 @@ void <a class="link" href="GimpColorDisplayStack.html#gimp-color-
<a name="GimpColorDisplayStack-removed"></a><h3>The <code class="literal">"removed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *arg1,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -419,8 +449,12 @@ void <a class="link" href="GimpColorDisplayStack.html#gimp-color-
<a name="GimpColorDisplayStack-reordered"></a><h3>The <code class="literal">"reordered"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a> *gimpcolordisplaystack,
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a> *arg1,
gint arg2,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -57,7 +57,9 @@
<a name="GimpColorHexEntry.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorHexEntry.html#GimpColorHexEntry-struct" title="GimpColorHexEntry">GimpColorHexEntry</a>;
GtkWidget* <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-new" title="gimp_color_hex_entry_new ()">gimp_color_hex_entry_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-new" title="gimp_color_hex_entry_new ()">gimp_color_hex_entry_new</a> (void);
void <a class="link" href="GimpColorHexEntry.html#gimp-color-hex-entry-set-color" title="gimp_color_hex_entry_set_color ()">gimp_color_hex_entry_set_color</a> (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *entry,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -71,11 +73,21 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<div class="refsect1" lang="en">
<a name="GimpColorHexEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkEntry
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkEntry.html"
>GtkEntry</a>
+----GimpColorHexEntry
</pre>
</div>
@ -83,7 +95,13 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<a name="GimpColorHexEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorHexEntry implements
AtkImplementorIface, GtkBuildable, GtkEditable and GtkCellEditable.</p>
AtkImplementorIface, <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkEditable.html"
>GtkEditable</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
>GtkCellEditable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorHexEntry.signals"></a><h2>Signals</h2>
@ -109,7 +127,9 @@ Widget for entering a color's hex triplet.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-hex-entry-new"></a><h3>gimp_color_hex_entry_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_hex_entry_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_hex_entry_new (void);</pre>
<p>
</p>
<p>
@ -199,7 +219,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<div class="refsect2" lang="en">
<a name="GimpColorHexEntry-color-changed"></a><h3>The <code class="literal">"color-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a> *gimpcolorhexentry,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -57,21 +57,41 @@
<a name="GimpColorNotebook.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorNotebook.html#GimpColorNotebook-struct" title="GimpColorNotebook">GimpColorNotebook</a>;
GtkWidget* <a class="link" href="GimpColorNotebook.html#gimp-color-notebook-set-has-page" title="gimp_color_notebook_set_has_page ()">gimp_color_notebook_set_has_page</a> (<a class="link" href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
GType page_type,
gboolean has_page);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorNotebook.html#gimp-color-notebook-set-has-page" title="gimp_color_notebook_set_has_page ()">gimp_color_notebook_set_has_page</a> (<a class="link" href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> page_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> has_page);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorNotebook.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
+----GimpColorNotebook
</pre>
@ -80,13 +100,19 @@ GtkWidget* <a class="link" href="GimpColorNotebook.html#gimp-color-note
<a name="GimpColorNotebook.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorNotebook implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorNotebook.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpColorNotebook.html#GimpColorNotebook--tab-border" title='The "tab-border" style property'>tab-border</a>" gint : Read
"<a class="link" href="GimpColorNotebook.html#GimpColorNotebook--tab-icon-size" title='The "tab-icon-size" style property'>tab-icon-size</a>" GtkIconSize : Read
"<a class="link" href="GimpColorNotebook.html#GimpColorNotebook--tab-border" title='The "tab-border" style property'>tab-border</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read
"<a class="link" href="GimpColorNotebook.html#GimpColorNotebook--tab-icon-size" title='The "tab-icon-size" style property'>tab-icon-size</a>" <a
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
@ -108,9 +134,15 @@ It serves as a container for <span class="type">GimpColorSelectors</span>.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-notebook-set-has-page"></a><h3>gimp_color_notebook_set_has_page ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_notebook_set_has_page (<a class="link" href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
GType page_type,
gboolean has_page);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_notebook_set_has_page (<a class="link" href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a> *notebook,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> page_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> has_page);</pre>
<p>
This function adds and removed pages to / from a <a class="link" 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 class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> subtype.</p>
@ -127,7 +159,9 @@ The <em class="parameter"><code>page_type</code></em> passed must be a <a class=
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page_type</code></em> :</span></p></td>
<td> The <span class="type">GType</span> of the notebook page to add or remove.
<td> The <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of the notebook page to add or remove.
</td>
</tr>
<tr>
@ -137,8 +171,14 @@ The <em class="parameter"><code>page_type</code></em> passed must be a <a class=
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a>, or <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><span class="type">FALSE</span></a>.
</td>
</tr>
</tbody>
@ -149,7 +189,9 @@ The <em class="parameter"><code>page_type</code></em> passed must be a <a class=
<a name="GimpColorNotebook.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpColorNotebook--tab-border"></a><h3>The <code class="literal">"tab-border"</code> style property</h3>
<pre class="programlisting"> "tab-border" gint : Read</pre>
<pre class="programlisting"> "tab-border" <a
href="/usr/share/gtk-doc/html/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>
@ -157,7 +199,9 @@ The <em class="parameter"><code>page_type</code></em> passed must be a <a class=
<hr>
<div class="refsect2" lang="en">
<a name="GimpColorNotebook--tab-icon-size"></a><h3>The <code class="literal">"tab-icon-size"</code> style property</h3>
<pre class="programlisting"> "tab-icon-size" GtkIconSize : Read</pre>
<pre class="programlisting"> "tab-icon-size" <a
href="/usr/share/gtk-doc/html/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

@ -57,32 +57,68 @@
<a name="GimpColorProfileComboBox.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorProfileComboBox.html#GimpColorProfileComboBox-struct" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a>;
GtkWidget* <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new" title="gimp_color_profile_combo_box_new ()">gimp_color_profile_combo_box_new</a> (GtkWidget *dialog,
const gchar *history);
GtkWidget* <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new-with-model" title="gimp_color_profile_combo_box_new_with_model ()">gimp_color_profile_combo_box_new_with_model</a>
(GtkWidget *dialog,
GtkTreeModel *model);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new" title="gimp_color_profile_combo_box_new ()">gimp_color_profile_combo_box_new</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *history);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-new-with-model" title="gimp_color_profile_combo_box_new_with_model ()">gimp_color_profile_combo_box_new_with_model</a>
(<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
<a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model);
void <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-add" title="gimp_color_profile_combo_box_add ()">gimp_color_profile_combo_box_add</a> (<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const gchar *filename,
const gchar *label);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
void <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-set-active" title="gimp_color_profile_combo_box_set_active ()">gimp_color_profile_combo_box_set_active</a>
(<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const gchar *filename,
const gchar *label);
gchar* <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-get-active" title="gimp_color_profile_combo_box_get_active ()">gimp_color_profile_combo_box_get_active</a>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-combo-box-get-active" title="gimp_color_profile_combo_box_get_active ()">gimp_color_profile_combo_box_get_active</a>
(<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorProfileComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
>GtkComboBox</a>
+----GimpColorProfileComboBox
</pre>
</div>
@ -90,12 +126,20 @@ gchar* <a class="link" href="GimpColorProfileComboBox.html#gimp-col
<a name="GimpColorProfileComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorProfileComboBox implements
AtkImplementorIface, GtkBuildable, GtkCellEditable and GtkCellLayout.</p>
AtkImplementorIface, <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorProfileComboBox.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpColorProfileComboBox.html#GimpColorProfileComboBox--dialog" title='The "dialog" property'>dialog</a>" GtkDialog* : Read / Write / Construct Only
"<a class="link" href="GimpColorProfileComboBox.html#GimpColorProfileComboBox--dialog" title='The "dialog" property'>dialog</a>" <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
>GtkDialog</a>* : Read / Write / Construct Only
"<a class="link" href="GimpColorProfileComboBox.html#GimpColorProfileComboBox--model" title='The "model" property'>model</a>" <a class="link" href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a>* : Read / Write
</pre>
</div>
@ -117,8 +161,14 @@ GimpColorProfileComboBox implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-profile-combo-box-new"></a><h3>gimp_color_profile_combo_box_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_profile_combo_box_new (GtkWidget *dialog,
const gchar *history);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_profile_combo_box_new (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
const <a
href="/usr/share/gtk-doc/html/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
@ -135,13 +185,17 @@ typically created using the following code snippet:
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog</code></em> :</span></p></td>
<td> a <span class="type">GtkDialog</span> to present when the user selects the
<td> a <a
href="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>history</code></em> :</span></p></td>
<td> filename of the profilerc (or <code class="literal">NULL</code> for no history)
<td> filename of the profilerc (or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for no history)
</td>
</tr>
<tr>
@ -158,9 +212,15 @@ typically created using the following code snippet:
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-profile-combo-box-new-with-model"></a><h3>gimp_color_profile_combo_box_new_with_model ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_profile_combo_box_new_with_model
(GtkWidget *dialog,
GtkTreeModel *model);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_profile_combo_box_new_with_model
(<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *dialog,
<a
href="/usr/share/gtk-doc/html/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
@ -177,7 +237,9 @@ See also <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog</code></em> :</span></p></td>
<td> a <span class="type">GtkDialog</span> to present when the user selects the
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> to present when the user selects the
"Select color profile from disk..." item
</td>
</tr>
@ -201,8 +263,12 @@ See also <a class="link" href="GimpColorProfileComboBox.html#gimp-color-profile-
<div class="refsect2" lang="en">
<a name="gimp-color-profile-combo-box-add"></a><h3>gimp_color_profile_combo_box_add ()</h3>
<pre class="programlisting">void gimp_color_profile_combo_box_add (<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const gchar *filename,
const gchar *label);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
This function delegates to the underlying
<a class="link" href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>. Please refer to the documentation of
@ -220,13 +286,19 @@ This function delegates to the underlying
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td> filename of the profile to add (or <code class="literal">NULL</code>)
<td> filename of the profile to add (or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td> label to use for the profile
(may only be <code class="literal">NULL</code> if <em class="parameter"><code>filename</code></em> is <code class="literal">NULL</code>)
(may only be <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>filename</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
</tbody>
@ -239,12 +311,18 @@ This function delegates to the underlying
<a name="gimp-color-profile-combo-box-set-active"></a><h3>gimp_color_profile_combo_box_set_active ()</h3>
<pre class="programlisting">void gimp_color_profile_combo_box_set_active
(<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo,
const gchar *filename,
const gchar *label);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="/usr/share/gtk-doc/html/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
with the given <em class="parameter"><code>label</code></em> (or <em class="parameter"><code>filename</code></em> in case that <em class="parameter"><code>label</code></em> is <code class="literal">NULL</code>).</p>
with the given <em class="parameter"><code>label</code></em> (or <em class="parameter"><code>filename</code></em> in case that <em class="parameter"><code>label</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).</p>
<p>
</p>
@ -263,7 +341,9 @@ with the given <em class="parameter"><code>label</code></em> (or <em class="para
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td> label to use when adding a new entry (can be <code class="literal">NULL</code>)
<td> label to use when adding a new entry (can be <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
</tbody>
@ -274,7 +354,9 @@ with the given <em class="parameter"><code>label</code></em> (or <em class="para
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-profile-combo-box-get-active"></a><h3>gimp_color_profile_combo_box_get_active ()</h3>
<pre class="programlisting">gchar* gimp_color_profile_combo_box_get_active
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_color_profile_combo_box_get_active
(<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a> *combo);</pre>
<p>
</p>
@ -293,7 +375,9 @@ with the given <em class="parameter"><code>label</code></em> (or <em class="para
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The filename of the currently selected color profile.
This is a newly allocated string and should be released
using <code class="function">g_free()</code> when it is not any longer needed.
using <a
href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> when it is not any longer needed.
</td>
</tr>
@ -307,9 +391,13 @@ with the given <em class="parameter"><code>label</code></em> (or <em class="para
<a name="GimpColorProfileComboBox.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpColorProfileComboBox--dialog"></a><h3>The <code class="literal">"dialog"</code> property</h3>
<pre class="programlisting"> "dialog" GtkDialog* : Read / Write / Construct Only</pre>
<pre class="programlisting"> "dialog" <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
>GtkDialog</a>* : Read / Write / Construct Only</pre>
<p>
<span class="type">GtkDialog</span> to present when the user selects the
<a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> to present when the user selects the
"Select color profile from disk..." item.</p>
<p>
@ -322,7 +410,9 @@ with the given <em class="parameter"><code>label</code></em> (or <em class="para
<a name="GimpColorProfileComboBox--model"></a><h3>The <code class="literal">"model"</code> property</h3>
<pre class="programlisting"> "model" <a class="link" href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a>* : Read / Write</pre>
<p>
Overrides the "model" property of the <span class="type">GtkComboBox</span> class.
Overrides the "model" property of the <a
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
><span class="type">GtkComboBox</span></a> class.
<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox"><span class="type">GimpColorProfileComboBox</span></a> requires the model to be a
<a class="link" href="GimpColorProfileStore.html" title="GimpColorProfileStore"><span class="type">GimpColorProfileStore</span></a>.</p>
<p>

View File

@ -57,17 +57,29 @@
<a name="GimpColorProfileStore.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorProfileStore.html#GimpColorProfileStore-struct" title="GimpColorProfileStore">GimpColorProfileStore</a>;
GtkListStore* <a class="link" href="GimpColorProfileStore.html#gimp-color-profile-store-new" title="gimp_color_profile_store_new ()">gimp_color_profile_store_new</a> (const gchar *history);
<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* <a class="link" href="GimpColorProfileStore.html#gimp-color-profile-store-new" title="gimp_color_profile_store_new ()">gimp_color_profile_store_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *history);
void <a class="link" href="GimpColorProfileStore.html#gimp-color-profile-store-add" title="gimp_color_profile_store_add ()">gimp_color_profile_store_add</a> (<a class="link" href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a> *store,
const gchar *filename,
const gchar *label);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorProfileStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GtkListStore
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>
+----GimpColorProfileStore
</pre>
</div>
@ -75,12 +87,24 @@ void <a class="link" href="GimpColorProfileStore.html#gimp-color-
<a name="GimpColorProfileStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorProfileStore implements
GtkBuildable, GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest and GtkTreeSortable.</p>
<a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a>, <a
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
>GtkTreeDragSource</a>, <a
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
>GtkTreeDragDest</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkTreeSortable.html"
>GtkTreeSortable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorProfileStore.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpColorProfileStore.html#GimpColorProfileStore--history" title='The "history" property'>history</a>" gchar* : Read / Write / Construct Only
"<a class="link" href="GimpColorProfileStore.html#GimpColorProfileStore--history" title='The "history" property'>history</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
@ -101,7 +125,11 @@ GimpColorProfileStore implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-profile-store-new"></a><h3>gimp_color_profile_store_new ()</h3>
<pre class="programlisting">GtkListStore* gimp_color_profile_store_new (const gchar *history);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* gimp_color_profile_store_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *history);</pre>
<p>
Creates a new <a class="link" 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
@ -122,7 +150,9 @@ following code snippet:
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>history</code></em> :</span></p></td>
<td> filename of the profilerc (or <code class="literal">NULL</code> for no history)
<td> filename of the profilerc (or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for no history)
</td>
</tr>
<tr>
@ -140,16 +170,24 @@ following code snippet:
<div class="refsect2" lang="en">
<a name="gimp-color-profile-store-add"></a><h3>gimp_color_profile_store_add ()</h3>
<pre class="programlisting">void gimp_color_profile_store_add (<a class="link" href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a> *store,
const gchar *filename,
const gchar *label);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
Adds a color profile item to the <a class="link" 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 <code class="literal">NULL</code>
filename. If you pass <code class="literal">NULL</code> for both <em class="parameter"><code>filename</code></em> and <em class="parameter"><code>label</code></em>, the
This function is often used to add a selectable item for the <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
filename. If you pass <a
href="/usr/share/gtk-doc/html/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>
@ -165,13 +203,19 @@ the user).</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td> filename of the profile to add (or <code class="literal">NULL</code>)
<td> filename of the profile to add (or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td> label to use for the profile
(may only be <code class="literal">NULL</code> if <em class="parameter"><code>filename</code></em> is <code class="literal">NULL</code>)
(may only be <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>filename</code></em> is <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
</tbody>
@ -184,7 +228,9 @@ the user).</p>
<a name="GimpColorProfileStore.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpColorProfileStore--history"></a><h3>The <code class="literal">"history"</code> property</h3>
<pre class="programlisting"> "history" gchar* : Read / Write / Construct Only</pre>
<pre class="programlisting"> "history" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct Only</pre>
<p>
Filename of the color history used to populate the profile store.</p>
<p>

View File

@ -55,7 +55,11 @@
<a name="GimpColorScale.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorScale.html#GimpColorScale-struct" title="GimpColorScale">GimpColorScale</a>;
GtkWidget* <a class="link" href="GimpColorScale.html#gimp-color-scale-new" title="gimp_color_scale_new ()">gimp_color_scale_new</a> (GtkOrientation orientation,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorScale.html#gimp-color-scale-new" title="gimp_color_scale_new ()">gimp_color_scale_new</a> (<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation,
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
void <a class="link" href="GimpColorScale.html#gimp-color-scale-set-channel" title="gimp_color_scale_set_channel ()">gimp_color_scale_set_channel</a> (<a class="link" href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
@ -71,12 +75,24 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
<div class="refsect1" lang="en">
<a name="GimpColorScale.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkRange
+----GtkScale
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkRange.html"
>GtkRange</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkScale.html"
>GtkScale</a>
+----GimpColorScale
</pre>
</div>
@ -84,7 +100,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
<a name="GimpColorScale.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorScale implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorScale.description"></a><h2>Description</h2>
@ -104,7 +122,11 @@ GimpColorScale implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-scale-new"></a><h3>gimp_color_scale_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_scale_new (GtkOrientation orientation,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_scale_new (<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation,
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);</pre>
<p>
Creates a new <a class="link" href="GimpColorScale.html" title="GimpColorScale"><span class="type">GimpColorScale</span></a> widget.</p>

View File

@ -60,13 +60,27 @@
<div class="refsect1" lang="en">
<a name="GimpColorScales.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
+----GimpColorScales
</pre>
@ -75,7 +89,9 @@
<a name="GimpColorScales.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorScales implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorScales.description"></a><h2>Description</h2>

View File

@ -60,13 +60,27 @@
<div class="refsect1" lang="en">
<a name="GimpColorSelect.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
+----GimpColorSelect
</pre>
@ -75,7 +89,9 @@
<a name="GimpColorSelect.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorSelect implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorSelect.description"></a><h2>Description</h2>

View File

@ -59,10 +59,16 @@
<a name="GimpColorSelection.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpColorSelection.html#GimpColorSelection-struct" title="GimpColorSelection">GimpColorSelection</a>;
GtkWidget* <a class="link" href="GimpColorSelection.html#gimp-color-selection-new" title="gimp_color_selection_new ()">gimp_color_selection_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorSelection.html#gimp-color-selection-new" title="gimp_color_selection_new ()">gimp_color_selection_new</a> (void);
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-set-show-alpha" title="gimp_color_selection_set_show_alpha ()">gimp_color_selection_set_show_alpha</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
gboolean show_alpha);
gboolean <a class="link" href="GimpColorSelection.html#gimp-color-selection-get-show-alpha" title="gimp_color_selection_get_show_alpha ()">gimp_color_selection_get_show_alpha</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_alpha);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpColorSelection.html#gimp-color-selection-get-show-alpha" title="gimp_color_selection_get_show_alpha ()">gimp_color_selection_get_show_alpha</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);
void <a class="link" href="GimpColorSelection.html#gimp-color-selection-set-color" title="gimp_color_selection_set_color ()">gimp_color_selection_set_color</a> (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -90,13 +96,27 @@ href="../libgimpconfig/GimpColorConfig.html"
<div class="refsect1" lang="en">
<a name="GimpColorSelection.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpColorSelection
</pre>
</div>
@ -104,7 +124,9 @@ href="../libgimpconfig/GimpColorConfig.html"
<a name="GimpColorSelection.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorSelection implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorSelection.properties"></a><h2>Properties</h2>
@ -138,7 +160,9 @@ href="../libgimpconfig/GimpColorConfig.html"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-selection-new"></a><h3>gimp_color_selection_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_selection_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_selection_new (void);</pre>
<p>
Creates a new <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> widget.</p>
<p>
@ -157,7 +181,9 @@ Creates a new <a class="link" href="GimpColorSelection.html" title="GimpColorSel
<div class="refsect2" lang="en">
<a name="gimp-color-selection-set-show-alpha"></a><h3>gimp_color_selection_set_show_alpha ()</h3>
<pre class="programlisting">void gimp_color_selection_set_show_alpha (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection,
gboolean show_alpha);</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -182,7 +208,9 @@ Sets the <em class="parameter"><code>show_alpha</code></em> property of the <em
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-selection-get-show-alpha"></a><h3>gimp_color_selection_get_show_alpha ()</h3>
<pre class="programlisting">gboolean gimp_color_selection_get_show_alpha (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *selection);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_color_selection_get_show_alpha (<a class="link" 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>
@ -198,7 +226,9 @@ Returns the <em class="parameter"><code>selection</code></em>'s <em class="param
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <span class="type">TRUE</span> if the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> has alpha controls.
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a> if the <a class="link" href="GimpColorSelection.html" title="GimpColorSelection"><span class="type">GimpColorSelection</span></a> has alpha controls.
</td>
</tr>
</tbody>
@ -398,7 +428,9 @@ href="../libgimpconfig/GimpColorConfig.html"
<div class="refsect2" lang="en">
<a name="GimpColorSelection-color-changed"></a><h3>The <code class="literal">"color-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorSelection.html" title="GimpColorSelection">GimpColorSelection</a> *gimpcolorselection,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -60,7 +60,11 @@
#define <a class="link" href="GimpColorSelector.html#GIMP-COLOR-SELECTOR-SIZE:CAPS" title="GIMP_COLOR_SELECTOR_SIZE">GIMP_COLOR_SELECTOR_SIZE</a>
#define <a class="link" href="GimpColorSelector.html#GIMP-COLOR-SELECTOR-BAR-SIZE:CAPS" title="GIMP_COLOR_SELECTOR_BAR_SIZE">GIMP_COLOR_SELECTOR_BAR_SIZE</a>
enum <a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a>;
GtkWidget* <a class="link" href="GimpColorSelector.html#gimp-color-selector-new" title="gimp_color_selector_new ()">gimp_color_selector_new</a> (GType selector_type,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpColorSelector.html#gimp-color-selector-new" title="gimp_color_selector_new ()">gimp_color_selector_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> selector_type,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *rgb,
@ -70,12 +74,18 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
void <a class="link" href="GimpColorSelector.html#gimp-color-selector-set-toggles-visible" title="gimp_color_selector_set_toggles_visible ()">gimp_color_selector_set_toggles_visible</a>
(<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean visible);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);
void <a class="link" href="GimpColorSelector.html#gimp-color-selector-set-toggles-sensitive" title="gimp_color_selector_set_toggles_sensitive ()">gimp_color_selector_set_toggles_sensitive</a>
(<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean sensitive);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> sensitive);
void <a class="link" href="GimpColorSelector.html#gimp-color-selector-set-show-alpha" title="gimp_color_selector_set_show_alpha ()">gimp_color_selector_set_show_alpha</a> (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean show_alpha);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_alpha);
void <a class="link" href="GimpColorSelector.html#gimp-color-selector-set-color" title="gimp_color_selector_set_color ()">gimp_color_selector_set_color</a> (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
@ -96,13 +106,27 @@ href="../libgimpconfig/GimpColorConfig.html"
<div class="refsect1" lang="en">
<a name="GimpColorSelector.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpColorSelector
+----<a class="link" href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a>
+----<a class="link" href="GimpColorScales.html" title="GimpColorScales">GimpColorScales</a>
@ -113,7 +137,9 @@ href="../libgimpconfig/GimpColorConfig.html"
<a name="GimpColorSelector.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorSelector implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpColorSelector.signals"></a><h2>Signals</h2>
@ -218,7 +244,11 @@ The suggested width for a color bar in a <a class="link" href="GimpColorSelector
<hr>
<div class="refsect2" lang="en">
<a name="gimp-color-selector-new"></a><h3>gimp_color_selector_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_color_selector_new (GType selector_type,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_color_selector_new (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> selector_type,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *rgb,
@ -267,7 +297,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
<a name="gimp-color-selector-set-toggles-visible"></a><h3>gimp_color_selector_set_toggles_visible ()</h3>
<pre class="programlisting">void gimp_color_selector_set_toggles_visible
(<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean visible);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> visible);</pre>
<p>
</p>
@ -294,7 +326,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
<a name="gimp-color-selector-set-toggles-sensitive"></a><h3>gimp_color_selector_set_toggles_sensitive ()</h3>
<pre class="programlisting">void gimp_color_selector_set_toggles_sensitive
(<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean sensitive);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> sensitive);</pre>
<p>
</p>
@ -320,7 +354,9 @@ href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
<div class="refsect2" lang="en">
<a name="gimp-color-selector-set-show-alpha"></a><h3>gimp_color_selector_set_show_alpha ()</h3>
<pre class="programlisting">void gimp_color_selector_set_show_alpha (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *selector,
gboolean show_alpha);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_alpha);</pre>
<p>
</p>
@ -476,8 +512,12 @@ Sets the color management configuration to use with this color selector.</p>
<div class="refsect2" lang="en">
<a name="GimpColorSelector-channel-changed"></a><h3>The <code class="literal">"channel-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *gimpcolorselector,
gint arg1,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -506,9 +546,15 @@ Sets the color management configuration to use with this color selector.</p>
<div class="refsect2" lang="en">
<a name="GimpColorSelector-color-changed"></a><h3>The <code class="literal">"color-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a> *gimpcolorselector,
gpointer arg1,
gpointer arg2,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -545,7 +591,9 @@ Sets the color management configuration to use with this color selector.</p>
<span class="type">GModule</span>
</p>
<p>
<span class="type">GTypeModule</span>
<a
href="/usr/share/gtk-doc/html/gobject/GTypeModule.html"
><span class="type">GTypeModule</span></a>
</p>
<p>
<span class="type">libgimp-gimpmodule</span>

View File

@ -64,20 +64,36 @@ enum <a class="link" href="GimpController.html#GimpControllerEven
<a class="link" href="GimpController.html#GimpControllerEventValue" title="GimpControllerEventValue">GimpControllerEventValue</a>;
union <a class="link" href="GimpController.html#GimpControllerEvent" title="union GimpControllerEvent">GimpControllerEvent</a>;
<a class="link" href="GimpController.html#GimpController-struct" title="GimpController">GimpController</a>;
<a class="link" href="GimpController.html" title="GimpController">GimpController</a>* <a class="link" href="GimpController.html#gimp-controller-new" title="gimp_controller_new ()">gimp_controller_new</a> (GType controller_type);
gint <a class="link" href="GimpController.html#gimp-controller-get-n-events" title="gimp_controller_get_n_events ()">gimp_controller_get_n_events</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller);
const gchar* <a class="link" href="GimpController.html#gimp-controller-get-event-name" title="gimp_controller_get_event_name ()">gimp_controller_get_event_name</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);
const gchar* <a class="link" href="GimpController.html#gimp-controller-get-event-blurb" title="gimp_controller_get_event_blurb ()">gimp_controller_get_event_blurb</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);
gboolean <a class="link" href="GimpController.html#gimp-controller-event" title="gimp_controller_event ()">gimp_controller_event</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a class="link" href="GimpController.html" title="GimpController">GimpController</a>* <a class="link" href="GimpController.html#gimp-controller-new" title="gimp_controller_new ()">gimp_controller_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> controller_type);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="GimpController.html#gimp-controller-get-n-events" title="gimp_controller_get_n_events ()">gimp_controller_get_n_events</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpController.html#gimp-controller-get-event-name" title="gimp_controller_get_event_name ()">gimp_controller_get_event_name</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> event_id);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpController.html#gimp-controller-get-event-blurb" title="gimp_controller_get_event_blurb ()">gimp_controller_get_event_blurb</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> event_id);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpController.html#gimp-controller-event" title="gimp_controller_event ()">gimp_controller_event</a> (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
const <a class="link" href="GimpController.html#GimpControllerEvent" title="union GimpControllerEvent">GimpControllerEvent</a> *event);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpController.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpController
</pre>
</div>
@ -92,8 +108,12 @@ href="../libgimpconfig/libgimpconfig-GimpConfig.html#GimpConfigInterface"
<div class="refsect1" lang="en">
<a name="GimpController.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpController.html#GimpController--name" title='The "name" property'>name</a>" gchar* : Read / Write / Construct
"<a class="link" href="GimpController.html#GimpController--state" title='The "state" property'>state</a>" gchar* : Read / Write / Construct
"<a class="link" href="GimpController.html#GimpController--name" title='The "name" property'>name</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct
"<a class="link" href="GimpController.html#GimpController--state" title='The "state" property'>state</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
@ -188,7 +208,9 @@ An abstract interface for implementing arbitrary input controllers.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-controller-new"></a><h3>gimp_controller_new ()</h3>
<pre class="programlisting"><a class="link" href="GimpController.html" title="GimpController">GimpController</a>* gimp_controller_new (GType controller_type);</pre>
<pre class="programlisting"><a class="link" href="GimpController.html" title="GimpController">GimpController</a>* gimp_controller_new (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> controller_type);</pre>
<p>
</p>
@ -213,7 +235,9 @@ An abstract interface for implementing arbitrary input controllers.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-controller-get-n-events"></a><h3>gimp_controller_get_n_events ()</h3>
<pre class="programlisting">gint gimp_controller_get_n_events (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gimp_controller_get_n_events (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller);</pre>
<p>
</p>
@ -238,8 +262,12 @@ An abstract interface for implementing arbitrary input controllers.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-controller-get-event-name"></a><h3>gimp_controller_get_event_name ()</h3>
<pre class="programlisting">const gchar* gimp_controller_get_event_name (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);</pre>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_controller_get_event_name (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> event_id);</pre>
<p>
</p>
@ -269,8 +297,12 @@ An abstract interface for implementing arbitrary input controllers.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-controller-get-event-blurb"></a><h3>gimp_controller_get_event_blurb ()</h3>
<pre class="programlisting">const gchar* gimp_controller_get_event_blurb (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
gint event_id);</pre>
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_controller_get_event_blurb (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> event_id);</pre>
<p>
</p>
@ -300,7 +332,9 @@ An abstract interface for implementing arbitrary input controllers.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-controller-event"></a><h3>gimp_controller_event ()</h3>
<pre class="programlisting">gboolean gimp_controller_event (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_controller_event (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *controller,
const <a class="link" href="GimpController.html#GimpControllerEvent" title="union GimpControllerEvent">GimpControllerEvent</a> *event);</pre>
<p>
@ -333,14 +367,18 @@ An abstract interface for implementing arbitrary input controllers.
<a name="GimpController.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpController--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting"> "name" gchar* : Read / Write / Construct</pre>
<pre class="programlisting"> "name" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct</pre>
<p></p>
<p>Default value: "Unnamed Controller"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpController--state"></a><h3>The <code class="literal">"state"</code> property</h3>
<pre class="programlisting"> "state" gchar* : Read / Write / Construct</pre>
<pre class="programlisting"> "state" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct</pre>
<p></p>
<p>Default value: "Unknown"</p>
</div>
@ -349,9 +387,15 @@ An abstract interface for implementing arbitrary input controllers.
<a name="GimpController.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="GimpController-event"></a><h3>The <code class="literal">"event"</code> signal</h3>
<pre class="programlisting">gboolean user_function (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *gimpcontroller,
gpointer arg1,
gpointer user_data) : Run Last</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_function (<a class="link" href="GimpController.html" title="GimpController">GimpController</a> *gimpcontroller,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run Last</pre>
<p>
</p>

View File

@ -49,7 +49,9 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpDialog.top_of_page"></a>GimpDialog</span></h2>
<p>GimpDialog — Constructors for <span class="type">GtkDialog</span>'s and action_areas as well as other
<p>GimpDialog — Constructors for <a
href="/usr/share/gtk-doc/html/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>
@ -58,42 +60,92 @@ dialog-related stuff.</p>
<a name="GimpDialog.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpDialog.html#GimpDialog-struct" title="GimpDialog">GimpDialog</a>;
GtkWidget* <a class="link" href="GimpDialog.html#gimp-dialog-new" title="gimp_dialog_new ()">gimp_dialog_new</a> (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpDialog.html#gimp-dialog-new" title="gimp_dialog_new ()">gimp_dialog_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
...);
GtkWidget* <a class="link" href="GimpDialog.html#gimp-dialog-new-valist" title="gimp_dialog_new_valist ()">gimp_dialog_new_valist</a> (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpDialog.html#gimp-dialog-new-valist" title="gimp_dialog_new_valist ()">gimp_dialog_new_valist</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
va_list args);
GtkWidget* <a class="link" href="GimpDialog.html#gimp-dialog-add-button" title="gimp_dialog_add_button ()">gimp_dialog_add_button</a> (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const gchar *button_text,
gint response_id);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpDialog.html#gimp-dialog-add-button" title="gimp_dialog_add_button ()">gimp_dialog_add_button</a> (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *button_text,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> response_id);
void <a class="link" href="GimpDialog.html#gimp-dialog-add-buttons" title="gimp_dialog_add_buttons ()">gimp_dialog_add_buttons</a> (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
...);
void <a class="link" href="GimpDialog.html#gimp-dialog-add-buttons-valist" title="gimp_dialog_add_buttons_valist ()">gimp_dialog_add_buttons_valist</a> (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
va_list args);
gint <a class="link" href="GimpDialog.html#gimp-dialog-run" title="gimp_dialog_run ()">gimp_dialog_run</a> (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog);
void <a class="link" href="GimpDialog.html#gimp-dialogs-show-help-button" title="gimp_dialogs_show_help_button ()">gimp_dialogs_show_help_button</a> (gboolean show);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="GimpDialog.html#gimp-dialog-run" title="gimp_dialog_run ()">gimp_dialog_run</a> (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog);
void <a class="link" href="GimpDialog.html#gimp-dialogs-show-help-button" title="gimp_dialogs_show_help_button ()">gimp_dialogs_show_help_button</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkDialog
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
>GtkDialog</a>
+----GimpDialog
</pre>
</div>
@ -101,13 +153,19 @@ void <a class="link" href="GimpDialog.html#gimp-dialogs-show-help
<a name="GimpDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpDialog implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpDialog.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpDialog.html#GimpDialog--help-func" title='The "help-func" property'>help-func</a>" gpointer : Read / Write / Construct Only
"<a class="link" href="GimpDialog.html#GimpDialog--help-id" title='The "help-id" property'>help-id</a>" gchar* : Read / Write / Construct Only
"<a class="link" href="GimpDialog.html#GimpDialog--help-func" title='The "help-func" property'>help-func</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> : Read / Write / Construct Only
"<a class="link" href="GimpDialog.html#GimpDialog--help-id" title='The "help-id" property'>help-id</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
@ -128,12 +186,24 @@ GimpDialog implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-dialog-new"></a><h3>gimp_dialog_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_dialog_new (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_dialog_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
...);</pre>
<p>
Creates a new <em class="parameter"><code>GimpDialog</code></em> widget.
@ -144,7 +214,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="/usr/share/gtk-doc/html/gtk/GtkDialog.html#gtk-dialog-new-with-buttons"
><code class="function">gtk_dialog_new_with_buttons()</code></a>.</p>
<p>
</p>
@ -154,13 +226,17 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td> The dialog's title which will be set with
<code class="function">gtk_window_set_title()</code>.
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html#gtk-window-set-title"
><code class="function">gtk_window_set_title()</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>role</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkWindow.html#gtk-window-set-role"
><code class="function">gtk_window_set_role()</code></a>.
</td>
</tr>
<tr>
@ -170,7 +246,9 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> documentation).
</td>
</tr>
<tr>
@ -185,7 +263,9 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> A <code class="literal">NULL</code>-terminated <em class="parameter"><code>va_list</code></em> destribing the
<td> A <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> destribing the
action_area buttons.
</td>
</tr>
@ -200,12 +280,24 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
<hr>
<div class="refsect2" lang="en">
<a name="gimp-dialog-new-valist"></a><h3>gimp_dialog_new_valist ()</h3>
<pre class="programlisting">GtkWidget* gimp_dialog_new_valist (const gchar *title,
const gchar *role,
GtkWidget *parent,
GtkDialogFlags flags,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_dialog_new_valist (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *role,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html#GtkDialogFlags"
>GtkDialogFlags</a> flags,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const <a
href="/usr/share/gtk-doc/html/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
@ -213,7 +305,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="/usr/share/gtk-doc/html/gtk/GtkDialog.html#gtk-dialog-new-with-buttons"
><code class="function">gtk_dialog_new_with_buttons()</code></a>.</p>
<p>
</p>
@ -223,23 +317,31 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td> The dialog's title which will be set with
<code class="function">gtk_window_set_title()</code>.
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html#gtk-window-set-title"
><code class="function">gtk_window_set_title()</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>role</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkWindow.html#gtk-window-set-role"
><code class="function">gtk_window_set_role()</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> documentation).
</td>
</tr>
<tr>
@ -268,11 +370,19 @@ action_area buttons see <code class="function">gtk_dialog_new_with_buttons()</co
<hr>
<div class="refsect2" lang="en">
<a name="gimp-dialog-add-button"></a><h3>gimp_dialog_add_button ()</h3>
<pre class="programlisting">GtkWidget* gimp_dialog_add_button (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const gchar *button_text,
gint response_id);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_dialog_add_button (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *button_text,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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>
@ -310,8 +420,12 @@ sets the RESPONSE_OK widget as the default response.</p>
<pre class="programlisting">void gimp_dialog_add_buttons (<a class="link" 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 class="link" href="GimpDialog.html#gimp-dialog-add-button" title="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="/usr/share/gtk-doc/html/gtk/GtkDialog.html#gtk-dialog-add-buttons"
><code class="function">gtk_dialog_add_buttons()</code></a>
except it calls <a class="link" href="GimpDialog.html#gimp-dialog-add-button" title="gimp_dialog_add_button ()"><code class="function">gimp_dialog_add_button()</code></a> instead of <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html#gtk-dialog-add-button"
><code class="function">gtk_dialog_add_button()</code></a></p>
<p>
</p>
@ -361,10 +475,16 @@ except it takes a va_list instead of '...'</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-dialog-run"></a><h3>gimp_dialog_run ()</h3>
<pre class="programlisting">gint gimp_dialog_run (<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a> *dialog);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gimp_dialog_run (<a class="link" 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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainLoop"
><span class="type">GMainLoop</span></a> is running.</p>
<p>
</p>
@ -387,7 +507,9 @@ does not make the dialog modal while the <span class="type">GMainLoop</span> is
<hr>
<div class="refsect2" lang="en">
<a name="gimp-dialogs-show-help-button"></a><h3>gimp_dialogs_show_help_button ()</h3>
<pre class="programlisting">void gimp_dialogs_show_help_button (gboolean show);</pre>
<pre class="programlisting">void gimp_dialogs_show_help_button (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show);</pre>
<p>
This function is for internal use only.</p>
<p>
@ -409,13 +531,17 @@ This function is for internal use only.</p>
<a name="GimpDialog.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpDialog--help-func"></a><h3>The <code class="literal">"help-func"</code> property</h3>
<pre class="programlisting"> "help-func" gpointer : Read / Write / Construct Only</pre>
<pre class="programlisting"> "help-func" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> : Read / Write / Construct Only</pre>
<p></p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpDialog--help-id"></a><h3>The <code class="literal">"help-id"</code> property</h3>
<pre class="programlisting"> "help-id" gchar* : Read / Write / Construct Only</pre>
<pre class="programlisting"> "help-id" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct Only</pre>
<p></p>
<p>Default value: NULL</p>
</div>

View File

@ -57,23 +57,45 @@
<a name="GimpEnumComboBox.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpEnumComboBox.html#GimpEnumComboBox-struct" title="GimpEnumComboBox">GimpEnumComboBox</a>;
GtkWidget* <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new" title="gimp_enum_combo_box_new ()">gimp_enum_combo_box_new</a> (GType enum_type);
GtkWidget* <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new-with-model" title="gimp_enum_combo_box_new_with_model ()">gimp_enum_combo_box_new_with_model</a> (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new" title="gimp_enum_combo_box_new ()">gimp_enum_combo_box_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new-with-model" title="gimp_enum_combo_box_new_with_model ()">gimp_enum_combo_box_new_with_model</a> (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);
void <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-set-stock-prefix" title="gimp_enum_combo_box_set_stock_prefix ()">gimp_enum_combo_box_set_stock_prefix</a>
(<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
const gchar *stock_prefix);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpEnumComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
>GtkComboBox</a>
+----<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a>
+----GimpEnumComboBox
</pre>
@ -82,7 +104,13 @@ void <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-
<a name="GimpEnumComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpEnumComboBox implements
AtkImplementorIface, GtkBuildable, GtkCellEditable and GtkCellLayout.</p>
AtkImplementorIface, <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpEnumComboBox.properties"></a><h2>Properties</h2>
@ -108,9 +136,15 @@ GimpEnumComboBox implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-combo-box-new"></a><h3>gimp_enum_combo_box_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_enum_combo_box_new (GType enum_type);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_combo_box_new (<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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"
@ -130,7 +164,9 @@ own <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class=
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -147,9 +183,13 @@ own <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class=
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-combo-box-new-with-model"></a><h3>gimp_enum_combo_box_new_with_model ()</h3>
<pre class="programlisting">GtkWidget* gimp_enum_combo_box_new_with_model (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_combo_box_new_with_model (<a class="link" 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="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
><span class="type">GtkComboBox</span></a> for the given <em class="parameter"><code>enum_store</code></em>.</p>
<p>
</p>
@ -177,7 +217,9 @@ Creates a <span class="type">GtkComboBox</span> for the given <em class="paramet
<a name="gimp-enum-combo-box-set-stock-prefix"></a><h3>gimp_enum_combo_box_set_stock_prefix ()</h3>
<pre class="programlisting">void gimp_enum_combo_box_set_stock_prefix
(<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
const gchar *stock_prefix);</pre>
const <a
href="/usr/share/gtk-doc/html/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>

View File

@ -55,21 +55,41 @@
<a name="GimpEnumLabel.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpEnumLabel.html#GimpEnumLabel-struct" title="GimpEnumLabel">GimpEnumLabel</a>;
GtkWidget* <a class="link" href="GimpEnumLabel.html#gimp-enum-label-new" title="gimp_enum_label_new ()">gimp_enum_label_new</a> (GType enum_type,
gint value);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpEnumLabel.html#gimp-enum-label-new" title="gimp_enum_label_new ()">gimp_enum_label_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);
void <a class="link" href="GimpEnumLabel.html#gimp-enum-label-set-value" title="gimp_enum_label_set_value ()">gimp_enum_label_set_value</a> (<a class="link" href="GimpEnumLabel.html" title="GimpEnumLabel">GimpEnumLabel</a> *label,
gint value);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpEnumLabel.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkMisc
+----GtkLabel
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkMisc.html"
>GtkMisc</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkLabel.html"
>GtkLabel</a>
+----GimpEnumLabel
</pre>
</div>
@ -77,7 +97,9 @@ void <a class="link" href="GimpEnumLabel.html#gimp-enum-label-set
<a name="GimpEnumLabel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpEnumLabel implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpEnumLabel.description"></a><h2>Description</h2>
@ -97,8 +119,14 @@ GimpEnumLabel implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-label-new"></a><h3>gimp_enum_label_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_enum_label_new (GType enum_type,
gint value);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_label_new (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);</pre>
<p>
</p>
<p>
@ -109,7 +137,9 @@ GimpEnumLabel implements
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -132,7 +162,9 @@ GimpEnumLabel implements
<div class="refsect2" lang="en">
<a name="gimp-enum-label-set-value"></a><h3>gimp_enum_label_set_value ()</h3>
<pre class="programlisting">void gimp_enum_label_set_value (<a class="link" href="GimpEnumLabel.html" title="GimpEnumLabel">GimpEnumLabel</a> *label,
gint value);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);</pre>
<p>
</p>
<p>

View File

@ -57,26 +57,56 @@
<a name="GimpEnumStore.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpEnumStore.html#GimpEnumStore-struct" title="GimpEnumStore">GimpEnumStore</a>;
GtkListStore* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()">gimp_enum_store_new</a> (GType enum_type);
GtkListStore* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-range" title="gimp_enum_store_new_with_range ()">gimp_enum_store_new_with_range</a> (GType enum_type,
gint minimum,
gint maximum);
GtkListStore* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" title="gimp_enum_store_new_with_values ()">gimp_enum_store_new_with_values</a> (GType enum_type,
gint n_values,
<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()">gimp_enum_store_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);
<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-range" title="gimp_enum_store_new_with_range ()">gimp_enum_store_new_with_range</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum);
<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" title="gimp_enum_store_new_with_values ()">gimp_enum_store_new_with_values</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
...);
GtkListStore* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values-valist" title="gimp_enum_store_new_with_values_valist ()">gimp_enum_store_new_with_values_valist</a>
(GType enum_type,
gint n_values,
<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values-valist" title="gimp_enum_store_new_with_values_valist ()">gimp_enum_store_new_with_values_valist</a>
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
va_list args);
void <a class="link" href="GimpEnumStore.html#gimp-enum-store-set-stock-prefix" title="gimp_enum_store_set_stock_prefix ()">gimp_enum_store_set_stock_prefix</a> (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
const gchar *stock_prefix);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpEnumStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GtkListStore
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>
+----<a class="link" href="GimpIntStore.html" title="GimpIntStore">GimpIntStore</a>
+----GimpEnumStore
</pre>
@ -85,12 +115,24 @@ void <a class="link" href="GimpEnumStore.html#gimp-enum-store-set
<a name="GimpEnumStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpEnumStore implements
GtkBuildable, GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest and GtkTreeSortable.</p>
<a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a>, <a
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
>GtkTreeDragSource</a>, <a
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
>GtkTreeDragDest</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkTreeSortable.html"
>GtkTreeSortable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpEnumStore.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpEnumStore.html#GimpEnumStore--enum-type" title='The "enum-type" property'>enum-type</a>" GType* : Read / Write / Construct Only
"<a class="link" href="GimpEnumStore.html#GimpEnumStore--enum-type" title='The "enum-type" property'>enum-type</a>" <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a>* : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
@ -111,9 +153,15 @@ GimpEnumStore implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-store-new"></a><h3>gimp_enum_store_new ()</h3>
<pre class="programlisting">GtkListStore* gimp_enum_store_new (GType enum_type);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type);</pre>
<p>
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a>, derived from <span class="type">GtkListStore</span> and fills
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a>, derived from <a
href="/usr/share/gtk-doc/html/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>
@ -124,7 +172,9 @@ system and should have translatable value names.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -141,9 +191,17 @@ system and should have translatable value names.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-store-new-with-range"></a><h3>gimp_enum_store_new_with_range ()</h3>
<pre class="programlisting">GtkListStore* gimp_enum_store_new_with_range (GType enum_type,
gint minimum,
gint maximum);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new_with_range (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum);</pre>
<p>
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> like <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="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
@ -156,7 +214,9 @@ to limit the enum values to a certain range. Values smaller than
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -183,8 +243,14 @@ to limit the enum values to a certain range. Values smaller than
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-store-new-with-values"></a><h3>gimp_enum_store_new_with_values ()</h3>
<pre class="programlisting">GtkListStore* gimp_enum_store_new_with_values (GType enum_type,
gint n_values,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new_with_values (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
...);</pre>
<p>
Creates a new <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> like <a class="link" href="GimpEnumStore.html#gimp-enum-store-new" title="gimp_enum_store_new ()"><code class="function">gimp_enum_store_new()</code></a> but allows
@ -198,7 +264,9 @@ store.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -225,9 +293,15 @@ store.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-store-new-with-values-valist"></a><h3>gimp_enum_store_new_with_values_valist ()</h3>
<pre class="programlisting">GtkListStore* gimp_enum_store_new_with_values_valist
(GType enum_type,
gint n_values,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* gimp_enum_store_new_with_values_valist
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
va_list args);</pre>
<p>
See <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" title="gimp_enum_store_new_with_values ()"><code class="function">gimp_enum_store_new_with_values()</code></a>.</p>
@ -239,7 +313,9 @@ See <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" ti
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -267,7 +343,9 @@ See <a class="link" href="GimpEnumStore.html#gimp-enum-store-new-with-values" ti
<div class="refsect2" lang="en">
<a name="gimp-enum-store-set-stock-prefix"></a><h3>gimp_enum_store_set_stock_prefix ()</h3>
<pre class="programlisting">void gimp_enum_store_set_stock_prefix (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *store,
const gchar *stock_prefix);</pre>
const <a
href="/usr/share/gtk-doc/html/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.
@ -300,9 +378,13 @@ See also: <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-set-st
<a name="GimpEnumStore.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpEnumStore--enum-type"></a><h3>The <code class="literal">"enum-type"</code> property</h3>
<pre class="programlisting"> "enum-type" GType* : Read / Write / Construct Only</pre>
<pre class="programlisting"> "enum-type" <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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

@ -57,25 +57,53 @@
<a name="GimpFileEntry.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpFileEntry.html#GimpFileEntry-struct" title="GimpFileEntry">GimpFileEntry</a>;
GtkWidget* <a class="link" href="GimpFileEntry.html#gimp-file-entry-new" title="gimp_file_entry_new ()">gimp_file_entry_new</a> (const gchar *title,
const gchar *filename,
gboolean dir_only,
gboolean check_valid);
gchar* <a class="link" href="GimpFileEntry.html#gimp-file-entry-get-filename" title="gimp_file_entry_get_filename ()">gimp_file_entry_get_filename</a> (<a class="link" href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpFileEntry.html#gimp-file-entry-new" title="gimp_file_entry_new ()">gimp_file_entry_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dir_only,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> check_valid);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpFileEntry.html#gimp-file-entry-get-filename" title="gimp_file_entry_get_filename ()">gimp_file_entry_get_filename</a> (<a class="link" href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);
void <a class="link" href="GimpFileEntry.html#gimp-file-entry-set-filename" title="gimp_file_entry_set_filename ()">gimp_file_entry_set_filename</a> (<a class="link" href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry,
const gchar *filename);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpFileEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
>GtkHBox</a>
+----GimpFileEntry
</pre>
</div>
@ -83,7 +111,9 @@ void <a class="link" href="GimpFileEntry.html#gimp-file-entry-set
<a name="GimpFileEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpFileEntry implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpFileEntry.signals"></a><h2>Signals</h2>
@ -97,15 +127,23 @@ GimpFileEntry implements
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="/usr/share/gtk-doc/html/gtk/GtkEntry.html"
><span class="type">GtkEntry</span></a> for entering the filename manually and a "..."
button which will pop up a <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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 class="link" href="GimpFileEntry.html#gimp-file-entry-new" title="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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a> in <a class="link" href="GimpFileEntry.html#gimp-file-entry-new" title="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>
@ -130,16 +168,28 @@ will be emitted.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-file-entry-new"></a><h3>gimp_file_entry_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_file_entry_new (const gchar *title,
const gchar *filename,
gboolean dir_only,
gboolean check_valid);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_file_entry_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dir_only,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkFileChooserButton.html"
><span class="type">GtkFileChooserButton</span></a> instead.</p>
<p>
</p>
@ -158,12 +208,16 @@ You should use <span class="type">GtkFileChooserButton</span> instead.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dir_only</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the file entry should accept directories only.
<td> <a
href="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>check_valid</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the widget should check if the entered file
<td> <a
href="/usr/share/gtk-doc/html/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>
@ -178,13 +232,17 @@ You should use <span class="type">GtkFileChooserButton</span> instead.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-file-entry-get-filename"></a><h3>gimp_file_entry_get_filename ()</h3>
<pre class="programlisting">gchar* gimp_file_entry_get_filename (<a class="link" href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_file_entry_get_filename (<a class="link" 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="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> the returned string.</p>
<p>
</p>
@ -208,13 +266,17 @@ Note that you have to <code class="function">g_free()</code> the returned string
<div class="refsect2" lang="en">
<a name="gimp-file-entry-set-filename"></a><h3>gimp_file_entry_set_filename ()</h3>
<pre class="programlisting">void gimp_file_entry_set_filename (<a class="link" href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *entry,
const gchar *filename);</pre>
const <a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpFileEntry.html#gimp-file-entry-new" title="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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> in <a class="link" href="GimpFileEntry.html#gimp-file-entry-new" title="gimp_file_entry_new ()"><code class="function">gimp_file_entry_new()</code></a>
the <a class="link" href="GimpFileEntry.html" title="GimpFileEntry"><span class="type">GimpFileEntry</span></a> will immediately check the validity of the file
name.</p>
<p>
@ -242,7 +304,9 @@ name.</p>
<div class="refsect2" lang="en">
<a name="GimpFileEntry-filename-changed"></a><h3>The <code class="literal">"filename-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a> *arg0,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/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>

View File

@ -49,7 +49,9 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpFrame.top_of_page"></a>GimpFrame</span></h2>
<p>GimpFrame — A widget providing a HIG-compliant subclass of <span class="type">GtkFrame</span>.</p>
<p>GimpFrame — A widget providing a HIG-compliant subclass of <a
href="/usr/share/gtk-doc/html/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>
@ -57,19 +59,37 @@
<a name="GimpFrame.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpFrame.html#GimpFrame-struct" title="GimpFrame">GimpFrame</a>;
GtkWidget* <a class="link" href="GimpFrame.html#gimp-frame-new" title="gimp_frame_new ()">gimp_frame_new</a> (const gchar *label);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpFrame.html#gimp-frame-new" title="gimp_frame_new ()">gimp_frame_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpFrame.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkFrame
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
>GtkFrame</a>
+----GimpFrame
</pre>
</div>
@ -77,19 +97,27 @@ GtkWidget* <a class="link" href="GimpFrame.html#gimp-frame-new" title="
<a name="GimpFrame.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpFrame implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpFrame.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpFrame.html#GimpFrame--label-bold" title='The "label-bold" style property'>label-bold</a>" gboolean : Read
"<a class="link" href="GimpFrame.html#GimpFrame--label-spacing" title='The "label-spacing" style property'>label-spacing</a>" gint : Read
"<a class="link" href="GimpFrame.html#GimpFrame--label-bold" title='The "label-bold" style property'>label-bold</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
"<a class="link" href="GimpFrame.html#GimpFrame--label-spacing" title='The "label-spacing" style property'>label-spacing</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpFrame.description"></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="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.
</p>
</div>
<div class="refsect1" lang="en">
@ -104,10 +132,16 @@ A widget providing a HIG-compliant subclass of <span class="type">GtkFrame</span
<hr>
<div class="refsect2" lang="en">
<a name="gimp-frame-new"></a><h3>gimp_frame_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_frame_new (const gchar *label);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_frame_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
Creates a <a class="link" href="GimpFrame.html" title="GimpFrame"><span class="type">GimpFrame</span></a> widget. A <a class="link" 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="/usr/share/gtk-doc/html/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>
@ -119,7 +153,9 @@ the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> for no title)
</td>
</tr>
<tr>
@ -138,14 +174,18 @@ the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</p>
<a name="GimpFrame.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpFrame--label-bold"></a><h3>The <code class="literal">"label-bold"</code> style property</h3>
<pre class="programlisting"> "label-bold" gboolean : Read</pre>
<pre class="programlisting"> "label-bold" <a
href="/usr/share/gtk-doc/html/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="GimpFrame--label-spacing"></a><h3>The <code class="literal">"label-spacing"</code> style property</h3>
<pre class="programlisting"> "label-spacing" gint : Read</pre>
<pre class="programlisting"> "label-spacing" <a
href="/usr/share/gtk-doc/html/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

@ -57,44 +57,102 @@
<a name="GimpIntComboBox.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpIntComboBox.html#GimpIntComboBox-struct" title="GimpIntComboBox">GimpIntComboBox</a>;
gboolean (<a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc" title="GimpIntSensitivityFunc ()">*GimpIntSensitivityFunc</a>) (gint value,
gpointer data);
GtkWidget* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="gimp_int_combo_box_new ()">gimp_int_combo_box_new</a> (const gchar *first_label,
gint first_value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc" title="GimpIntSensitivityFunc ()">*GimpIntSensitivityFunc</a>) (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="gimp_int_combo_box_new ()">gimp_int_combo_box_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
...);
GtkWidget* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-valist" title="gimp_int_combo_box_new_valist ()">gimp_int_combo_box_new_valist</a> (const gchar *first_label,
gint first_value,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-valist" title="gimp_int_combo_box_new_valist ()">gimp_int_combo_box_new_valist</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
va_list values);
GtkWidget* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-array" title="gimp_int_combo_box_new_array ()">gimp_int_combo_box_new_array</a> (gint n_values,
const gchar *labels[]);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new-array" title="gimp_int_combo_box_new_array ()">gimp_int_combo_box_new_array</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *labels[]);
void <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-prepend" title="gimp_int_combo_box_prepend ()">gimp_int_combo_box_prepend</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
...);
void <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-append" title="gimp_int_combo_box_append ()">gimp_int_combo_box_append</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
...);
gboolean <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-set-active" title="gimp_int_combo_box_set_active ()">gimp_int_combo_box_set_active</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint value);
gboolean <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-get-active" title="gimp_int_combo_box_get_active ()">gimp_int_combo_box_get_active</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint *value);
gulong <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-connect" title="gimp_int_combo_box_connect ()">gimp_int_combo_box_connect</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint value,
GCallback callback,
gpointer data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-set-active" title="gimp_int_combo_box_set_active ()">gimp_int_combo_box_set_active</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-get-active" title="gimp_int_combo_box_get_active ()">gimp_int_combo_box_get_active</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *value);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
>gulong</a> <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-connect" title="gimp_int_combo_box_connect ()">gimp_int_combo_box_connect</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-set-sensitivity" title="gimp_int_combo_box_set_sensitivity ()">gimp_int_combo_box_set_sensitivity</a> (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc" title="GimpIntSensitivityFunc ()">GimpIntSensitivityFunc</a> func,
gpointer data,
GDestroyNotify destroy);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpIntComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
>GtkComboBox</a>
+----GimpIntComboBox
+----<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a>
</pre>
@ -103,12 +161,20 @@ void <a class="link" href="GimpIntComboBox.html#gimp-int-combo-bo
<a name="GimpIntComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpIntComboBox implements
AtkImplementorIface, GtkBuildable, GtkCellEditable and GtkCellLayout.</p>
AtkImplementorIface, <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpIntComboBox.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpIntComboBox.html#GimpIntComboBox--ellipsize" title='The "ellipsize" property'>ellipsize</a>" PangoEllipsizeMode : Read / Write
"<a class="link" href="GimpIntComboBox.html#GimpIntComboBox--ellipsize" title='The "ellipsize" property'>ellipsize</a>" <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
@ -129,8 +195,14 @@ A widget providing a popup menu of integer values (e.g. enums).
<hr>
<div class="refsect2" lang="en">
<a name="GimpIntSensitivityFunc"></a><h3>GimpIntSensitivityFunc ()</h3>
<pre class="programlisting">gboolean (*GimpIntSensitivityFunc) (gint value,
gpointer data);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpIntSensitivityFunc) (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -160,12 +232,20 @@ A widget providing a popup menu of integer values (e.g. enums).
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-combo-box-new"></a><h3>gimp_int_combo_box_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_int_combo_box_new (const gchar *first_label,
gint first_value,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
...);</pre>
<p>
Creates a GtkComboBox that has integer values associated with each
item. The items to fill the combo box with are specified as a <code class="literal">NULL</code>
item. The items to fill the combo box with are specified as a <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
terminated list of label/value pairs.
</p>
<p>
@ -189,7 +269,9 @@ g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td> a <code class="literal">NULL</code> terminated list of more label, value pairs
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> terminated list of more label, value pairs
</td>
</tr>
<tr>
@ -206,8 +288,14 @@ g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-combo-box-new-valist"></a><h3>gimp_int_combo_box_new_valist ()</h3>
<pre class="programlisting">GtkWidget* gimp_int_combo_box_new_valist (const gchar *first_label,
gint first_value,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new_valist (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *first_label,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> first_value,
va_list values);</pre>
<p>
A variant of <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="gimp_int_combo_box_new ()"><code class="function">gimp_int_combo_box_new()</code></a> that takes a va_list of
@ -247,8 +335,14 @@ label/value pairs. Probably only useful for language bindings.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-combo-box-new-array"></a><h3>gimp_int_combo_box_new_array ()</h3>
<pre class="programlisting">GtkWidget* gimp_int_combo_box_new_array (gint n_values,
const gchar *labels[]);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_combo_box_new_array (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_values,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *labels[]);</pre>
<p>
A variant of <a class="link" href="GimpIntComboBox.html#gimp-int-combo-box-new" title="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>
@ -287,7 +381,9 @@ The array indices are used as values.</p>
<p>
This function provides a convenient way to prepend items to a
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a>. It prepends a row to the <em class="parameter"><code>combo_box</code></em>'s list store
and calls <code class="function">gtk_list_store_set()</code> for you.
and calls <a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html#gtk-list-store-set"
><code class="function">gtk_list_store_set()</code></a> for you.
</p>
<p>
The column number must be taken from the enum <a class="link" href="GimpIntStore.html#GimpIntStoreColumns" title="enum GimpIntStoreColumns"><span class="type">GimpIntStoreColumns</span></a>.</p>
@ -320,7 +416,9 @@ The column number must be taken from the enum <a class="link" href="GimpIntStore
<p>
This function provides a convenient way to append items to a
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a>. It appends a row to the <em class="parameter"><code>combo_box</code></em>'s list store
and calls <code class="function">gtk_list_store_set()</code> for you.
and calls <a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html#gtk-list-store-set"
><code class="function">gtk_list_store_set()</code></a> for you.
</p>
<p>
The column number must be taken from the enum <a class="link" href="GimpIntStore.html#GimpIntStoreColumns" title="enum GimpIntStoreColumns"><span class="type">GimpIntStoreColumns</span></a>.</p>
@ -348,8 +446,12 @@ The column number must be taken from the enum <a class="link" href="GimpIntStore
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-combo-box-set-active"></a><h3>gimp_int_combo_box_set_active ()</h3>
<pre class="programlisting">gboolean gimp_int_combo_box_set_active (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint value);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_combo_box_set_active (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value);</pre>
<p>
Looks up the item that belongs to the given <em class="parameter"><code>value</code></em> and makes it the
selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
@ -371,7 +473,11 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success or <code class="literal">FALSE</code> if there was no item for
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> on success or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if there was no item for
this value.
</td>
@ -384,8 +490,12 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-combo-box-get-active"></a><h3>gimp_int_combo_box_get_active ()</h3>
<pre class="programlisting">gboolean gimp_int_combo_box_get_active (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint *value);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_combo_box_get_active (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *value);</pre>
<p>
Retrieves the value of the selected (active) item in the <em class="parameter"><code>combo_box</code></em>.</p>
<p>
@ -406,7 +516,11 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> has been set or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if no item was
active.
</td>
@ -419,10 +533,18 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-combo-box-connect"></a><h3>gimp_int_combo_box_connect ()</h3>
<pre class="programlisting">gulong gimp_int_combo_box_connect (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
gint value,
GCallback callback,
gpointer data);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gulong"
>gulong</a> gimp_int_combo_box_connect (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
A convenience function that sets the inital <em class="parameter"><code>value</code></em> of a
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox"><span class="type">GimpIntComboBox</span></a> and connects <em class="parameter"><code>callback</code></em> to the "changed"
@ -432,7 +554,9 @@ signal.
This function also calls the <em class="parameter"><code>callback</code></em> once after setting the
initial <em class="parameter"><code>value</code></em>. This is often convenient when working with combo
boxes that select a default active item, like for example
<code class="function">gimp_drawable_combo_box_new()</code>. If you pass an invalid initial
<a
href="../libgimp/libgimp-GimpItemComboBox.html#gimp-drawable-combo-box-new"
><code class="function">gimp_drawable_combo_box_new()</code></a>. If you pass an invalid initial
<em class="parameter"><code>value</code></em>, the <em class="parameter"><code>callback</code></em> will be called with the default item active.</p>
<p>
@ -457,12 +581,16 @@ boxes that select a default active item, like for example
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td> a pointer passed as data to <code class="function">g_signal_connect()</code>
<td> a pointer passed as data to <a
href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>
</td>
</tr>
@ -476,15 +604,21 @@ boxes that select a default active item, like for example
<a name="gimp-int-combo-box-set-sensitivity"></a><h3>gimp_int_combo_box_set_sensitivity ()</h3>
<pre class="programlisting">void gimp_int_combo_box_set_sensitivity (<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a> *combo_box,
<a class="link" href="GimpIntComboBox.html#GimpIntSensitivityFunc" title="GimpIntSensitivityFunc ()">GimpIntSensitivityFunc</a> func,
gpointer data,
GDestroyNotify destroy);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"
>GDestroyNotify</a> destroy);</pre>
<p>
Sets a function that is used to decide about the sensitivity of
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="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-queue-draw"
><code class="function">gtk_widget_queue_draw()</code></a> on the <em class="parameter"><code>combo_box</code></em> will cause the
sensitivity to be updated.</p>
<p>
@ -499,7 +633,9 @@ sensitivity to be updated.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to unset
</td>
</tr>
<tr>
@ -522,7 +658,9 @@ sensitivity to be updated.</p>
<a name="GimpIntComboBox.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpIntComboBox--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
<pre class="programlisting"> "ellipsize" PangoEllipsizeMode : Read / Write</pre>
<pre class="programlisting"> "ellipsize" <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write</pre>
<p>
Specifies the preferred place to ellipsize text in the combo-box,
if the cell renderer does not have enough room to display the

View File

@ -58,17 +58,31 @@
<pre class="synopsis">
<a class="link" href="GimpIntStore.html#GimpIntStore-struct" title="GimpIntStore">GimpIntStore</a>;
enum <a class="link" href="GimpIntStore.html#GimpIntStoreColumns" title="enum GimpIntStoreColumns">GimpIntStoreColumns</a>;
GtkListStore* <a class="link" href="GimpIntStore.html#gimp-int-store-new" title="gimp_int_store_new ()">gimp_int_store_new</a> (void);
gboolean <a class="link" href="GimpIntStore.html#gimp-int-store-lookup-by-value" title="gimp_int_store_lookup_by_value ()">gimp_int_store_lookup_by_value</a> (GtkTreeModel *model,
gint value,
GtkTreeIter *iter);
<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>* <a class="link" href="GimpIntStore.html#gimp-int-store-new" title="gimp_int_store_new ()">gimp_int_store_new</a> (void);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpIntStore.html#gimp-int-store-lookup-by-value" title="gimp_int_store_lookup_by_value ()">gimp_int_store_lookup_by_value</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"
>GtkTreeIter</a> *iter);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpIntStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GtkListStore
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>
+----GimpIntStore
+----<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a>
</pre>
@ -77,12 +91,24 @@ gboolean <a class="link" href="GimpIntStore.html#gimp-int-store-looku
<a name="GimpIntStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpIntStore implements
GtkBuildable, GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest and GtkTreeSortable.</p>
<a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a>, <a
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragSource"
>GtkTreeDragSource</a>, <a
href="/usr/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html#GtkTreeDragDest"
>GtkTreeDragDest</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkTreeSortable.html"
>GtkTreeSortable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpIntStore.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpIntStore.html#GimpIntStore--user-data-type" title='The "user-data-type" property'>user-data-type</a>" GType* : Read / Write / Construct Only
"<a class="link" href="GimpIntStore.html#GimpIntStore--user-data-type" title='The "user-data-type" property'>user-data-type</a>" <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a>* : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
@ -120,9 +146,13 @@ A model for integer based name-value pairs (e.g. enums)
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-store-new"></a><h3>gimp_int_store_new ()</h3>
<pre class="programlisting">GtkListStore* gimp_int_store_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
><span class="type">GtkListStore</span></a> with a number of useful columns.
<a class="link" 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>
@ -143,9 +173,17 @@ are identified using an integer value.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-store-lookup-by-value"></a><h3>gimp_int_store_lookup_by_value ()</h3>
<pre class="programlisting">gboolean gimp_int_store_lookup_by_value (GtkTreeModel *model,
gint value,
GtkTreeIter *iter);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_int_store_lookup_by_value (<a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/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>
@ -171,8 +209,12 @@ Iterate over the <em class="parameter"><code>model</code></em> looking for <em c
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
@ -186,9 +228,13 @@ Iterate over the <em class="parameter"><code>model</code></em> looking for <em c
<a name="GimpIntStore.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpIntStore--user-data-type"></a><h3>The <code class="literal">"user-data-type"</code> property</h3>
<pre class="programlisting"> "user-data-type" GType* : Read / Write / Construct Only</pre>
<pre class="programlisting"> "user-data-type" <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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

@ -57,24 +57,50 @@
<a name="GimpMemsizeEntry.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpMemsizeEntry.html#GimpMemsizeEntry-struct" title="GimpMemsizeEntry">GimpMemsizeEntry</a>;
GtkWidget* <a class="link" href="GimpMemsizeEntry.html#gimp-memsize-entry-new" title="gimp_memsize_entry_new ()">gimp_memsize_entry_new</a> (guint64 value,
guint64 lower,
guint64 upper);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpMemsizeEntry.html#gimp-memsize-entry-new" title="gimp_memsize_entry_new ()">gimp_memsize_entry_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> upper);
void <a class="link" href="GimpMemsizeEntry.html#gimp-memsize-entry-set-value" title="gimp_memsize_entry_set_value ()">gimp_memsize_entry_set_value</a> (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
guint64 value);
guint64 <a class="link" href="GimpMemsizeEntry.html#gimp-memsize-entry-get-value" title="gimp_memsize_entry_get_value ()">gimp_memsize_entry_get_value</a> (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> value);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> <a class="link" href="GimpMemsizeEntry.html#gimp-memsize-entry-get-value" title="gimp_memsize_entry_get_value ()">gimp_memsize_entry_get_value</a> (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpMemsizeEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
>GtkHBox</a>
+----GimpMemsizeEntry
</pre>
</div>
@ -82,7 +108,9 @@ guint64 <a class="link" href="GimpMemsizeEntry.html#gimp-memsize-ent
<a name="GimpMemsizeEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpMemsizeEntry implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpMemsizeEntry.signals"></a><h2>Signals</h2>
@ -110,12 +138,26 @@ The <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class=
<hr>
<div class="refsect2" lang="en">
<a name="gimp-memsize-entry-new"></a><h3>gimp_memsize_entry_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_memsize_entry_new (guint64 value,
guint64 lower,
guint64 upper);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_memsize_entry_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> upper);</pre>
<p>
Creates a new <a class="link" 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 class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a> which is a <a
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
><span class="type">GtkHBox</span></a> with a <a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a>
and a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> all setup to allow the user to enter memory sizes.</p>
<p>
</p>
@ -149,7 +191,9 @@ and a <span class="type">GtkOptionMenu</span> all setup to allow the user to ent
<div class="refsect2" lang="en">
<a name="gimp-memsize-entry-set-value"></a><h3>gimp_memsize_entry_set_value ()</h3>
<pre class="programlisting">void gimp_memsize_entry_set_value (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry,
guint64 value);</pre>
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a> rounds
the value to full Kilobytes.</p>
@ -175,7 +219,9 @@ the value to full Kilobytes.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-memsize-entry-get-value"></a><h3>gimp_memsize_entry_get_value ()</h3>
<pre class="programlisting">guint64 gimp_memsize_entry_get_value (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"
>guint64</a> gimp_memsize_entry_get_value (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *entry);</pre>
<p>
Retrieves the current value from a <a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry"><span class="type">GimpMemsizeEntry</span></a>.</p>
<p>
@ -203,7 +249,9 @@ Retrieves the current value from a <a class="link" href="GimpMemsizeEntry.html"
<div class="refsect2" lang="en">
<a name="GimpMemsizeEntry-value-changed"></a><h3>The <code class="literal">"value-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a> *gimpmemsizeentry,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -60,50 +60,98 @@
<pre class="synopsis">
<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry-struct" title="GimpNumberPairEntry">GimpNumberPairEntry</a>;
enum <a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a>;
GtkWidget* <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-new" title="gimp_number_pair_entry_new ()">gimp_number_pair_entry_new</a> (const gchar *separators,
gboolean allow_simplification,
gdouble min_valid_value,
gdouble max_valid_value);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-new" title="gimp_number_pair_entry_new ()">gimp_number_pair_entry_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *separators,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_simplification,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min_valid_value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max_valid_value);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-values" title="gimp_number_pair_entry_set_default_values ()">gimp_number_pair_entry_set_default_values</a>
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble left,
gdouble right);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-values" title="gimp_number_pair_entry_get_default_values ()">gimp_number_pair_entry_get_default_values</a>
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble *left,
gdouble *right);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-values" title="gimp_number_pair_entry_set_values ()">gimp_number_pair_entry_set_values</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble left,
gdouble right);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-values" title="gimp_number_pair_entry_get_values ()">gimp_number_pair_entry_get_values</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble *left,
gdouble *right);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);
<a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-aspect" title="gimp_number_pair_entry_get_aspect ()">gimp_number_pair_entry_get_aspect</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-aspect" title="gimp_number_pair_entry_set_aspect ()">gimp_number_pair_entry_set_aspect</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
<a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a> aspect);
gdouble <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio" title="gimp_number_pair_entry_get_ratio ()">gimp_number_pair_entry_get_ratio</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio" title="gimp_number_pair_entry_get_ratio ()">gimp_number_pair_entry_get_ratio</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-ratio" title="gimp_number_pair_entry_set_ratio ()">gimp_number_pair_entry_set_ratio</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble ratio);
gboolean <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override" title="gimp_number_pair_entry_get_user_override ()">gimp_number_pair_entry_get_user_override</a>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> ratio);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override" title="gimp_number_pair_entry_get_user_override ()">gimp_number_pair_entry_get_user_override</a>
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-user-override" title="gimp_number_pair_entry_set_user_override ()">gimp_number_pair_entry_set_user_override</a>
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gboolean user_override);
const gchar* <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-text" title="gimp_number_pair_entry_get_default_text ()">gimp_number_pair_entry_get_default_text</a>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> user_override);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-text" title="gimp_number_pair_entry_get_default_text ()">gimp_number_pair_entry_get_default_text</a>
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-text" title="gimp_number_pair_entry_set_default_text ()">gimp_number_pair_entry_set_default_text</a>
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
const gchar *string);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *string);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpNumberPairEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkEntry
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkEntry.html"
>GtkEntry</a>
+----GimpNumberPairEntry
</pre>
</div>
@ -111,23 +159,51 @@ void <a class="link" href="GimpNumberPairEntry.html#gimp-number-p
<a name="GimpNumberPairEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpNumberPairEntry implements
AtkImplementorIface, GtkBuildable, GtkEditable and GtkCellEditable.</p>
AtkImplementorIface, <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkEditable.html"
>GtkEditable</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
>GtkCellEditable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpNumberPairEntry.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification" title='The "allow-simplification" property'>allow-simplification</a>" gboolean : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification" title='The "allow-simplification" property'>allow-simplification</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--aspect" title='The "aspect" property'>aspect</a>" <a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number" title='The "default-left-number" property'>default-left-number</a>" gdouble : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number" title='The "default-right-number" property'>default-right-number</a>" gdouble : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-text" title='The "default-text" property'>default-text</a>" gchar* : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--left-number" title='The "left-number" property'>left-number</a>" gdouble : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value" title='The "max-valid-value" property'>max-valid-value</a>" gdouble : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value" title='The "min-valid-value" property'>min-valid-value</a>" gdouble : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--ratio" title='The "ratio" property'>ratio</a>" gdouble : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--right-number" title='The "right-number" property'>right-number</a>" gdouble : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--separators" title='The "separators" property'>separators</a>" gchar* : Read / Write / Construct Only
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--user-override" title='The "user-override" property'>user-override</a>" gboolean : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number" title='The "default-left-number" property'>default-left-number</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number" title='The "default-right-number" property'>default-right-number</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-text" title='The "default-text" property'>default-text</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--left-number" title='The "left-number" property'>left-number</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value" title='The "max-valid-value" property'>max-valid-value</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value" title='The "min-valid-value" property'>min-valid-value</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--ratio" title='The "ratio" property'>ratio</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--right-number" title='The "right-number" property'>right-number</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--separators" title='The "separators" property'>separators</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write / Construct Only
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--user-override" title='The "user-override" property'>user-override</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
@ -169,10 +245,20 @@ GimpNumberPairEntry implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-number-pair-entry-new"></a><h3>gimp_number_pair_entry_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_number_pair_entry_new (const gchar *separators,
gboolean allow_simplification,
gdouble min_valid_value,
gdouble max_valid_value);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_number_pair_entry_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *separators,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> allow_simplification,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min_valid_value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max_valid_value);</pre>
<p>
Creates a new <a class="link" 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
@ -237,8 +323,12 @@ value.</p>
<a name="gimp-number-pair-entry-set-default-values"></a><h3>gimp_number_pair_entry_set_default_values ()</h3>
<pre class="programlisting">void gimp_number_pair_entry_set_default_values
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble left,
gdouble right);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);</pre>
<p>
</p>
<p>
@ -272,8 +362,12 @@ value.</p>
<a name="gimp-number-pair-entry-get-default-values"></a><h3>gimp_number_pair_entry_get_default_values ()</h3>
<pre class="programlisting">void gimp_number_pair_entry_get_default_values
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble *left,
gdouble *right);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);</pre>
<p>
</p>
<p>
@ -306,8 +400,12 @@ value.</p>
<div class="refsect2" lang="en">
<a name="gimp-number-pair-entry-set-values"></a><h3>gimp_number_pair_entry_set_values ()</h3>
<pre class="programlisting">void gimp_number_pair_entry_set_values (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble left,
gdouble right);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> right);</pre>
<p>
Forces setting the numbers displayed by a <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a>,
ignoring if the user has set his/her own value. The state of
@ -342,8 +440,12 @@ user-override will not be changed.</p>
<div class="refsect2" lang="en">
<a name="gimp-number-pair-entry-get-values"></a><h3>gimp_number_pair_entry_get_values ()</h3>
<pre class="programlisting">void gimp_number_pair_entry_get_values (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble *left,
gdouble *right);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *left,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *right);</pre>
<p>
Gets the numbers displayed by a <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a>.</p>
<p>
@ -359,12 +461,16 @@ Gets the numbers displayed by a <a class="link" href="GimpNumberPairEntry.html"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
<td> Pointer of where to store the left number (may be <code class="literal">NULL</code>).
<td> Pointer of where to store the left number (may be <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
<td> Pointer of to store the right number (may be <code class="literal">NULL</code>).
<td> Pointer of to store the right number (may be <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).
</td>
</tr>
</tbody>
@ -433,7 +539,9 @@ right_number if necessary (or setting them to 1.0 in case that
<hr>
<div class="refsect2" lang="en">
<a name="gimp-number-pair-entry-get-ratio"></a><h3>gimp_number_pair_entry_get_ratio ()</h3>
<pre class="programlisting">gdouble gimp_number_pair_entry_get_ratio (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_number_pair_entry_get_ratio (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);</pre>
<p>
Retrieves the ratio of the numbers displayed by a <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a>.</p>
<p>
@ -462,7 +570,9 @@ Retrieves the ratio of the numbers displayed by a <a class="link" href="GimpNumb
<div class="refsect2" lang="en">
<a name="gimp-number-pair-entry-set-ratio"></a><h3>gimp_number_pair_entry_set_ratio ()</h3>
<pre class="programlisting">void gimp_number_pair_entry_set_ratio (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gdouble ratio);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> ratio);</pre>
<p>
Sets the numbers of the <a class="link" 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
@ -495,7 +605,9 @@ with left_number and right_number &lt; 1000.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-number-pair-entry-get-user-override"></a><h3>gimp_number_pair_entry_get_user_override ()</h3>
<pre class="programlisting">gboolean gimp_number_pair_entry_get_user_override
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_number_pair_entry_get_user_override
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);</pre>
<p>
</p>
@ -526,7 +638,9 @@ with left_number and right_number &lt; 1000.</p>
<a name="gimp-number-pair-entry-set-user-override"></a><h3>gimp_number_pair_entry_set_user_override ()</h3>
<pre class="programlisting">void gimp_number_pair_entry_set_user_override
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
gboolean user_override);</pre>
<a
href="/usr/share/gtk-doc/html/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
@ -544,8 +658,12 @@ mode, setting default values will not affect the active values.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_override</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> sets the entry in user overridden mode,
<code class="literal">FALSE</code> disables.
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> sets the entry in user overridden mode,
<a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> disables.
</td>
</tr>
</tbody>
@ -556,7 +674,9 @@ mode, setting default values will not affect the active values.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-number-pair-entry-get-default-text"></a><h3>gimp_number_pair_entry_get_default_text ()</h3>
<pre class="programlisting">const gchar* gimp_number_pair_entry_get_default_text
<pre class="programlisting">const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_number_pair_entry_get_default_text
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);</pre>
<p>
</p>
@ -573,7 +693,9 @@ mode, setting default values will not affect the active values.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the string manully set to be shown, or <code class="literal">NULL</code> if values are
<td> the string manully set to be shown, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if values are
shown in a normal fashion.
</td>
@ -588,7 +710,9 @@ mode, setting default values will not affect the active values.</p>
<a name="gimp-number-pair-entry-set-default-text"></a><h3>gimp_number_pair_entry_set_default_text ()</h3>
<pre class="programlisting">void gimp_number_pair_entry_set_default_text
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
const gchar *string);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *string);</pre>
<p>
Causes the entry to show a given string when in automatic mode,
instead of the default numbers. The only thing this does is making
@ -596,7 +720,9 @@ the <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">
and API calls are not affected.
</p>
<p>
Set the default string to <code class="literal">NULL</code> to display default values as
Set the default string to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to display default values as
normal.</p>
<p>
@ -624,7 +750,9 @@ normal.</p>
<a name="GimpNumberPairEntry.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--allow-simplification"></a><h3>The <code class="literal">"allow-simplification"</code> property</h3>
<pre class="programlisting"> "allow-simplification" gboolean : Read / Write</pre>
<pre class="programlisting"> "allow-simplification" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether to allow simplification.</p>
<p>Default value: FALSE</p>
</div>
@ -638,7 +766,9 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--default-left-number"></a><h3>The <code class="literal">"default-left-number"</code> property</h3>
<pre class="programlisting"> "default-left-number" gdouble : Read / Write</pre>
<pre class="programlisting"> "default-left-number" <a
href="/usr/share/gtk-doc/html/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>
@ -646,7 +776,9 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--default-right-number"></a><h3>The <code class="literal">"default-right-number"</code> property</h3>
<pre class="programlisting"> "default-right-number" gdouble : Read / Write</pre>
<pre class="programlisting"> "default-right-number" <a
href="/usr/share/gtk-doc/html/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>
@ -654,14 +786,18 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--default-text"></a><h3>The <code class="literal">"default-text"</code> property</h3>
<pre class="programlisting"> "default-text" gchar* : Read / Write</pre>
<pre class="programlisting"> "default-text" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<p>String to show when in automatic mode.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--left-number"></a><h3>The <code class="literal">"left-number"</code> property</h3>
<pre class="programlisting"> "left-number" gdouble : Read / Write</pre>
<pre class="programlisting"> "left-number" <a
href="/usr/share/gtk-doc/html/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>
@ -669,7 +805,9 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--max-valid-value"></a><h3>The <code class="literal">"max-valid-value"</code> property</h3>
<pre class="programlisting"> "max-valid-value" gdouble : Read / Write</pre>
<pre class="programlisting"> "max-valid-value" <a
href="/usr/share/gtk-doc/html/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>
@ -677,7 +815,9 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--min-valid-value"></a><h3>The <code class="literal">"min-valid-value"</code> property</h3>
<pre class="programlisting"> "min-valid-value" gdouble : Read / Write</pre>
<pre class="programlisting"> "min-valid-value" <a
href="/usr/share/gtk-doc/html/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>
@ -685,7 +825,9 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--ratio"></a><h3>The <code class="literal">"ratio"</code> property</h3>
<pre class="programlisting"> "ratio" gdouble : Read / Write</pre>
<pre class="programlisting"> "ratio" <a
href="/usr/share/gtk-doc/html/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>
@ -693,7 +835,9 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--right-number"></a><h3>The <code class="literal">"right-number"</code> property</h3>
<pre class="programlisting"> "right-number" gdouble : Read / Write</pre>
<pre class="programlisting"> "right-number" <a
href="/usr/share/gtk-doc/html/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>
@ -701,14 +845,18 @@ normal.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry--separators"></a><h3>The <code class="literal">"separators"</code> property</h3>
<pre class="programlisting"> "separators" gchar* : Read / Write / Construct Only</pre>
<pre class="programlisting"> "separators" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</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="GimpNumberPairEntry--user-override"></a><h3>The <code class="literal">"user-override"</code> property</h3>
<pre class="programlisting"> "user-override" gboolean : Read / Write</pre>
<pre class="programlisting"> "user-override" <a
href="/usr/share/gtk-doc/html/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>
@ -718,7 +866,9 @@ normal.</p>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry-numbers-changed"></a><h3>The <code class="literal">"numbers-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *gimpnumberpairentry,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -742,7 +892,9 @@ normal.</p>
<div class="refsect2" lang="en">
<a name="GimpNumberPairEntry-ratio-changed"></a><h3>The <code class="literal">"ratio-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *gimpnumberpairentry,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -57,26 +57,52 @@
<a name="GimpOffsetArea.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpOffsetArea.html#GimpOffsetArea-struct" title="GimpOffsetArea">GimpOffsetArea</a>;
GtkWidget* <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new" title="gimp_offset_area_new ()">gimp_offset_area_new</a> (gint orig_width,
gint orig_height);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpOffsetArea.html#gimp-offset-area-new" title="gimp_offset_area_new ()">gimp_offset_area_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> orig_width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> orig_height);
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-size" title="gimp_offset_area_set_size ()">gimp_offset_area_set_size</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint width,
gint height);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height);
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-offsets" title="gimp_offset_area_set_offsets ()">gimp_offset_area_set_offsets</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint offset_x,
gint offset_y);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> offset_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> offset_y);
void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-set-pixbuf" title="gimp_offset_area_set_pixbuf ()">gimp_offset_area_set_pixbuf</a> (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
GdkPixbuf *pixbuf);
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpOffsetArea.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpOffsetArea
</pre>
</div>
@ -84,7 +110,9 @@ void <a class="link" href="GimpOffsetArea.html#gimp-offset-area-s
<a name="GimpOffsetArea.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpOffsetArea implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpOffsetArea.signals"></a><h2>Signals</h2>
@ -110,8 +138,14 @@ GimpOffsetArea implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-offset-area-new"></a><h3>gimp_offset_area_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_offset_area_new (gint orig_width,
gint orig_height);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_offset_area_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> orig_width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> orig_height);</pre>
<p>
Creates a new <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a> widget. A <a class="link" 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
@ -144,8 +178,12 @@ specify the new offsets.</p>
<div class="refsect2" lang="en">
<a name="gimp-offset-area-set-size"></a><h3>gimp_offset_area_set_size ()</h3>
<pre class="programlisting">void gimp_offset_area_set_size (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint width,
gint height);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Sets the size of the image/drawable displayed by the <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
If the offsets change as a result of this change, the "offsets-changed"
@ -178,8 +216,12 @@ signal is emitted.</p>
<div class="refsect2" lang="en">
<a name="gimp-offset-area-set-offsets"></a><h3>gimp_offset_area_set_offsets ()</h3>
<pre class="programlisting">void gimp_offset_area_set_offsets (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
gint offset_x,
gint offset_y);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> offset_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> offset_y);</pre>
<p>
Sets the offsets of the image/drawable displayed by the <a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea"><span class="type">GimpOffsetArea</span></a>.
It does not emit the "offsets-changed" signal.</p>
@ -211,7 +253,9 @@ It does not emit the "offsets-changed" signal.</p>
<div class="refsect2" lang="en">
<a name="gimp-offset-area-set-pixbuf"></a><h3>gimp_offset_area_set_pixbuf ()</h3>
<pre class="programlisting">void gimp_offset_area_set_pixbuf (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *offset_area,
GdkPixbuf *pixbuf);</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -228,7 +272,9 @@ is being offset.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td> a <span class="type">GdkPixbuf</span>.
<td> a <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a>.
</td>
</tr>
</tbody>
@ -242,9 +288,15 @@ is being offset.</p>
<div class="refsect2" lang="en">
<a name="GimpOffsetArea-offsets-changed"></a><h3>The <code class="literal">"offsets-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a> *gimpoffsetarea,
gint arg1,
gint arg2,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> arg2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -60,52 +60,104 @@
<pre class="synopsis">
<a class="link" href="GimpPageSelector.html#GimpPageSelector-struct" title="GimpPageSelector">GimpPageSelector</a>;
enum <a class="link" href="GimpPageSelector.html#GimpPageSelectorTarget" title="enum GimpPageSelectorTarget">GimpPageSelectorTarget</a>;
GtkWidget* <a class="link" href="GimpPageSelector.html#gimp-page-selector-new" title="gimp_page_selector_new ()">gimp_page_selector_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpPageSelector.html#gimp-page-selector-new" title="gimp_page_selector_new ()">gimp_page_selector_new</a> (void);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-set-n-pages" title="gimp_page_selector_set_n_pages ()">gimp_page_selector_set_n_pages</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint n_pages);
gint <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-n-pages" title="gimp_page_selector_get_n_pages ()">gimp_page_selector_get_n_pages</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_pages);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-n-pages" title="gimp_page_selector_get_n_pages ()">gimp_page_selector_get_n_pages</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-set-target" title="gimp_page_selector_set_target ()">gimp_page_selector_set_target</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a class="link" href="GimpPageSelector.html#GimpPageSelectorTarget" title="enum GimpPageSelectorTarget">GimpPageSelectorTarget</a> target);
<a class="link" href="GimpPageSelector.html#GimpPageSelectorTarget" title="enum GimpPageSelectorTarget">GimpPageSelectorTarget</a> <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-target" title="gimp_page_selector_get_target ()">gimp_page_selector_get_target</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-set-page-thumbnail" title="gimp_page_selector_set_page_thumbnail ()">gimp_page_selector_set_page_thumbnail</a>
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
GdkPixbuf *thumbnail);
GdkPixbuf* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-page-thumbnail" title="gimp_page_selector_get_page_thumbnail ()">gimp_page_selector_get_page_thumbnail</a>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *thumbnail);
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-page-thumbnail" title="gimp_page_selector_get_page_thumbnail ()">gimp_page_selector_get_page_thumbnail</a>
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-set-page-label" title="gimp_page_selector_set_page_label ()">gimp_page_selector_set_page_label</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
const gchar *label);
gchar* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-page-label" title="gimp_page_selector_get_page_label ()">gimp_page_selector_get_page_label</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-page-label" title="gimp_page_selector_get_page_label ()">gimp_page_selector_get_page_label</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-select-all" title="gimp_page_selector_select_all ()">gimp_page_selector_select_all</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-unselect-all" title="gimp_page_selector_unselect_all ()">gimp_page_selector_unselect_all</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-select-page" title="gimp_page_selector_select_page ()">gimp_page_selector_select_page</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-unselect-page" title="gimp_page_selector_unselect_page ()">gimp_page_selector_unselect_page</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
gboolean <a class="link" href="GimpPageSelector.html#gimp-page-selector-page-is-selected" title="gimp_page_selector_page_is_selected ()">gimp_page_selector_page_is_selected</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);
gint* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-selected-pages" title="gimp_page_selector_get_selected_pages ()">gimp_page_selector_get_selected_pages</a>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpPageSelector.html#gimp-page-selector-page-is-selected" title="gimp_page_selector_page_is_selected ()">gimp_page_selector_page_is_selected</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-selected-pages" title="gimp_page_selector_get_selected_pages ()">gimp_page_selector_get_selected_pages</a>
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint *n_selected_pages);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *n_selected_pages);
void <a class="link" href="GimpPageSelector.html#gimp-page-selector-select-range" title="gimp_page_selector_select_range ()">gimp_page_selector_select_range</a> (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
const gchar *range);
gchar* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-selected-range" title="gimp_page_selector_get_selected_range ()">gimp_page_selector_get_selected_range</a>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *range);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpPageSelector.html#gimp-page-selector-get-selected-range" title="gimp_page_selector_get_selected_range ()">gimp_page_selector_get_selected_range</a>
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpPageSelector.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpPageSelector
</pre>
</div>
@ -113,12 +165,16 @@ gchar* <a class="link" href="GimpPageSelector.html#gimp-page-select
<a name="GimpPageSelector.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpPageSelector implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpPageSelector.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpPageSelector.html#GimpPageSelector--n-pages" title='The "n-pages" property'>n-pages</a>" gint : Read / Write
"<a class="link" href="GimpPageSelector.html#GimpPageSelector--n-pages" title='The "n-pages" property'>n-pages</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a class="link" href="GimpPageSelector.html#GimpPageSelector--target" title='The "target" property'>target</a>" <a class="link" href="GimpPageSelector.html#GimpPageSelectorTarget" title="enum GimpPageSelectorTarget">GimpPageSelectorTarget</a> : Read / Write
</pre>
</div>
@ -160,7 +216,9 @@ GimpPageSelector implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-new"></a><h3>gimp_page_selector_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_page_selector_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_page_selector_new (void);</pre>
<p>
Creates a new <a class="link" href="GimpPageSelector.html" title="GimpPageSelector"><span class="type">GimpPageSelector</span></a> widget.</p>
<p>
@ -182,7 +240,9 @@ Creates a new <a class="link" href="GimpPageSelector.html" title="GimpPageSelect
<div class="refsect2" lang="en">
<a name="gimp-page-selector-set-n-pages"></a><h3>gimp_page_selector_set_n_pages ()</h3>
<pre class="programlisting">void gimp_page_selector_set_n_pages (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint n_pages);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> n_pages);</pre>
<p>
Sets the number of pages in the document to open.</p>
<p>
@ -209,7 +269,9 @@ Sets the number of pages in the document to open.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-get-n-pages"></a><h3>gimp_page_selector_get_n_pages ()</h3>
<pre class="programlisting">gint gimp_page_selector_get_n_pages (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gimp_page_selector_get_n_pages (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<p>
</p>
<p>
@ -295,8 +357,12 @@ Sets the number of pages in the document to open.</p>
<a name="gimp-page-selector-set-page-thumbnail"></a><h3>gimp_page_selector_set_page_thumbnail ()</h3>
<pre class="programlisting">void gimp_page_selector_set_page_thumbnail
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
GdkPixbuf *thumbnail);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
<a
href="/usr/share/gtk-doc/html/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>
@ -329,9 +395,13 @@ be used if no page thumbnail is set.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-get-page-thumbnail"></a><h3>gimp_page_selector_get_page_thumbnail ()</h3>
<pre class="programlisting">GdkPixbuf* gimp_page_selector_get_page_thumbnail
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* gimp_page_selector_get_page_thumbnail
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
</p>
<p>
@ -352,7 +422,9 @@ be used if no page thumbnail is set.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if none is set. The returned
pixbuf is owned by <a class="link" href="GimpPageSelector.html" title="GimpPageSelector"><span class="type">GimpPageSelector</span></a> and must not be
unref'ed when no longer needed.
@ -367,8 +439,12 @@ be used if no page thumbnail is set.</p>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-set-page-label"></a><h3>gimp_page_selector_set_page_label ()</h3>
<pre class="programlisting">void gimp_page_selector_set_page_label (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no,
const gchar *label);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *label);</pre>
<p>
</p>
<p>
@ -400,8 +476,12 @@ be used if no page thumbnail is set.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-get-page-label"></a><h3>gimp_page_selector_get_page_label ()</h3>
<pre class="programlisting">gchar* gimp_page_selector_get_page_label (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_page_selector_get_page_label (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
</p>
<p>
@ -422,8 +502,12 @@ be used if no page thumbnail is set.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a>'d when no longer
needed.
</td>
@ -477,7 +561,9 @@ Unselects all pages.</p>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-select-page"></a><h3>gimp_page_selector_select_page ()</h3>
<pre class="programlisting">void gimp_page_selector_select_page (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
Adds a page to the selection.</p>
<p>
@ -505,7 +591,9 @@ Adds a page to the selection.</p>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-unselect-page"></a><h3>gimp_page_selector_unselect_page ()</h3>
<pre class="programlisting">void gimp_page_selector_unselect_page (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
Removes a page from the selection.</p>
<p>
@ -532,8 +620,12 @@ Removes a page from the selection.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-page-is-selected"></a><h3>gimp_page_selector_page_is_selected ()</h3>
<pre class="programlisting">gboolean gimp_page_selector_page_is_selected (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint page_no);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_page_selector_page_is_selected (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> page_no);</pre>
<p>
</p>
<p>
@ -554,7 +646,11 @@ Removes a page from the selection.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if the page is selected, <code class="literal">FALSE</code> otherwise.
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the page is selected, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise.
</td>
</tr>
@ -566,9 +662,13 @@ Removes a page from the selection.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-get-selected-pages"></a><h3>gimp_page_selector_get_selected_pages ()</h3>
<pre class="programlisting">gint* gimp_page_selector_get_selected_pages
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>* gimp_page_selector_get_selected_pages
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
gint *n_selected_pages);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *n_selected_pages);</pre>
<p>
</p>
<p>
@ -589,7 +689,9 @@ Removes a page from the selection.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> if
you don't need the array any longer.
</td>
@ -603,7 +705,9 @@ Removes a page from the selection.</p>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-select-range"></a><h3>gimp_page_selector_select_range ()</h3>
<pre class="programlisting">void gimp_page_selector_select_range (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector,
const gchar *range);</pre>
const <a
href="/usr/share/gtk-doc/html/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".
@ -637,7 +741,9 @@ overlapping pages and ranges will be merged.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-page-selector-get-selected-range"></a><h3>gimp_page_selector_get_selected_range ()</h3>
<pre class="programlisting">gchar* gimp_page_selector_get_selected_range
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_page_selector_get_selected_range
(<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *selector);</pre>
<p>
</p>
@ -670,7 +776,9 @@ overlapping pages and ranges will be merged.</p>
<a name="GimpPageSelector.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpPageSelector--n-pages"></a><h3>The <code class="literal">"n-pages"</code> property</h3>
<pre class="programlisting"> "n-pages" gint : Read / Write</pre>
<pre class="programlisting"> "n-pages" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>
The number of pages of the document to open.</p>
<p>
@ -700,7 +808,9 @@ The target to open the document to.</p>
<div class="refsect2" lang="en">
<a name="GimpPageSelector-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *widget,
gpointer user_data) : Run First / Action</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -728,7 +838,9 @@ is emitted when a user double-clicks an item in the page selection.</p>
<div class="refsect2" lang="en">
<a name="GimpPageSelector-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpPageSelector.html" title="GimpPageSelector">GimpPageSelector</a> *widget,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/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

@ -57,31 +57,67 @@
<a name="GimpPathEditor.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpPathEditor.html#GimpPathEditor-struct" title="GimpPathEditor">GimpPathEditor</a>;
GtkWidget* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new" title="gimp_path_editor_new ()">gimp_path_editor_new</a> (const gchar *title,
const gchar *path);
gchar* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-path" title="gimp_path_editor_get_path ()">gimp_path_editor_get_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-new" title="gimp_path_editor_new ()">gimp_path_editor_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-path" title="gimp_path_editor_get_path ()">gimp_path_editor_get_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-path" title="gimp_path_editor_set_path ()">gimp_path_editor_set_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);
gchar* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-writable-path" title="gimp_path_editor_get_writable_path ()">gimp_path_editor_get_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-writable-path" title="gimp_path_editor_get_writable_path ()">gimp_path_editor_get_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-writable-path" title="gimp_path_editor_set_writable_path ()">gimp_path_editor_set_writable_path</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);
gboolean <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-dir-writable" title="gimp_path_editor_get_dir_writable ()">gimp_path_editor_get_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpPathEditor.html#gimp-path-editor-get-dir-writable" title="gimp_path_editor_get_dir_writable ()">gimp_path_editor_get_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory);
void <a class="link" href="GimpPathEditor.html#gimp-path-editor-set-dir-writable" title="gimp_path_editor_set_dir_writable ()">gimp_path_editor_set_dir_writable</a> (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory,
gboolean writable);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> writable);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpPathEditor.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpPathEditor
</pre>
</div>
@ -89,7 +125,9 @@ void <a class="link" href="GimpPathEditor.html#gimp-path-editor-s
<a name="GimpPathEditor.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpPathEditor implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpPathEditor.signals"></a><h2>Signals</h2>
@ -129,14 +167,22 @@ the search path, the "path_changed" signal will be emitted.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-path-editor-new"></a><h3>gimp_path_editor_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_path_editor_new (const gchar *title,
const gchar *path);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_path_editor_new (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);</pre>
<p>
Creates a new <a class="link" 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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
<p>
</p>
@ -145,7 +191,9 @@ The elements of the initial search path must be separated with the
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td> The title of the <span class="type">GtkFileChooser</span> dialog which can be popped up.
<td> The title of the <a
href="/usr/share/gtk-doc/html/gtk/GtkFileChooser.html"
><span class="type">GtkFileChooser</span></a> dialog which can be popped up.
</td>
</tr>
<tr>
@ -164,13 +212,19 @@ The elements of the initial search path must be separated with the
<hr>
<div class="refsect2" lang="en">
<a name="gimp-path-editor-get-path"></a><h3>gimp_path_editor_get_path ()</h3>
<pre class="programlisting">gchar* gimp_path_editor_get_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_path_editor_get_path (<a class="link" 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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"
><code class="function">g_free()</code></a> the returned string.</p>
<p>
</p>
@ -194,10 +248,14 @@ Note that you have to <code class="function">g_free()</code> the returned string
<div class="refsect2" lang="en">
<a name="gimp-path-editor-set-path"></a><h3>gimp_path_editor_set_path ()</h3>
<pre class="programlisting">void gimp_path_editor_set_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);</pre>
const <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a> character.</p>
<p>
</p>
@ -220,7 +278,9 @@ The elements of the initial search path must be separated with the
<hr>
<div class="refsect2" lang="en">
<a name="gimp-path-editor-get-writable-path"></a><h3>gimp_path_editor_get_writable_path ()</h3>
<pre class="programlisting">gchar* gimp_path_editor_get_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_path_editor_get_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor);</pre>
<p>
</p>
@ -246,7 +306,9 @@ The elements of the initial search path must be separated with the
<div class="refsect2" lang="en">
<a name="gimp-path-editor-set-writable-path"></a><h3>gimp_path_editor_set_writable_path ()</h3>
<pre class="programlisting">void gimp_path_editor_set_writable_path (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *path);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *path);</pre>
<p>
</p>
@ -271,8 +333,12 @@ The elements of the initial search path must be separated with the
<hr>
<div class="refsect2" lang="en">
<a name="gimp-path-editor-get-dir-writable"></a><h3>gimp_path_editor_get_dir_writable ()</h3>
<pre class="programlisting">gboolean gimp_path_editor_get_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_path_editor_get_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory);</pre>
<p>
</p>
@ -303,8 +369,12 @@ The elements of the initial search path must be separated with the
<div class="refsect2" lang="en">
<a name="gimp-path-editor-set-dir-writable"></a><h3>gimp_path_editor_set_dir_writable ()</h3>
<pre class="programlisting">void gimp_path_editor_set_dir_writable (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *editor,
const gchar *directory,
gboolean writable);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *directory,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> writable);</pre>
<p>
</p>
@ -337,7 +407,9 @@ The elements of the initial search path must be separated with the
<div class="refsect2" lang="en">
<a name="GimpPathEditor-path-changed"></a><h3>The <code class="literal">"path-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -356,7 +428,9 @@ or reorders an element of the search path.</p>
<div class="refsect2" lang="en">
<a name="GimpPathEditor-writable-changed"></a><h3>The <code class="literal">"writable-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a> *arg0,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/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
@ -379,7 +453,9 @@ is changed, either by the user clicking on it or by calling
<a class="link" href="GimpFileEntry.html" title="GimpFileEntry"><span class="type">GimpFileEntry</span></a>
</p>
<p>
<span class="type">G_SEARCHPATH_SEPARATOR</span>
<a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-SEARCHPATH-SEPARATOR:CAPS"
><span class="type">G_SEARCHPATH_SEPARATOR</span></a>
</p>
</div>
</div>

View File

@ -57,19 +57,35 @@
<a name="GimpPickButton.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpPickButton.html#GimpPickButton-struct" title="GimpPickButton">GimpPickButton</a>;
GtkWidget* <a class="link" href="GimpPickButton.html#gimp-pick-button-new" title="gimp_pick_button_new ()">gimp_pick_button_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpPickButton.html#gimp-pick-button-new" title="gimp_pick_button_new ()">gimp_pick_button_new</a> (void);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpPickButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkButton.html"
>GtkButton</a>
+----GimpPickButton
</pre>
</div>
@ -77,7 +93,9 @@ GtkWidget* <a class="link" href="GimpPickButton.html#gimp-pick-button-n
<a name="GimpPickButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpPickButton implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpPickButton.signals"></a><h2>Signals</h2>
@ -105,7 +123,9 @@ from any point on the screen.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-pick-button-new"></a><h3>gimp_pick_button_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_pick_button_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_pick_button_new (void);</pre>
<p>
Creates a new <a class="link" href="GimpPickButton.html" title="GimpPickButton"><span class="type">GimpPickButton</span></a> widget.</p>
<p>
@ -126,8 +146,12 @@ Creates a new <a class="link" href="GimpPickButton.html" title="GimpPickButton">
<div class="refsect2" lang="en">
<a name="GimpPickButton-color-picked"></a><h3>The <code class="literal">"color-picked"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a> *gimppickbutton,
gpointer arg1,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> arg1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -47,7 +47,9 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpPixmap.top_of_page"></a>GimpPixmap</span></h2>
<p>GimpPixmap — Widget which creates a <span class="type">GtkPixmap</span> from XPM data.</p>
<p>GimpPixmap — Widget which creates a <a
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
><span class="type">GtkPixmap</span></a> from XPM data.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -55,20 +57,38 @@
<a name="GimpPixmap.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpPixmap.html#GimpPixmap-struct" title="GimpPixmap">GimpPixmap</a>;
GtkWidget* <a class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()">gimp_pixmap_new</a> (gchar **xpm_data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()">gimp_pixmap_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> **xpm_data);
void <a class="link" href="GimpPixmap.html#gimp-pixmap-set" title="gimp_pixmap_set ()">gimp_pixmap_set</a> (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
gchar **xpm_data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> **xpm_data);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpPixmap.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkMisc
+----GtkImage
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkMisc.html"
>GtkMisc</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkImage.html"
>GtkImage</a>
+----GimpPixmap
</pre>
</div>
@ -76,19 +96,27 @@ void <a class="link" href="GimpPixmap.html#gimp-pixmap-set" title
<a name="GimpPixmap.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpPixmap implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpPixmap.description"></a><h2>Description</h2>
<p>
Widget which creates a <span class="type">GtkPixmap</span> from XPM data.
Widget which creates a <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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 class="link" href="GimpPixmap.html#gimp-pixmap-new" title="gimp_pixmap_new ()"><code class="function">gimp_pixmap_new()</code></a>
and cannot be cached in memory without doing bad hacks.
</p>
@ -109,7 +137,11 @@ and cannot be cached in memory without doing bad hacks.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-pixmap-new"></a><h3>gimp_pixmap_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_pixmap_new (gchar **xpm_data);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_pixmap_new (<a
href="/usr/share/gtk-doc/html/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>
@ -139,7 +171,9 @@ Creates a new <a class="link" href="GimpPixmap.html" title="GimpPixmap"><span cl
<div class="refsect2" lang="en">
<a name="gimp-pixmap-set"></a><h3>gimp_pixmap_set ()</h3>
<pre class="programlisting">void gimp_pixmap_set (<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a> *pixmap,
gchar **xpm_data);</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -172,7 +206,9 @@ Sets a new image for an existing <a class="link" href="GimpPixmap.html" title="G
<a class="link" href="libgimpwidgets-GimpWidgets.html#gimp-pixmap-button-new" title="gimp_pixmap_button_new ()"><code class="function">gimp_pixmap_button_new()</code></a>
</p>
<p>
<span class="type">GtkPixmap</span>
<a
href="/usr/share/gtk-doc/html/gtk/GtkPixmap.html"
><span class="type">GtkPixmap</span></a>
</p>
</div>
</div>

View File

@ -61,51 +61,111 @@
<a name="GimpPreview.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpPreview.html#GimpPreview-struct" title="GimpPreview">GimpPreview</a>;
gboolean <a class="link" href="GimpPreview.html#gimp-preview-get-update" title="gimp_preview_get_update ()">gimp_preview_get_update</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpPreview.html#gimp-preview-get-update" title="gimp_preview_get_update ()">gimp_preview_get_update</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a class="link" href="GimpPreview.html#gimp-preview-set-update" title="gimp_preview_set_update ()">gimp_preview_set_update</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gboolean update);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> update);
void <a class="link" href="GimpPreview.html#gimp-preview-set-bounds" title="gimp_preview_set_bounds ()">gimp_preview_set_bounds</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint xmin,
gint ymin,
gint xmax,
gint ymax);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> xmin,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> ymin,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> xmax,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> ymax);
void <a class="link" href="GimpPreview.html#gimp-preview-get-size" title="gimp_preview_get_size ()">gimp_preview_get_size</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *width,
gint *height);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *height);
void <a class="link" href="GimpPreview.html#gimp-preview-get-position" title="gimp_preview_get_position ()">gimp_preview_get_position</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *x,
gint *y);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *y);
void <a class="link" href="GimpPreview.html#gimp-preview-transform" title="gimp_preview_transform ()">gimp_preview_transform</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);
void <a class="link" href="GimpPreview.html#gimp-preview-untransform" title="gimp_preview_untransform ()">gimp_preview_untransform</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);
GtkWidget* <a class="link" href="GimpPreview.html#gimp-preview-get-area" title="gimp_preview_get_area ()">gimp_preview_get_area</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpPreview.html#gimp-preview-get-area" title="gimp_preview_get_area ()">gimp_preview_get_area</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a class="link" href="GimpPreview.html#gimp-preview-draw" title="gimp_preview_draw ()">gimp_preview_draw</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a class="link" href="GimpPreview.html#gimp-preview-draw-buffer" title="gimp_preview_draw_buffer ()">gimp_preview_draw_buffer</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
const guchar *buffer,
gint rowstride);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buffer,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride);
void <a class="link" href="GimpPreview.html#gimp-preview-invalidate" title="gimp_preview_invalidate ()">gimp_preview_invalidate</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
void <a class="link" href="GimpPreview.html#gimp-preview-set-default-cursor" title="gimp_preview_set_default_cursor ()">gimp_preview_set_default_cursor</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
GdkCursor *cursor);
GtkWidget* <a class="link" href="GimpPreview.html#gimp-preview-get-controls" title="gimp_preview_get_controls ()">gimp_preview_get_controls</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Cursors.html#GdkCursor"
>GdkCursor</a> *cursor);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpPreview.html#gimp-preview-get-controls" title="gimp_preview_get_controls ()">gimp_preview_get_controls</a> (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpPreview.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----GimpPreview
+----<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a>
</pre>
@ -114,18 +174,24 @@ GtkWidget* <a class="link" href="GimpPreview.html#gimp-preview-get-cont
<a name="GimpPreview.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpPreview implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpPreview.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpPreview.html#GimpPreview--update" title='The "update" property'>update</a>" gboolean : Read / Write / Construct
"<a class="link" href="GimpPreview.html#GimpPreview--update" title='The "update" property'>update</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpPreview.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpPreview.html#GimpPreview--size" title='The "size" style property'>size</a>" gint : Read
"<a class="link" href="GimpPreview.html#GimpPreview--size" title='The "size" style property'>size</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
@ -152,7 +218,9 @@ A widget providing a <a class="link" href="GimpPreviewArea.html" title="GimpPrev
<hr>
<div class="refsect2" lang="en">
<a name="gimp-preview-get-update"></a><h3>gimp_preview_get_update ()</h3>
<pre class="programlisting">gboolean gimp_preview_get_update (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_preview_get_update (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<p>
</p>
<p>
@ -181,7 +249,9 @@ A widget providing a <a class="link" href="GimpPreviewArea.html" title="GimpPrev
<div class="refsect2" lang="en">
<a name="gimp-preview-set-update"></a><h3>gimp_preview_set_update ()</h3>
<pre class="programlisting">void gimp_preview_set_update (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gboolean update);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> update);</pre>
<p>
Sets the state of the "Preview" check button.</p>
<p>
@ -197,7 +267,9 @@ Sets the state of the "Preview" check button.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>update</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the preview should invalidate itself when being
<td> <a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpPreview.html#gimp-preview-invalidate" title="gimp_preview_invalidate ()"><code class="function">gimp_preview_invalidate()</code></a> is being called
</td>
</tr>
@ -210,10 +282,18 @@ Sets the state of the "Preview" check button.</p>
<div class="refsect2" lang="en">
<a name="gimp-preview-set-bounds"></a><h3>gimp_preview_set_bounds ()</h3>
<pre class="programlisting">void gimp_preview_set_bounds (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint xmin,
gint ymin,
gint xmax,
gint ymax);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> xmin,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> ymin,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> xmax,
<a
href="/usr/share/gtk-doc/html/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
@ -258,8 +338,12 @@ maximum size of the <a class="link" href="GimpPreviewArea.html" title="GimpPrevi
<div class="refsect2" lang="en">
<a name="gimp-preview-get-size"></a><h3>gimp_preview_get_size ()</h3>
<pre class="programlisting">void gimp_preview_get_size (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *width,
gint *height);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *height);</pre>
<p>
</p>
<p>
@ -292,8 +376,12 @@ maximum size of the <a class="link" href="GimpPreviewArea.html" title="GimpPrevi
<div class="refsect2" lang="en">
<a name="gimp-preview-get-position"></a><h3>gimp_preview_get_position ()</h3>
<pre class="programlisting">void gimp_preview_get_position (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint *x,
gint *y);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *y);</pre>
<p>
</p>
<p>
@ -326,10 +414,18 @@ maximum size of the <a class="link" href="GimpPreviewArea.html" title="GimpPrevi
<div class="refsect2" lang="en">
<a name="gimp-preview-transform"></a><h3>gimp_preview_transform ()</h3>
<pre class="programlisting">void gimp_preview_transform (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);</pre>
<p>
Transforms from image to widget coordinates.</p>
<p>
@ -372,10 +468,18 @@ Transforms from image to widget coordinates.</p>
<div class="refsect2" lang="en">
<a name="gimp-preview-untransform"></a><h3>gimp_preview_untransform ()</h3>
<pre class="programlisting">void gimp_preview_untransform (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
gint src_x,
gint src_y,
gint *dest_x,
gint *dest_y);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> src_y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y);</pre>
<p>
Transforms from widget to image coordinates.</p>
<p>
@ -417,7 +521,9 @@ Transforms from widget to image coordinates.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-preview-get-area"></a><h3>gimp_preview_get_area ()</h3>
<pre class="programlisting">GtkWidget* gimp_preview_get_area (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_preview_get_area (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<p>
In most cases, you shouldn't need to access the <a class="link" 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.
@ -455,7 +561,9 @@ implement a default draw method so the behaviour is determined by
the derived class implementing this method.
</p>
<p>
<span class="type">GimpDrawablePreview</span> implements <a class="link" href="GimpPreview.html#gimp-preview-draw" title="gimp_preview_draw ()"><code class="function">gimp_preview_draw()</code></a> by drawing the
<a
href="../libgimp/GimpDrawablePreview.html"
><span class="type">GimpDrawablePreview</span></a> implements <a class="link" href="GimpPreview.html#gimp-preview-draw" title="gimp_preview_draw ()"><code class="function">gimp_preview_draw()</code></a> by drawing the
original, unmodified drawable to the <em class="parameter"><code>preview</code></em>.</p>
<p>
@ -475,8 +583,12 @@ original, unmodified drawable to the <em class="parameter"><code>preview</code><
<div class="refsect2" lang="en">
<a name="gimp-preview-draw-buffer"></a><h3>gimp_preview_draw_buffer ()</h3>
<pre class="programlisting">void gimp_preview_draw_buffer (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
const guchar *buffer,
gint rowstride);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buffer,
<a
href="/usr/share/gtk-doc/html/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
@ -541,7 +653,9 @@ itself.</p>
<div class="refsect2" lang="en">
<a name="gimp-preview-set-default-cursor"></a><h3>gimp_preview_set_default_cursor ()</h3>
<pre class="programlisting">void gimp_preview_set_default_cursor (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview,
GdkCursor *cursor);</pre>
<a
href="/usr/share/gtk-doc/html/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
@ -559,7 +673,11 @@ be overriden by a <code class="literal">GDK_FLEUR</code> if the preview has scro
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cursor</code></em> :</span></p></td>
<td> a <span class="type">GdkCursor</span> or <code class="literal">NULL</code>
<td> a <a
href="/usr/share/gtk-doc/html/gdk/gdk-Cursors.html#GdkCursor"
><span class="type">GdkCursor</span></a> or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
@ -570,9 +688,13 @@ be overriden by a <code class="literal">GDK_FLEUR</code> if the preview has scro
<hr>
<div class="refsect2" lang="en">
<a name="gimp-preview-get-controls"></a><h3>gimp_preview_get_controls ()</h3>
<pre class="programlisting">GtkWidget* gimp_preview_get_controls (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *preview);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_preview_get_controls (<a class="link" 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="/usr/share/gtk-doc/html/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>
@ -588,7 +710,9 @@ if they need to add controls to this area.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the <span class="type">GtkHBox</span> at the bottom of the preview.
<td> the <a
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
><span class="type">GtkHBox</span></a> at the bottom of the preview.
</td>
</tr>
@ -602,7 +726,9 @@ if they need to add controls to this area.</p>
<a name="GimpPreview.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpPreview--update"></a><h3>The <code class="literal">"update"</code> property</h3>
<pre class="programlisting"> "update" gboolean : Read / Write / Construct</pre>
<pre class="programlisting"> "update" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write / Construct</pre>
<p></p>
<p>Default value: TRUE</p>
</div>
@ -611,7 +737,9 @@ if they need to add controls to this area.</p>
<a name="GimpPreview.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpPreview--size"></a><h3>The <code class="literal">"size"</code> style property</h3>
<pre class="programlisting"> "size" gint : Read</pre>
<pre class="programlisting"> "size" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read</pre>
<p></p>
<p>Allowed values: [1,1024]</p>
<p>Default value: 200</p>
@ -622,7 +750,9 @@ if they need to add controls to this area.</p>
<div class="refsect2" lang="en">
<a name="GimpPreview-invalidated"></a><h3>The <code class="literal">"invalidated"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a> *gimppreview,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -57,73 +57,163 @@
<a name="GimpPreviewArea.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpPreviewArea.html#GimpPreviewArea-struct" title="GimpPreviewArea">GimpPreviewArea</a>;
GtkWidget* <a class="link" href="GimpPreviewArea.html#gimp-preview-area-new" title="gimp_preview_area_new ()">gimp_preview_area_new</a> (void);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpPreviewArea.html#gimp-preview-area-new" title="gimp_preview_area_new ()">gimp_preview_area_new</a> (void);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-draw" title="gimp_preview_area_draw ()">gimp_preview_area_draw</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-fill" title="gimp_preview_area_fill ()">gimp_preview_area_fill</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> red,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> green,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> blue);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-blend" title="gimp_preview_area_blend ()">gimp_preview_area_blend</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> opacity);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-mask" title="gimp_preview_area_mask ()">gimp_preview_area_mask</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *mask,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride_mask);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-set-offsets" title="gimp_preview_area_set_offsets ()">gimp_preview_area_set_offsets</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-set-colormap" title="gimp_preview_area_set_colormap ()">gimp_preview_area_set_colormap</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *colormap,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> num_colors);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-set-max-size" title="gimp_preview_area_set_max_size ()">gimp_preview_area_set_max_size</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height);
void <a class="link" href="GimpPreviewArea.html#gimp-preview-area-menu-popup" title="gimp_preview_area_menu_popup ()">gimp_preview_area_menu_popup</a> (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);
<a
href="/usr/share/gtk-doc/html/gdk/gdk-Event-Structures.html#GdkEventButton"
>GdkEventButton</a> *event);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpPreviewArea.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpPreviewArea
</pre>
</div>
@ -131,7 +221,9 @@ void <a class="link" href="GimpPreviewArea.html#gimp-preview-area
<a name="GimpPreviewArea.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpPreviewArea implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpPreviewArea.properties"></a><h2>Properties</h2>
@ -162,7 +254,9 @@ A general purpose preview widget which caches its pixel data.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-preview-area-new"></a><h3>gimp_preview_area_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_preview_area_new (void);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_preview_area_new (void);</pre>
<p>
Creates a new <a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.</p>
<p>
@ -183,15 +277,27 @@ Since GIMP 2.2
<div class="refsect2" lang="en">
<a name="gimp-preview-area-draw"></a><h3>gimp_preview_area_draw ()</h3>
<pre class="programlisting">void gimp_preview_area_draw (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf,
<a
href="/usr/share/gtk-doc/html/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>
@ -237,7 +343,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buf</code></em> :</span></p></td>
<td> a <span class="type">guchar</span> buffer that contains the preview pixel data.
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the preview pixel data.
</td>
</tr>
<tr>
@ -252,13 +360,27 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
<div class="refsect2" lang="en">
<a name="gimp-preview-area-fill"></a><h3>gimp_preview_area_fill ()</h3>
<pre class="programlisting">void gimp_preview_area_fill (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> red,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> green,
<a
href="/usr/share/gtk-doc/html/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.
@ -318,18 +440,36 @@ Since GIMP 2.2</p>
<div class="refsect2" lang="en">
<a name="gimp-preview-area-blend"></a><h3>gimp_preview_area_blend ()</h3>
<pre class="programlisting">void gimp_preview_area_blend (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
<a
href="/usr/share/gtk-doc/html/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.
@ -376,7 +516,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buf1</code></em> :</span></p></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the lower layer
</td>
</tr>
@ -387,7 +529,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buf2</code></em> :</span></p></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the upper layer
</td>
</tr>
@ -408,19 +552,39 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
<div class="refsect2" lang="en">
<a name="gimp-preview-area-mask"></a><h3>gimp_preview_area_mask ()</h3>
<pre class="programlisting">void gimp_preview_area_mask (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf1,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride1,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *buf2,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> rowstride2,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *mask,
<a
href="/usr/share/gtk-doc/html/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.
@ -467,7 +631,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buf1</code></em> :</span></p></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the lower layer
</td>
</tr>
@ -478,7 +644,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>buf2</code></em> :</span></p></td>
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the pixel data for
the upper layer
</td>
</tr>
@ -489,7 +657,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
<td> a <span class="type">guchar</span> buffer representing the mask of the second
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer representing the mask of the second
layer.
</td>
</tr>
@ -505,8 +675,12 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
<div class="refsect2" lang="en">
<a name="gimp-preview-area-set-offsets"></a><h3>gimp_preview_area_set_offsets ()</h3>
<pre class="programlisting">void gimp_preview_area_set_offsets (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/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>
@ -540,8 +714,12 @@ when drawing the checkerboard and to determine the dither offsets.</p>
<div class="refsect2" lang="en">
<a name="gimp-preview-area-set-colormap"></a><h3>gimp_preview_area_set_colormap ()</h3>
<pre class="programlisting">void gimp_preview_area_set_colormap (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
>guchar</a> *colormap,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> num_colors);</pre>
<p>
Sets the colormap for the <a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget. You need to
call this function before you use <a class="link" href="GimpPreviewArea.html#gimp-preview-area-draw" title="gimp_preview_area_draw ()"><code class="function">gimp_preview_area_draw()</code></a> with
@ -562,7 +740,9 @@ Since GIMP 2.2</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
<td> a <span class="type">guchar</span> buffer that contains the colormap
<td> a <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guchar"
><span class="type">guchar</span></a> buffer that contains the colormap
</td>
</tr>
<tr>
@ -577,8 +757,12 @@ Since GIMP 2.2</p>
<div class="refsect2" lang="en">
<a name="gimp-preview-area-set-max-size"></a><h3>gimp_preview_area_set_max_size ()</h3>
<pre class="programlisting">void gimp_preview_area_set_max_size (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> width,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> height);</pre>
<p>
Usually a <a class="link" 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
@ -614,7 +798,9 @@ preview will draw itself centered into the allocated area.</p>
<div class="refsect2" lang="en">
<a name="gimp-preview-area-menu-popup"></a><h3>gimp_preview_area_menu_popup ()</h3>
<pre class="programlisting">void gimp_preview_area_menu_popup (<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -631,7 +817,9 @@ the checkerboard pattern that the <em class="parameter"><code>area</code></em> u
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>

View File

@ -59,7 +59,11 @@
<a name="GimpRuler.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpRuler.html#GimpRuler-struct" title="GimpRuler">GimpRuler</a>;
GtkWidget* <a class="link" href="GimpRuler.html#gimp-ruler-new" title="gimp_ruler_new ()">gimp_ruler_new</a> (GtkOrientation orientation);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpRuler.html#gimp-ruler-new" title="gimp_ruler_new ()">gimp_ruler_new</a> (<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation);
void <a class="link" href="GimpRuler.html#gimp-ruler-set-unit" title="gimp_ruler_set_unit ()">gimp_ruler_set_unit</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
@ -68,25 +72,49 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> <a class="link" href="GimpRuler.html#gimp-ruler-get-unit" title="gimp_ruler_get_unit ()">gimp_ruler_get_unit</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);
void <a class="link" href="GimpRuler.html#gimp-ruler-set-position" title="gimp_ruler_set_position ()">gimp_ruler_set_position</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
gdouble position);
gdouble <a class="link" href="GimpRuler.html#gimp-ruler-get-position" title="gimp_ruler_get_position ()">gimp_ruler_get_position</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> position);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a class="link" href="GimpRuler.html#gimp-ruler-get-position" title="gimp_ruler_get_position ()">gimp_ruler_get_position</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);
void <a class="link" href="GimpRuler.html#gimp-ruler-set-range" title="gimp_ruler_set_range ()">gimp_ruler_set_range</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
gdouble lower,
gdouble upper,
gdouble max_size);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max_size);
void <a class="link" href="GimpRuler.html#gimp-ruler-get-range" title="gimp_ruler_get_range ()">gimp_ruler_get_range</a> (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
gdouble *lower,
gdouble *upper,
gdouble *max_size);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *upper,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *max_size);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpRuler.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----GimpRuler
</pre>
</div>
@ -94,25 +122,39 @@ void <a class="link" href="GimpRuler.html#gimp-ruler-get-range" t
<a name="GimpRuler.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpRuler implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpRuler.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpRuler.html#GimpRuler--lower" title='The "lower" property'>lower</a>" gdouble : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--max-size" title='The "max-size" property'>max-size</a>" gdouble : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--orientation" title='The "orientation" property'>orientation</a>" GtkOrientation : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--position" title='The "position" property'>position</a>" gdouble : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--lower" title='The "lower" property'>lower</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--max-size" title='The "max-size" property'>max-size</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--orientation" title='The "orientation" property'>orientation</a>" <a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--position" title='The "position" property'>position</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--unit" title='The "unit" property'>unit</a>" <a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--upper" title='The "upper" property'>upper</a>" gdouble : Read / Write
"<a class="link" href="GimpRuler.html#GimpRuler--upper" title='The "upper" property'>upper</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpRuler.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpRuler.html#GimpRuler--font-scale" title='The "font-scale" style property'>font-scale</a>" gdouble : Read
"<a class="link" href="GimpRuler.html#GimpRuler--font-scale" title='The "font-scale" style property'>font-scale</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
@ -133,7 +175,11 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-ruler-new"></a><h3>gimp_ruler_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_ruler_new (GtkOrientation orientation);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_ruler_new (<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> orientation);</pre>
<p>
Creates a new ruler.</p>
<p>
@ -220,7 +266,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<div class="refsect2" lang="en">
<a name="gimp-ruler-set-position"></a><h3>gimp_ruler_set_position ()</h3>
<pre class="programlisting">void gimp_ruler_set_position (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
gdouble position);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> position);</pre>
<p>
This sets the position of the ruler.</p>
<p>
@ -247,7 +295,9 @@ This sets the position of the ruler.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-ruler-get-position"></a><h3>gimp_ruler_get_position ()</h3>
<pre class="programlisting">gdouble gimp_ruler_get_position (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_ruler_get_position (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler);</pre>
<p>
</p>
<p>
@ -276,9 +326,15 @@ This sets the position of the ruler.</p>
<div class="refsect2" lang="en">
<a name="gimp-ruler-set-range"></a><h3>gimp_ruler_set_range ()</h3>
<pre class="programlisting">void gimp_ruler_set_range (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
gdouble lower,
gdouble upper,
gdouble max_size);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max_size);</pre>
<p>
This sets the range of the ruler.</p>
<p>
@ -317,9 +373,15 @@ leave for the text
<div class="refsect2" lang="en">
<a name="gimp-ruler-get-range"></a><h3>gimp_ruler_get_range ()</h3>
<pre class="programlisting">void gimp_ruler_get_range (<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a> *ruler,
gdouble *lower,
gdouble *upper,
gdouble *max_size);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *upper,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> *max_size);</pre>
<p>
Retrieves values indicating the range and current position of a <a class="link" href="GimpRuler.html" title="GimpRuler"><span class="type">GimpRuler</span></a>.
See <a class="link" href="GimpRuler.html#gimp-ruler-set-range" title="gimp_ruler_set_range ()"><code class="function">gimp_ruler_set_range()</code></a>.</p>
@ -336,18 +398,24 @@ See <a class="link" href="GimpRuler.html#gimp-ruler-set-range" title="gimp_ruler
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>lower</code></em> :</span></p></td>
<td> location to store lower limit of the ruler, or <code class="literal">NULL</code>
<td> location to store lower limit of the ruler, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>upper</code></em> :</span></p></td>
<td> location to store upper limit of the ruler, or <code class="literal">NULL</code>
<td> location to store upper limit of the ruler, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_size</code></em> :</span></p></td>
<td> location to store the maximum size of the ruler used when
calculating the space to leave for the text, or <code class="literal">NULL</code>.
calculating the space to leave for the text, or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
@ -360,28 +428,36 @@ See <a class="link" href="GimpRuler.html#gimp-ruler-set-range" title="gimp_ruler
<a name="GimpRuler.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpRuler--lower"></a><h3>The <code class="literal">"lower"</code> property</h3>
<pre class="programlisting"> "lower" gdouble : Read / Write</pre>
<pre class="programlisting"> "lower" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>Lower limit of ruler.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpRuler--max-size"></a><h3>The <code class="literal">"max-size"</code> property</h3>
<pre class="programlisting"> "max-size" gdouble : Read / Write</pre>
<pre class="programlisting"> "max-size" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>Maximum size of the ruler.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpRuler--orientation"></a><h3>The <code class="literal">"orientation"</code> property</h3>
<pre class="programlisting"> "orientation" GtkOrientation : Read / Write</pre>
<pre class="programlisting"> "orientation" <a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
>GtkOrientation</a> : Read / Write</pre>
<p>The orientation of the ruler.</p>
<p>Default value: GTK_ORIENTATION_HORIZONTAL</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpRuler--position"></a><h3>The <code class="literal">"position"</code> property</h3>
<pre class="programlisting"> "position" gdouble : Read / Write</pre>
<pre class="programlisting"> "position" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>Position of mark on the ruler.</p>
<p>Default value: 0</p>
</div>
@ -398,7 +474,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<hr>
<div class="refsect2" lang="en">
<a name="GimpRuler--upper"></a><h3>The <code class="literal">"upper"</code> property</h3>
<pre class="programlisting"> "upper" gdouble : Read / Write</pre>
<pre class="programlisting"> "upper" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write</pre>
<p>Upper limit of ruler.</p>
<p>Default value: 0</p>
</div>
@ -407,7 +485,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<a name="GimpRuler.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpRuler--font-scale"></a><h3>The <code class="literal">"font-scale"</code> style property</h3>
<pre class="programlisting"> "font-scale" gdouble : Read</pre>
<pre class="programlisting"> "font-scale" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read</pre>
<p></p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0.833333</p>

View File

@ -56,11 +56,19 @@
<pre class="synopsis">
<a class="link" href="GimpScrolledPreview.html#GimpScrolledPreview-struct" title="GimpScrolledPreview">GimpScrolledPreview</a>;
void <a class="link" href="GimpScrolledPreview.html#gimp-scrolled-preview-set-position" title="gimp_scrolled_preview_set_position ()">gimp_scrolled_preview_set_position</a> (<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
gint x,
gint y);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y);
void <a class="link" href="GimpScrolledPreview.html#gimp-scrolled-preview-set-policy" title="gimp_scrolled_preview_set_policy ()">gimp_scrolled_preview_set_policy</a> (<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
GtkPolicyType hscrollbar_policy,
GtkPolicyType vscrollbar_policy);
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> hscrollbar_policy,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> vscrollbar_policy);
void <a class="link" href="GimpScrolledPreview.html#gimp-scrolled-preview-freeze" title="gimp_scrolled_preview_freeze ()">gimp_scrolled_preview_freeze</a> (<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);
void <a class="link" href="GimpScrolledPreview.html#gimp-scrolled-preview-thaw" title="gimp_scrolled_preview_thaw ()">gimp_scrolled_preview_thaw</a> (<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview);
</pre>
@ -68,13 +76,27 @@ void <a class="link" href="GimpScrolledPreview.html#gimp-scrolled
<div class="refsect1" lang="en">
<a name="GimpScrolledPreview.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
+----<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a>
+----GimpScrolledPreview
</pre>
@ -83,7 +105,9 @@ void <a class="link" href="GimpScrolledPreview.html#gimp-scrolled
<a name="GimpScrolledPreview.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpScrolledPreview implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpScrolledPreview.description"></a><h2>Description</h2>
@ -104,8 +128,12 @@ A widget providing a <a class="link" href="GimpPreview.html" title="GimpPreview"
<div class="refsect2" lang="en">
<a name="gimp-scrolled-preview-set-position"></a><h3>gimp_scrolled_preview_set_position ()</h3>
<pre class="programlisting">void gimp_scrolled_preview_set_position (<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
gint x,
gint y);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> x,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> y);</pre>
<p>
</p>
<p>
@ -138,8 +166,12 @@ A widget providing a <a class="link" href="GimpPreview.html" title="GimpPreview"
<div class="refsect2" lang="en">
<a name="gimp-scrolled-preview-set-policy"></a><h3>gimp_scrolled_preview_set_policy ()</h3>
<pre class="programlisting">void gimp_scrolled_preview_set_policy (<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a> *preview,
GtkPolicyType hscrollbar_policy,
GtkPolicyType vscrollbar_policy);</pre>
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> hscrollbar_policy,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkPolicyType"
>GtkPolicyType</a> vscrollbar_policy);</pre>
<p>
</p>
<p>

View File

@ -59,55 +59,127 @@
<a class="link" href="GimpSizeEntry.html#GimpSizeEntry-struct" title="GimpSizeEntry">GimpSizeEntry</a>;
<a class="link" href="GimpSizeEntry.html#GimpSizeEntryField" title="GimpSizeEntryField">GimpSizeEntryField</a>;
enum <a class="link" href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy" title="enum GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a>;
GtkWidget* <a class="link" href="GimpSizeEntry.html#gimp-size-entry-new" title="gimp_size_entry_new ()">gimp_size_entry_new</a> (gint number_of_fields,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpSizeEntry.html#gimp-size-entry-new" title="gimp_size_entry_new ()">gimp_size_entry_new</a> (<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *unit_format,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_pixels,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_percent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_refval,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> spinbutton_width,
<a class="link" href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy" title="enum GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-add-field" title="gimp_size_entry_add_field ()">gimp_size_entry_add_field</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);
GtkWidget* <a class="link" href="GimpSizeEntry.html#gimp-size-entry-attach-label" title="gimp_size_entry_attach_label ()">gimp_size_entry_attach_label</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);
<a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
>GtkSpinButton</a> *value_spinbutton,
<a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
>GtkSpinButton</a> *refval_spinbutton);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpSizeEntry.html#gimp-size-entry-attach-label" title="gimp_size_entry_attach_label ()">gimp_size_entry_attach_label</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> row,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> column,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a> alignment);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-resolution" title="gimp_size_entry_set_resolution ()">gimp_size_entry_set_resolution</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> keep_size);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-size" title="gimp_size_entry_set_size ()">gimp_size_entry_set_size</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-value-boundaries" title="gimp_size_entry_set_value_boundaries ()">gimp_size_entry_set_value_boundaries</a>
(<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
gdouble <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get-value" title="gimp_size_entry_get_value ()">gimp_size_entry_get_value</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get-value" title="gimp_size_entry_get_value ()">gimp_size_entry_get_value</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-value" title="gimp_size_entry_set_value ()">gimp_size_entry_set_value</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-refval-boundaries" title="gimp_size_entry_set_refval_boundaries ()">gimp_size_entry_set_refval_boundaries</a>
(<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-refval-digits" title="gimp_size_entry_set_refval_digits ()">gimp_size_entry_set_refval_digits</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);
gdouble <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get-refval" title="gimp_size_entry_get_refval ()">gimp_size_entry_get_refval</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> digits);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get-refval" title="gimp_size_entry_get_refval ()">gimp_size_entry_get_refval</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-refval" title="gimp_size_entry_set_refval ()">gimp_size_entry_set_refval</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> refval);
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get-unit" title="gimp_size_entry_get_unit ()">gimp_size_entry_get_unit</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
@ -116,26 +188,48 @@ void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-pixel-digits" title="gimp_size_entry_set_pixel_digits ()">gimp_size_entry_set_pixel_digits</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> digits);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-show-unit-menu" title="gimp_size_entry_show_unit_menu ()">gimp_size_entry_show_unit_menu</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-grab-focus" title="gimp_size_entry_grab_focus ()">gimp_size_entry_grab_focus</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
void <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-activates-default" title="gimp_size_entry_set_activates_default ()">gimp_size_entry_set_activates_default</a>
(<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);
GtkWidget* <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get-help-widget" title="gimp_size_entry_get_help_widget ()">gimp_size_entry_get_help_widget</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get-help-widget" title="gimp_size_entry_get_help_widget ()">gimp_size_entry_get_help_widget</a> (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpSizeEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkTable
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkTable.html"
>GtkTable</a>
+----GimpSizeEntry
</pre>
</div>
@ -143,7 +237,9 @@ GtkWidget* <a class="link" href="GimpSizeEntry.html#gimp-size-entry-get
<a name="GimpSizeEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpSizeEntry implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpSizeEntry.signals"></a><h2>Signals</h2>
@ -170,9 +266,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 class="link" href="GimpSizeEntry.html#gimp-size-entry-new" title="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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><span class="type">FALSE</span></a>
in <a class="link" href="GimpSizeEntry.html#gimp-size-entry-new" title="gimp_size_entry_new ()"><code class="function">gimp_size_entry_new()</code></a> there will be only one <a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a> and the
<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> will contain an item for selecting GIMP_UNIT_PIXEL.
</p>
<p>
@ -219,15 +321,29 @@ real-world-unit.
<hr>
<div class="refsect2" lang="en">
<a name="gimp-size-entry-new"></a><h3>gimp_size_entry_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_size_entry_new (<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *unit_format,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_pixels,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_show_percent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_refval,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> spinbutton_width,
<a class="link" href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy" title="enum GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);</pre>
<p>
Creates a new <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> widget.
@ -262,7 +378,9 @@ For each input field:
7. <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-refval" title="gimp_size_entry_set_refval ()"><code class="function">gimp_size_entry_set_refval()</code></a> (or <a class="link" href="GimpSizeEntry.html#gimp-size-entry-set-value" title="gimp_size_entry_set_value ()"><code class="function">gimp_size_entry_set_value()</code></a>)
</p>
<p>
The <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> is derived from <span class="type">GtkTable</span> and will have
The <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> is derived from <a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> to allow the caller to add labels or a
<a class="link" href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
@ -290,26 +408,34 @@ of the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_show_pixels</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the unit menu shold contain an item for
<td> <a
href="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>menu_show_percent</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the unit menu shold contain an item for
<td> <a
href="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>show_refval</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if you want an extra "reference value"
<td> <a
href="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></p></td>
<td> The minimal horizontal size of the <span class="type">GtkSpinButton</span>'s.
<td> The minimal horizontal size of the <a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a>'s.
</td>
</tr>
<tr>
@ -330,15 +456,25 @@ of the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class
<div class="refsect2" lang="en">
<a name="gimp-size-entry-add-field"></a><h3>gimp_size_entry_add_field ()</h3>
<pre class="programlisting">void gimp_size_entry_add_field (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);</pre>
<a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
>GtkSpinButton</a> *value_spinbutton,
<a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
>GtkSpinButton</a> *refval_spinbutton);</pre>
<p>
Adds an input field to the <a class="link" 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 class="link" href="GimpSizeEntry.html#gimp-size-entry-new" title="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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> in <a class="link" href="GimpSizeEntry.html#gimp-size-entry-new" title="gimp_size_entry_new ()"><code class="function">gimp_size_entry_new()</code></a> you have to pass an additional
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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>
@ -367,13 +503,27 @@ as <code class="literal">TRUE</code> in <a class="link" href="GimpSizeEntry.html
<hr>
<div class="refsect2" lang="en">
<a name="gimp-size-entry-attach-label"></a><h3>gimp_size_entry_attach_label ()</h3>
<pre class="programlisting">GtkWidget* gimp_size_entry_attach_label (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_size_entry_attach_label (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *text,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> row,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> column,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a> alignment);</pre>
<p>
Attaches a <span class="type">GtkLabel</span> to the <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> (which is a <span class="type">GtkTable</span>).</p>
Attaches a <a
href="/usr/share/gtk-doc/html/gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a> to the <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> (which is a <a
href="/usr/share/gtk-doc/html/gtk/GtkTable.html"
><span class="type">GtkTable</span></a>).</p>
<p>
</p>
@ -407,7 +557,9 @@ Attaches a <span class="type">GtkLabel</span> to the <a class="link" href="GimpS
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A pointer to the new <span class="type">GtkLabel</span> widget.
<td> A pointer to the new <a
href="/usr/share/gtk-doc/html/gtk/GtkLabel.html"
><span class="type">GtkLabel</span></a> widget.
</td>
</tr>
</tbody>
@ -417,9 +569,15 @@ Attaches a <span class="type">GtkLabel</span> to the <a class="link" href="GimpS
<div class="refsect2" lang="en">
<a name="gimp-size-entry-set-resolution"></a><h3>gimp_size_entry_set_resolution ()</h3>
<pre class="programlisting">void gimp_size_entry_set_resolution (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -457,8 +615,12 @@ This function does nothing if the <a class="link" href="GimpSizeEntry.html#GimpS
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>keep_size</code></em> :</span></p></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="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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>
@ -468,15 +630,23 @@ This function does nothing if the <a class="link" href="GimpSizeEntry.html#GimpS
<div class="refsect2" lang="en">
<a name="gimp-size-entry-set-size"></a><h3>gimp_size_entry_set_size ()</h3>
<pre class="programlisting">void gimp_size_entry_set_size (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/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 class="link" 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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>
in <a class="link" href="GimpSizeEntry.html#gimp-size-entry-new" title="gimp_size_entry_new ()"><code class="function">gimp_size_entry_new()</code></a> and the user has selected GIMP_UNIT_PERCENT in
the <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>'s <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>.
</p>
@ -517,9 +687,15 @@ This function does nothing if the <a class="link" href="GimpSizeEntry.html#GimpS
<a name="gimp-size-entry-set-value-boundaries"></a><h3>gimp_size_entry_set_value_boundaries ()</h3>
<pre class="programlisting">void gimp_size_entry_set_value_boundaries
(<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
@ -566,8 +742,12 @@ NOTE: In most cases you won't be interested in this function because the
<hr>
<div class="refsect2" lang="en">
<a name="gimp-size-entry-get-value"></a><h3>gimp_size_entry_get_value ()</h3>
<pre class="programlisting">gdouble gimp_size_entry_get_value (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_size_entry_get_value (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -610,8 +790,12 @@ NOTE: In most cases you won't be interested in this value because the
<div class="refsect2" lang="en">
<a name="gimp-size-entry-set-value"></a><h3>gimp_size_entry_set_value ()</h3>
<pre class="programlisting">void gimp_size_entry_set_value (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -655,9 +839,15 @@ NOTE: In most cases you won't be interested in this value because the
<a name="gimp-size-entry-set-refval-boundaries"></a><h3>gimp_size_entry_set_refval_boundaries ()</h3>
<pre class="programlisting">void gimp_size_entry_set_refval_boundaries
(<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
@ -699,8 +889,12 @@ The current reference value of the <em class="parameter"><code>field</code></em>
<div class="refsect2" lang="en">
<a name="gimp-size-entry-set-refval-digits"></a><h3>gimp_size_entry_set_refval_digits ()</h3>
<pre class="programlisting">void gimp_size_entry_set_refval_digits (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> to
<em class="parameter"><code>digits</code></em>.
@ -727,7 +921,9 @@ of digits will equal to 0 for <span class="type">GIMP_SIZE_ENTRY_UPDATE_SIZE</sp
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>digits</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a> which
displays <em class="parameter"><code>field</code></em>'s reference value.
</td>
</tr>
@ -737,8 +933,12 @@ of digits will equal to 0 for <span class="type">GIMP_SIZE_ENTRY_UPDATE_SIZE</sp
<hr>
<div class="refsect2" lang="en">
<a name="gimp-size-entry-get-refval"></a><h3>gimp_size_entry_get_refval ()</h3>
<pre class="programlisting">gdouble gimp_size_entry_get_refval (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_size_entry_get_refval (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -774,8 +974,12 @@ in dpi, depending on which <a class="link" href="GimpSizeEntry.html#GimpSizeEntr
<div class="refsect2" lang="en">
<a name="gimp-size-entry-set-refval"></a><h3>gimp_size_entry_set_refval ()</h3>
<pre class="programlisting">void gimp_size_entry_set_refval (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -872,7 +1076,9 @@ according to which <a class="link" href="GimpSizeEntry.html#GimpSizeEntryUpdateP
<div class="refsect2" lang="en">
<a name="gimp-size-entry-set-pixel-digits"></a><h3>gimp_size_entry_set_pixel_digits ()</h3>
<pre class="programlisting">void gimp_size_entry_set_pixel_digits (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> digits);</pre>
<p>
Similar to <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits" title="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 class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> so that sub-pixel sizes can be entered.</p>
@ -899,10 +1105,14 @@ you set up a <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><sp
<div class="refsect2" lang="en">
<a name="gimp-size-entry-show-unit-menu"></a><h3>gimp_size_entry_show_unit_menu ()</h3>
<pre class="programlisting">void gimp_size_entry_show_unit_menu (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);</pre>
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><span class="type">TRUE</span></a>, the menu is shown; otherwise it is hidden.</p>
<p>
</p>
@ -930,7 +1140,11 @@ Controls whether a unit menu is shown in the size entry. If
<pre class="programlisting">void gimp_size_entry_grab_focus (<a class="link" 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="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-grab-focus"
><code class="function">gtk_widget_grab_focus()</code></a> for a <a
href="/usr/share/gtk-doc/html/gtk/GtkTable.html"
><span class="type">GtkTable</span></a>.</p>
<p>
</p>
@ -948,10 +1162,14 @@ it's impossible to implement <code class="function">gtk_widget_grab_focus()</cod
<a name="gimp-size-entry-set-activates-default"></a><h3>gimp_size_entry_set_activates_default ()</h3>
<pre class="programlisting">void gimp_size_entry_set_activates_default
(<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
Iterates over all entries in the <a class="link" 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="/usr/share/gtk-doc/html/gtk/GtkEntry.html#gtk-entry-set-activates-default"
><code class="function">gtk_entry_set_activates_default()</code></a> on them.</p>
<p>
</p>
@ -965,7 +1183,9 @@ Iterates over all entries in the <a class="link" href="GimpSizeEntry.html" title
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> to activate window's default widget on Enter keypress
<td> <a
href="/usr/share/gtk-doc/html/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>
@ -976,8 +1196,12 @@ Iterates over all entries in the <a class="link" href="GimpSizeEntry.html" title
<hr>
<div class="refsect2" lang="en">
<a name="gimp-size-entry-get-help-widget"></a><h3>gimp_size_entry_get_help_widget ()</h3>
<pre class="programlisting">GtkWidget* gimp_size_entry_get_help_widget (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_size_entry_get_help_widget (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> field);</pre>
<p>
You shouldn't fiddle with the internals of a <a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> but
if you want to set tooltips using <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data" title="gimp_help_set_help_data ()"><code class="function">gimp_help_set_help_data()</code></a> you
@ -1000,7 +1224,9 @@ can use this function to get a pointer to the spinbuttons.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <span class="type">GtkWidget</span> pointer that you can attach a tooltip to.
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> pointer that you can attach a tooltip to.
</td>
</tr>
</tbody>
@ -1012,7 +1238,9 @@ can use this function to get a pointer to the spinbuttons.</p>
<div class="refsect2" lang="en">
<a name="GimpSizeEntry-refval-changed"></a><h3>The <code class="literal">"refval-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -1036,7 +1264,9 @@ can use this function to get a pointer to the spinbuttons.</p>
<div class="refsect2" lang="en">
<a name="GimpSizeEntry-unit-changed"></a><h3>The <code class="literal">"unit-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>
@ -1060,7 +1290,9 @@ can use this function to get a pointer to the spinbuttons.</p>
<div class="refsect2" lang="en">
<a name="GimpSizeEntry-value-changed"></a><h3>The <code class="literal">"value-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run First</pre>
<p>
</p>

View File

@ -57,24 +57,52 @@
<a name="GimpStringComboBox.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpStringComboBox.html#GimpStringComboBox-struct" title="GimpStringComboBox">GimpStringComboBox</a>;
GtkWidget* <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-new" title="gimp_string_combo_box_new ()">gimp_string_combo_box_new</a> (GtkTreeModel *model,
gint id_column,
gint label_column);
gboolean <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-set-active" title="gimp_string_combo_box_set_active ()">gimp_string_combo_box_set_active</a> (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const gchar *id);
gchar* <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-get-active" title="gimp_string_combo_box_get_active ()">gimp_string_combo_box_get_active</a> (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-new" title="gimp_string_combo_box_new ()">gimp_string_combo_box_new</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> id_column,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> label_column);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-set-active" title="gimp_string_combo_box_set_active ()">gimp_string_combo_box_set_active</a> (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *id);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="GimpStringComboBox.html#gimp-string-combo-box-get-active" title="gimp_string_combo_box_get_active ()">gimp_string_combo_box_get_active</a> (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpStringComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
>GtkComboBox</a>
+----GimpStringComboBox
</pre>
</div>
@ -82,14 +110,26 @@ gchar* <a class="link" href="GimpStringComboBox.html#gimp-string-co
<a name="GimpStringComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpStringComboBox implements
AtkImplementorIface, GtkBuildable, GtkCellEditable and GtkCellLayout.</p>
AtkImplementorIface, <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>, <a
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
>GtkCellEditable</a> and <a
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
>GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpStringComboBox.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--ellipsize" title='The "ellipsize" property'>ellipsize</a>" PangoEllipsizeMode : Read / Write
"<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--id-column" title='The "id-column" property'>id-column</a>" gint : Read / Write / Construct Only
"<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--label-column" title='The "label-column" property'>label-column</a>" gint : Read / Write / Construct Only
"<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--ellipsize" title='The "ellipsize" property'>ellipsize</a>" <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write
"<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--id-column" title='The "id-column" property'>id-column</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct Only
"<a class="link" href="GimpStringComboBox.html#GimpStringComboBox--label-column" title='The "label-column" property'>label-column</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" lang="en">
@ -110,9 +150,17 @@ GimpStringComboBox implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-string-combo-box-new"></a><h3>gimp_string_combo_box_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_string_combo_box_new (GtkTreeModel *model,
gint id_column,
gint label_column);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_string_combo_box_new (<a
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
>GtkTreeModel</a> *model,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> id_column,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> label_column);</pre>
<p>
</p>
<p>
@ -150,8 +198,12 @@ GimpStringComboBox implements
<hr>
<div class="refsect2" lang="en">
<a name="gimp-string-combo-box-set-active"></a><h3>gimp_string_combo_box_set_active ()</h3>
<pre class="programlisting">gboolean gimp_string_combo_box_set_active (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const gchar *id);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_string_combo_box_set_active (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box,
const <a
href="/usr/share/gtk-doc/html/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>
@ -173,7 +225,11 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> on success or <code class="literal">FALSE</code> if there was no item for
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> on success or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> if there was no item for
this value.
</td>
@ -186,7 +242,9 @@ selected item in the <em class="parameter"><code>combo_box</code></em>.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-string-combo-box-get-active"></a><h3>gimp_string_combo_box_get_active ()</h3>
<pre class="programlisting">gchar* gimp_string_combo_box_get_active (<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a> *combo_box);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_string_combo_box_get_active (<a class="link" 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>
@ -202,7 +260,9 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> newly allocated ID string or <code class="literal">NULL</code> if nothing was selected
<td> newly allocated ID string or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if nothing was selected
</td>
</tr>
@ -216,7 +276,9 @@ Retrieves the value of the selected (active) item in the <em class="parameter"><
<a name="GimpStringComboBox.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpStringComboBox--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
<pre class="programlisting"> "ellipsize" PangoEllipsizeMode : Read / Write</pre>
<pre class="programlisting"> "ellipsize" <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"
>PangoEllipsizeMode</a> : Read / Write</pre>
<p>
Specifies the preferred place to ellipsize text in the combo-box,
if the cell renderer does not have enough room to display the
@ -231,7 +293,9 @@ entire string.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpStringComboBox--id-column"></a><h3>The <code class="literal">"id-column"</code> property</h3>
<pre class="programlisting"> "id-column" gint : Read / Write / Construct Only</pre>
<pre class="programlisting"> "id-column" <a
href="/usr/share/gtk-doc/html/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>
@ -246,7 +310,9 @@ be used as labels in the combo-box.</p>
<hr>
<div class="refsect2" lang="en">
<a name="GimpStringComboBox--label-column"></a><h3>The <code class="literal">"label-column"</code> property</h3>
<pre class="programlisting"> "label-column" gint : Read / Write / Construct Only</pre>
<pre class="programlisting"> "label-column" <a
href="/usr/share/gtk-doc/html/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

@ -59,13 +59,23 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<a name="GimpUnitMenu.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpUnitMenu.html#GimpUnitMenu-struct" title="GimpUnitMenu">GimpUnitMenu</a>;
GtkWidget* <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-new" title="gimp_unit_menu_new ()">gimp_unit_menu_new</a> (const gchar *format,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-new" title="gimp_unit_menu_new ()">gimp_unit_menu_new</a> (const <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_pixels,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_percent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_custom);
void <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-set-unit" title="gimp_unit_menu_set_unit ()">gimp_unit_menu_set_unit</a> (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
@ -73,22 +83,42 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-get-unit" title="gimp_unit_menu_get_unit ()">gimp_unit_menu_get_unit</a> (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
gint <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits" title="gimp_unit_menu_get_pixel_digits ()">gimp_unit_menu_get_pixel_digits</a> (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-get-pixel-digits" title="gimp_unit_menu_get_pixel_digits ()">gimp_unit_menu_get_pixel_digits</a> (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);
void <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits" title="gimp_unit_menu_set_pixel_digits ()">gimp_unit_menu_set_pixel_digits</a> (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
gint digits);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> digits);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpUnitMenu.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
+----GtkOptionMenu
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkButton.html"
>GtkButton</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a>
+----GimpUnitMenu
</pre>
</div>
@ -96,7 +126,9 @@ void <a class="link" href="GimpUnitMenu.html#gimp-unit-menu-set-p
<a name="GimpUnitMenu.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpUnitMenu implements
AtkImplementorIface and GtkBuildable.</p>
AtkImplementorIface and <a
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
>GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GimpUnitMenu.signals"></a><h2>Signals</h2>
@ -107,7 +139,9 @@ GimpUnitMenu implements
<div class="refsect1" lang="en">
<a name="GimpUnitMenu.description"></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="/usr/share/gtk-doc/html/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>
@ -137,13 +171,23 @@ Whenever the user selects a unit from the menu or the dialog, the
<hr>
<div class="refsect2" lang="en">
<a name="gimp-unit-menu-new"></a><h3>gimp_unit_menu_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_unit_menu_new (const gchar *format,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_unit_menu_new (const <a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_pixels,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_percent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_custom);</pre>
<p>
Creates a new <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> widget.
</p>
@ -203,19 +247,25 @@ The <em class="parameter"><code>format</code></em> string supports the following
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_pixels</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the unit menu should contain an item for
<td> <a
href="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>show_percent</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> in the unit menu should contain an item for
<td> <a
href="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>show_custom</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the unit menu should contain a "More..." item for
<td> <a
href="/usr/share/gtk-doc/html/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>
@ -289,7 +339,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-unit-menu-get-pixel-digits"></a><h3>gimp_unit_menu_get_pixel_digits ()</h3>
<pre class="programlisting">gint gimp_unit_menu_get_pixel_digits (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gimp_unit_menu_get_pixel_digits (<a class="link" 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>
@ -316,7 +368,9 @@ Retrieve the number of digits for a pixel size as set by
<div class="refsect2" lang="en">
<a name="gimp-unit-menu-set-pixel-digits"></a><h3>gimp_unit_menu_set_pixel_digits ()</h3>
<pre class="programlisting">void gimp_unit_menu_set_pixel_digits (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *menu,
gint digits);</pre>
<a
href="/usr/share/gtk-doc/html/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
@ -353,7 +407,9 @@ here. You should do this after attaching your spinbuttons.</p>
<div class="refsect2" lang="en">
<a name="GimpUnitMenu-unit-changed"></a><h3>The <code class="literal">"unit-changed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a> *arg0,
gpointer user_data) : Run First</pre>
<a
href="/usr/share/gtk-doc/html/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"

View File

@ -60,37 +60,69 @@
enum <a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a>;
<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a>* <a class="link" href="GimpZoomModel.html#gimp-zoom-model-new" title="gimp_zoom_model_new ()">gimp_zoom_model_new</a> (void);
void <a class="link" href="GimpZoomModel.html#gimp-zoom-model-set-range" title="gimp_zoom_model_set_range ()">gimp_zoom_model_set_range</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
gdouble min,
gdouble max);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max);
void <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom" title="gimp_zoom_model_zoom ()">gimp_zoom_model_zoom</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
gdouble scale);
gdouble <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-factor" title="gimp_zoom_model_get_factor ()">gimp_zoom_model_get_factor</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-factor" title="gimp_zoom_model_get_factor ()">gimp_zoom_model_get_factor</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);
void <a class="link" href="GimpZoomModel.html#gimp-zoom-model-get-fraction" title="gimp_zoom_model_get_fraction ()">gimp_zoom_model_get_fraction</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
gint *numerator,
gint *denominator);
GtkWidget* <a class="link" href="GimpZoomModel.html#gimp-zoom-button-new" title="gimp_zoom_button_new ()">gimp_zoom_button_new</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *numerator,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *denominator);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="GimpZoomModel.html#gimp-zoom-button-new" title="gimp_zoom_button_new ()">gimp_zoom_button_new</a> (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
GtkIconSize icon_size);
gdouble <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom-step" title="gimp_zoom_model_zoom_step ()">gimp_zoom_model_zoom_step</a> (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
gdouble scale);
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> <a class="link" href="GimpZoomModel.html#gimp-zoom-model-zoom-step" title="gimp_zoom_model_zoom_step ()">gimp_zoom_model_zoom_step</a> (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpZoomModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----GimpZoomModel
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GimpZoomModel.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--fraction" title='The "fraction" property'>fraction</a>" gchar* : Read
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--maximum" title='The "maximum" property'>maximum</a>" gdouble : Read / Write
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--minimum" title='The "minimum" property'>minimum</a>" gdouble : Read / Write
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--percentage" title='The "percentage" property'>percentage</a>" gchar* : Read
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--value" title='The "value" property'>value</a>" gdouble : Read / Write
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--fraction" title='The "fraction" property'>fraction</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--maximum" title='The "maximum" property'>maximum</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--minimum" title='The "minimum" property'>minimum</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--percentage" title='The "percentage" property'>percentage</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read
"<a class="link" href="GimpZoomModel.html#GimpZoomModel--value" title='The "value" property'>value</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
@ -156,8 +188,12 @@ Since GIMP 2.4
<div class="refsect2" lang="en">
<a name="gimp-zoom-model-set-range"></a><h3>gimp_zoom_model_set_range ()</h3>
<pre class="programlisting">void gimp_zoom_model_set_range (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
gdouble min,
gdouble max);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
<a
href="/usr/share/gtk-doc/html/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>
@ -192,7 +228,9 @@ Since GIMP 2.4</p>
<a name="gimp-zoom-model-zoom"></a><h3>gimp_zoom_model_zoom ()</h3>
<pre class="programlisting">void gimp_zoom_model_zoom (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
gdouble scale);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);</pre>
<p>
Since GIMP 2.4</p>
<p>
@ -222,7 +260,9 @@ Since GIMP 2.4</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-zoom-model-get-factor"></a><h3>gimp_zoom_model_get_factor ()</h3>
<pre class="programlisting">gdouble gimp_zoom_model_get_factor (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_zoom_model_get_factor (<a class="link" 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>
@ -250,8 +290,12 @@ Since GIMP 2.4
<div class="refsect2" lang="en">
<a name="gimp-zoom-model-get-fraction"></a><h3>gimp_zoom_model_get_fraction ()</h3>
<pre class="programlisting">void gimp_zoom_model_get_fraction (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
gint *numerator,
gint *denominator);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *numerator,
<a
href="/usr/share/gtk-doc/html/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>
@ -284,9 +328,13 @@ Since GIMP 2.4</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-zoom-button-new"></a><h3>gimp_zoom_button_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_zoom_button_new (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_zoom_button_new (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
GtkIconSize icon_size);</pre>
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size);</pre>
<p>
</p>
<p>
@ -323,8 +371,12 @@ Since GIMP 2.4
<hr>
<div class="refsect2" lang="en">
<a name="gimp-zoom-model-zoom-step"></a><h3>gimp_zoom_model_zoom_step ()</h3>
<pre class="programlisting">gdouble gimp_zoom_model_zoom_step (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
gdouble scale);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> gimp_zoom_model_zoom_step (<a class="link" href="GimpZoomModel.html#GimpZoomType" title="enum GimpZoomType">GimpZoomType</a> zoom_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> scale);</pre>
<p>
Utility function to calculate a new scale factor.</p>
<p>
@ -358,14 +410,18 @@ Since GIMP 2.4
<a name="GimpZoomModel.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GimpZoomModel--fraction"></a><h3>The <code class="literal">"fraction"</code> property</h3>
<pre class="programlisting"> "fraction" gchar* : Read</pre>
<pre class="programlisting"> "fraction" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read</pre>
<p></p>
<p>Default value: "1:1"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpZoomModel--maximum"></a><h3>The <code class="literal">"maximum"</code> property</h3>
<pre class="programlisting"> "maximum" gdouble : Read / Write</pre>
<pre class="programlisting"> "maximum" <a
href="/usr/share/gtk-doc/html/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>
@ -373,7 +429,9 @@ Since GIMP 2.4
<hr>
<div class="refsect2" lang="en">
<a name="GimpZoomModel--minimum"></a><h3>The <code class="literal">"minimum"</code> property</h3>
<pre class="programlisting"> "minimum" gdouble : Read / Write</pre>
<pre class="programlisting"> "minimum" <a
href="/usr/share/gtk-doc/html/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>
@ -381,14 +439,18 @@ Since GIMP 2.4
<hr>
<div class="refsect2" lang="en">
<a name="GimpZoomModel--percentage"></a><h3>The <code class="literal">"percentage"</code> property</h3>
<pre class="programlisting"> "percentage" gchar* : Read</pre>
<pre class="programlisting"> "percentage" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read</pre>
<p></p>
<p>Default value: "100%"</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GimpZoomModel--value"></a><h3>The <code class="literal">"value"</code> property</h3>
<pre class="programlisting"> "value" gdouble : Read / Write</pre>
<pre class="programlisting"> "value" <a
href="/usr/share/gtk-doc/html/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>
@ -399,9 +461,15 @@ Since GIMP 2.4
<div class="refsect2" lang="en">
<a name="GimpZoomModel-zoomed"></a><h3>The <code class="literal">"zoomed"</code> signal</h3>
<pre class="programlisting">void user_function (<a class="link" href="GimpZoomModel.html" title="GimpZoomModel">GimpZoomModel</a> *model,
gdouble old_factor,
gdouble new_factor,
gpointer user_data) : Run Last</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> old_factor,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> new_factor,
<a
href="/usr/share/gtk-doc/html/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>

View File

@ -29,7 +29,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.6.2
for GIMP 2.6.3
</p></div>
</div>
@ -44,7 +44,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"> — 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"> — A <a
href="/usr/share/gtk-doc/html/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"> — Widget to visually connect two entry widgets.</span>
@ -71,7 +73,9 @@
<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"> — Constructors for <span class="type">GtkDialog</span>'s and action_areas as well as other
<span class="refentrytitle"><a href="GimpDialog.html">GimpDialog</a></span><span class="refpurpose"> — Constructors for <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>'s and action_areas as well as other
dialog-related stuff.</span>
</dt>
<dt>
@ -87,7 +91,9 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpFileEntry.html">GimpFileEntry</a></span><span class="refpurpose"> — Widget for entering a filename.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpFrame.html">GimpFrame</a></span><span class="refpurpose"> — 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"> — A widget providing a HIG-compliant subclass of <a
href="/usr/share/gtk-doc/html/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>
@ -117,7 +123,9 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpPickButton.html">GimpPickButton</a></span><span class="refpurpose"> — Widget to pick a color from screen.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpPixmap.html">GimpPixmap</a></span><span class="refpurpose"> — 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"> — Widget which creates a <a
href="/usr/share/gtk-doc/html/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"> — A general purpose preview widget which caches its pixel data.</span>
@ -189,7 +197,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<span class="refentrytitle"><a href="libgimpwidgets-GimpCairoUtils.html">gimpcairo-utils</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpwidgets-GimpHelpUI.html">GimpHelpUI</a></span><span class="refpurpose"> — 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"> — Functions for setting <a
href="/usr/share/gtk-doc/html/gtk/GtkTooltips.html"
><span class="type">GtkTooltips</span></a> and help identifier used by GIMP help
system.</span>
</dt>
<dt>

View File

@ -62,16 +62,22 @@ href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color);
gboolean <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-set-focus-line-pattern" title="gimp_cairo_set_focus_line_pattern ()">gimp_cairo_set_focus_line_pattern</a> (<a
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-set-focus-line-pattern" title="gimp_cairo_set_focus_line_pattern ()">gimp_cairo_set_focus_line_pattern</a> (<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr,
GtkWidget *widget);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget);
<a
href="/usr/share/gtk-doc/html/cairo/cairo-Patterns.html#cairo-pattern-t"
>cairo_pattern_t</a>* <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-checkerboard-create" title="gimp_cairo_checkerboard_create ()">gimp_cairo_checkerboard_create</a> (<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr,
gint size,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> size,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *light,
@ -81,7 +87,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"
>cairo_surface_t</a>* <a class="link" href="libgimpwidgets-GimpCairoUtils.html#gimp-cairo-surface-create-from-pixbuf" title="gimp_cairo_surface_create_from_pixbuf ()">gimp_cairo_surface_create_from_pixbuf</a>
(GdkPixbuf *pixbuf);
(<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);
#define <a class="link" href="libgimpwidgets-GimpCairoUtils.html#GIMP-CAIRO-RGB24-SET-PIXEL:CAPS" title="GIMP_CAIRO_RGB24_SET_PIXEL()">GIMP_CAIRO_RGB24_SET_PIXEL</a> (d, r, g, b)
#define <a class="link" href="libgimpwidgets-GimpCairoUtils.html#GIMP-CAIRO-ARGB32-SET-PIXEL:CAPS" title="GIMP_CAIRO_ARGB32_SET_PIXEL()">GIMP_CAIRO_ARGB32_SET_PIXEL</a> (d, r, g, b, a)
</pre>
@ -172,10 +180,14 @@ href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-rgba"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-cairo-set-focus-line-pattern"></a><h3>gimp_cairo_set_focus_line_pattern ()</h3>
<pre class="programlisting">gboolean gimp_cairo_set_focus_line_pattern (<a
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_cairo_set_focus_line_pattern (<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr,
GtkWidget *widget);</pre>
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget);</pre>
<p>
Sets color and dash pattern for stroking a focus line on the given
<em class="parameter"><code>cr</code></em>. The line pattern is taken from <em class="parameter"><code>widget</code></em>.</p>
@ -197,8 +209,12 @@ Sets color and dash pattern for stroking a focus line on the given
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if the widget style has a focus line pattern,
<code class="literal">FALSE</code> otherwise
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the widget style has a focus line pattern,
<a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise
</td>
</tr>
@ -215,7 +231,9 @@ href="/usr/share/gtk-doc/html/cairo/cairo-Patterns.html#cairo-pattern-t"
>cairo_pattern_t</a>* gimp_cairo_checkerboard_create (<a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"
>cairo_t</a> *cr,
gint size,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> size,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *light,
@ -242,12 +260,16 @@ Create a repeating checkerboard pattern.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>light</code></em> :</span></p></td>
<td> light check color or <code class="literal">NULL</code> to use the default light gray
<td> light check color or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to use the default light gray
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dark</code></em> :</span></p></td>
<td> dark check color or <code class="literal">NULL</code> to use the default dark gray
<td> dark check color or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> to use the default dark gray
</td>
</tr>
<tr>
@ -267,7 +289,9 @@ Create a repeating checkerboard pattern.</p>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"
>cairo_surface_t</a>* gimp_cairo_surface_create_from_pixbuf
(GdkPixbuf *pixbuf);</pre>
(<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf);</pre>
<p>
Create a Cairo image surface from a GdkPixbuf.
</p>

View File

@ -50,47 +50,137 @@
<div class="refsynopsisdiv">
<a name="libgimpwidgets-GimpEnumWidgets.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="gimp_enum_radio_box_new ()">gimp_enum_radio_box_new</a> (GType enum_type,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range" title="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 class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new" title="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 class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range" title="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 class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="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 class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range" title="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="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="gimp_enum_radio_box_new ()">gimp_enum_radio_box_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range" title="gimp_enum_radio_box_new_with_range ()">gimp_enum_radio_box_new_with_range</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new" title="gimp_enum_radio_frame_new ()">gimp_enum_radio_frame_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range" title="gimp_enum_radio_frame_new_with_range ()">gimp_enum_radio_frame_new_with_range</a>
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="gimp_enum_stock_box_new ()">gimp_enum_stock_box_new</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range" title="gimp_enum_stock_box_new_with_range ()">gimp_enum_stock_box_new_with_range</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);
void <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-set-child-padding" title="gimp_enum_stock_box_set_child_padding ()">gimp_enum_stock_box_set_child_padding</a>
(GtkWidget *stock_box,
gint xpad,
gint ypad);
(<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *stock_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> xpad,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> ypad);
</pre>
</div>
<div class="refsect1" lang="en">
@ -103,10 +193,20 @@ void <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gi
<a name="libgimpwidgets-GimpEnumWidgets.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="gimp-enum-radio-box-new"></a><h3>gimp_enum_radio_box_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_enum_radio_box_new (GType enum_type,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_box_new (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **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
@ -120,13 +220,17 @@ with up to three or four values. Often it is better to use a
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -141,7 +245,9 @@ with up to three or four values. Often it is better to use a
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -153,12 +259,26 @@ with up to three or four values. Often it is better to use a
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-radio-box-new-with-range"></a><h3>gimp_enum_radio_box_new_with_range ()</h3>
<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>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_box_new_with_range (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Just like <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="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
@ -171,7 +291,9 @@ enum values.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -187,7 +309,9 @@ enum values.</p>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -202,7 +326,9 @@ enum values.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -214,14 +340,28 @@ enum values.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-radio-frame-new"></a><h3>gimp_enum_radio_frame_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_enum_radio_frame_new (GType enum_type,
GtkWidget *label_widget,
GCallback callback,
gpointer callback_data,
GtkWidget **first_button);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_frame_new (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new" title="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="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.</p>
<p>
</p>
@ -230,7 +370,9 @@ Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -242,7 +384,9 @@ Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -257,7 +401,9 @@ Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -269,17 +415,35 @@ Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-radio-frame-new-with-range"></a><h3>gimp_enum_radio_frame_new_with_range ()</h3>
<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>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_radio_frame_new_with_range
(<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *label_widget,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range" title="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="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a>.</p>
<p>
</p>
@ -288,7 +452,9 @@ vbox into a <span class="type">GtkFrame</span>.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -309,7 +475,9 @@ vbox into a <span class="type">GtkFrame</span>.</p>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -324,7 +492,9 @@ vbox into a <span class="type">GtkFrame</span>.</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
<td> a new <a
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
</td>
</tr>
@ -336,12 +506,26 @@ vbox into a <span class="type">GtkFrame</span>.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-stock-box-new"></a><h3>gimp_enum_stock_box_new ()</h3>
<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>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_stock_box_new (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **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
@ -354,7 +538,9 @@ nick to the given <em class="parameter"><code>stock_prefix</code></em>.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -370,7 +556,9 @@ nick to the given <em class="parameter"><code>stock_prefix</code></em>.</p>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -397,14 +585,32 @@ nick to the given <em class="parameter"><code>stock_prefix</code></em>.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-enum-stock-box-new-with-range"></a><h3>gimp_enum_stock_box_new_with_range ()</h3>
<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>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_enum_stock_box_new_with_range (<a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
>GType</a> enum_type,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> minimum,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> maximum,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_prefix,
<a
href="/usr/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
>GtkIconSize</a> icon_size,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> **first_button);</pre>
<p>
Just like <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="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
@ -417,7 +623,9 @@ enum values.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
<td> the <span class="type">GType</span> of an enum.
<td> the <a
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
><span class="type">GType</span></a> of an enum.
</td>
</tr>
<tr>
@ -443,7 +651,9 @@ enum values.</p>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td> a callback to connect to the "toggled" signal of each
<span class="type">GtkRadioButton</span> that is created.
<a
href="/usr/share/gtk-doc/html/gtk/GtkRadioButton.html"
><span class="type">GtkRadioButton</span></a> that is created.
</td>
</tr>
<tr>
@ -471,9 +681,15 @@ enum values.</p>
<div class="refsect2" lang="en">
<a name="gimp-enum-stock-box-set-child-padding"></a><h3>gimp_enum_stock_box_set_child_padding ()</h3>
<pre class="programlisting">void gimp_enum_stock_box_set_child_padding
(GtkWidget *stock_box,
gint xpad,
gint ypad);</pre>
(<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *stock_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> xpad,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> ypad);</pre>
<p>
Sets the padding of all buttons in a box created by
<a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new" title="gimp_enum_stock_box_new ()"><code class="function">gimp_enum_stock_box_new()</code></a>.</p>

View File

@ -43,7 +43,9 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimpwidgets-GimpHelpUI.top_of_page"></a>GimpHelpUI</span></h2>
<p>GimpHelpUI — Functions for setting <span class="type">GtkTooltips</span> and help identifier used by GIMP help
<p>GimpHelpUI — Functions for setting <a
href="/usr/share/gtk-doc/html/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>
@ -51,24 +53,52 @@ system.</p>
<div class="refsynopsisdiv">
<a name="libgimpwidgets-GimpHelpUI.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
void (<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">*GimpHelpFunc</a>) (const gchar *help_id,
gpointer help_data);
void (<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">*GimpHelpFunc</a>) (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);
#define <a class="link" href="libgimpwidgets-GimpHelpUI.html#GIMP-HELP-ID:CAPS" title="GIMP_HELP_ID">GIMP_HELP_ID</a>
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-enable-tooltips" title="gimp_help_enable_tooltips ()">gimp_help_enable_tooltips</a> (void);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-disable-tooltips" title="gimp_help_disable_tooltips ()">gimp_help_disable_tooltips</a> (void);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-standard-help-func" title="gimp_standard_help_func ()">gimp_standard_help_func</a> (const gchar *help_id,
gpointer help_data);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-connect" title="gimp_help_connect ()">gimp_help_connect</a> (GtkWidget *widget,
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-standard-help-func" title="gimp_standard_help_func ()">gimp_standard_help_func</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-connect" title="gimp_help_connect ()">gimp_help_connect</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
gpointer help_data);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data" title="gimp_help_set_help_data ()">gimp_help_set_help_data</a> (GtkWidget *widget,
const gchar *tooltip,
const gchar *help_id);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data-with-markup" title="gimp_help_set_help_data_with_markup ()">gimp_help_set_help_data_with_markup</a> (GtkWidget *widget,
const gchar *tooltip,
const gchar *help_id);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-context-help" title="gimp_context_help ()">gimp_context_help</a> (GtkWidget *widget);
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data" title="gimp_help_set_help_data ()">gimp_help_set_help_data</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data-with-markup" title="gimp_help_set_help_data_with_markup ()">gimp_help_set_help_data_with_markup</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id);
void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-context-help" title="gimp_context_help ()">gimp_context_help</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget);
</pre>
</div>
<div class="refsect1" lang="en">
@ -81,8 +111,12 @@ void <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-co
<a name="libgimpwidgets-GimpHelpUI.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="GimpHelpFunc"></a><h3>GimpHelpFunc ()</h3>
<pre class="programlisting">void (*GimpHelpFunc) (const gchar *help_id,
gpointer help_data);</pre>
<pre class="programlisting">void (*GimpHelpFunc) (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="/usr/share/gtk-doc/html/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 class="link" href="GimpDialog.html#gimp-dialog-new" title="gimp_dialog_new ()"><code class="function">gimp_dialog_new()</code></a>,
@ -97,9 +131,13 @@ All these dialog constructors functions call <a class="link" href="libgimpwidget
</p>
<p>
In most cases it will be ok to use <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-standard-help-func" title="gimp_standard_help_func ()"><code class="function">gimp_standard_help_func()</code></a> which does
nothing but passing the <em class="parameter"><code>help_id</code></em> string to <code class="function">gimp_help()</code>. If your
nothing but passing the <em class="parameter"><code>help_id</code></em> string to <a
href="../libgimp/libgimp-gimphelp.html#gimp-help"
><code class="function">gimp_help()</code></a>. If your
plug-in needs some more sophisticated help handling you can provide
your own <em class="parameter"><code>help_func</code></em> which has to call <code class="function">gimp_help()</code> to actually display
your own <em class="parameter"><code>help_func</code></em> which has to call <a
href="../libgimp/libgimp-gimphelp.html#gimp-help"
><code class="function">gimp_help()</code></a> to actually display
the help.
</p>
<div class="variablelist"><table border="0">
@ -138,7 +176,9 @@ Enable tooltips to be shown in the GIMP user interface.
</p>
<p>
As a plug-in author, you don't need to care about this as this
function is called for you from <code class="function">gimp_ui_init()</code>. This ensures that
function is called for you from <a
href="../libgimp/libgimp-gimpui.html#gimp-ui-init"
><code class="function">gimp_ui_init()</code></a>. This ensures that
the user setting from the GIMP preferences dialog is respected in
all plug-in dialogs.</p>
<p>
@ -154,7 +194,9 @@ Disable tooltips to be shown in the GIMP user interface.
</p>
<p>
As a plug-in author, you don't need to care about this as this
function is called for you from <code class="function">gimp_ui_init()</code>. This ensures that
function is called for you from <a
href="../libgimp/libgimp-gimpui.html#gimp-ui-init"
><code class="function">gimp_ui_init()</code></a>. This ensures that
the user setting from the GIMP preferences dialog is respected in
all plug-in dialogs.</p>
<p>
@ -164,11 +206,17 @@ all plug-in dialogs.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-standard-help-func"></a><h3>gimp_standard_help_func ()</h3>
<pre class="programlisting">void gimp_standard_help_func (const gchar *help_id,
gpointer help_data);</pre>
<pre class="programlisting">void gimp_standard_help_func (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> help_data);</pre>
<p>
This is the standard GIMP help function which does nothing but calling
<code class="function">gimp_help()</code>. It is the right function to use in almost all cases.</p>
<a
href="../libgimp/libgimp-gimphelp.html#gimp-help"
><code class="function">gimp_help()</code></a>. It is the right function to use in almost all cases.</p>
<p>
</p>
@ -191,10 +239,16 @@ This is the standard GIMP help function which does nothing but calling
<hr>
<div class="refsect2" lang="en">
<a name="gimp-help-connect"></a><h3>gimp_help_connect ()</h3>
<pre class="programlisting">void gimp_help_connect (GtkWidget *widget,
<pre class="programlisting">void gimp_help_connect (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
gpointer help_data);</pre>
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
<a
href="/usr/share/gtk-doc/html/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
@ -208,7 +262,9 @@ constructors. You only have to call it for windows/dialogs you created
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
><span class="type">GtkWindow</span></a> in most cases.
</td>
</tr>
<tr>
@ -232,16 +288,26 @@ constructors. You only have to call it for windows/dialogs you created
<hr>
<div class="refsect2" lang="en">
<a name="gimp-help-set-help-data"></a><h3>gimp_help_set_help_data ()</h3>
<pre class="programlisting">void gimp_help_set_help_data (GtkWidget *widget,
const gchar *tooltip,
const gchar *help_id);</pre>
<pre class="programlisting">void gimp_help_set_help_data (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id);</pre>
<p>
The reason why we don't use <code class="function">gtk_widget_set_tooltip_text()</code> is that
The reason why we don't use <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#gtk-widget-set-tooltip-text"
><code class="function">gtk_widget_set_tooltip_text()</code></a> is that
elements in the GIMP user interface should, if possible, also have
a <em class="parameter"><code>help_id</code></em> set for context-sensitive help.
</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="/usr/share/gtk-doc/html/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>
@ -252,17 +318,23 @@ a visible tooltip.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></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="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>help_id</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkTipsQuery.html"
><span class="type">GtkTipsQuery</span></a> tooltips inspector.
</td>
</tr>
</tbody>
@ -271,13 +343,21 @@ a visible tooltip.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-help-set-help-data-with-markup"></a><h3>gimp_help_set_help_data_with_markup ()</h3>
<pre class="programlisting">void gimp_help_set_help_data_with_markup (GtkWidget *widget,
const gchar *tooltip,
const gchar *help_id);</pre>
<pre class="programlisting">void gimp_help_set_help_data_with_markup (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *tooltip,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id);</pre>
<p>
Just like <a class="link" href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data" title="gimp_help_set_help_data ()"><code class="function">gimp_help_set_help_data()</code></a>, but it allows to pass text which
is marked up with
Pango text markup language.</p>
<a
href="/usr/share/gtk-doc/html/pango/PangoMarkupFormat.html"
>Pango text markup language</a>.</p>
<p>
</p>
@ -286,17 +366,23 @@ Pango text markup language.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></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="/usr/share/gtk-doc/html/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><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td> The markup for this widget's tooltip (or <code class="literal">NULL</code>).
<td> The markup for this widget's tooltip (or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>).
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>help_id</code></em> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkTipsQuery.html"
><span class="type">GtkTipsQuery</span></a> tooltips inspector.
</td>
</tr>
</tbody>
@ -307,7 +393,9 @@ Pango text markup language.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-context-help"></a><h3>gimp_context_help ()</h3>
<pre class="programlisting">void gimp_context_help (GtkWidget *widget);</pre>
<pre class="programlisting">void gimp_context_help (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget);</pre>
<p>
This function invokes the context help inspector.
</p>
@ -328,7 +416,9 @@ case at least for every window/dialog).</p>
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td> Any <span class="type">GtkWidget</span> on the screen.
<td> Any <a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
><span class="type">GtkWidget</span></a> on the screen.
</td>
</tr></tbody>
</table></div>

View File

@ -50,7 +50,11 @@
<div class="refsynopsisdiv">
<a name="libgimpwidgets-GimpHintBox.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
GtkWidget* <a class="link" href="libgimpwidgets-GimpHintBox.html#gimp-hint-box-new" title="gimp_hint_box_new ()">gimp_hint_box_new</a> (const gchar *hint);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpHintBox.html#gimp-hint-box-new" title="gimp_hint_box_new ()">gimp_hint_box_new</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *hint);
</pre>
</div>
<div class="refsect1" lang="en">
@ -63,7 +67,11 @@ GtkWidget* <a class="link" href="libgimpwidgets-GimpHintBox.html#gimp-h
<a name="libgimpwidgets-GimpHintBox.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="gimp-hint-box-new"></a><h3>gimp_hint_box_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_hint_box_new (const gchar *hint);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_hint_box_new (const <a
href="/usr/share/gtk-doc/html/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

@ -50,89 +50,233 @@
<div class="refsynopsisdiv">
<a name="libgimpwidgets-GimpQueryBox.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback" title="GimpQueryStringCallback ()">*GimpQueryStringCallback</a>) (GtkWidget *query_box,
const gchar *string,
gpointer data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback" title="GimpQueryIntCallback ()">*GimpQueryIntCallback</a>) (GtkWidget *query_box,
gint value,
gpointer data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback" title="GimpQueryDoubleCallback ()">*GimpQueryDoubleCallback</a>) (GtkWidget *query_box,
gdouble value,
gpointer data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback" title="GimpQuerySizeCallback ()">*GimpQuerySizeCallback</a>) (GtkWidget *query_box,
gdouble size,
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback" title="GimpQueryStringCallback ()">*GimpQueryStringCallback</a>) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *string,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback" title="GimpQueryIntCallback ()">*GimpQueryIntCallback</a>) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback" title="GimpQueryDoubleCallback ()">*GimpQueryDoubleCallback</a>) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback" title="GimpQuerySizeCallback ()">*GimpQuerySizeCallback</a>) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> size,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gpointer data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback" title="GimpQueryBooleanCallback ()">*GimpQueryBooleanCallback</a>) (GtkWidget *query_box,
gboolean value,
gpointer data);
GtkWidget* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-string-box" title="gimp_query_string_box ()">gimp_query_string_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
void (<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback" title="GimpQueryBooleanCallback ()">*GimpQueryBooleanCallback</a>) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-string-box" title="gimp_query_string_box ()">gimp_query_string_box</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *initial,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback" title="GimpQueryStringCallback ()">GimpQueryStringCallback</a> callback,
gpointer data);
GtkWidget* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-int-box" title="gimp_query_int_box ()">gimp_query_int_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-int-box" title="gimp_query_int_box ()">gimp_query_int_box</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> initial,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> upper,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback" title="GimpQueryIntCallback ()">GimpQueryIntCallback</a> callback,
gpointer data);
GtkWidget* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-double-box" title="gimp_query_double_box ()">gimp_query_double_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-double-box" title="gimp_query_double_box ()">gimp_query_double_box</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback" title="GimpQueryDoubleCallback ()">GimpQueryDoubleCallback</a> callback,
gpointer data);
GtkWidget* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-size-box" title="gimp_query_size_box ()">gimp_query_size_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-size-box" title="gimp_query_size_box ()">gimp_query_size_box</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dot_for_dot,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback" title="GimpQuerySizeCallback ()">GimpQuerySizeCallback</a> callback,
gpointer data);
GtkWidget* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-boolean-box" title="gimp_query_boolean_box ()">gimp_query_boolean_box</a> (const gchar *title,
GtkWidget *parent,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-GimpQueryBox.html#gimp-query-boolean-box" title="gimp_query_boolean_box ()">gimp_query_boolean_box</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *true_button,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *false_button,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback" title="GimpQueryBooleanCallback ()">GimpQueryBooleanCallback</a> callback,
gpointer data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
#define <a class="link" href="libgimpwidgets-GimpQueryBox.html#GIMP-QUERY-BOX-VBOX:CAPS" title="GIMP_QUERY_BOX_VBOX()">GIMP_QUERY_BOX_VBOX</a> (qbox)
</pre>
</div>
@ -143,8 +287,12 @@ 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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> which has to be shown with
<a
href="/usr/share/gtk-doc/html/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
@ -157,11 +305,19 @@ callback function is called and returns the entered value.
<a name="libgimpwidgets-GimpQueryBox.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="GimpQueryStringCallback"></a><h3>GimpQueryStringCallback ()</h3>
<pre class="programlisting">void (*GimpQueryStringCallback) (GtkWidget *query_box,
const gchar *string,
gpointer data);</pre>
<pre class="programlisting">void (*GimpQueryStringCallback) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *string,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/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">
@ -189,9 +345,15 @@ Note that you have to <code class="function">g_free()</code> the returned string
<hr>
<div class="refsect2" lang="en">
<a name="GimpQueryIntCallback"></a><h3>GimpQueryIntCallback ()</h3>
<pre class="programlisting">void (*GimpQueryIntCallback) (GtkWidget *query_box,
gint value,
gpointer data);</pre>
<pre class="programlisting">void (*GimpQueryIntCallback) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -221,9 +383,15 @@ Note that you have to <code class="function">g_free()</code> the returned string
<hr>
<div class="refsect2" lang="en">
<a name="GimpQueryDoubleCallback"></a><h3>GimpQueryDoubleCallback ()</h3>
<pre class="programlisting">void (*GimpQueryDoubleCallback) (GtkWidget *query_box,
gdouble value,
gpointer data);</pre>
<pre class="programlisting">void (*GimpQueryDoubleCallback) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -253,12 +421,18 @@ Note that you have to <code class="function">g_free()</code> the returned string
<hr>
<div class="refsect2" lang="en">
<a name="GimpQuerySizeCallback"></a><h3>GimpQuerySizeCallback ()</h3>
<pre class="programlisting">void (*GimpQuerySizeCallback) (GtkWidget *query_box,
gdouble size,
<pre class="programlisting">void (*GimpQuerySizeCallback) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> size,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
gpointer data);</pre>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -293,9 +467,15 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<hr>
<div class="refsect2" lang="en">
<a name="GimpQueryBooleanCallback"></a><h3>GimpQueryBooleanCallback ()</h3>
<pre class="programlisting">void (*GimpQueryBooleanCallback) (GtkWidget *query_box,
gboolean value,
gpointer data);</pre>
<pre class="programlisting">void (*GimpQueryBooleanCallback) (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *query_box,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> value,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<p>
</p>
@ -325,18 +505,38 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-query-string-box"></a><h3>gimp_query_string_box ()</h3>
<pre class="programlisting">GtkWidget* gimp_query_string_box (const gchar *title,
GtkWidget *parent,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_string_box (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
const gchar *initial,
GObject *object,
const gchar *signal,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *initial,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryStringCallback" title="GimpQueryStringCallback ()">GimpQueryStringCallback</a> callback,
gpointer data);</pre>
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for a string value.</p>
<p>
</p>
@ -395,7 +595,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a st
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -404,20 +606,44 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a st
<hr>
<div class="refsect2" lang="en">
<a name="gimp-query-int-box"></a><h3>gimp_query_int_box ()</h3>
<pre class="programlisting">GtkWidget* gimp_query_int_box (const gchar *title,
GtkWidget *parent,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_int_box (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> initial,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> upper,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryIntCallback" title="GimpQueryIntCallback ()">GimpQueryIntCallback</a> callback,
gpointer data);</pre>
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for an integer value.</p>
<p>
</p>
@ -486,7 +712,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for an i
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -495,21 +723,47 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for an i
<hr>
<div class="refsect2" lang="en">
<a name="gimp-query-double-box"></a><h3>gimp_query_double_box ()</h3>
<pre class="programlisting">GtkWidget* gimp_query_double_box (const gchar *title,
GtkWidget *parent,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_double_box (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> digits,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryDoubleCallback" title="GimpQueryDoubleCallback ()">GimpQueryDoubleCallback</a> callback,
gpointer data);</pre>
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for a double value.</p>
<p>
</p>
@ -558,7 +812,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>digits</code></em> :</span></p></td>
<td> The number of decimal digits the <span class="type">GtkSpinButton</span> will provide.
<td> The number of decimal digits the <a
href="/usr/share/gtk-doc/html/gtk/GtkSpinButton.html"
><span class="type">GtkSpinButton</span></a> will provide.
</td>
</tr>
<tr>
@ -583,7 +839,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -592,26 +850,56 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a do
<hr>
<div class="refsect2" lang="en">
<a name="gimp-query-size-box"></a><h3>gimp_query_size_box ()</h3>
<pre class="programlisting">GtkWidget* gimp_query_size_box (const gchar *title,
GtkWidget *parent,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_size_box (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="GimpHelpFunc ()">GimpHelpFunc</a> help_func,
const gchar *help_id,
const gchar *message,
gdouble initial,
gdouble lower,
gdouble upper,
gint digits,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> initial,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> lower,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> upper,
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> resolution,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> dot_for_dot,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQuerySizeCallback" title="GimpQuerySizeCallback ()">GimpQuerySizeCallback</a> callback,
gpointer data);</pre>
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that queries the user for a size using a
<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.</p>
<p>
@ -678,7 +966,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dot_for_dot</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>'s initial unit should be "pixels".
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the <a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a>'s initial unit should be "pixels".
</td>
</tr>
<tr>
@ -704,7 +994,9 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -713,20 +1005,44 @@ Creates a new <span class="type">GtkDialog</span> that queries the user for a si
<hr>
<div class="refsect2" lang="en">
<a name="gimp-query-boolean-box"></a><h3>gimp_query_boolean_box ()</h3>
<pre class="programlisting">GtkWidget* gimp_query_boolean_box (const gchar *title,
GtkWidget *parent,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_query_boolean_box (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *title,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *parent,
<a class="link" href="libgimpwidgets-GimpHelpUI.html#GimpHelpFunc" title="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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *help_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *stock_id,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *message,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *true_button,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *false_button,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *signal,
<a class="link" href="libgimpwidgets-GimpQueryBox.html#GimpQueryBooleanCallback" title="GimpQueryBooleanCallback ()">GimpQueryBooleanCallback</a> callback,
gpointer data);</pre>
<a
href="/usr/share/gtk-doc/html/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="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a> that asks the user to do a boolean decision.</p>
<p>
</p>
@ -798,7 +1114,9 @@ Creates a new <span class="type">GtkDialog</span> that asks the user to do a boo
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A pointer to the new <span class="type">GtkDialog</span>.
<td> A pointer to the new <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>.
</td>
</tr>
</tbody>
@ -809,7 +1127,9 @@ Creates a new <span class="type">GtkDialog</span> that asks the user to do a boo
<a name="GIMP-QUERY-BOX-VBOX:CAPS"></a><h3>GIMP_QUERY_BOX_VBOX()</h3>
<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="/usr/share/gtk-doc/html/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">

View File

@ -279,7 +279,9 @@ locales.
Initializes the GIMP stock icon factory.
</p>
<p>
You don't need to call this function as <code class="function">gimp_ui_init()</code> already does
You don't need to call this function as <a
href="../libgimp/libgimp-gimpui.html#gimp-ui-init"
><code class="function">gimp_ui_init()</code></a> already does
this for you.</p>
<p>

File diff suppressed because it is too large Load Diff

View File

@ -50,36 +50,92 @@
<div class="refsynopsisdiv">
<a name="libgimpwidgets-gimpoldwidgets.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
GtkWidget* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()">gimp_int_option_menu_new</a> (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gint initial,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()">gimp_int_option_menu_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> initial,
...);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-history" title="gimp_int_option_menu_set_history ()">gimp_int_option_menu_set_history</a> (GtkOptionMenu *option_menu,
gint item_data);
gboolean (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">*GimpIntOptionMenuSensitivityCallback</a>)
(gint item_data,
gpointer callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-sensitive" title="gimp_int_option_menu_set_sensitive ()">gimp_int_option_menu_set_sensitive</a> (GtkOptionMenu *option_menu,
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-history" title="gimp_int_option_menu_set_history ()">gimp_int_option_menu_set_history</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">*GimpIntOptionMenuSensitivityCallback</a>)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-set-sensitive" title="gimp_int_option_menu_set_sensitive ()">gimp_int_option_menu_set_sensitive</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">GimpIntOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);
GtkWidget* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()">gimp_option_menu_new</a> (gboolean menu_only,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()">gimp_option_menu_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
...);
GtkWidget* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()">gimp_option_menu_new2</a> (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gpointer initial,
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()">gimp_option_menu_new2</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> initial,
...);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history" title="gimp_option_menu_set_history ()">gimp_option_menu_set_history</a> (GtkOptionMenu *option_menu,
gpointer item_data);
gboolean (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">*GimpOptionMenuSensitivityCallback</a>)
(gpointer item_data,
gpointer callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-sensitive" title="gimp_option_menu_set_sensitive ()">gimp_option_menu_set_sensitive</a> (GtkOptionMenu *option_menu,
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history" title="gimp_option_menu_set_history ()">gimp_option_menu_set_history</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">*GimpOptionMenuSensitivityCallback</a>)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-sensitive" title="gimp_option_menu_set_sensitive ()">gimp_option_menu_set_sensitive</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">GimpOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-menu-item-update" title="gimp_menu_item_update ()">gimp_menu_item_update</a> (GtkWidget *widget,
gpointer data);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);
void <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-menu-item-update" title="gimp_menu_item_update ()">gimp_menu_item_update</a> (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);
</pre>
</div>
<div class="refsect1" lang="en">
@ -92,17 +148,31 @@ These functions are not defined if you #define GIMP_DISABLE_DEPRECATED.
<a name="libgimpwidgets-gimpoldwidgets.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="gimp-int-option-menu-new"></a><h3>gimp_int_option_menu_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_int_option_menu_new (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gint initial,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_int_option_menu_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> initial,
...);</pre>
<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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>. This
function does the same thing as the deprecated function
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>, but it takes integers as <em class="parameter"><code>item_data</code></em>
instead of pointers, since that is a very common case (mapping an
@ -115,7 +185,11 @@ enum to a menu).</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_only</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
</td>
</tr>
<tr>
@ -127,7 +201,9 @@ enum to a menu).</p>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_item_callback_data</code></em> :</span></p></td>
<td>
The data which will be passed to <code class="function">g_signal_connect()</code>.
The data which will be passed to <a
href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>.
</td>
</tr>
<tr>
@ -137,12 +213,18 @@ enum to a menu).</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -151,15 +233,23 @@ enum to a menu).</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-option-menu-set-history"></a><h3>gimp_int_option_menu_set_history ()</h3>
<pre class="programlisting">void gimp_int_option_menu_set_history (GtkOptionMenu *option_menu,
gint item_data);</pre>
<pre class="programlisting">void gimp_int_option_menu_set_history (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data);</pre>
<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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> and selects the one with the
matching <em class="parameter"><code>item_data</code></em>. Probably only makes sense to use with a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a>
that was created using <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()"><code class="function">gimp_int_option_menu_new()</code></a>. This function does the
same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-set-history" title="gimp_option_menu_set_history ()"><code class="function">gimp_option_menu_set_history()</code></a>, but takes integers as
<em class="parameter"><code>item_data</code></em> instead of pointers.</p>
@ -171,7 +261,9 @@ same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-opti
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> A <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()"><code class="function">gimp_int_option_menu_new()</code></a>.
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-int-option-menu-new" title="gimp_int_option_menu_new ()"><code class="function">gimp_int_option_menu_new()</code></a>.
</td>
</tr>
<tr>
@ -185,9 +277,15 @@ same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-opti
<hr>
<div class="refsect2" lang="en">
<a name="GimpIntOptionMenuSensitivityCallback"></a><h3>GimpIntOptionMenuSensitivityCallback ()</h3>
<pre class="programlisting">gboolean (*GimpIntOptionMenuSensitivityCallback)
(gint item_data,
gpointer callback_data);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpIntOptionMenuSensitivityCallback)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
<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>
@ -221,9 +319,13 @@ same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-opti
<hr>
<div class="refsect2" lang="en">
<a name="gimp-int-option-menu-set-sensitive"></a><h3>gimp_int_option_menu_set_sensitive ()</h3>
<pre class="programlisting">void gimp_int_option_menu_set_sensitive (GtkOptionMenu *option_menu,
<pre class="programlisting">void gimp_int_option_menu_set_sensitive (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpIntOptionMenuSensitivityCallback" title="GimpIntOptionMenuSensitivityCallback ()">GimpIntOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -242,7 +344,9 @@ same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-opti
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> a <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -263,14 +367,22 @@ same thing as <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-opti
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-new"></a><h3>gimp_option_menu_new ()</h3>
<pre class="programlisting">GtkWidget* gimp_option_menu_new (gboolean menu_only,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_option_menu_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
...);</pre>
<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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>.</p>
<p>
</p>
@ -279,17 +391,27 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_only</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -298,17 +420,31 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-new2"></a><h3>gimp_option_menu_new2 ()</h3>
<pre class="programlisting">GtkWidget* gimp_option_menu_new2 (gboolean menu_only,
GCallback menu_item_callback,
gpointer menu_item_callback_data,
gpointer initial,
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>* gimp_option_menu_new2 (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> menu_only,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GCallback"
>GCallback</a> menu_item_callback,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> menu_item_callback_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> initial,
...);</pre>
<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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a>.</p>
<p>
</p>
@ -317,7 +453,11 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_only</code></em> :</span></p></td>
<td> <code class="literal">TRUE</code> if the function should return a <span class="type">GtkMenu</span> only.
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the function should return a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> only.
</td>
</tr>
<tr>
@ -329,7 +469,9 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<tr>
<td><p><span class="term"><em class="parameter"><code>menu_item_callback_data</code></em> :</span></p></td>
<td>
The data which will be passed to <code class="function">g_signal_connect()</code>.
The data which will be passed to <a
href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect"
><code class="function">g_signal_connect()</code></a>.
</td>
</tr>
<tr>
@ -339,12 +481,18 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></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="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>-terminated <em class="parameter"><code>va_list</code></em> describing the menu items.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> or a <a
href="/usr/share/gtk-doc/html/gtk/GtkMenu.html"
><span class="type">GtkMenu</span></a> (depending on <em class="parameter"><code>menu_only</code></em>).
</td>
</tr>
</tbody>
@ -353,16 +501,24 @@ Convenience function to create a <span class="type">GtkOptionMenu</span> or a <s
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-set-history"></a><h3>gimp_option_menu_set_history ()</h3>
<pre class="programlisting">void gimp_option_menu_set_history (GtkOptionMenu *option_menu,
gpointer item_data);</pre>
<pre class="programlisting">void gimp_option_menu_set_history (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data);</pre>
<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="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> and selects the one
with the matching <em class="parameter"><code>item_data</code></em>. Probably only makes sense to use with
a <span class="type">GtkOptionMenu</span> that was created using <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> that was created using <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.</p>
<p>
@ -372,7 +528,9 @@ a <span class="type">GtkOptionMenu</span> that was created using <a class="link"
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> A <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -387,9 +545,15 @@ a <span class="type">GtkOptionMenu</span> that was created using <a class="link"
<hr>
<div class="refsect2" lang="en">
<a name="GimpOptionMenuSensitivityCallback"></a><h3>GimpOptionMenuSensitivityCallback ()</h3>
<pre class="programlisting">gboolean (*GimpOptionMenuSensitivityCallback)
(gpointer item_data,
gpointer callback_data);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> (*GimpOptionMenuSensitivityCallback)
(<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> item_data,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> callback_data);</pre>
<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>
@ -423,9 +587,13 @@ a <span class="type">GtkOptionMenu</span> that was created using <a class="link"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-option-menu-set-sensitive"></a><h3>gimp_option_menu_set_sensitive ()</h3>
<pre class="programlisting">void gimp_option_menu_set_sensitive (GtkOptionMenu *option_menu,
<pre class="programlisting">void gimp_option_menu_set_sensitive (<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a> *option_menu,
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#GimpOptionMenuSensitivityCallback" title="GimpOptionMenuSensitivityCallback ()">GimpOptionMenuSensitivityCallback</a> callback,
gpointer callback_data);</pre>
<a
href="/usr/share/gtk-doc/html/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>
@ -442,7 +610,9 @@ according to the return value of this function.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>option_menu</code></em> :</span></p></td>
<td> a <span class="type">GtkOptionMenu</span> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<td> a <a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
><span class="type">GtkOptionMenu</span></a> as returned by <a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new" title="gimp_option_menu_new ()"><code class="function">gimp_option_menu_new()</code></a> or
<a class="link" href="libgimpwidgets-gimpoldwidgets.html#gimp-option-menu-new2" title="gimp_option_menu_new2 ()"><code class="function">gimp_option_menu_new2()</code></a>.
</td>
</tr>
@ -463,8 +633,12 @@ according to the return value of this function.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-menu-item-update"></a><h3>gimp_menu_item_update ()</h3>
<pre class="programlisting">void gimp_menu_item_update (GtkWidget *widget,
gpointer data);</pre>
<pre class="programlisting">void gimp_menu_item_update (<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a> *widget,
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data);</pre>
<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>
@ -479,12 +653,16 @@ according to the return value of this function.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
<td> A <span class="type">GtkMenuItem</span>.
<td> A <a
href="/usr/share/gtk-doc/html/gtk/GtkMenuItem.html"
><span class="type">GtkMenuItem</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></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="/usr/share/gtk-doc/html/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>

View File

@ -37,36 +37,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="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
>GtkContainer</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkPaned.html"
>GtkPaned</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkHPaned.html"
>GtkHPaned</a>
<a class="link" href="GimpBrowser.html" title="GimpBrowser">GimpBrowser</a>
GtkBin
GtkButton
<a
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
>GtkBin</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkButton.html"
>GtkButton</a>
<a class="link" href="GimpButton.html" title="GimpButton">GimpButton</a>
<a class="link" href="GimpColorButton.html" title="GimpColorButton">GimpColorButton</a>
<a class="link" href="GimpPickButton.html" title="GimpPickButton">GimpPickButton</a>
GtkOptionMenu
<a
href="/usr/share/gtk-doc/html/gtk/GtkOptionMenu.html"
>GtkOptionMenu</a>
<a class="link" href="GimpUnitMenu.html" title="GimpUnitMenu">GimpUnitMenu</a>
GtkComboBox
<a
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
>GtkComboBox</a>
<a class="link" href="GimpColorProfileComboBox.html" title="GimpColorProfileComboBox">GimpColorProfileComboBox</a>
<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a>
<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a>
<a class="link" href="GimpStringComboBox.html" title="GimpStringComboBox">GimpStringComboBox</a>
GtkWindow
GtkDialog
<a
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
>GtkWindow</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
>GtkDialog</a>
<a class="link" href="GimpDialog.html" title="GimpDialog">GimpDialog</a>
GtkFrame
<a
href="/usr/share/gtk-doc/html/gtk/GtkFrame.html"
>GtkFrame</a>
<a class="link" href="GimpFrame.html" title="GimpFrame">GimpFrame</a>
GtkTable
<a
href="/usr/share/gtk-doc/html/gtk/GtkTable.html"
>GtkTable</a>
<a class="link" href="GimpChainButton.html" title="GimpChainButton">GimpChainButton</a>
<a class="link" href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a>
GtkBox
GtkVBox
<a
href="/usr/share/gtk-doc/html/gtk/GtkBox.html"
>GtkBox</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkVBox.html"
>GtkVBox</a>
<a class="link" href="GimpColorSelector.html" title="GimpColorSelector">GimpColorSelector</a>
<a class="link" href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a>
<a class="link" href="GimpColorScales.html" title="GimpColorScales">GimpColorScales</a>
@ -76,32 +110,54 @@
<a class="link" href="GimpPathEditor.html" title="GimpPathEditor">GimpPathEditor</a>
<a class="link" href="GimpPreview.html" title="GimpPreview">GimpPreview</a>
<a class="link" href="GimpScrolledPreview.html" title="GimpScrolledPreview">GimpScrolledPreview</a>
GtkHBox
<a
href="/usr/share/gtk-doc/html/gtk/GtkHBox.html"
>GtkHBox</a>
<a class="link" href="GimpFileEntry.html" title="GimpFileEntry">GimpFileEntry</a>
<a class="link" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">GimpMemsizeEntry</a>
GtkDrawingArea
<a
href="/usr/share/gtk-doc/html/gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
<a class="link" href="GimpColorArea.html" title="GimpColorArea">GimpColorArea</a>
<a class="link" href="GimpOffsetArea.html" title="GimpOffsetArea">GimpOffsetArea</a>
<a class="link" href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a>
GtkEntry
<a
href="/usr/share/gtk-doc/html/gtk/GtkEntry.html"
>GtkEntry</a>
<a class="link" href="GimpColorHexEntry.html" title="GimpColorHexEntry">GimpColorHexEntry</a>
<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a>
GtkRange
GtkScale
<a
href="/usr/share/gtk-doc/html/gtk/GtkRange.html"
>GtkRange</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkScale.html"
>GtkScale</a>
<a class="link" href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a>
GtkMisc
GtkLabel
<a
href="/usr/share/gtk-doc/html/gtk/GtkMisc.html"
>GtkMisc</a>
<a
href="/usr/share/gtk-doc/html/gtk/GtkLabel.html"
>GtkLabel</a>
<a class="link" href="GimpEnumLabel.html" title="GimpEnumLabel">GimpEnumLabel</a>
GtkImage
<a
href="/usr/share/gtk-doc/html/gtk/GtkImage.html"
>GtkImage</a>
<a class="link" href="GimpPixmap.html" title="GimpPixmap">GimpPixmap</a>
<a class="link" href="GimpRuler.html" title="GimpRuler">GimpRuler</a>
GtkCellRenderer
<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>
<a class="link" href="GimpCellRendererColor.html" title="GimpCellRendererColor">GimpCellRendererColor</a>
GtkCellRendererToggle
<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRendererToggle.html"
>GtkCellRendererToggle</a>
<a class="link" href="GimpCellRendererToggle.html" title="GimpCellRendererToggle">GimpCellRendererToggle</a>
<a class="link" href="GimpColorDisplay.html" title="GimpColorDisplay">GimpColorDisplay</a>
<a class="link" href="GimpColorDisplayStack.html" title="GimpColorDisplayStack">GimpColorDisplayStack</a>
GtkListStore
<a
href="/usr/share/gtk-doc/html/gtk/GtkListStore.html"
>GtkListStore</a>
<a class="link" href="GimpColorProfileStore.html" title="GimpColorProfileStore">GimpColorProfileStore</a>
<a class="link" href="GimpIntStore.html" title="GimpIntStore">GimpIntStore</a>
<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a>

View File

@ -43,7 +43,9 @@
<span class="refentrytitle"><a href="libgimpwidgets-GimpCairoUtils.html">gimpcairo-utils</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpwidgets-GimpHelpUI.html">GimpHelpUI</a></span><span class="refpurpose"> — 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"> — Functions for setting <a
href="/usr/share/gtk-doc/html/gtk/GtkTooltips.html"
><span class="type">GtkTooltips</span></a> and help identifier used by GIMP help
system.</span>
</dt>
<dt>

View File

@ -45,7 +45,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"> — 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"> — A <a
href="/usr/share/gtk-doc/html/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"> — Widget to visually connect two entry widgets.</span>
@ -72,7 +74,9 @@
<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"> — Constructors for <span class="type">GtkDialog</span>'s and action_areas as well as other
<span class="refentrytitle"><a href="GimpDialog.html">GimpDialog</a></span><span class="refpurpose"> — Constructors for <a
href="/usr/share/gtk-doc/html/gtk/GtkDialog.html"
><span class="type">GtkDialog</span></a>'s and action_areas as well as other
dialog-related stuff.</span>
</dt>
<dt>
@ -88,7 +92,9 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpFileEntry.html">GimpFileEntry</a></span><span class="refpurpose"> — Widget for entering a filename.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpFrame.html">GimpFrame</a></span><span class="refpurpose"> — 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"> — A widget providing a HIG-compliant subclass of <a
href="/usr/share/gtk-doc/html/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>
@ -118,7 +124,9 @@ dialog-related stuff.</span>
<span class="refentrytitle"><a href="GimpPickButton.html">GimpPickButton</a></span><span class="refpurpose"> — Widget to pick a color from screen.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="GimpPixmap.html">GimpPixmap</a></span><span class="refpurpose"> — 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"> — Widget which creates a <a
href="/usr/share/gtk-doc/html/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"> — A general purpose preview widget which caches its pixel data.</span>