-
Notifications
You must be signed in to change notification settings - Fork 5
Clock_Output
doyousketch2 edited this page Sep 6, 2019
·
10 revisions
Corresponds to:
Fl_Clock_Output
Inherits from:
Widget
Constructors
fl.Clock_Output( int X, int Y, int W, int H, *str label ) ==> userdata Widget-
fl.Clock_Output{ table } ==> userdata Widget(table constructor syntax)
Functions
- methods defined for
Widgetuserdata type -
obj:setvalue( int H, int m, int s )(corresponds to
Fl_Clock_Output::value(int H, int m, int s))
Properties
- properties defined for
Widgetuserdata type -
obj.hour ==> int Hourget -
obj.minute ==> int Minget -
obj.second ==> int Secget -
obj.type ==> str modeget (see below) -
obj.type = str modeset (see below) -
obj.value ==> int|double timeget (seconds since epoch.
type depends onlua_Integer) -
obj.value = int|double timeset (seconds since epoch.
type depends onlua_Integer)
The type property / mode of clock (output) can be set to one of the following values:
-
"FL_SQUARE_CLOCK"(the default) "FL_ROUND_CLOCK"