1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GtkGammaCurve
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2007-06-11 03:41:27 +00:00
|
|
|
A subclass of GtkCurve for editing gamma curves
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2001-10-18 22:08:33 +00:00
|
|
|
The #GtkGammaCurve widget is a variant of #GtkCurve specifically for
|
1999-09-22 21:30:57 +00:00
|
|
|
editing gamma curves, which are used in graphics applications such as the
|
|
|
|
Gimp.
|
|
|
|
</para>
|
|
|
|
<para>
|
2001-10-18 22:08:33 +00:00
|
|
|
The #GtkGammaCurve 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
|
1999-09-22 21:30:57 +00:00
|
|
|
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.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
2009-10-21 16:15:52 +00:00
|
|
|
<para>
|
|
|
|
As of GTK+ 2.20, #GtkGammaCurve has been deprecated since it is too specialized.
|
|
|
|
</para>
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### STRUCT GtkGammaCurve ##### -->
|
|
|
|
<para>
|
2001-10-18 22:08:33 +00:00
|
|
|
The #GtkGammaCurve struct contains private data only, and
|
1999-09-22 21:30:57 +00:00
|
|
|
should be accessed using the functions below.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_gamma_curve_new ##### -->
|
|
|
|
<para>
|
1999-09-22 21:30:57 +00:00
|
|
|
Creates a new #GtkGammaCurve.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
1999-09-22 21:30:57 +00:00
|
|
|
@Returns: a new #GtkGammaCurve.
|
2009-10-21 16:15:52 +00:00
|
|
|
@Deprecated: 2.20: Don't use this widget anymore.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|