Forum und email

GtkCurve

Widget that allows editing of a curve.

オブジェクトの階層

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

説明

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.

このウィジェットは GTK+ での用途が非常に限定されており、 ほとんど使われていません。将来は別のパッケージに移す予定です。 もしあなたのアプリケーションでこのウィジェットが必要なら、気にせず使用してください。 きちんと動作しますし、用途によっては便利なものでしょう。 ただ、万人向けのものではないというだけのことです。

コンストラクタ

-- Creates a new GtkCurve.

メソッド

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

シグナル

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