Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gtk::HScale Class Reference

A GtkHScale C++ wrapper class. More...

#include <inti/gtk/scale.h>

Inheritance diagram for Inti::Gtk::HScale:

Inti::Gtk::Scale Inti::Gtk::Range Inti::Gtk::Widget Inti::Gtk::Object Inti::Atk::Implementor Inti::G::Object Inti::G::TypeInterface Inti::G::TypeInstance Inti::MemoryHandler Inti::G::TypeInstance Inti::ReferencedBase Inti::ReferencedBase List of all members.

Public Member Functions

Constructors
Accessors

Protected Member Functions

Constructors

Detailed Description

A GtkHScale C++ wrapper class.

The HScale widget is used to allow the user to select a value using a horizontal 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.


Constructor & Destructor Documentation

Inti::Gtk::HScale::HScale GtkHScale *  hscale,
bool  reference = false
[explicit, protected]
 

Construct a new HScale from an existing GtkHScale.

Parameters:
hscale A pointer to a GtkHScale.
reference Set false if the initial reference count is floating, set true if it's not.

The hscale can be a newly created GtkHScale or an existing GtkHScale (see G::Object::Object).

Inti::Gtk::HScale::HScale Adjustment adjustment  )  [explicit]
 

Construct a new horizontal scale with the specified adjustement.

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

Inti::Gtk::HScale::HScale double  min,
double  max,
double  step = 1.0
 

Construct a new horizontal 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: Main Page - Footer


Generated on Sun Sep 14 20:08:15 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002