Module ui.widget.multiconfirmbox

Widget that shows a message and choice1/choice2/Cancel 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.4.6 Last updated 2017-08-17 09:26:49