Module: RbSDL2::Window::Dialog
- Included in:
- RbSDL2::Window
- Defined in:
- lib/rb_sdl2/window/dialog.rb
Instance Method Summary collapse
- #alert(message, **opts) ⇒ Object
- #confirm(message, **opts) ⇒ Object
- #dialog(message, **opts) ⇒ Object
- #error_alert(message, **opts) ⇒ Object
- #info_alert(message, **opts) ⇒ Object
- #warn_alert(message, **opts) ⇒ Object
Instance Method Details
#alert(message, **opts) ⇒ Object
6 |
# File 'lib/rb_sdl2/window/dialog.rb', line 6 def alert(, **opts) = MessageBox.alert(, self, **opts) |
#confirm(message, **opts) ⇒ Object
8 |
# File 'lib/rb_sdl2/window/dialog.rb', line 8 def confirm(, **opts) = MessageBox.confirm(, self, **opts) |
#dialog(message, **opts) ⇒ Object
10 |
# File 'lib/rb_sdl2/window/dialog.rb', line 10 def dialog(, **opts) = MessageBox.dialog(, self, **opts) |
#error_alert(message, **opts) ⇒ Object
12 |
# File 'lib/rb_sdl2/window/dialog.rb', line 12 def error_alert(, **opts) = MessageBox.error(, self, **opts) |
#info_alert(message, **opts) ⇒ Object
14 |
# File 'lib/rb_sdl2/window/dialog.rb', line 14 def info_alert(, **opts) = MessageBox.info(, self, **opts) |
#warn_alert(message, **opts) ⇒ Object
16 |
# File 'lib/rb_sdl2/window/dialog.rb', line 16 def warn_alert(, **opts) = MessageBox.warn(, self, **opts) |