The scrollbar allows the user to scroll through widgets that are only partly displayed.
interface scrollbar : widget { <widgets/scrollbar.h>
sources/java/hush.dv.widgets.scrollbar
scrollbar(char* p, char* options = "");
scrollbar(widget* w, char* p, char* options = "");
void orient(char* s);
xview(widget* w); install widget to scroll
yview(widget* w); install widget to scroll
};
-command <tcl-command> -width <number>
activeforeground, background, bitmap, borderwidth, cursor, font, foreground, orient, relief, repeatdelay, repeatinterval
The default orientation of a scrollbar is vertical. A scrollbar must be explicitly attached to a widget w by calling the functions for vertical scrollbars and for horizontal scrollbars. To obtain the proper geometrical layout, the scrollbar and the widget it controls must usually be packed in a frame.
widget -- file <widgets/scrollbar.h>
|
Hush Online Technology
hush@cs.vu.nl
09/24/99 |
|
|