Next: , Previous: Package_Gtk.GRange, Up: Top



Package Gtk.Gamma_Curve

The Gtk_Gamma_Curve widget is a child of Gtk_Curve specifically for editing gamma curves, which are used in graphics applications such as the Gimp.

The Gamma_Curve widget shows a curve which the user can edit with the mouse just like a Gtk_Curve 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.

Widget Hierarchy
     GObject                       (see Package_Glib.Object)
     Gtk_Object                    (see Package_Gtk.Object)
        \___ Gtk_Widget            (see Package_Gtk.Widget)
           \___ Gtk_Container      (see Package_Gtk.Container)
              \___ Gtk_Box         (see Package_Gtk.Box)
                 \___ Gtk_Gamma_Curve (see Package_Gtk.Gamma_Curve)
     

Subprograms
procedure Gtk_New (Gamma_Curve : out Gtk_Gamma_Curve);
Create a new Gtk_Gamma_Curve.

function Get_Type return Gtk.Gtk_Type;
Return the internal value associated with a Gtk_Gamma_Curve.

function Get_Curve (Gamma_Curve : access Gtk_Gamma_Curve_Record) return Gtk.Curve.Gtk_Curve;
Return the Curve widget associated with a Gamma_Curve.

function Get_Gamma (Gamma_Curve : access Gtk_Gamma_Curve_Record) return Gfloat;
Return the Gamma value associated with a Gamma_Curve.