PHP-GTK
Friday, October 24, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkCTreeNode
GtkCurve Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkCurve

Widget that allows editing of a curve.

Object Hierarchy

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.


User Contributed Notes
gtk.gtkcurve.php
add a note about notes
There are no user contributed notes for this page.


previousGtkCTreeNode
GtkCurve Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:56 2013 CEST