sys.sdl.show_simple_message_box
and SDLWindow::show_simple_message_box
sdl2 :: SDLMessageBoxFlags :: information
Request the information iconsdl2 $ SDLMessageBoxFlags :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
core :: Pointer :: defaultinit
sdl2 :: SDLMessageBoxFlags :: information
Request the information iconcore :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# Flag to set the icon in `sys.sdl.show_simple_message_box` and `SDLWindow::show_simple_message_box`
extern class SDLMessageBoxFlags `{ Uint32 `}
# Request the error icon
new error `{ return SDL_MESSAGEBOX_ERROR; `}
# Request the warning icon
new warning `{ return SDL_MESSAGEBOX_WARNING; `}
# Request the information icon
new information `{ return SDL_MESSAGEBOX_INFORMATION; `}
end
lib/sdl2/sdl2_base.nit:566,1--576,3