Module sdl2::messagebox [] [src]

Structs

ButtonData

button_id is the integer that will be returned by show_message_box. It is not sed by SDL2, and should only be used to know which button has been triggered

MessageBoxButtonFlag
MessageBoxColorScheme
MessageBoxFlag

Enums

ClickedButton
ShowMessageError

Constants

MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT
MESSAGEBOX_BUTTON_NOTHING
MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT
MESSAGEBOX_ERROR
MESSAGEBOX_INFORMATION
MESSAGEBOX_WARNING

Functions

show_message_box

Show a customizable message box.

show_simple_message_box

Show a simple message box, meant to be informative only.