Gtk-- Reference: Gtk::GammaCurve

Class Index | Cross Index | Namespace Index

# Class Gtk::GammaCurve

A subclass of `Gtk::VBox` for editing gamma curves.
Contained in: Gtk
Derived from: Gtk::VBox
Derived by: none

#include <gtk--/curve.h>

### public function member index:
`` | `GammaCurve` | `()`;
``GtkGammaCurve`*` | `gtkobj` | `()`;
``const` `GtkGammaCurve`*` | `gtkobj` | `() `const``;
``static` `bool`` | `isA` | `(`Object`* `object`)`;
``virtual`` | `~GammaCurve` | `()`;

## Description:

The `Gtk::GammaCurve` widget is a subclass of `Gtk::VBox` specifically for editing gamma curves, which are used in graphics applications such as the Gimp.

The GammaCurve 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.

## Function Member Descriptions:

Gtk::GammaCurve::gtkobj - Returns the underlaying gtk+ object.

``GtkGammaCurve`*` `gtkobj``()`;
Gtk::GammaCurve::isA - Returns true if object is this type.

``static` `bool`` `isA``(`Object`* `object`)`;