ETextCommit::Type

Additional information about a text committal

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Types/SlateEnums.h

Include

#include "Types/SlateEnums.h"

Syntax

namespace ETextCommit
{
    enum Type
    {
        Default,
        OnEnter,
        OnUserMovedFocus,
        OnCleared,
    }
}

Values

Name

Description

Default

Losing focus or similar event caused implicit commit

OnEnter

User committed via the enter key

OnUserMovedFocus

User committed via tabbing away or moving focus explicitly away

OnCleared

Keyboard focus was explicitly cleared via the escape key or other similar action

Remarks

Additional information about a text committal