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 2022-10-25 12:05:57