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.4.6 Last updated 2017-10-08 14:57:40