gtk2/docs/reference/gtk/tmpl/gtkgamma.sgml

50 lines
1.4 KiB
Plaintext
Raw Normal View History

1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
GtkGammaCurve
<!-- ##### SECTION Short_Description ##### -->
a subclass of #GtkCurve for editing gamma curves.
1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Long_Description ##### -->
<para>
NOTE this widget is considered too specialized/little-used for
GTK+, and will in the future be moved to some other package. If
your application needs this widget, feel free to use it, as the
widget does work and is useful in some applications; it's just not
of general interest. However, we are not accepting new features for
the widget, and it will eventually move out of the GTK+
distribution.
</para>
1999-08-16 18:51:52 +00:00
<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.
1999-08-16 18:51:52 +00:00
</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.
1999-08-16 18:51:52 +00:00
</para>
<!-- ##### FUNCTION gtk_gamma_curve_new ##### -->
<para>
Creates a new #GtkGammaCurve.
1999-08-16 18:51:52 +00:00
</para>
@Returns: a new #GtkGammaCurve.
1999-08-16 18:51:52 +00:00