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

22 lines
558 B
Lua
Executable File

------------------------------------------------------------------------------
-- ScrollBox class
------------------------------------------------------------------------------
local ctrl = {
nick = "scrollbox",
parent = iup.BOX,
subdir = "elem",
creation = "I",
funcname = "ScrollBox",
callback = {
action = "ff", -- must repeat this callback because of its non-exclusive name
layoutupdate_cb = "",
}
}
function ctrl.createElement(class, param)
return iup.ScrollBox()
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")