FMultiBoxBuilder::AddEditableText

Adds an editable text entry

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h

Include

#include "Framework/MultiBox/MultiBoxBuilder.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp

Syntax

void AddEditableText
(
    const FText & InLabel,
    const FText & InToolTip,
    const FSlateIcon & InIcon,
    const TAttribute< FText > & InTextAttribute,
    const FOnTextCommitted & InOnTextCommitted,
    const FOnTextChanged & InOnTextChanged,
    bool bInReadOnly
)

Remarks

Adds an editable text entry

Parameters

Parameter

Description

InLabel

The label to display in the menu

InToolTip

The tool tip to display when the menu entry is hovered over

InIcon

The icon to display to the left of the label

InTextAttribute

The text string we're editing (often, a delegate will be bound to the attribute)

InOnTextCommitted

Called when the user commits their change to the editable text control

InOnTextChanged

Called when the text is changed interactively

bInReadOnly

Whether or not the text block is read only

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss