Google

logo top
Main Page   Widgets   Namespaces   Book  

Gtk::Scrollbar Class Reference
[Widgets]

The Gtk::Scrollbar widget is an abstract base class for Gtk::HScrollbar and Gtk::VScrollbar. More...

Inheritance diagram for Gtk::Scrollbar:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~Scrollbar ()
GtkScrollbar* gobj ()
const GtkScrollbar* gobj () const

Related Functions

(Note that these are not member functions.)

Gtk::Scrollbar* wrap (GtkScrollbar* object, bool take_copy=false)

Detailed Description

The Gtk::Scrollbar widget is an abstract base class for Gtk::HScrollbar and Gtk::VScrollbar.

It is not very useful in itself.

The position of the thumb in a scrollbar is controlled by the scroll adjustments. See Gtk::Adjustment for the fields in an adjustment - for Gtk::Scrollbar, the "value" field represents the position of the scrollbar, which must be between the "lower" field and "upper - page_size." The "page_size" field represents the size of the visible scrollable area. The "step_increment" and "page_increment" fields are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key).


Constructor & Destructor Documentation

virtual Gtk::Scrollbar::~Scrollbar (   [virtual]
 


Member Function Documentation

const GtkScrollbar* Gtk::Scrollbar::gobj (   const [inline]
 

Reimplemented from Gtk::Range.

Reimplemented in Gtk::VScrollbar, and Gtk::HScrollbar.

GtkScrollbar* Gtk::Scrollbar::gobj (   [inline]
 

Reimplemented from Gtk::Range.

Reimplemented in Gtk::VScrollbar, and Gtk::HScrollbar.


Friends And Related Function Documentation

Gtk::Scrollbar* wrap ( GtkScrollbar*    object,
bool    take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm by Doxygen 1.3-rc1 © 1997-2001