iup-stack/iup/srclua5/elem/timer.lua

20 lines
445 B
Lua
Raw Permalink Normal View History

2023-02-20 16:44:45 +00:00
------------------------------------------------------------------------------
-- Timer class
------------------------------------------------------------------------------
local ctrl = {
nick = "timer",
parent = iup.WIDGET,
subdir = "elem",
creation = "",
callback = {
action_cb = "",
},
}
function ctrl.createElement(class, param)
return iup.Timer()
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")