Struct sdl2::messagebox::ButtonData [−][src]
pub struct ButtonData<'a> {
pub flags: MessageBoxButtonFlag,
pub button_id: i32,
pub text: &'a str,
}Expand description
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
Fields
flags: MessageBoxButtonFlagtext: &'a str