20 lines
438 B
Lua
Executable File
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")
|