-
Notifications
You must be signed in to change notification settings - Fork 5
Counter
doyousketch2 edited this page Sep 6, 2019
·
7 revisions
Corresponds to:
Fl_Counter
Inherits from:
Valuator
,
Widget
fl.Counter( int X, int Y, int W, int H, *str label ) ==> userdata Widget
-
fl.Counter{ table entries } ==> userdata Widget
(table constructor syntax)
- methods defined for the
Valuator
userdata type - methods defined for the
Widget
userdata type - properties defined for the
Valuator
userdata type - properties defined for the
Widget
userdata type -
obj.step ==> double increment
get (normal step) -
obj.step = double increment
set (normal step) -
obj.lstep = double increment
set (large step) -
obj.textfont ==> str fontname
get -
obj.textfont = int|str font
set (index in font table, or name) -
obj.textsize ==> int size
get -
obj.textsize = int size
set -
obj.textcolor ==> userdata color
get ( Fl_Color ) -
obj.textcolor = int|userdata color
set ( Fl_Color ) -
obj.type ==> str mode
get (see below) -
obj.type = str mode
set (see below)
The type
property / mode of counters can be set to one of the following
values:
-
"FL_NORMAL_COUNTER"
(default) "FL_SIMPLE_COUNTER"