Clock_Output - siffiejoe/lua-fltk4lua GitHub Wiki
Clock_Output:
Corresponds to:
Fl_Clock_Output
Inherits from:
Widget
Constructors
fl.Clock_Output( int X, int Y, int W, int H, *str label ) ==> userdata Widgetfl.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 Hourgetobj.minute ==> int Mingetobj.second ==> int Secgetobj.value ==> int timegetobj.value = int timeset
( seconds since UNIX epoch )obj.type ==> str modegetobj.type = str modeset
select mode:"FL_SQUARE_CLOCK"( default )"FL_ROUND_CLOCK"