Skip to content
Philipp Janda edited this page Oct 10, 2015 · 10 revisions

Clock_Output:

  • fl.Clock_Output( i, i, i, i, ns ) ==> u
  • fl.Clock_Output( t ) ==> u (table constructor syntax)
  • obj:setvalue( i, i, i ) (corresponds to Fl_Clock_Output::value(int, int, int))
  • methods defined for the Widget userdata type
  • obj.hour [get: i; set: -]
  • obj.type [get: s; set: s]
  • obj.value [get: id; set: id] (type depends on size of lua_Integer)
  • obj.minute [get: i; set: -]
  • obj.second [get: i; set: -]
  • properties defined for the Widget userdata type

The type property of the clock (output) can be set to one of the following values:

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