8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="GimpMemsizeEntry.html" title="GimpMemsizeEntry">
10
10
<link rel="next" href="GimpOffsetArea.html" title="GimpOffsetArea">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
15
<link rel="chapter" href="libgimpwidgets-gallery.html" title="Widget Gallery">
16
<link rel="chapter" href="libgimpwidgets-cell-renderers.html" title="Cell Renderers for GtkTreeView">
17
<link rel="part" href="libgimpwidgets-colordisplay.html" title="Part II. GIMP Display Filters">
18
<link rel="part" href="libgimpwidgets-colorselector.html" title="Part III. GIMP Color Selectors">
19
<link rel="part" href="libgimpwidgets-controller.html" title="Part IV. GIMP Controllers">
20
<link rel="part" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
21
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part VI. Deprecated API">
22
<link rel="index" href="libgimpwidgets-index.html" title="Index">
23
<link rel="index" href="libgimpwidgets-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
24
<link rel="index" href="libgimpwidgets-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
25
<link rel="index" href="libgimpwidgets-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
26
<link rel="index" href="libgimpwidgets-index-deprecated.html" title="Index of deprecated symbols">
28
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
29
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
59
45
</tr></table></div>
60
46
<div class="refsynopsisdiv" title="Synopsis">
61
47
<a name="GimpNumberPairEntry.synopsis"></a><h2>Synopsis</h2>
62
<pre class="synopsis">
63
<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry-struct" title="GimpNumberPairEntry">GimpNumberPairEntry</a>;
48
<pre class="synopsis"> <a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry-struct" title="GimpNumberPairEntry">GimpNumberPairEntry</a>;
64
49
enum <a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a>;
66
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
67
>GtkWidget</a> * <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-new" title="gimp_number_pair_entry_new ()">gimp_number_pair_entry_new</a> (const <a
68
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
69
>gchar</a> *separators,
71
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
72
>gboolean</a> allow_simplification,
74
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
75
>gdouble</a> min_valid_value,
77
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
78
>gdouble</a> max_valid_value);
79
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-values" title="gimp_number_pair_entry_set_default_values ()">gimp_number_pair_entry_set_default_values</a>
80
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
82
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
85
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
87
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-values" title="gimp_number_pair_entry_get_default_values ()">gimp_number_pair_entry_get_default_values</a>
88
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
90
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
95
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-values" title="gimp_number_pair_entry_set_values ()">gimp_number_pair_entry_set_values</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
97
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
100
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
102
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-values" title="gimp_number_pair_entry_get_values ()">gimp_number_pair_entry_get_values</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
104
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
107
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
108
>gdouble</a> *right);
109
<a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-aspect" title="gimp_number_pair_entry_get_aspect ()">gimp_number_pair_entry_get_aspect</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
110
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-aspect" title="gimp_number_pair_entry_set_aspect ()">gimp_number_pair_entry_set_aspect</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
111
<a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a> aspect);
113
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
114
>gdouble</a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio" title="gimp_number_pair_entry_get_ratio ()">gimp_number_pair_entry_get_ratio</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
115
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-ratio" title="gimp_number_pair_entry_set_ratio ()">gimp_number_pair_entry_set_ratio</a> (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
117
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
120
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
121
>gboolean</a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override" title="gimp_number_pair_entry_get_user_override ()">gimp_number_pair_entry_get_user_override</a>
122
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
123
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-user-override" title="gimp_number_pair_entry_set_user_override ()">gimp_number_pair_entry_set_user_override</a>
124
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
126
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
127
>gboolean</a> user_override);
129
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
130
>gchar</a> * <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-text" title="gimp_number_pair_entry_get_default_text ()">gimp_number_pair_entry_get_default_text</a>
131
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry);
132
void <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-text" title="gimp_number_pair_entry_set_default_text ()">gimp_number_pair_entry_set_default_text</a>
133
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
135
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
50
<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-new" title="gimp_number_pair_entry_new ()">gimp_number_pair_entry_new</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *separators</code></em>,
51
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_simplification</code></em>,
52
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min_valid_value</code></em>,
53
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max_valid_value</code></em>);
54
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-values" title="gimp_number_pair_entry_set_default_values ()">gimp_number_pair_entry_set_default_values</a>
55
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
56
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> left</code></em>,
57
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> right</code></em>);
58
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-values" title="gimp_number_pair_entry_get_default_values ()">gimp_number_pair_entry_get_default_values</a>
59
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
60
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *left</code></em>,
61
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *right</code></em>);
62
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-values" title="gimp_number_pair_entry_set_values ()">gimp_number_pair_entry_set_values</a> (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
63
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> left</code></em>,
64
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> right</code></em>);
65
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-values" title="gimp_number_pair_entry_get_values ()">gimp_number_pair_entry_get_values</a> (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
66
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *left</code></em>,
67
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *right</code></em>);
68
<a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType"><span class="returnvalue">GimpAspectType</span></a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-aspect" title="gimp_number_pair_entry_get_aspect ()">gimp_number_pair_entry_get_aspect</a> (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>);
69
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-aspect" title="gimp_number_pair_entry_set_aspect ()">gimp_number_pair_entry_set_aspect</a> (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
70
<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType"><span class="type">GimpAspectType</span></a> aspect</code></em>);
71
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-ratio" title="gimp_number_pair_entry_get_ratio ()">gimp_number_pair_entry_get_ratio</a> (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>);
72
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-ratio" title="gimp_number_pair_entry_set_ratio ()">gimp_number_pair_entry_set_ratio</a> (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
73
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> ratio</code></em>);
74
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-user-override" title="gimp_number_pair_entry_get_user_override ()">gimp_number_pair_entry_get_user_override</a>
75
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>);
76
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-user-override" title="gimp_number_pair_entry_set_user_override ()">gimp_number_pair_entry_set_user_override</a>
77
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
78
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> user_override</code></em>);
79
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-get-default-text" title="gimp_number_pair_entry_get_default_text ()">gimp_number_pair_entry_get_default_text</a>
80
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>);
81
<span class="returnvalue">void</span> <a class="link" href="GimpNumberPairEntry.html#gimp-number-pair-entry-set-default-text" title="gimp_number_pair_entry_set_default_text ()">gimp_number_pair_entry_set_default_text</a>
82
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
83
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
139
86
<div class="refsect1" title="Object Hierarchy">
140
87
<a name="GimpNumberPairEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
141
88
<pre class="synopsis">
143
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
146
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
147
>GInitiallyUnowned</a>
149
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
152
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
155
href="http://library.gnome.org/devel/gtk/unstable/GtkEntry.html"
89
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
90
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
91
+----<a href="/usr/share/gtk-doc/html/gtk/GtkObject.html">GtkObject</a>
92
+----<a href="/usr/share/gtk-doc/html/gtk/GtkWidget.html">GtkWidget</a>
93
+----<a href="/usr/share/gtk-doc/html/gtk/GtkEntry.html">GtkEntry</a>
157
94
+----GimpNumberPairEntry
161
98
<a name="GimpNumberPairEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
163
100
GimpNumberPairEntry implements
165
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
166
>GtkBuildable</a>, AtkImplementorIface, <a
167
href="http://library.gnome.org/devel/gtk/unstable/GtkEditable.html"
168
>GtkEditable</a> and <a
169
href="http://library.gnome.org/devel/gtk/unstable/GtkCellEditable.html"
170
>GtkCellEditable</a>.</p>
101
AtkImplementorIface, <a href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>, <a href="/usr/share/gtk-doc/html/gtk/GtkEditable.html">GtkEditable</a> and <a href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html">GtkCellEditable</a>.</p>
172
103
<div class="refsect1" title="Properties">
173
104
<a name="GimpNumberPairEntry.properties"></a><h2>Properties</h2>
174
105
<pre class="synopsis">
175
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification" title='The "allow-simplification" property'>allow-simplification</a>" <a
176
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
177
>gboolean</a> : Read / Write
178
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--aspect" title='The "aspect" property'>aspect</a>" <a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a> : Read / Write
179
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number" title='The "default-left-number" property'>default-left-number</a>" <a
180
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
181
>gdouble</a> : Read / Write
182
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number" title='The "default-right-number" property'>default-right-number</a>" <a
183
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
184
>gdouble</a> : Read / Write
185
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-text" title='The "default-text" property'>default-text</a>" <a
186
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
187
>gchar</a>* : Read / Write
188
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--left-number" title='The "left-number" property'>left-number</a>" <a
189
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
190
>gdouble</a> : Read / Write
191
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value" title='The "max-valid-value" property'>max-valid-value</a>" <a
192
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
193
>gdouble</a> : Read / Write
194
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value" title='The "min-valid-value" property'>min-valid-value</a>" <a
195
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
196
>gdouble</a> : Read / Write
197
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--ratio" title='The "ratio" property'>ratio</a>" <a
198
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
199
>gdouble</a> : Read / Write
200
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--right-number" title='The "right-number" property'>right-number</a>" <a
201
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
202
>gdouble</a> : Read / Write
203
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--separators" title='The "separators" property'>separators</a>" <a
204
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
205
>gchar</a>* : Read / Write / Construct Only
206
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--user-override" title='The "user-override" property'>user-override</a>" <a
207
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
208
>gboolean</a> : Read / Write
106
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--allow-simplification" title='The "allow-simplification" property'>allow-simplification</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
107
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--aspect" title='The "aspect" property'>aspect</a>" <a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType"><span class="type">GimpAspectType</span></a> : Read / Write
108
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-left-number" title='The "default-left-number" property'>default-left-number</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
109
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-right-number" title='The "default-right-number" property'>default-right-number</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
110
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--default-text" title='The "default-text" property'>default-text</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
111
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--left-number" title='The "left-number" property'>left-number</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
112
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--max-valid-value" title='The "max-valid-value" property'>max-valid-value</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
113
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--min-valid-value" title='The "min-valid-value" property'>min-valid-value</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
114
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--ratio" title='The "ratio" property'>ratio</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
115
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--right-number" title='The "right-number" property'>right-number</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
116
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--separators" title='The "separators" property'>separators</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
117
"<a class="link" href="GimpNumberPairEntry.html#GimpNumberPairEntry--user-override" title='The "user-override" property'>user-override</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
211
120
<div class="refsect1" title="Signals">
319
217
<div class="refsect2" title="gimp_number_pair_entry_set_default_values ()">
320
218
<a name="gimp-number-pair-entry-set-default-values"></a><h3>gimp_number_pair_entry_set_default_values ()</h3>
321
<pre class="programlisting">void gimp_number_pair_entry_set_default_values
322
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
324
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
327
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
328
>gdouble</a> right);</pre>
219
<pre class="programlisting"><span class="returnvalue">void</span> gimp_number_pair_entry_set_default_values
220
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
221
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> left</code></em>,
222
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> right</code></em>);</pre>
333
223
<div class="variablelist"><table border="0">
334
224
<col align="left" valign="top">
337
227
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
338
<td> A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
228
<td>A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
342
232
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
343
<td> Default left value in the entry.
233
<td>Default left value in the entry.
347
237
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
348
<td> Default right value in the entry.
238
<td>Default right value in the entry.
356
246
<div class="refsect2" title="gimp_number_pair_entry_get_default_values ()">
357
247
<a name="gimp-number-pair-entry-get-default-values"></a><h3>gimp_number_pair_entry_get_default_values ()</h3>
358
<pre class="programlisting">void gimp_number_pair_entry_get_default_values
359
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
361
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
364
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
365
>gdouble</a> *right);</pre>
248
<pre class="programlisting"><span class="returnvalue">void</span> gimp_number_pair_entry_get_default_values
249
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
250
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *left</code></em>,
251
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *right</code></em>);</pre>
370
252
<div class="variablelist"><table border="0">
371
253
<col align="left" valign="top">
374
256
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
375
<td> A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
257
<td>A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
379
261
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
380
<td> Pointer of where to put left value.
262
<td>Pointer of where to put left value.
384
266
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
385
<td> Pointer of where to put right value.
267
<td>Pointer of where to put right value.
393
275
<div class="refsect2" title="gimp_number_pair_entry_set_values ()">
394
276
<a name="gimp-number-pair-entry-set-values"></a><h3>gimp_number_pair_entry_set_values ()</h3>
395
<pre class="programlisting">void gimp_number_pair_entry_set_values (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
397
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
400
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
401
>gdouble</a> right);</pre>
277
<pre class="programlisting"><span class="returnvalue">void</span> gimp_number_pair_entry_set_values (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
278
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> left</code></em>,
279
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> right</code></em>);</pre>
403
281
Forces setting the numbers displayed by a <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a>,
404
282
ignoring if the user has set his/her own value. The state of
405
user-override will not be changed.</p>
283
user-override will not be changed.
408
285
<div class="variablelist"><table border="0">
409
286
<col align="left" valign="top">
412
289
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
413
<td> A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
290
<td>A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
417
294
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
418
<td> Left number in the entry.
295
<td>Left number in the entry.
422
299
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
423
<td> Right number in the entry.
300
<td>Right number in the entry.
431
308
<div class="refsect2" title="gimp_number_pair_entry_get_values ()">
432
309
<a name="gimp-number-pair-entry-get-values"></a><h3>gimp_number_pair_entry_get_values ()</h3>
433
<pre class="programlisting">void gimp_number_pair_entry_get_values (<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
435
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
438
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
439
>gdouble</a> *right);</pre>
441
Gets the numbers displayed by a <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a>.</p>
310
<pre class="programlisting"><span class="returnvalue">void</span> gimp_number_pair_entry_get_values (<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
311
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *left</code></em>,
312
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *right</code></em>);</pre>
314
Gets the numbers displayed by a <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a>.
444
316
<div class="variablelist"><table border="0">
445
317
<col align="left" valign="top">
448
320
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
449
<td> A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
321
<td>A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
453
325
<td><p><span class="term"><em class="parameter"><code>left</code></em> :</span></p></td>
454
<td> Pointer of where to store the left number (may be <a
455
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
456
><code class="literal">NULL</code></a>).
326
<td>Pointer of where to store the left number (may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).
460
330
<td><p><span class="term"><em class="parameter"><code>right</code></em> :</span></p></td>
461
<td> Pointer of to store the right number (may be <a
462
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
463
><code class="literal">NULL</code></a>).
331
<td>Pointer of to store the right number (may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).
616
470
<div class="refsect2" title="gimp_number_pair_entry_set_user_override ()">
617
471
<a name="gimp-number-pair-entry-set-user-override"></a><h3>gimp_number_pair_entry_set_user_override ()</h3>
618
<pre class="programlisting">void gimp_number_pair_entry_set_user_override
619
(<a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry">GimpNumberPairEntry</a> *entry,
621
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
622
>gboolean</a> user_override);</pre>
472
<pre class="programlisting"><span class="returnvalue">void</span> gimp_number_pair_entry_set_user_override
473
(<em class="parameter"><code><a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> *entry</code></em>,
474
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> user_override</code></em>);</pre>
624
476
When the entry is not in user overridden mode, the values will
625
477
change when the default values are changed. When in user overridden
626
mode, setting default values will not affect the active values.</p>
478
mode, setting default values will not affect the active values.
629
480
<div class="variablelist"><table border="0">
630
481
<col align="left" valign="top">
633
484
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
634
<td> A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
485
<td>A <a class="link" href="GimpNumberPairEntry.html" title="GimpNumberPairEntry"><span class="type">GimpNumberPairEntry</span></a> widget.
638
489
<td><p><span class="term"><em class="parameter"><code>user_override</code></em> :</span></p></td>
640
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
641
><code class="literal">TRUE</code></a> sets the entry in user overridden mode,
643
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
644
><code class="literal">FALSE</code></a> disables.
491
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> sets the entry in user overridden mode,
492
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> disables.
723
558
<a name="GimpNumberPairEntry.property-details"></a><h2>Property Details</h2>
724
559
<div class="refsect2" title='The "allow-simplification" property'>
725
560
<a name="GimpNumberPairEntry--allow-simplification"></a><h3>The <code class="literal">"allow-simplification"</code> property</h3>
726
<pre class="programlisting"> "allow-simplification" <a
727
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
728
>gboolean</a> : Read / Write</pre>
561
<pre class="programlisting"> "allow-simplification" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
729
562
<p>Whether to allow simplification.</p>
730
563
<p>Default value: FALSE</p>
733
566
<div class="refsect2" title='The "aspect" property'>
734
567
<a name="GimpNumberPairEntry--aspect"></a><h3>The <code class="literal">"aspect"</code> property</h3>
735
<pre class="programlisting"> "aspect" <a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType">GimpAspectType</a> : Read / Write</pre>
568
<pre class="programlisting"> "aspect" <a class="link" href="GimpNumberPairEntry.html#GimpAspectType" title="enum GimpAspectType"><span class="type">GimpAspectType</span></a> : Read / Write</pre>
737
570
<p>Default value: GIMP_ASPECT_SQUARE</p>
740
573
<div class="refsect2" title='The "default-left-number" property'>
741
574
<a name="GimpNumberPairEntry--default-left-number"></a><h3>The <code class="literal">"default-left-number"</code> property</h3>
742
<pre class="programlisting"> "default-left-number" <a
743
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
744
>gdouble</a> : Read / Write</pre>
575
<pre class="programlisting"> "default-left-number" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write</pre>
746
577
<p>Allowed values: >= G_MINDOUBLE</p>
747
578
<p>Default value: 100</p>