Imported Upstream version 2.3.12

This commit is contained in:
Ari Pollak
2010-08-11 01:20:17 -04:00
parent 79785b4adf
commit a028e0b309
1105 changed files with 114178 additions and 65152 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpSizeEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-utils.html" title="Part&#160;V.&#160;GIMP Widgets Utilities">
<link rel="prev" href="libgimpwidgets-GimpQueryBox.html" title="GimpQueryBox">
@ -33,22 +33,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="libgimpwidgets-GimpStock.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2576139" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2592689" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2643355" class="shortcut">Description</a>
<a href="#id2635968" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2643184" class="shortcut">Object Hierarchy</a>
<a href="#id2635797" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2643238" class="shortcut">Implemented Interfaces</a>
<a href="#id2635851" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2643260" class="shortcut">Signals</a></nobr></td></tr>
<a href="#id2635873" 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="id2576139"></a><span class="refentrytitle">GimpSizeEntry</span>
<a name="id2592689"></a><span class="refentrytitle">GimpSizeEntry</span>
</h2>
<p>GimpSizeEntry &#8212; Widget for entering pixel values and resolutions.</p>
</td>
@ -135,7 +135,7 @@ GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_si
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2643184"></a><h2>Object Hierarchy</h2>
<a name="id2635797"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
@ -148,13 +148,13 @@ GtkWidget* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_si
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2643238"></a><h2>Implemented Interfaces</h2>
<a name="id2635851"></a><h2>Implemented Interfaces</h2>
<p>
GimpSizeEntry implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2643260"></a><h2>Signals</h2>
<a name="id2635873"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GimpSizeEntry.html#GimpSizeEntry-refval-changed">refval-changed</a>"
@ -169,7 +169,7 @@ GimpSizeEntry implements
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2643355"></a><h2>Description</h2>
<a name="id2635968"></a><h2>Description</h2>
<p>
This widget is used to enter pixel distances/sizes and resolutions.
</p>
@ -201,29 +201,29 @@ real-world-unit.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2652416"></a><h2>Details</h2>
<a name="id2645288"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2652426"></a><h3>
<a name="id2645297"></a><h3>
<a name="GimpSizeEntry-struct"></a>GimpSizeEntry</h3>
<a class="indexterm" name="id2652436"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<a class="indexterm" name="id2645308"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2652450"></a><h3>
<a name="id2645322"></a><h3>
<a name="GimpSizeEntryField"></a>GimpSizeEntryField</h3>
<a class="indexterm" name="id2652461"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<a class="indexterm" name="id2645333"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2652476"></a><h3>
<a name="id2645347"></a><h3>
<a name="GimpSizeEntryUpdatePolicy"></a>enum GimpSizeEntryUpdatePolicy</h3>
<a class="indexterm" name="id2652486"></a><pre class="programlisting">typedef enum
<a class="indexterm" name="id2645358"></a><pre class="programlisting">typedef enum
{
GIMP_SIZE_ENTRY_UPDATE_NONE = 0,
GIMP_SIZE_ENTRY_UPDATE_SIZE = 1,
@ -236,9 +236,9 @@ real-world-unit.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2652502"></a><h3>
<a name="id2645374"></a><h3>
<a name="gimp-size-entry-new"></a>gimp_size_entry_new ()</h3>
<a class="indexterm" name="id2652513"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
<a class="indexterm" name="id2645385"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
>GimpUnit</a> unit,
@ -356,9 +356,9 @@ of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpU
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2652924"></a><h3>
<a name="id2645800"></a><h3>
<a name="gimp-size-entry-add-field"></a>gimp_size_entry_add_field ()</h3>
<a class="indexterm" name="id2652936"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2645812"></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>
@ -398,9 +398,9 @@ as <code class="literal">TRUE</code> in <a href="GimpSizeEntry.html#gimp-size-en
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2653080"></a><h3>
<a name="id2645956"></a><h3>
<a name="gimp-size-entry-attach-label"></a>gimp_size_entry_attach_label ()</h3>
<a class="indexterm" name="id2653092"></a><pre class="programlisting">GtkWidget* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2645968"></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,
@ -454,9 +454,9 @@ Attaches a <span class="type">GtkLabel</span> to the <a href="GimpSizeEntry.html
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2653251"></a><h3>
<a name="id2646127"></a><h3>
<a name="gimp-size-entry-set-resolution"></a>gimp_size_entry_set_resolution ()</h3>
<a class="indexterm" name="id2653263"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2646139"></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>
@ -510,9 +510,9 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2653461"></a><h3>
<a name="id2646337"></a><h3>
<a name="gimp-size-entry-set-size"></a>gimp_size_entry_set_size ()</h3>
<a class="indexterm" name="id2653471"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2646347"></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>
@ -563,9 +563,9 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2653648"></a><h3>
<a name="id2646524"></a><h3>
<a name="gimp-size-entry-set-value-boundaries"></a>gimp_size_entry_set_value_boundaries ()</h3>
<a class="indexterm" name="id2653660"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
<a class="indexterm" name="id2646536"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
@ -619,9 +619,9 @@ NOTE: In most cases you won't be interested in these values because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2653829"></a><h3>
<a name="id2646705"></a><h3>
<a name="gimp-size-entry-get-value"></a>gimp_size_entry_get_value ()</h3>
<a class="indexterm" name="id2653840"></a><pre class="programlisting">gdouble gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2646716"></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>.
@ -666,9 +666,9 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2653981"></a><h3>
<a name="id2646857"></a><h3>
<a name="gimp-size-entry-set-value"></a>gimp_size_entry_set_value ()</h3>
<a class="indexterm" name="id2653992"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2646868"></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>
@ -714,9 +714,9 @@ NOTE: In most cases you won't be interested in this value because the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2654144"></a><h3>
<a name="id2647020"></a><h3>
<a name="gimp-size-entry-set-refval-boundaries"></a>gimp_size_entry_set_refval_boundaries ()</h3>
<a class="indexterm" name="id2654156"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
<a class="indexterm" name="id2647032"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint field,
gdouble lower,
@ -764,9 +764,9 @@ The current reference value of the <em class="parameter"><code>field</code></em>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2654302"></a><h3>
<a name="id2647178"></a><h3>
<a name="gimp-size-entry-set-refval-digits"></a>gimp_size_entry_set_refval_digits ()</h3>
<a class="indexterm" name="id2654315"></a><pre class="programlisting">void gimp_size_entry_set_refval_digits
<a class="indexterm" name="id2647191"></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>
@ -808,9 +808,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="id2654450"></a><h3>
<a name="id2647326"></a><h3>
<a name="gimp-size-entry-get-refval"></a>gimp_size_entry_get_refval ()</h3>
<a class="indexterm" name="id2654461"></a><pre class="programlisting">gdouble gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2647337"></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>.
@ -848,9 +848,9 @@ in dpi, depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2654573"></a><h3>
<a name="id2647449"></a><h3>
<a name="gimp-size-entry-set-refval"></a>gimp_size_entry_set_refval ()</h3>
<a class="indexterm" name="id2654584"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2647460"></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>
@ -889,9 +889,9 @@ depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2654710"></a><h3>
<a name="id2647586"></a><h3>
<a name="gimp-size-entry-get-unit"></a>gimp_size_entry_get_unit ()</h3>
<a class="indexterm" name="id2654721"></a><pre class="programlisting"><a
<a class="indexterm" name="id2647597"></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>
@ -922,9 +922,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2654794"></a><h3>
<a name="id2647670"></a><h3>
<a name="gimp-size-entry-set-unit"></a>gimp_size_entry_set_unit ()</h3>
<a class="indexterm" name="id2654805"></a><pre class="programlisting">void gimp_size_entry_set_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2647681"></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>
@ -956,9 +956,9 @@ according to which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2654892"></a><h3>
<a name="id2647768"></a><h3>
<a name="gimp-size-entry-set-pixel-digits"></a>gimp_size_entry_set_pixel_digits ()</h3>
<a class="indexterm" name="id2654904"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits
<a class="indexterm" name="id2647780"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gint digits);</pre>
<p>
@ -987,9 +987,9 @@ you set up a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="typ
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2654993"></a><h3>
<a name="id2647869"></a><h3>
<a name="gimp-size-entry-show-unit-menu"></a>gimp_size_entry_show_unit_menu ()</h3>
<a class="indexterm" name="id2655007"></a><pre class="programlisting">void gimp_size_entry_show_unit_menu (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2647883"></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
@ -1019,9 +1019,9 @@ Controls whether a unit menu is shown in the size entry. If
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2655095"></a><h3>
<a name="id2647971"></a><h3>
<a name="gimp-size-entry-grab-focus"></a>gimp_size_entry_grab_focus ()</h3>
<a class="indexterm" name="id2655106"></a><pre class="programlisting">void gimp_size_entry_grab_focus (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
<a class="indexterm" name="id2647982"></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>
@ -1040,9 +1040,9 @@ it's impossible to implement <code class="function">gtk_widget_grab_focus()</cod
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2655167"></a><h3>
<a name="id2648043"></a><h3>
<a name="gimp-size-entry-set-activates-default"></a>gimp_size_entry_set_activates_default ()</h3>
<a class="indexterm" name="id2655182"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
<a class="indexterm" name="id2648058"></a><pre class="programlisting">void gimp_size_entry_set_activates_default
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
gboolean setting);</pre>
<p>
@ -1073,9 +1073,9 @@ Iterates over all entries in the <a href="GimpSizeEntry.html" title="GimpSizeEnt
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2655282"></a><h3>
<a name="id2648158"></a><h3>
<a name="gimp-size-entry-get-help-widget"></a>gimp_size_entry_get_help_widget ()</h3>
<a class="indexterm" name="id2655294"></a><pre class="programlisting">GtkWidget* gimp_size_entry_get_help_widget (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
<a class="indexterm" name="id2648170"></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
@ -1110,11 +1110,11 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2655406"></a><h2>Signal Details</h2>
<a name="id2648279"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2655417"></a><h3>
<a name="id2648290"></a><h3>
<a name="GimpSizeEntry-refval-changed"></a>The "refval-changed" signal</h3>
<a class="indexterm" name="id2655428"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a class="indexterm" name="id2648301"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first</pre>
<p>
@ -1139,9 +1139,9 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2655496"></a><h3>
<a name="id2648369"></a><h3>
<a name="GimpSizeEntry-unit-changed"></a>The "unit-changed" signal</h3>
<a class="indexterm" name="id2655506"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a class="indexterm" name="id2648379"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first</pre>
<p>
@ -1166,9 +1166,9 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2655574"></a><h3>
<a name="id2648447"></a><h3>
<a name="GimpSizeEntry-value-changed"></a>The "value-changed" signal</h3>
<a class="indexterm" name="id2655585"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
<a class="indexterm" name="id2648457"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
gpointer user_data) : Run first</pre>
<p>
@ -1193,7 +1193,7 @@ can use this function to get a pointer to the spinbuttons.</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2655656"></a><h2>See Also</h2>
<a name="id2648528"></a><h2>See Also</h2>
<p>
<a
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"