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


Xfc::Gtk::Scrollbar Class Reference

A GtkScrollbar C++ wrapper class. More...

#include <xfc/gtk/scrollbar.hh>

Inheritance diagram for Xfc::Gtk::Scrollbar:

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 Xfc::Gtk::HScrollbar Xfc::Gtk::VScrollbar List of all members.

Public Member Functions

Accessors

Protected Member Functions

Constructors

Detailed Description

A GtkScrollbar C++ wrapper class.

The Scrollbar widget is an abstract base class for HScrollbar and VScrollbar. It is not very useful in itself. The position of the thumb in a scrollbar is controlled by the scroll adjustments. See Adjustment for the fields in an adjustment - for 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 Page Down key).

See also: the Range Widget HOWTO and example.


Constructor & Destructor Documentation

Xfc::Gtk::Scrollbar::Scrollbar GtkScrollbar *  scrollbar,
bool  owns_reference = false
[explicit, protected]
 

Construct a new Scrollbar from an existing GtkScrollbar.

Parameters:
scrollbar A pointer to a GtkScrollbar.
owns_reference Set false if the initial reference count is floating, set true if it's not.
The scrollbar can be a newly created GtkScrollbar or an existing GtkScrollbar(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