gltk 0.3
a C++ widget library built on GLUT
Public Member Functions
gltk::Slider Class Reference

Selecting a value by moving a slider. More...

#include <slider.hh>

Inheritance diagram for gltk::Slider:
gltk::Widget

List of all members.

Public Member Functions

 Slider (Adjustment *adjust=0, Orientation orient=ORIENTATION_HORIZONTAL)
 < construct Slider on given Adjustment and orientation
Adjustmentget_adjustment ()
 return the controlled Adjustment
void set_value (double value)
 set the value
double get_value () const
 get the value
sigc::signal< void > & signal_value_changed ()
 when the value is changed

Detailed Description

Selecting a value by moving a slider.

Slider can be used to select a value for an Adjustment.

Examples:

slider.cc.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator