love.window.showMessageBox
Displays a message box dialog above the love window. The message box contains a title, optional text, and buttons.
success = love.window.showMessageBox( title, message, type, attachtowindow )
title string The title of the message box.
message string The text inside the message box.
type ('info') MessageBoxType The type of the message box.
attachtowindow (true) boolean Whether the message box should be attached to the love window or free-floating.
success boolean Whether the message box was successfully displayed.
pressedbutton = love.window.showMessageBox( title, message, buttonlist, type, attachtowindow )
title string The title of the message box.
message string The text inside the message box.
buttonlist table A table containing a list of button names to show. The table can also contain the fields enterbutton and escapebutton, which should be the index of the default button to use when the user presses 'enter' or 'escape', respectively.
type ('info') MessageBoxType The type of the message box.
attachtowindow (true) boolean Whether the message box should be attached to the love window or free-floating.
pressedbutton number The index of the button pressed by the user. May be 0 if the message box dialog was closed without pressing a button.