Module ui.widget.radiobutton

Widget that shows a radiobutton checked () or unchecked () or nothing of the same size.

Example:

local RadioButton = require("ui/widget/radiobutton")
local parent_widget = FrameContainer:new{}
table.insert(parent_widget, RadioButton:new{
    checkable = false, -- shows nothing when false, defaults to true
    checked = function() end, -- whether the box is checked
})
UIManager:show(parent_widget)



generated by LDoc 1.4.6 Last updated 2019-11-14 14:03:21