GtkCurve

Widget that allows editing of a curve.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkDrawingArea
                     `-- GtkCurve

Description

The GtkCurve is a widget that allows the user to directly edit a curve covering a range of values.

The GtkCurve widget has 3 modes of operation; spline, linear and free. In spline mode the user places points on the curve which are automatically connected together into a smooth curve. In linear mode the user places points on the curve which are connected by straight lines. In free mode the user can draw the points of the curve freely, and they are not connected at all.

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.

Constructors

-- Creates a new GtkCurve.

Methods

get_vector()
  FIXME
reset()
  Resets the curve to a straight line.
set_curve_type()
  Sets the type of the curve.
set_gamma()
  Recomputes the curve using the given gamma value.
set_range()
  Sets the minimum and maximum x and y values of the curve.
set_vector()
  FIXME

Signals

"curve-type-changed"
  Emitted when the curve type has been changed.