I am making a plug-in, and would like to know how I would set a variable to be whatever a sEditableTextBox is.
[
SNew(SEditableTextBox)
.OnTextChanged_Raw(this, &SRenameInOrderWidget::GetNameFromTextInput)
]
void SYourWidget::GetTextFromInput(const FText & Text)
{
FText TextForString = Text;
StringDeclaredInHeader = TextForString.ToString();
}
hope this helps