-
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
Group
userdata type - methods defined for
Widget
userdata type -
obj:clear()
( clear all but scrollbars )
obj:scroll_to( int X, int Y )
Properties
- properties defined for
Group
userdata type - properties defined for
Widget
userdata type -
obj.xposition ==> int X
get -
obj.yposition ==> int Y
get -
obj.scrollbar ==> userdata
get ( Fl_Scrollbar ) -
obj.hscrollbar ==> userdata
get ( Fl_Scrollbar ) -
obj.scrollbar_size ==> int pixels
getobj.scrollbar_size = int pixels
set -
obj.type ==> str mode
getobj.type = str mode
set
select mode:"NO_SCROLLBARS"
"HORIZONTAL"
"VERTICAL"
"BOTH"
"HORIZONTAL_ALWAYS"
"VERTICAL_ALWAYS"
"BOTH_ALWAYS"