class

GSF::Dialog

Inherits Reference < Object

Constructors

new(data : Hash(String, NamedTuple(message: String, choices: Array(NamedTuple(key: String, label: String)))) = Data.new, typing = true, animate = true)
Source

Instance methods

choice_selected
Source
choice_selected(*args, **options)
Source
choice_selected(*args, **options, &)
Source
data
Source
data=(data : Data)
Source
draw(window : SF::RenderWindow)
Source
hide?(*args, **options)
Source
hide?(*args, **options, &)
Source
hide_reset
Source
message_class

NOTE: this can be overriden for a custom BottomCenteredMessage class

Source
show(key : String)
Source
show?(*args, **options)
Source
show?(*args, **options, &)
Source
update(keys : Keys, joysticks : Joysticks)
Source

Nested types