_
CurveThe 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 section Package Glib.Object)
Gtk_Object (see section Package Gtk.Object)
\___ Gtk_Widget (see section Package Gtk.Widget)
\___ Gtk_Container (see section Package Gtk.Container)
\___ Gtk_Box (see section Package Gtk.Box)
\___ Gtk_Gamma_Curve (see section Package Gtk.Gamma
|
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.
|