Module ui.widget.multiconfirmbox

Widget that shows a message and cancel/choice1/choice2 buttons

Example:

UIManager:show(MultiConfirmBox:new{
    text = T( _("Set %1 as fallback font?"), face),
    choice1_text = _("Default"),
    choice1_callback = function()
        -- set as default font
    end,
    choice2_text = _("Fallback"),
    choice2_callback = function()
        -- set as fallback font
    end,
})



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