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

20 lines
438 B
Lua
Executable File

------------------------------------------------------------------------------
-- SpinBox class
------------------------------------------------------------------------------
local ctrl = {
nick = "spinbox",
parent = iup.BOX,
subdir = "elem",
creation = "I",
callback = {
spin_cb = "n",
},
}
function ctrl.createElement(class, param)
return iup.Spinbox()
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")