Description Hierarchy Interfaces Detailed Description Structures Style Properties Author(s) References
Base class for GtkHScrollbar and GtkVScrollbar
1 2 3 4 5 6 7 8 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkRange
+----GtkScrollbar
+----GtkHScrollbar
+----GtkVScrollbar
|
GtkScrollbar implements
AtkImplementorIface, GtkBuildable
and GtkOrientable
.
The GtkScrollbar
widget is an abstract base class for GtkHScrollbar
and
GtkVScrollbar
. It is not very useful in itself.
The position of the thumb in a scrollbar is controlled by the scroll
adjustments. See GtkAdjustment
for the fields in an adjustment - for
GtkScrollbar
, 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).
GtkScrollbar
The GtkScrollbar
struct does not contain any public data.
fixed-slider-length
[logical : Read]Don't change slider size, just lock it to the minimum length. Default value: FALSE
has-backward-stepper
[logical : Read]Display the standard backward arrow button. Default value: TRUE
has-forward-stepper
[logical : Read]Display the standard forward arrow button. Default value: TRUE
has-secondary-backward-stepper
[logical : Read]Display a second backward arrow button on the opposite end of the scrollbar. Default value: FALSE
has-secondary-forward-stepper
[logical : Read]Display a second forward arrow button on the opposite end of the scrollbar. Default value: FALSE
min-slider-length
[integer : Read]Minimum length of scrollbar slider. Allowed values: >= 0 Default value: 21
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkScrollbar.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.