Module |
|
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 |
void AddEditableText
(
const FText & InLabel,
const FText & InToolTip,
const FSlateIcon & InIcon,
const TAttribute< FText > & InTextAttribute,
const FOnTextCommitted & InOnTextCommitted,
const FOnTextChanged & InOnTextChanged,
bool bInReadOnly
)
Adds an editable text entry
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 |