Module ui.widget.checkmark

Widget that shows a checkmark (), an empty box () or nothing of the same size.

Example:

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



generated by LDoc 1.5.0 Last updated 2024-12-19 07:44:17