Skip to content

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

Text event parameters (TextEntered)

Direct known subclasses

SF::Event::TextEntered

Class methods#

.new #

View source

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