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

18 lines
409 B
Lua
Raw Permalink Normal View History

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