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

19 lines
405 B
Lua
Raw Permalink Normal View History

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