Imported Upstream version 2.3.16

This commit is contained in:
Ari Pollak
2010-08-11 01:21:23 -04:00
parent d694295a3e
commit 2e1d89b96f
944 changed files with 103935 additions and 69090 deletions

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpSizeEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpScrolledPreview.html" title="GimpScrolledPreview">
<link rel="next" href="GimpStringComboBox.html" title="GimpStringComboBox">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpStringComboBox.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2551106" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582388" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2620927" class="shortcut">Description</a>
<a href="#id2628907" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2620754" class="shortcut">Object Hierarchy</a>
<a href="#id2628793" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2620809" class="shortcut">Implemented Interfaces</a>
<a href="#id2628848" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2620830" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2628869" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpSizeEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2551106"></a><span class="refentrytitle">GimpSizeEntry</span>
<a name="id2582388"></a><span class="refentrytitle">GimpSizeEntry</span>
</h2>
<p>GimpSizeEntry &#8212; Widget for entering pixel values and resolutions.</p>
</td>
@ -60,82 +60,80 @@
<a href="GimpSizeEntry.html#GimpSizeEntry-struct">GimpSizeEntry</a>;
<a href="GimpSizeEntry.html#GimpSizeEntryField">GimpSizeEntryField</a>;
enum <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a>;
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-new">gimp_size_entry_new</a> (gint number_of_fields,
<a
<a href="GimpSizeEntry.html#GimpSizeEntry-struct">GimpSizeEntry</a>;
<a href="GimpSizeEntry.html#GimpSizeEntryField">GimpSizeEntryField</a>;
enum <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a>;
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-new">gimp_size_entry_new</a> (gint number_of_fields,
<a
href="../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,
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);
void <a href="GimpSizeEntry.html#gimp-size-entry-add-field">gimp_size_entry_add_field</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-attach-label">gimp_size_entry_attach_label</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-resolution">gimp_size_entry_set_resolution</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-size">gimp_size_entry_set_size</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-value-boundaries">gimp_size_entry_set_value_boundaries</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
gdouble <a href="GimpSizeEntry.html#gimp-size-entry-get-value">gimp_size_entry_get_value</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-value">gimp_size_entry_set_value</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval-boundaries">gimp_size_entry_set_refval_boundaries</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval-digits">gimp_size_entry_set_refval_digits</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);
gdouble <a href="GimpSizeEntry.html#gimp-size-entry-get-refval">gimp_size_entry_get_refval</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval">gimp_size_entry_set_refval</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);
const gchar *unit_format,
gboolean menu_show_pixels,
gboolean menu_show_percent,
gboolean show_refval,
gint spinbutton_width,
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);
void <a href="GimpSizeEntry.html#gimp-size-entry-add-field">gimp_size_entry_add_field</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-attach-label">gimp_size_entry_attach_label</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-resolution">gimp_size_entry_set_resolution</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-size">gimp_size_entry_set_size</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-value-boundaries">gimp_size_entry_set_value_boundaries</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
gdouble <a href="GimpSizeEntry.html#gimp-size-entry-get-value">gimp_size_entry_get_value</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-value">gimp_size_entry_set_value</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval-boundaries">gimp_size_entry_set_refval_boundaries</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval-digits">gimp_size_entry_set_refval_digits</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);
gdouble <a href="GimpSizeEntry.html#gimp-size-entry-get-refval">gimp_size_entry_get_refval</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-refval">gimp_size_entry_set_refval</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> <a href="GimpSizeEntry.html#gimp-size-entry-get-unit">gimp_size_entry_get_unit</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-unit">gimp_size_entry_set_unit</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
>GimpUnit</a> <a href="GimpSizeEntry.html#gimp-size-entry-get-unit">gimp_size_entry_get_unit</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-unit">gimp_size_entry_set_unit</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-pixel-digits">gimp_size_entry_set_pixel_digits</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);
void <a href="GimpSizeEntry.html#gimp-size-entry-show-unit-menu">gimp_size_entry_show_unit_menu</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);
void <a href="GimpSizeEntry.html#gimp-size-entry-grab-focus">gimp_size_entry_grab_focus</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-activates-default">gimp_size_entry_set_activates_default</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_size_entry_get_help_widget</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-pixel-digits">gimp_size_entry_set_pixel_digits</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);
void <a href="GimpSizeEntry.html#gimp-size-entry-show-unit-menu">gimp_size_entry_show_unit_menu</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);
void <a href="GimpSizeEntry.html#gimp-size-entry-grab-focus">gimp_size_entry_grab_focus</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);
void <a href="GimpSizeEntry.html#gimp-size-entry-set-activates-default">gimp_size_entry_set_activates_default</a>
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);
GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_size_entry_get_help_widget</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2620754"></a><h2>Object Hierarchy</h2>
<a name="id2628793"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
@ -148,28 +146,22 @@ GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_si
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2620809"></a><h2>Implemented Interfaces</h2>
<a name="id2628848"></a><h2>Implemented Interfaces</h2>
<p>
GimpSizeEntry implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2620830"></a><h2>Signals</h2>
<a name="id2628869"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpSizeEntry.html#GimpSizeEntry-refval-changed">refval-changed</a>"
void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first
"<a href="GimpSizeEntry.html#GimpSizeEntry-unit-changed">unit-changed</a>"
void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first
"<a href="GimpSizeEntry.html#GimpSizeEntry-value-changed">value-changed</a>"
void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first
"<a href="GimpSizeEntry.html#GimpSizeEntry-refval-changed">refval-changed</a>" : Run First
"<a href="GimpSizeEntry.html#GimpSizeEntry-unit-changed">unit-changed</a>" : Run First
"<a href="GimpSizeEntry.html#GimpSizeEntry-value-changed">value-changed</a>" : Run First
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2620927"></a><h2>Description</h2>
<a name="id2628907"></a><h2>Description</h2>
<p>
This widget is used to enter pixel distances/sizes and resolutions.
</p>
@ -201,29 +193,29 @@ real-world-unit.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2626303"></a><h2>Details</h2>
<a name="id2634442"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2626312"></a><h3>
<a name="id2634451"></a><h3>
<a name="GimpSizeEntry-struct"></a>GimpSizeEntry</h3>
<a class="indexterm" name="id2626322"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<a class="indexterm" name="id2634462"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626337"></a><h3>
<a name="id2634476"></a><h3>
<a name="GimpSizeEntryField"></a>GimpSizeEntryField</h3>
<a class="indexterm" name="id2626347"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<a class="indexterm" name="id2634487"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626363"></a><h3>
<a name="id2634501"></a><h3>
<a name="GimpSizeEntryUpdatePolicy"></a>enum GimpSizeEntryUpdatePolicy</h3>
<a class="indexterm" name="id2626375"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2634512"></a><pre class="programlisting">typedef enum
{
GIMP_SIZE_ENTRY_UPDATE_NONE = 0,
GIMP_SIZE_ENTRY_UPDATE_SIZE = 1,
@ -236,18 +228,18 @@ real-world-unit.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626393"></a><h3>
<a name="id2634528"></a><h3>
<a name="gimp-size-entry-new"></a>gimp_size_entry_new ()</h3>
<a class="indexterm" name="id2626405"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
<a
<a class="indexterm" name="id2634539"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint 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,
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);</pre>
const gchar *unit_format,
gboolean menu_show_pixels,
gboolean menu_show_percent,
gboolean show_refval,
gint spinbutton_width,
<a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a> update_policy);</pre>
<p>
Creates a new <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> widget.
</p>
@ -347,11 +339,11 @@ of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpU
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626843"></a><h3>
<a name="id2634975"></a><h3>
<a name="gimp-size-entry-add-field"></a>gimp_size_entry_add_field ()</h3>
<a class="indexterm" name="id2626854"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);</pre>
<a class="indexterm" name="id2634987"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);</pre>
<p>
Adds an input field to the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -386,13 +378,13 @@ as <code class="literal">TRUE</code> in <a href="GimpSizeEntry.html#gimp-size-en
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627016"></a><h3>
<a name="id2635149"></a><h3>
<a name="gimp-size-entry-attach-label"></a>gimp_size_entry_attach_label ()</h3>
<a class="indexterm" name="id2627029"></a><pre class="programlisting">GtkWidget* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);</pre>
<a class="indexterm" name="id2635162"></a><pre class="programlisting">GtkWidget* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
gfloat alignment);</pre>
<p>
Attaches a <span class="type">GtkLabel</span> to the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> (which is a <span class="type">GtkTable</span>).</p>
<p>
@ -436,12 +428,12 @@ Attaches a <span class="type">GtkLabel</span> to the <a href="GimpSizeEntry.html
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627205"></a><h3>
<a name="id2635340"></a><h3>
<a name="gimp-size-entry-set-resolution"></a>gimp_size_entry_set_resolution ()</h3>
<a class="indexterm" name="id2627219"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);</pre>
<a class="indexterm" name="id2635353"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);</pre>
<p>
Sets the resolution (in dpi) for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -488,12 +480,12 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627438"></a><h3>
<a name="id2635573"></a><h3>
<a name="gimp-size-entry-set-size"></a>gimp_size_entry_set_size ()</h3>
<a class="indexterm" name="id2627449"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a class="indexterm" name="id2635584"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<p>
Sets the pixel values for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>
which will be treated as 0% and 100%.
@ -537,13 +529,13 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627644"></a><h3>
<a name="id2635780"></a><h3>
<a name="gimp-size-entry-set-value-boundaries"></a>gimp_size_entry_set_value_boundaries ()</h3>
<a class="indexterm" name="id2627658"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a class="indexterm" name="id2635793"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<p>
Limits the range of possible values which can be entered in field # <em class="parameter"><code>field</code></em>
of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
@ -589,10 +581,10 @@ NOTE: In most cases you won't be interested in this function because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627843"></a><h3>
<a name="id2635980"></a><h3>
<a name="gimp-size-entry-get-value"></a>gimp_size_entry_get_value ()</h3>
<a class="indexterm" name="id2627855"></a><pre class="programlisting">gdouble gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<a class="indexterm" name="id2635992"></a><pre class="programlisting">gdouble gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<p>
Returns the value of field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -633,11 +625,11 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628012"></a><h3>
<a name="id2636149"></a><h3>
<a name="gimp-size-entry-set-value"></a>gimp_size_entry_set_value ()</h3>
<a class="indexterm" name="id2628024"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);</pre>
<a class="indexterm" name="id2636161"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);</pre>
<p>
Sets the value for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -678,13 +670,13 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628193"></a><h3>
<a name="id2636330"></a><h3>
<a name="gimp-size-entry-set-refval-boundaries"></a>gimp_size_entry_set_refval_boundaries ()</h3>
<a class="indexterm" name="id2628206"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<a class="indexterm" name="id2636344"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
<p>
Limits the range of possible reference values which can be entered in
field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
@ -724,12 +716,11 @@ The current reference value of the <em class="parameter"><code>field</code></em>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628368"></a><h3>
<a name="id2636506"></a><h3>
<a name="gimp-size-entry-set-refval-digits"></a>gimp_size_entry_set_refval_digits ()</h3>
<a class="indexterm" name="id2628382"></a><pre class="programlisting">void gimp_size_entry_set_refval_digits
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);</pre>
<a class="indexterm" name="id2636520"></a><pre class="programlisting">void gimp_size_entry_set_refval_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);</pre>
<p>
Sets the decimal digits of field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> to
<em class="parameter"><code>digits</code></em>.
@ -765,10 +756,10 @@ of digits will equal to 0 for <span class="type">GIMP_SIZE_ENTRY_UPDATE_SIZE</sp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628500"></a><h3>
<a name="id2636641"></a><h3>
<a name="gimp-size-entry-get-refval"></a>gimp_size_entry_get_refval ()</h3>
<a class="indexterm" name="id2628511"></a><pre class="programlisting">gdouble gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<a class="indexterm" name="id2636652"></a><pre class="programlisting">gdouble gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<p>
Returns the reference value for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -802,11 +793,11 @@ in dpi, depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628623"></a><h3>
<a name="id2636765"></a><h3>
<a name="gimp-size-entry-set-refval"></a>gimp_size_entry_set_refval ()</h3>
<a class="indexterm" name="id2628634"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);</pre>
<a class="indexterm" name="id2636776"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);</pre>
<p>
Sets the reference value for field # <em class="parameter"><code>field</code></em> of the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a>.
</p>
@ -840,11 +831,11 @@ depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628761"></a><h3>
<a name="id2636903"></a><h3>
<a name="gimp-size-entry-get-unit"></a>gimp_size_entry_get_unit ()</h3>
<a class="indexterm" name="id2628771"></a><pre class="programlisting"><a
<a class="indexterm" name="id2636913"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> gimp_size_entry_get_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
>GimpUnit</a> gimp_size_entry_get_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<p>
Returns the <a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
@ -871,10 +862,10 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628845"></a><h3>
<a name="id2636987"></a><h3>
<a name="gimp-size-entry-set-unit"></a>gimp_size_entry_set_unit ()</h3>
<a class="indexterm" name="id2628855"></a><pre class="programlisting">void gimp_size_entry_set_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
<a class="indexterm" name="id2636997"></a><pre class="programlisting">void gimp_size_entry_set_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit);</pre>
<p>
@ -903,11 +894,10 @@ according to which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628942"></a><h3>
<a name="id2637085"></a><h3>
<a name="gimp-size-entry-set-pixel-digits"></a>gimp_size_entry_set_pixel_digits ()</h3>
<a class="indexterm" name="id2628955"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);</pre>
<a class="indexterm" name="id2637097"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);</pre>
<p>
Similar to <a href="GimpUnitMenu.html#gimp-unit-menu-set-pixel-digits"><code class="function">gimp_unit_menu_set_pixel_digits()</code></a>, this function allows
you set up a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> so that sub-pixel sizes can be entered.</p>
@ -932,10 +922,10 @@ you set up a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="typ
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629043"></a><h3>
<a name="id2637185"></a><h3>
<a name="gimp-size-entry-show-unit-menu"></a>gimp_size_entry_show_unit_menu ()</h3>
<a class="indexterm" name="id2629058"></a><pre class="programlisting">void gimp_size_entry_show_unit_menu (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);</pre>
<a class="indexterm" name="id2637200"></a><pre class="programlisting">void gimp_size_entry_show_unit_menu (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean 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>
@ -957,14 +947,14 @@ Controls whether a unit menu is shown in the size entry. If
</tr>
</tbody>
</table></div>
<p>Since GIMP 2.4
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629145"></a><h3>
<a name="id2637290"></a><h3>
<a name="gimp-size-entry-grab-focus"></a>gimp_size_entry_grab_focus ()</h3>
<a class="indexterm" name="id2629156"></a><pre class="programlisting">void gimp_size_entry_grab_focus (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<a class="indexterm" name="id2637301"></a><pre class="programlisting">void gimp_size_entry_grab_focus (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<p>
This function is rather ugly and just a workaround for the fact that
it's impossible to implement <code class="function">gtk_widget_grab_focus()</code> for a <span class="type">GtkTable</span>.</p>
@ -982,11 +972,11 @@ it's impossible to implement <code class="function">gtk_widget_grab_focus()</cod
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629217"></a><h3>
<a name="id2637362"></a><h3>
<a name="gimp-size-entry-set-activates-default"></a>gimp_size_entry_set_activates_default ()</h3>
<a class="indexterm" name="id2629232"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);</pre>
<a class="indexterm" name="id2637377"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);</pre>
<p>
Iterates over all entries in the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> and calls
<code class="function">gtk_entry_set_activates_default()</code> on them.</p>
@ -1008,15 +998,15 @@ Iterates over all entries in the <a href="GimpSizeEntry.html" title="GimpSizeEnt
</tr>
</tbody>
</table></div>
<p>Since GIMP 2.4
<p class="since">Since GIMP 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629333"></a><h3>
<a name="id2637480"></a><h3>
<a name="gimp-size-entry-get-help-widget"></a>gimp_size_entry_get_help_widget ()</h3>
<a class="indexterm" name="id2629345"></a><pre class="programlisting">GtkWidget* gimp_size_entry_get_help_widget (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<a class="indexterm" name="id2637492"></a><pre class="programlisting">GtkWidget* gimp_size_entry_get_help_widget (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<p>
You shouldn't fiddle with the internals of a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> but
if you want to set tooltips using <a href="libgimpwidgets-GimpHelpUI.html#gimp-help-set-help-data"><code class="function">gimp_help_set_help_data()</code></a> you
@ -1047,12 +1037,12 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2629451"></a><h2>Signal Details</h2>
<a name="id2637598"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2629460"></a><h3>
<a name="id2637608"></a><h3>
<a name="GimpSizeEntry-refval-changed"></a>The "refval-changed" signal</h3>
<a class="indexterm" name="id2629470"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first</pre>
<a class="indexterm" name="id2637617"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<p>
</p>
@ -1074,10 +1064,10 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629531"></a><h3>
<a name="id2637679"></a><h3>
<a name="GimpSizeEntry-unit-changed"></a>The "unit-changed" signal</h3>
<a class="indexterm" name="id2629538"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first</pre>
<a class="indexterm" name="id2637686"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<p>
</p>
@ -1099,10 +1089,10 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629599"></a><h3>
<a name="id2637748"></a><h3>
<a name="GimpSizeEntry-value-changed"></a>The "value-changed" signal</h3>
<a class="indexterm" name="id2629607"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first</pre>
<a class="indexterm" name="id2637755"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<p>
</p>
@ -1124,7 +1114,7 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2629671"></a><h2>See Also</h2>
<a name="id2637819"></a><h2>See Also</h2>
<p>
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"