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


Xfc::Gtk::VScale Class Reference

A GtkVScale C++ wrapper class. More...

#include <xfc/gtk/scale.hh>

Inheritance diagram for Xfc::Gtk::VScale:

Xfc::Gtk::Scale Xfc::Gtk::Range 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 GtkVScale C++ wrapper class.

The VScale widget is used to allow the user to select a value using a vertical slider. The position to show the current value, and the number of decimal places shown can be set using the parent Scale class's methods.

See also: the Range Widget HOWTO and example.


Constructor & Destructor Documentation

Xfc::Gtk::VScale::VScale GtkVScale *  vscale,
bool  owns_reference = false
[explicit, protected]
 

Construct a new VScale from an existing GtkVScale.

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

Xfc::Gtk::VScale::VScale Adjustment adjustment  )  [explicit]
 

Construct a new vertical scale with the specified adjustement.

Parameters:
adjustment The Adjustment which sets the range of the scale.

Xfc::Gtk::VScale::VScale double  min,
double  max,
double  step = 1.0
 

Construct a new vertical scale that lets the user input a number between min and max (including min and max) with the increment step.

Parameters:
min The minimum value.
max The maximum value.
step The step increment (tick size) used with keyboard shortcuts.
The step must be nonzero; it's the distance the slider moves when using the arrow keys to adjust the scale value.


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