GtkCurve {RGtk2} | R Documentation |
Allows direct editing of a curve
gtkCurveNew(show = TRUE)
gtkCurveReset(object)
gtkCurveSetGamma(object, gamma)
gtkCurveSetRange(object, min.x, max.x, min.y, max.y)
gtkCurveGetVector(object, veclen)
gtkCurveSetVector(object, vector)
gtkCurveSetCurveType(object, type)
gtkCurve(show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkDrawingArea +----GtkCurve
GtkCurve implements
GtkBuildable
and AtkImplementorIface.
PLEASE NOTE: 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. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution.
The GtkCurve
widget allows the user to edit a curve covering a range of
values. It is typically used to fine-tune color balances in graphics
applications like the Gimp.
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.
GtkCurve
GtkCurve
struct contains private data only, and
should be accessed using the functions below.
gtkCurve
is the equivalent of gtkCurveNew
.
The (curve, user.data)
gtkCurveSetCurveType
. It is also changed as a side-effect of
calling gtkCurveReset
or gtkCurveSetGamma
.
curve
GtkCurve
] the object which received the signal.user.data
curve-type
[GtkCurveType
: Read / Write]Is this curve linear, spline interpolated, or free-form. Default value: GTK_CURVE_TYPE_LINEAR
max-x
[numeric : Read / Write]Maximum possible X value. Default value: 1
max-y
[numeric : Read / Write]Maximum possible value for Y. Default value: 1
min-x
[numeric : Read / Write]Minimum possible value for X. Default value: 0
min-y
[numeric : Read / Write]Minimum possible value for Y. Default value: 0
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkCurve.html