52
52
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>* <a class="link" href="GtkCurve.html#gtk-curve-new" title="gtk_curve_new ()">gtk_curve_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
53
53
<span class="returnvalue">void</span> <a class="link" href="GtkCurve.html#gtk-curve-reset" title="gtk_curve_reset ()">gtk_curve_reset</a> (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>);
54
54
<span class="returnvalue">void</span> <a class="link" href="GtkCurve.html#gtk-curve-set-gamma" title="gtk_curve_set_gamma ()">gtk_curve_set_gamma</a> (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
55
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> gamma_</code></em>);
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> gamma_</code></em>);
56
56
<span class="returnvalue">void</span> <a class="link" href="GtkCurve.html#gtk-curve-set-range" title="gtk_curve_set_range ()">gtk_curve_set_range</a> (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
57
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_x</code></em>,
58
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_x</code></em>,
59
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_y</code></em>,
60
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_y</code></em>);
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_x</code></em>,
58
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_x</code></em>,
59
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_y</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_y</code></em>);
61
61
<span class="returnvalue">void</span> <a class="link" href="GtkCurve.html#gtk-curve-get-vector" title="gtk_curve_get_vector ()">gtk_curve_get_vector</a> (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
62
62
<em class="parameter"><code><span class="type">int</span> veclen</code></em>,
63
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);
63
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);
64
64
<span class="returnvalue">void</span> <a class="link" href="GtkCurve.html#gtk-curve-set-vector" title="gtk_curve_set_vector ()">gtk_curve_set_vector</a> (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
65
65
<em class="parameter"><code><span class="type">int</span> veclen</code></em>,
66
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);
67
67
<span class="returnvalue">void</span> <a class="link" href="GtkCurve.html#gtk-curve-set-curve-type" title="gtk_curve_set_curve_type ()">gtk_curve_set_curve_type</a> (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
68
68
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkCurveType" title="enum GtkCurveType"><span class="type">GtkCurveType</span></a> type</code></em>);
71
71
<div class="refsect1" title="Object Hierarchy">
72
72
<a name="GtkCurve.object-hierarchy"></a><h2>Object Hierarchy</h2>
73
73
<pre class="synopsis">
74
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
75
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
74
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
75
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
76
76
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
77
77
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
78
78
+----<a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea">GtkDrawingArea</a>
89
89
<a name="GtkCurve.properties"></a><h2>Properties</h2>
90
90
<pre class="synopsis">
91
91
"<a class="link" href="GtkCurve.html#GtkCurve--curve-type" title='The "curve-type" property'>curve-type</a>" <a class="link" href="gtk-Standard-Enumerations.html#GtkCurveType" title="enum GtkCurveType"><span class="type">GtkCurveType</span></a> : Read / Write
92
"<a class="link" href="GtkCurve.html#GtkCurve--max-x" title='The "max-x" property'>max-x</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
93
"<a class="link" href="GtkCurve.html#GtkCurve--max-y" title='The "max-y" property'>max-y</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
94
"<a class="link" href="GtkCurve.html#GtkCurve--min-x" title='The "min-x" property'>min-x</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
95
"<a class="link" href="GtkCurve.html#GtkCurve--min-y" title='The "min-y" property'>min-y</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
92
"<a class="link" href="GtkCurve.html#GtkCurve--max-x" title='The "max-x" property'>max-x</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
93
"<a class="link" href="GtkCurve.html#GtkCurve--max-y" title='The "max-y" property'>max-y</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
94
"<a class="link" href="GtkCurve.html#GtkCurve--min-x" title='The "min-x" property'>min-x</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
95
"<a class="link" href="GtkCurve.html#GtkCurve--min-y" title='The "min-y" property'>min-y</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
98
98
<div class="refsect1" title="Signals">
179
179
<div class="refsect2" title="gtk_curve_set_gamma ()">
180
180
<a name="gtk-curve-set-gamma"></a><h3>gtk_curve_set_gamma ()</h3>
181
181
<pre class="programlisting"><span class="returnvalue">void</span> gtk_curve_set_gamma (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
182
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> gamma_</code></em>);</pre>
182
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> gamma_</code></em>);</pre>
183
183
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
184
184
<h3 class="title">Warning</h3>
185
185
<p><code class="literal">gtk_curve_set_gamma</code> has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.</p>
211
211
<div class="refsect2" title="gtk_curve_set_range ()">
212
212
<a name="gtk-curve-set-range"></a><h3>gtk_curve_set_range ()</h3>
213
213
<pre class="programlisting"><span class="returnvalue">void</span> gtk_curve_set_range (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
214
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_x</code></em>,
215
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_x</code></em>,
216
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_y</code></em>,
217
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_y</code></em>);</pre>
214
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_x</code></em>,
215
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_x</code></em>,
216
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> min_y</code></em>,
217
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> max_y</code></em>);</pre>
218
218
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
219
219
<h3 class="title">Warning</h3>
220
220
<p><code class="literal">gtk_curve_set_range</code> has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.</p>
259
259
<a name="gtk-curve-get-vector"></a><h3>gtk_curve_get_vector ()</h3>
260
260
<pre class="programlisting"><span class="returnvalue">void</span> gtk_curve_get_vector (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
261
261
<em class="parameter"><code><span class="type">int</span> veclen</code></em>,
262
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);</pre>
262
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);</pre>
263
263
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
264
264
<h3 class="title">Warning</h3>
265
265
<p><code class="literal">gtk_curve_get_vector</code> has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.</p>
293
293
<a name="gtk-curve-set-vector"></a><h3>gtk_curve_set_vector ()</h3>
294
294
<pre class="programlisting"><span class="returnvalue">void</span> gtk_curve_set_vector (<em class="parameter"><code><a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve</code></em>,
295
295
<em class="parameter"><code><span class="type">int</span> veclen</code></em>,
296
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);</pre>
296
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> vector[]</code></em>);</pre>
297
297
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
298
298
<h3 class="title">Warning</h3>
299
299
<p><code class="literal">gtk_curve_set_vector</code> has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.</p>
366
366
<div class="refsect2" title='The "max-x" property'>
367
367
<a name="GtkCurve--max-x"></a><h3>The <code class="literal">"max-x"</code> property</h3>
368
<pre class="programlisting"> "max-x" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
368
<pre class="programlisting"> "max-x" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
369
369
<p>Maximum possible X value.</p>
370
370
<p>Default value: 1</p>
373
373
<div class="refsect2" title='The "max-y" property'>
374
374
<a name="GtkCurve--max-y"></a><h3>The <code class="literal">"max-y"</code> property</h3>
375
<pre class="programlisting"> "max-y" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
375
<pre class="programlisting"> "max-y" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
376
376
<p>Maximum possible value for Y.</p>
377
377
<p>Default value: 1</p>
380
380
<div class="refsect2" title='The "min-x" property'>
381
381
<a name="GtkCurve--min-x"></a><h3>The <code class="literal">"min-x"</code> property</h3>
382
<pre class="programlisting"> "min-x" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
382
<pre class="programlisting"> "min-x" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
383
383
<p>Minimum possible value for X.</p>
384
384
<p>Default value: 0</p>
387
387
<div class="refsect2" title='The "min-y" property'>
388
388
<a name="GtkCurve--min-y"></a><h3>The <code class="literal">"min-y"</code> property</h3>
389
<pre class="programlisting"> "min-y" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
389
<pre class="programlisting"> "min-y" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
390
390
<p>Minimum possible value for Y.</p>
391
391
<p>Default value: 0</p>
396
396
<div class="refsect2" title='The "curve-type-changed" signal'>
397
397
<a name="GtkCurve-curve-type-changed"></a><h3>The <code class="literal">"curve-type-changed"</code> signal</h3>
398
398
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkCurve.html" title="GtkCurve"><span class="type">GtkCurve</span></a> *curve,
399
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
399
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run First</pre>
401
401
Emitted when the curve type has been changed.
402
402
The curve type can be changed explicitly with a call to