Scroll - siffiejoe/lua-fltk4lua GitHub Wiki
Scroll:
Corresponds to:
Fl_Scroll
Inherits from:
Group,
Widget
Constructors
fl.Scroll( int X, int Y, int W, int H, *str label ) ==> userdata Widgetfl.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 Xgetobj.yposition ==> int Ygetobj.scrollbar ==> userdataget ( Fl_Scrollbar )obj.hscrollbar ==> userdataget ( Fl_Scrollbar )obj.scrollbar_size ==> int pixelsgetobj.scrollbar_size = int pixelssetobj.type ==> str modegetobj.type = str modeset
select mode:"NO_SCROLLBARS""HORIZONTAL""VERTICAL""BOTH""HORIZONTAL_ALWAYS""VERTICAL_ALWAYS""BOTH_ALWAYS"