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

18 lines
406 B
Lua
Raw Permalink Normal View History

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