Egui::Event
Inherits Struct < Value < Object
Constructors
dropped_files(paths : Array(String)) : Event
Sourcekey_pressed(key : KeyCode, modifiers : Modifiers = Modifiers.new) : Event
Sourcekey_released(key : KeyCode, modifiers : Modifiers = Modifiers.new) : Event
Sourcenew(type : Type, pos : Pos2 | Nil = nil, button : PointerButton = :primary, scroll : Vec2 = Vec2.zero, key : KeyCode = :escape, text : String = "", modifiers : Modifiers = Modifiers.new, paths : Array(String) = [] of String)
Sourcepointer_moved(pos : Pos2) : Event
Sourcepointer_pressed(pos : Pos2, button : PointerButton = :primary) : Event
Sourcepointer_released(pos : Pos2, button : PointerButton = :primary) : Event
Sourcescroll(delta : Vec2) : Event
Sourcetext_input(text : String) : Event
SourceInstance methods
button
Sourcekey
Sourcemodifiers
Sourcepaths
Absolute paths of the files dropped onto the window this frame (Type::DroppedFiles only).
pos
Sourcescroll
Sourcetext
Sourcetype
Source