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

22 lines
499 B
Lua
Raw Normal View History

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