Imported Upstream version 2.2.12
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
@ -7,7 +8,7 @@
|
||||
<link rel="up" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
|
||||
<link rel="prev" href="libgimpwidgets-GimpQueryBox.html" title="GimpQueryBox">
|
||||
<link rel="next" href="libgimpwidgets-GimpStock.html" title="GimpStock">
|
||||
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
|
||||
@ -19,24 +20,33 @@
|
||||
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
<tr valign="middle">
|
||||
<td><a accesskey="p" href="libgimpwidgets-GimpQueryBox.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="u" href="libgimpwidgets-utils.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||||
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpwidgets-GimpStock.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#signal_proto" 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><span class="refentrytitle">GimpSizeEntry</span></h2>
|
||||
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpSizeEntry</span></h2>
|
||||
<p>GimpSizeEntry — Widget for entering pixel values and resolutions.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
@ -44,9 +54,7 @@
|
||||
<a href="GimpSizeEntry.html#GimpSizeEntry-struct">GimpSizeEntry</a>;
|
||||
<a href="GimpSizeEntry.html#GimpSizeEntryField">GimpSizeEntryField</a>;
|
||||
enum <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy</a>;
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpSizeEntry.html#gimp-size-entry-new">gimp_size_entry_new</a> (gint number_of_fields,
|
||||
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,
|
||||
@ -57,15 +65,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
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,
|
||||
<a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
>GtkSpinButton</a> *value_spinbutton,
|
||||
<a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
>GtkSpinButton</a> *refval_spinbutton);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpSizeEntry.html#gimp-size-entry-attach-label">gimp_size_entry_attach_label</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
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,
|
||||
@ -113,56 +115,47 @@ void <a href="GimpSizeEntry.html#gimp-size-entry-set-pixel-digits">gimp_s
|
||||
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
gint digits);
|
||||
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);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="GimpSizeEntry.html#gimp-size-entry-get-help-widget">gimp_size_entry_get_help_widget</a> (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
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="id2584382"></a><h2>Object Hierarchy</h2>
|
||||
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
+----<a
|
||||
href="../gtk/GtkObject.html"
|
||||
>GtkObject</a>
|
||||
+----<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>
|
||||
+----<a
|
||||
href="../gtk/GtkContainer.html"
|
||||
>GtkContainer</a>
|
||||
+----<a
|
||||
href="../gtk/GtkTable.html"
|
||||
>GtkTable</a>
|
||||
+----GimpSizeEntry
|
||||
+----GInitiallyUnowned
|
||||
+----GtkObject
|
||||
+----GtkWidget
|
||||
+----GtkContainer
|
||||
+----GtkTable
|
||||
+----GimpSizeEntry
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2584427"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpSizeEntry implements
|
||||
AtkImplementorIface.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2584444"></a><h2>Signal Prototypes</h2>
|
||||
<a name="signal_proto"></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);
|
||||
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);
|
||||
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);
|
||||
gpointer user_data) : Run first
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2584533"></a><h2>Description</h2>
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<p>
|
||||
This widget is used to enter pixel distances/sizes and resolutions.
|
||||
</p>
|
||||
@ -178,13 +171,9 @@ 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 <a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
><span class="type">GtkSpinButton</span></a>'s to enter
|
||||
For each field, there can be one or two <span class="type">GtkSpinButton</span>'s to enter
|
||||
"value" and "reference value". If you specify <em class="parameter"><code>show_refval</code></em> as <span class="type">FALSE</span>
|
||||
in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> there will be only one <a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
><span class="type">GtkSpinButton</span></a> and the
|
||||
in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> there will be only one <span class="type">GtkSpinButton</span> and the
|
||||
<a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> will contain an item for selecting GIMP_UNIT_PIXEL.
|
||||
</p>
|
||||
<p>
|
||||
@ -198,29 +187,29 @@ real-world-unit.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2584649"></a><h2>Details</h2>
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2584655"></a><h3>
|
||||
<a name="id2603504"></a><h3>
|
||||
<a name="GimpSizeEntry-struct"></a>GimpSizeEntry</h3>
|
||||
<a class="indexterm" name="id2584665"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
|
||||
<a class="indexterm" name="id2603515"></a><pre class="programlisting">typedef struct _GimpSizeEntry GimpSizeEntry;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2584681"></a><h3>
|
||||
<a name="id2603529"></a><h3>
|
||||
<a name="GimpSizeEntryField"></a>GimpSizeEntryField</h3>
|
||||
<a class="indexterm" name="id2593457"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
|
||||
<a class="indexterm" name="id2603540"></a><pre class="programlisting">typedef struct _GimpSizeEntryField GimpSizeEntryField;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593471"></a><h3>
|
||||
<a name="id2603554"></a><h3>
|
||||
<a name="GimpSizeEntryUpdatePolicy"></a>enum GimpSizeEntryUpdatePolicy</h3>
|
||||
<a class="indexterm" name="id2593480"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2603565"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_SIZE_ENTRY_UPDATE_NONE = 0,
|
||||
GIMP_SIZE_ENTRY_UPDATE_SIZE = 1,
|
||||
@ -233,11 +222,9 @@ real-world-unit.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593496"></a><h3>
|
||||
<a name="id2603581"></a><h3>
|
||||
<a name="gimp-size-entry-new"></a>gimp_size_entry_new ()</h3>
|
||||
<a class="indexterm" name="id2593505"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_size_entry_new (gint number_of_fields,
|
||||
<a class="indexterm" name="id2603592"></a><pre class="programlisting">GtkWidget* gimp_size_entry_new (gint number_of_fields,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
>GimpUnit</a> unit,
|
||||
@ -280,9 +267,7 @@ For each input field:
|
||||
7. <a href="GimpSizeEntry.html#gimp-size-entry-set-refval"><code class="function">gimp_size_entry_set_refval()</code></a> (or <a href="GimpSizeEntry.html#gimp-size-entry-set-value"><code class="function">gimp_size_entry_set_value()</code></a>)
|
||||
</p>
|
||||
<p>
|
||||
The <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> is derived from <a
|
||||
href="../gtk/GtkTable.html"
|
||||
><span class="type">GtkTable</span></a> and will have
|
||||
The <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> is derived from <span class="type">GtkTable</span> and will have
|
||||
an empty border of one cell width on each side plus an empty column left
|
||||
of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpUnitMenu</span></a> to allow the caller to add labels or a
|
||||
<a href="GimpChainButton.html" title="GimpChainButton"><span class="type">GimpChainButton</span></a>.</p>
|
||||
@ -336,9 +321,7 @@ of the <a href="GimpUnitMenu.html" title="GimpUnitMenu"><span class="type">GimpU
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>spinbutton_width</code></em> :</span></td>
|
||||
<td> The minimal horizontal size of the <a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
><span class="type">GtkSpinButton</span></a>'s.
|
||||
<td> The minimal horizontal size of the <span class="type">GtkSpinButton</span>'s.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -359,24 +342,18 @@ href="../gtk/GtkSpinButton.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593926"></a><h3>
|
||||
<a name="id2604030"></a><h3>
|
||||
<a name="gimp-size-entry-add-field"></a>gimp_size_entry_add_field ()</h3>
|
||||
<a class="indexterm" name="id2593936"></a><pre class="programlisting">void gimp_size_entry_add_field (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
>GtkSpinButton</a> *value_spinbutton,
|
||||
<a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
>GtkSpinButton</a> *refval_spinbutton);</pre>
|
||||
<a class="indexterm" name="id2604042"></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>
|
||||
<p>
|
||||
The new input field will have the index 0. If you specified <em class="parameter"><code>show_refval</code></em>
|
||||
as <code class="literal">TRUE</code> in <a href="GimpSizeEntry.html#gimp-size-entry-new"><code class="function">gimp_size_entry_new()</code></a> you have to pass an additional
|
||||
<a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
><span class="type">GtkSpinButton</span></a> to hold the reference value. If <em class="parameter"><code>show_refval</code></em> was <code class="literal">FALSE</code>,
|
||||
<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>,
|
||||
<em class="parameter"><code>refval_spinbutton</code></em> will be ignored.</p>
|
||||
<p>
|
||||
|
||||
@ -407,21 +384,15 @@ href="../gtk/GtkSpinButton.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594090"></a><h3>
|
||||
<a name="id2604203"></a><h3>
|
||||
<a name="gimp-size-entry-attach-label"></a>gimp_size_entry_attach_label ()</h3>
|
||||
<a class="indexterm" name="id2594101"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_size_entry_attach_label (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2604216"></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 <a
|
||||
href="../gtk/GtkLabel.html"
|
||||
><span class="type">GtkLabel</span></a> to the <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="type">GimpSizeEntry</span></a> (which is a <a
|
||||
href="../gtk/GtkTable.html"
|
||||
><span class="type">GtkTable</span></a>).</p>
|
||||
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>
|
||||
|
||||
</p>
|
||||
@ -461,9 +432,7 @@ href="../gtk/GtkTable.html"
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> A pointer to the new <a
|
||||
href="../gtk/GtkLabel.html"
|
||||
><span class="type">GtkLabel</span></a> widget.
|
||||
<td> A pointer to the new <span class="type">GtkLabel</span> widget.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -471,9 +440,9 @@ href="../gtk/GtkLabel.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594278"></a><h3>
|
||||
<a name="id2604393"></a><h3>
|
||||
<a name="gimp-size-entry-set-resolution"></a>gimp_size_entry_set_resolution ()</h3>
|
||||
<a class="indexterm" name="id2594289"></a><pre class="programlisting">void gimp_size_entry_set_resolution (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2604406"></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>
|
||||
@ -527,9 +496,9 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594471"></a><h3>
|
||||
<a name="id2604625"></a><h3>
|
||||
<a name="gimp-size-entry-set-size"></a>gimp_size_entry_set_size ()</h3>
|
||||
<a class="indexterm" name="id2594479"></a><pre class="programlisting">void gimp_size_entry_set_size (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2604636"></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>
|
||||
@ -580,9 +549,9 @@ This function does nothing if the <a href="GimpSizeEntry.html#GimpSizeEntryUpdat
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594653"></a><h3>
|
||||
<a name="id2604831"></a><h3>
|
||||
<a name="gimp-size-entry-set-value-boundaries"></a>gimp_size_entry_set_value_boundaries ()</h3>
|
||||
<a class="indexterm" name="id2594663"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
|
||||
<a class="indexterm" name="id2604845"></a><pre class="programlisting">void gimp_size_entry_set_value_boundaries
|
||||
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
gint field,
|
||||
gdouble lower,
|
||||
@ -636,9 +605,9 @@ NOTE: In most cases you won't be interested in these values because the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594832"></a><h3>
|
||||
<a name="id2605030"></a><h3>
|
||||
<a name="gimp-size-entry-get-value"></a>gimp_size_entry_get_value ()</h3>
|
||||
<a class="indexterm" name="id2594841"></a><pre class="programlisting">gdouble gimp_size_entry_get_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2605042"></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>.
|
||||
@ -683,9 +652,9 @@ NOTE: In most cases you won't be interested in this value because the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594982"></a><h3>
|
||||
<a name="id2605200"></a><h3>
|
||||
<a name="gimp-size-entry-set-value"></a>gimp_size_entry_set_value ()</h3>
|
||||
<a class="indexterm" name="id2594991"></a><pre class="programlisting">void gimp_size_entry_set_value (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2605212"></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>
|
||||
@ -731,9 +700,9 @@ NOTE: In most cases you won't be interested in this value because the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595142"></a><h3>
|
||||
<a name="id2605380"></a><h3>
|
||||
<a name="gimp-size-entry-set-refval-boundaries"></a>gimp_size_entry_set_refval_boundaries ()</h3>
|
||||
<a class="indexterm" name="id2595153"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
|
||||
<a class="indexterm" name="id2605394"></a><pre class="programlisting">void gimp_size_entry_set_refval_boundaries
|
||||
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
gint field,
|
||||
gdouble lower,
|
||||
@ -781,9 +750,9 @@ The current reference value of the <em class="parameter"><code>field</code></em>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595299"></a><h3>
|
||||
<a name="id2605533"></a><h3>
|
||||
<a name="gimp-size-entry-set-refval-digits"></a>gimp_size_entry_set_refval_digits ()</h3>
|
||||
<a class="indexterm" name="id2595310"></a><pre class="programlisting">void gimp_size_entry_set_refval_digits
|
||||
<a class="indexterm" name="id2605546"></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>
|
||||
@ -816,9 +785,7 @@ of digits will equal to 0 for <span class="type">GIMP_SIZE_ENTRY_UPDATE_SIZE</sp
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>digits</code></em> :</span></td>
|
||||
<td> The new number of decimal digits for the <a
|
||||
href="../gtk/GtkSpinButton.html"
|
||||
><span class="type">GtkSpinButton</span></a> which
|
||||
<td> The new number of decimal digits for the <span class="type">GtkSpinButton</span> which
|
||||
displays <em class="parameter"><code>field</code></em>'s reference value.
|
||||
</td>
|
||||
</tr>
|
||||
@ -827,9 +794,9 @@ href="../gtk/GtkSpinButton.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595445"></a><h3>
|
||||
<a name="id2605680"></a><h3>
|
||||
<a name="gimp-size-entry-get-refval"></a>gimp_size_entry_get_refval ()</h3>
|
||||
<a class="indexterm" name="id2595454"></a><pre class="programlisting">gdouble gimp_size_entry_get_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2605692"></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>.
|
||||
@ -867,9 +834,9 @@ in dpi, depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595566"></a><h3>
|
||||
<a name="id2605804"></a><h3>
|
||||
<a name="gimp-size-entry-set-refval"></a>gimp_size_entry_set_refval ()</h3>
|
||||
<a class="indexterm" name="id2595575"></a><pre class="programlisting">void gimp_size_entry_set_refval (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2605815"></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>
|
||||
@ -908,9 +875,9 @@ depending on which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595701"></a><h3>
|
||||
<a name="id2605941"></a><h3>
|
||||
<a name="gimp-size-entry-get-unit"></a>gimp_size_entry_get_unit ()</h3>
|
||||
<a class="indexterm" name="id2595710"></a><pre class="programlisting"><a
|
||||
<a class="indexterm" name="id2605952"></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>
|
||||
@ -941,9 +908,9 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595783"></a><h3>
|
||||
<a name="id2606025"></a><h3>
|
||||
<a name="gimp-size-entry-set-unit"></a>gimp_size_entry_set_unit ()</h3>
|
||||
<a class="indexterm" name="id2595792"></a><pre class="programlisting">void gimp_size_entry_set_unit (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2606036"></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>
|
||||
@ -975,9 +942,9 @@ according to which <a href="GimpSizeEntry.html#GimpSizeEntryUpdatePolicy"><span
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595879"></a><h3>
|
||||
<a name="id2606122"></a><h3>
|
||||
<a name="gimp-size-entry-set-pixel-digits"></a>gimp_size_entry_set_pixel_digits ()</h3>
|
||||
<a class="indexterm" name="id2595889"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits
|
||||
<a class="indexterm" name="id2606135"></a><pre class="programlisting">void gimp_size_entry_set_pixel_digits
|
||||
(<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
gint digits);</pre>
|
||||
<p>
|
||||
@ -1006,16 +973,12 @@ you set up a <a href="GimpSizeEntry.html" title="GimpSizeEntry"><span class="typ
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595978"></a><h3>
|
||||
<a name="id2606224"></a><h3>
|
||||
<a name="gimp-size-entry-grab-focus"></a>gimp_size_entry_grab_focus ()</h3>
|
||||
<a class="indexterm" name="id2595987"></a><pre class="programlisting">void gimp_size_entry_grab_focus (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse);</pre>
|
||||
<a class="indexterm" name="id2606235"></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 <a
|
||||
href="../gtk/GtkWidget.html#gtk-widget-grab-focus"
|
||||
><code class="function">gtk_widget_grab_focus()</code></a> for a <a
|
||||
href="../gtk/GtkTable.html"
|
||||
><span class="type">GtkTable</span></a>.</p>
|
||||
it's impossible to implement <code class="function">gtk_widget_grab_focus()</code> for a <span class="type">GtkTable</span>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -1031,11 +994,9 @@ href="../gtk/GtkTable.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596048"></a><h3>
|
||||
<a name="id2606296"></a><h3>
|
||||
<a name="gimp-size-entry-get-help-widget"></a>gimp_size_entry_get_help_widget ()</h3>
|
||||
<a class="indexterm" name="id2596058"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_size_entry_get_help_widget (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gse,
|
||||
<a class="indexterm" name="id2606308"></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
|
||||
@ -1062,9 +1023,7 @@ can use this function to get a pointer to the spinbuttons.</p>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a <a
|
||||
href="../gtk/GtkWidget.html"
|
||||
><span class="type">GtkWidget</span></a> pointer that you can attach a tooltip to.
|
||||
<td> a <span class="type">GtkWidget</span> pointer that you can attach a tooltip to.
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1072,12 +1031,12 @@ href="../gtk/GtkWidget.html"
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2596164"></a><h2>Signals</h2>
|
||||
<a name="signals"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596170"></a><h3>
|
||||
<a name="id2606423"></a><h3>
|
||||
<a name="GimpSizeEntry-refval-changed"></a>The "refval-changed" signal</h3>
|
||||
<pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
|
||||
gpointer user_data);</pre>
|
||||
<a class="indexterm" name="id2606433"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
|
||||
gpointer user_data) : Run first</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -1101,10 +1060,10 @@ href="../gtk/GtkWidget.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596234"></a><h3>
|
||||
<a name="id2606494"></a><h3>
|
||||
<a name="GimpSizeEntry-unit-changed"></a>The "unit-changed" signal</h3>
|
||||
<pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
|
||||
gpointer user_data);</pre>
|
||||
<a class="indexterm" name="id2606501"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
|
||||
gpointer user_data) : Run first</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -1128,10 +1087,10 @@ href="../gtk/GtkWidget.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596297"></a><h3>
|
||||
<a name="id2606562"></a><h3>
|
||||
<a name="GimpSizeEntry-value-changed"></a>The "value-changed" signal</h3>
|
||||
<pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
|
||||
gpointer user_data);</pre>
|
||||
<a class="indexterm" name="id2606570"></a><pre class="programlisting">void user_function (<a href="GimpSizeEntry.html" title="GimpSizeEntry">GimpSizeEntry</a> *gimpsizeentry,
|
||||
gpointer user_data) : Run first</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -1155,7 +1114,7 @@ href="../gtk/GtkWidget.html"
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2596361"></a><h2>See Also</h2>
|
||||
<a name="id2606634"></a><h2>See Also</h2>
|
||||
<p>
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
@ -1169,9 +1128,5 @@ href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
|
||||
<td align="left"><a accesskey="p" href="libgimpwidgets-GimpQueryBox.html"><b><< GimpQueryBox</b></a></td>
|
||||
<td align="right"><a accesskey="n" href="libgimpwidgets-GimpStock.html"><b>GimpStock >></b></a></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user