Table of Contents

Interface ITextEvents

Namespace
Icy.Input.Events
Assembly
IcyUI.dll

Represents a listener for the text input events.

public interface ITextEvents : IInputEventProvider, IUpdateableInput, IInitializable, IStartRepeatEvents, IRepeatableInputEvents
Inherited Members
Extension Methods

Methods

DisableTextInput()

Disables the text input mode.

void DisableTextInput()

Remarks

If the game is running on mobile platforms, this method should disable virtual keyboard. If an IME is available, it should be hidden.

EnableTextInput()

Enables text input mode.

void EnableTextInput()

Remarks

If the game is running on mobile platforms, this method should enable virtual keyboard. If an IME is available, it should be turned on.

Events

CopyText

Occurs when user presses the Copy key combination.

event EventHandler? CopyText

Event Type

EventHandler

CutText

Occurs when user presses the Cut key combination.

event EventHandler? CutText

Event Type

EventHandler

PasteText

Occurs when user presses the Paste key combination.

event EventHandler? PasteText

Event Type

EventHandler

TextInput

Occurs when the user inputs any text in game.

event EventHandler<GenericEventArgs<ITextInputEventInfo>>? TextInput

Event Type

EventHandler<GenericEventArgs<ITextInputEventInfo>>