struct Espresso::KeyboardCharModsEvent

Overview

Event triggered when a unicode character is entered. This includes modifier keys held when the character was input.

Defined in:

espresso/keyboard_char_mods_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::KeyboardEvent

keyboard keyboard

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def char : Char #

The character that was entered.


[View source]
def mods : ModifierKey #

Any modifier keys that were held down when the event occurred.


[View source]