Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::GammaCurve Class Reference

A GtkGammaCurve C++ wrapper class. More...

#include <xfc/gtk/gammacurve.hh>

Inheritance diagram for Xfc::Gtk::GammaCurve:

Xfc::Gtk::VBox Xfc::Gtk::Box Xfc::Gtk::Container Xfc::Gtk::Widget Xfc::Gtk::Object Xfc::Atk::Implementor Xfc::G::Object Xfc::G::TypeInterface Xfc::G::TypeInstance Xfc::G::TypeInstance Xfc::Trackable Xfc::Trackable List of all members.

Public Member Functions

Constructors
Accessors

Protected Member Functions

Constructors

Detailed Description

A GtkGammaCurve C++ wrapper class.

The GammaCurve widget is a variant of Curve 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 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.

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.


Constructor & Destructor Documentation

Xfc::Gtk::GammaCurve::GammaCurve GtkGammaCurve *  gamma_curve,
bool  owns_reference = false
[explicit, protected]
 

Construct a new GammaCurve from an existing GtkGammaCurve.

Parameters:
gamma_curve A pointer to a GtkGammaCurve.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The gamma_curve can be a newly created GtkGammaCurve or an existing GtkGammaCurve (see G::Object::Object).


The documentation for this class was generated from the following file: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3