Next: Slider
Up: Classes and Methods
Previous: Ruler
(subclass of 9.1.3.1 Bar1d)
A simple Scrollbar. You can easily adjust the handle and bar size ratio.
- GRAPE(Scrollbar, "new-instance")(var, name, atype)
- CLASS *Scrollbar
void *var
char *name
DECLARATION_FORMAT atype
Create a new Scrollbar instance. See Ruler for the parameters.
- GRAPE(scrollbar, "set-bar-size")(bar_size)
- SCROLLBAR *scrollbar
double bar_size
Set the relative size of the moving part of a Scrollbar in units
of total_size.
- GRAPE(scrollbar, "set-total-size")(total_size)
- SCROLLBAR *scrollbar
double total_size
Set total_size as total size in units of *var.
SFB 256 Universität Bonn and IAM Universität Freiburg Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik,
Universität Bonn.