type Gtk_Gamma_Curve_Record is new Gtk.Box.Gtk_Box_Record with private;
type Gtk_Gamma_Curve is access all Gtk_Gamma_Curve_Record'Class;
procedure Initialize
( | Gamma_Curve | : access Gtk_Gamma_Curve_Record'Class); |
function Get_Type return Gtk.Gtk_Type;
function Get_Curve
( | Gamma_Curve | : access Gtk_Gamma_Curve_Record) return Gtk.Curve.Gtk_Curve; |
function Get_Gamma
( | Gamma_Curve | : access Gtk_Gamma_Curve_Record) return Gfloat; |
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.
Binding from C File version 2.8.17
<testgtk>create_gamma_curve.adb</testgtk>