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

22 lines
499 B
Lua
Executable File

------------------------------------------------------------------------------
-- 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")