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

18 lines
413 B
Lua
Raw Permalink Normal View History

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