Skip to content
doyousketch2 edited this page Sep 13, 2019 · 10 revisions

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 Widget
  • fl.Clock_Output{ table } ==> userdata Widget

    ( table constructor syntax )


Functions

  • methods defined for Widget userdata 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 Widget userdata type
  • obj.hour ==> int Hour get
  • obj.minute ==> int Min get
  • obj.second ==> int Sec get
  • obj.value ==> int time get

    obj.value = int time set
    ( seconds since UNIX epoch )

  • obj.type ==> str mode get

    obj.type = str mode set
    select mode:

    • "FL_SQUARE_CLOCK" ( default )
    • "FL_ROUND_CLOCK"
Clone this wiki locally