summaryrefslogtreecommitdiff
path: root/iup/srclua5/timer.lua
blob: d9e3914d587947b5551cf908ecc3aaaba003ff81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
------------------------------------------------------------------------------
-- Timer class 
------------------------------------------------------------------------------
local ctrl = {
  nick     = "timer",
  parent   = iup.WIDGET,
  creation = "",
  callback = {
    action_cb = "", 
  },
} 

function ctrl.createElement(class, param)
  return iup.Timer()
end
   
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iup widget")