summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtkgamma.sgml
blob: 28f392d5c1548f85252d3e156a3fbd39b31fc34e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!-- ##### SECTION Title ##### -->
GtkGammaCurve

<!-- ##### SECTION Short_Description ##### -->
a subclass of #GtkCurve for editing gamma curves.

<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkGammaCurve widget is a subclass of #GtkCurve specifically for
editing gamma curves, which are used in graphics applications such as the
Gimp.
</para>
<para>
The #GammaCurve widget shows a curve which the user can edit with the mouse
just like a #GtkCurve widget. On the right of the curve it also displays
5 buttons, 3 of which change between the 3 curve modes (spline, linear and
free), and the other 2 set the curve to a particular gamma value, or reset it
to a straight line.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### STRUCT GtkGammaCurve ##### -->
<para>
The #GtkGammaCurve-struct struct contains private data only, and
should be accessed using the functions below.
</para>


<!-- ##### FUNCTION gtk_gamma_curve_new ##### -->
<para>
Creates a new #GtkGammaCurve.
</para>

@Returns: a new #GtkGammaCurve.