class Eagle::TextEvent

Overview

Text the player typed, already composed by the OS (accents, CJK input and so on). Enable it with Input.text_input = true; TextInput controls do this for you.

Defined in:

eagle/core/events.cr

Constructors

Instance Method Summary

Instance methods inherited from class Eagle::Event

handled=(handled : Bool) handled=, handled? : Bool handled?

Constructor Detail

def self.new(text : String) #

Creates a text event.


Instance Method Detail

def text : String #

The typed text, which can be several characters.