Imported Upstream version 2.3.18

This commit is contained in:
Ari Pollak
2010-08-11 01:21:39 -04:00
parent 2e1d89b96f
commit 50ca37e277
1279 changed files with 155433 additions and 58921 deletions

View File

@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpStringComboBox.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582388" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2570238" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2628907" class="shortcut">Description</a>
<a href="#id2629040" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2628793" class="shortcut">Object Hierarchy</a>
<a href="#id2628926" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2628848" class="shortcut">Implemented Interfaces</a>
<a href="#id2628981" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2628869" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2629002" 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="id2582388"></a><span class="refentrytitle">GimpSizeEntry</span>
<a name="id2570238"></a><span class="refentrytitle">GimpSizeEntry</span>
</h2>
<p>GimpSizeEntry &#8212; Widget for entering pixel values and resolutions.</p>
</td>
@ -133,7 +133,7 @@ GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2628793"></a><h2>Object Hierarchy</h2>
<a name="id2628926"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
@ -146,13 +146,13 @@ GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2628848"></a><h2>Implemented Interfaces</h2>
<a name="id2628981"></a><h2>Implemented Interfaces</h2>
<p>
GimpSizeEntry implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2628869"></a><h2>Signals</h2>
<a name="id2629002"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpSizeEntry.html#GimpSizeEntry-refval-changed">refval-changed</a>" : Run First
@ -161,7 +161,7 @@ GimpSizeEntry implements
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2628907"></a><h2>Description</h2>
<a name="id2629040"></a><h2>Description</h2>
<p>
This widget is used to enter pixel distances/sizes and resolutions.
</p>
@ -193,29 +193,29 @@ real-world-unit.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2634442"></a><h2>Details</h2>
<a name="id2634404"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2634451"></a><h3>
<a name="id2634413"></a><h3>
<a name="GimpSizeEntry-struct"></a>GimpSizeEntry</h3>
<a class="indexterm" name="id2634462"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<a class="indexterm" name="id2634423"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634476"></a><h3>
<a name="id2634438"></a><h3>
<a name="GimpSizeEntryField"></a>GimpSizeEntryField</h3>
<a class="indexterm" name="id2634487"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<a class="indexterm" name="id2634448"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634501"></a><h3>
<a name="id2634463"></a><h3>
<a name="GimpSizeEntryUpdatePolicy"></a>enum GimpSizeEntryUpdatePolicy</h3>
<a class="indexterm" name="id2634512"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2634473"></a><pre class="programlisting">typedef enum
{
GIMP_SIZE_ENTRY_UPDATE_NONE = 0,
GIMP_SIZE_ENTRY_UPDATE_SIZE = 1,
@ -228,9 +228,9 @@ real-world-unit.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634528"></a><h3>
<a name="id2634490"></a><h3>
<a name="gimp-size-entry-new"></a>gimp_size_entry_new ()</h3>
<a class="indexterm" name="id2634539"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
<a class="indexterm" name="id2634500"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
@ -339,9 +339,9 @@ of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpU
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2634975"></a><h3>
<a name="id2634937"></a><h3>
<a name="gimp-size-entry-add-field"></a>gimp_size_entry_add_field ()</h3>
<a class="indexterm" name="id2634987"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2634949"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
GtkSpinButton *value_spinbutton,
GtkSpinButton *refval_spinbutton);</pre>
<p>
@ -378,9 +378,9 @@ as <code class="literal">TRUE</code> in <a href="GimpSizeEntry.html#gimp-size-en
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635149"></a><h3>
<a name="id2635111"></a><h3>
<a name="gimp-size-entry-attach-label"></a>gimp_size_entry_attach_label ()</h3>
<a class="indexterm" name="id2635162"></a><pre class="programlisting">GtkWidget* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2635124"></a><pre class="programlisting">GtkWidget* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
const gchar *text,
gint row,
gint column,
@ -428,9 +428,9 @@ Attaches a <span class="type">GtkLabel</span> to the <a href="GimpSizeEntry.html
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635340"></a><h3>
<a name="id2635302"></a><h3>
<a name="gimp-size-entry-set-resolution"></a>gimp_size_entry_set_resolution ()</h3>
<a class="indexterm" name="id2635353"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2635315"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble resolution,
gboolean keep_size);</pre>
@ -480,9 +480,9 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635573"></a><h3>
<a name="id2635535"></a><h3>
<a name="gimp-size-entry-set-size"></a>gimp_size_entry_set_size ()</h3>
<a class="indexterm" name="id2635584"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2635546"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
gdouble upper);</pre>
@ -529,9 +529,9 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635780"></a><h3>
<a name="id2635742"></a><h3>
<a name="gimp-size-entry-set-value-boundaries"></a>gimp_size_entry_set_value_boundaries ()</h3>
<a class="indexterm" name="id2635793"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
<a class="indexterm" name="id2635755"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
@ -581,9 +581,9 @@ NOTE: In most cases you won't be interested in this function because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2635980"></a><h3>
<a name="id2635942"></a><h3>
<a name="gimp-size-entry-get-value"></a>gimp_size_entry_get_value ()</h3>
<a class="indexterm" name="id2635992"></a><pre class="programlisting">gdouble gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2635954"></a><pre class="programlisting">gdouble gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<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>.
@ -625,9 +625,9 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636149"></a><h3>
<a name="id2636111"></a><h3>
<a name="gimp-size-entry-set-value"></a>gimp_size_entry_set_value ()</h3>
<a class="indexterm" name="id2636161"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2636123"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble value);</pre>
<p>
@ -670,9 +670,9 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636330"></a><h3>
<a name="id2636292"></a><h3>
<a name="gimp-size-entry-set-refval-boundaries"></a>gimp_size_entry_set_refval_boundaries ()</h3>
<a class="indexterm" name="id2636344"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
<a class="indexterm" name="id2636306"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
@ -716,9 +716,9 @@ The current reference value of the <em class="parameter"><code>field</code></em>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636506"></a><h3>
<a name="id2636468"></a><h3>
<a name="gimp-size-entry-set-refval-digits"></a>gimp_size_entry_set_refval_digits ()</h3>
<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,
<a class="indexterm" name="id2636482"></a><pre class="programlisting">void gimp_size_entry_set_refval_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gint digits);</pre>
<p>
@ -756,9 +756,9 @@ 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="id2636641"></a><h3>
<a name="id2636602"></a><h3>
<a name="gimp-size-entry-get-refval"></a>gimp_size_entry_get_refval ()</h3>
<a class="indexterm" name="id2636652"></a><pre class="programlisting">gdouble gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2636614"></a><pre class="programlisting">gdouble gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<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>.
@ -793,9 +793,9 @@ in dpi, depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636765"></a><h3>
<a name="id2636726"></a><h3>
<a name="gimp-size-entry-set-refval"></a>gimp_size_entry_set_refval ()</h3>
<a class="indexterm" name="id2636776"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2636737"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble refval);</pre>
<p>
@ -831,9 +831,9 @@ depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636903"></a><h3>
<a name="id2636864"></a><h3>
<a name="gimp-size-entry-get-unit"></a>gimp_size_entry_get_unit ()</h3>
<a class="indexterm" name="id2636913"></a><pre class="programlisting"><a
<a class="indexterm" name="id2636874"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> gimp_size_entry_get_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<p>
@ -862,9 +862,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636987"></a><h3>
<a name="id2636948"></a><h3>
<a name="gimp-size-entry-set-unit"></a>gimp_size_entry_set_unit ()</h3>
<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 class="indexterm" name="id2636959"></a><pre class="programlisting">void gimp_size_entry_set_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit);</pre>
@ -894,9 +894,9 @@ according to which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637085"></a><h3>
<a name="id2637046"></a><h3>
<a name="gimp-size-entry-set-pixel-digits"></a>gimp_size_entry_set_pixel_digits ()</h3>
<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,
<a class="indexterm" name="id2637058"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);</pre>
<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
@ -922,9 +922,9 @@ you set up a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="typ
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637185"></a><h3>
<a name="id2637147"></a><h3>
<a name="gimp-size-entry-show-unit-menu"></a>gimp_size_entry_show_unit_menu ()</h3>
<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,
<a class="indexterm" name="id2637161"></a><pre class="programlisting">void gimp_size_entry_show_unit_menu (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean show);</pre>
<p>
Controls whether a unit menu is shown in the size entry. If
@ -952,9 +952,9 @@ Controls whether a unit menu is shown in the size entry. If
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637290"></a><h3>
<a name="id2637251"></a><h3>
<a name="gimp-size-entry-grab-focus"></a>gimp_size_entry_grab_focus ()</h3>
<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>
<a class="indexterm" name="id2637262"></a><pre class="programlisting">void gimp_size_entry_grab_focus (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<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>
@ -972,9 +972,9 @@ it's impossible to implement <code class="function">gtk_widget_grab_focus()</cod
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637362"></a><h3>
<a name="id2637323"></a><h3>
<a name="gimp-size-entry-set-activates-default"></a>gimp_size_entry_set_activates_default ()</h3>
<a class="indexterm" name="id2637377"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
<a class="indexterm" name="id2637338"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);</pre>
<p>
@ -1003,9 +1003,9 @@ Iterates over all entries in the <a href="GimpSizeEntry.html" title="GimpSizeEnt
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637480"></a><h3>
<a name="id2637441"></a><h3>
<a name="gimp-size-entry-get-help-widget"></a>gimp_size_entry_get_help_widget ()</h3>
<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,
<a class="indexterm" name="id2637453"></a><pre class="programlisting">GtkWidget* gimp_size_entry_get_help_widget (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field);</pre>
<p>
You shouldn't fiddle with the internals of a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> but
@ -1037,11 +1037,11 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2637598"></a><h2>Signal Details</h2>
<a name="id2637560"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2637608"></a><h3>
<a name="id2637569"></a><h3>
<a name="GimpSizeEntry-refval-changed"></a>The "refval-changed" signal</h3>
<a class="indexterm" name="id2637617"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a class="indexterm" name="id2637578"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<p>
@ -1064,9 +1064,9 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637679"></a><h3>
<a name="id2637640"></a><h3>
<a name="GimpSizeEntry-unit-changed"></a>The "unit-changed" signal</h3>
<a class="indexterm" name="id2637686"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a class="indexterm" name="id2637647"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<p>
@ -1089,9 +1089,9 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637748"></a><h3>
<a name="id2637709"></a><h3>
<a name="GimpSizeEntry-value-changed"></a>The "value-changed" signal</h3>
<a class="indexterm" name="id2637755"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a class="indexterm" name="id2637716"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run First</pre>
<p>
@ -1114,7 +1114,7 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2637819"></a><h2>See Also</h2>
<a name="id2637780"></a><h2>See Also</h2>
<p>
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"