Module ui.widget.checkbutton
Button widget that shows a checkmark (✓
) when checked and an empty box (□
)
when unchecked.
Example:
local CheckButton = require("ui/widget/CheckButton") local parent_widget = OverlapGroup:new{} table.insert(parent_widget, CheckButton:new{ text = _("Show password"), callback = function() end, }) UIManager:show(parent_widget)