Skip to content

abstract struct SF::Event::TextEvent
inherits SF::Event #

Text event parameters (see TextEntered)

Direct known subclasses

SF::Event::TextEntered

Constructors#

Methods#

#dup : TextEvent#

Returns a shallow copy of this object.

Because Value is a value type, this method returns self, which already involves a shallow copy of this object because value types are passed by value.

View source

#unicode : UInt32#

UTF-32 Unicode value of the character

View source

#unicode=(unicode : Int)#

View source