-
Notifications
You must be signed in to change notification settings - Fork 5
Spinner
doyousketch2 edited this page Sep 13, 2019
·
4 revisions
Corresponds to:
Fl_Spinner
Inherits from:
Widget
Constructors
fl.Spinner( int X, int Y, int W, int H, *str label ) ==> userdata Widget
-
fl.Spinner{ table entries } ==> userdata Widget
( table constructor syntax )
Functions
- methods defined for
Widget
userdata type obj:range( int min, int max )
Properties
- properties defined for
Widget
userdata type -
obj.step ==> int val
getobj.step = int val
set -
obj.color ==> userdata color
getobj.color = userdata color
set
( background Fl_Color ) -
obj.value ==> int val
getobj.value = int val
set -
obj.format ==> str val
getobj.format = str val
set -
obj.minimum ==> int min
getobj.minimum = int min
set -
obj.maximum ==> int max
getobj.maximum = int max
set -
obj.textfont ==> str style
getobj.textfont = str style
set
obj.textfont = int index
set ( Fl_Font index in font table ) -
obj.textsize ==> int pixels
get Fl_Fontsizeobj.textsize = int pixels
set Fl_Fontsize -
obj.textcolor ==> userdata color
getobj.textcolor = int|userdata color
set
Fl_Color -
obj.type ==> str mode
getobj.type = str mode
set
select mode:"FL_INT_INPUT"
"FL_FLOAT_INPUT"
( note: Spinner
does not inherit methods and properties of Group
,
although Fl_Spinner
is implemented as a sub-class of Fl_Group
! )