-
Notifications
You must be signed in to change notification settings - Fork 5
Scroll
doyousketch2 edited this page Sep 13, 2019
·
6 revisions
Corresponds to:
Fl_Scroll
Inherits from:
Group,
Widget
Constructors
fl.Scroll( int X, int Y, int W, int H, *str label ) ==> userdata Widget-
fl.Scroll{ table entries } ==> userdata Widget(table constructor syntax)
Functions
- methods defined for
Groupuserdata type - methods defined for
Widgetuserdata type -
obj:clear()( Clear all but scrollbars ) obj:scroll_to( int X, int Y )
Properties
- properties defined for
Groupuserdata type - properties defined for
Widgetuserdata type -
obj.xposition ==> int Xget -
obj.yposition ==> int Yget -
obj.scrollbar ==> userdataget ( Fl_Scrollbar ) -
obj.hscrollbar ==> userdataget ( Fl_Scrollbar ) -
obj.scrollbar_size ==> int sizeget ( in pixels ) -
obj.scrollbar_size = int sizeset ( in pixels ) -
obj.type ==> str modeget ( see below ) -
obj.type = str modeset ( see below )
The type property / mode of scroll widgets can be set to one of the
following values to select which scrollbar(s) are shown:
"NO_SCROLLBARS""HORIZONTAL""VERTICAL""BOTH""HORIZONTAL_ALWAYS""VERTICAL_ALWAYS""BOTH_ALWAYS"