FArguments

Windows
MacOS
Linux

Inheritance Hierarchy

TSlateBaseNamedArgs

SEditableText::FArguments

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SEditableText.h

Include

#include "Widgets/Input/SEditableText.h"

Syntax

struct FArguments : public TSlateBaseNamedArgs< SEditableText >

Constructors

Name Description

Public function

FArguments()

Functions

Name Description

Public function

WidgetArgsTy...

 

AllowContextMenu

(
    const TAttribute< bool >& InAttrib...
)

Whether the context menu can be opened

Public function

WidgetArgsTy...

 

BackgroundImageComposing

(
    const TAttribute< const FSlateBrush...
)

Background image for the composing text (overrides Style)

Public function

WidgetArgsTy...

 

BackgroundImageSelected

(
    const TAttribute< const FSlateBrush...
)

Background image for the selected text (overrides Style)

Public function

WidgetArgsTy...

 

CaretImage

(
    const TAttribute< const FSlateBrush...
)

Image brush used for the caret (overrides Style)

Public function

WidgetArgsTy...

 

ClearKeyboardFocusOnCommit

(
    const TAttribute< bool >& InAttrib...
)

Whether to clear keyboard focus when pressing enter to commit changes

Public function

WidgetArgsTy...

 

ColorAndOpacity

(
    const TAttribute< FSlateColor >& I...
)

Text color and opacity (overrides Style)

Public function

WidgetArgsTy...

 

ContextMenuExtender

(
    const FMenuExtensionDelegate& InDe...
)

Menu extender for the right-click context menu

Public function

WidgetArgsTy...

 

Font

(
    const TAttribute< FSlateFontInfo > ...
)

Sets the font used to draw the text (overrides Style)

Public function

WidgetArgsTy...

 

HintText

(
    const TAttribute< FText >& InAttri...
)

The text that appears when there is nothing typed into the search box

Public function

WidgetArgsTy...

 

IsCaretMovedWhenGainFocus

(
    const TAttribute< bool >& InAttrib...
)

Workaround as we loose focus when the auto completion closes.

Public function

WidgetArgsTy...

 

IsPassword

(
    const TAttribute< bool >& InAttrib...
)

Sets whether this text box is for storing a password

Public function

WidgetArgsTy...

 

IsReadOnly

(
    const TAttribute< bool >& InAttrib...
)

Sets whether this text box can actually be modified interactively by the user

Public function

WidgetArgsTy...

 

Justification

(
    const TAttribute< ETextJustify::Typ...
)

How should the value be justified in the editable text field.

Public function

WidgetArgsTy...

 

MinDesiredWidth

(
    const TAttribute< float >& InAttri...
)

Minimum width that a text block should be

Public function

WidgetArgsTy...

 

OnContextMenuOpening

(
    const FOnContextMenuOpening& InDel...
)

Delegate to call before a context menu is opened.

Public function

WidgetArgsTy...

 

OnIsTypedCharValid

(
    const FOnIsTypedCharValid& InDeleg...
)

This is NOT for validating input!

Public function

WidgetArgsTy...

 

OnKeyCharHandler

(
    const FOnKeyChar& InDelegate
)

Callback delegate to have first chance handling of the OnKeyChar event

Public function

WidgetArgsTy...

 

OnKeyDownHandler

(
    const FOnKeyDown& InDelegate
)

Callback delegate to have first chance handling of the OnKeyDown event

Public function

WidgetArgsTy...

 

OnTextChanged

(
    const FOnTextChanged& InDelegate
)

Called whenever the text is changed programmatically or interactively by the user

Public function

WidgetArgsTy...

 

OnTextCommitted

(
    const FOnTextCommitted& InDelegate
)

Called whenever the text is committed.

Public function

WidgetArgsTy...

 

RevertTextOnEscape

(
    const TAttribute< bool >& InAttrib...
)

Whether to allow the user to back out of changes when they press the escape key

Public function

WidgetArgsTy...

 

SearchText

(
    const TAttribute< FText >& InAttri...
)

Text to search for (a new search is triggered whenever this text changes)

Public function

WidgetArgsTy...

 

SelectAllTextOnCommit

(
    const TAttribute< bool >& InAttrib...
)

Whether to select all text when pressing enter to commit changes

Public function

WidgetArgsTy...

 

SelectAllTextWhenFocused

(
    const TAttribute< bool >& InAttrib...
)

Whether to select all text when the user clicks to give focus on the widget

Public function

WidgetArgsTy...

 

Style

(
    const FEditableTextStyle* InAr...
)

The style of the text block, which dictates the font, color

Public function

WidgetArgsTy...

 

Text

(
    const TAttribute< FText >& InAttri...
)

Sets the text content for this editable text widget

Public function

WidgetArgsTy...

 

TextFlowDirection

(
    TOptional< ETextFlowDirection > InA...
)

Which text flow direction should we use? (unset to use the default returned by GetDefaultTextFlowDirection)

Public function

WidgetArgsTy...

 

TextShapingMethod

(
    TOptional< ETextShapingMethod > InA...
)

Which text shaping method should we use? (unset to use the default returned by GetDefaultTextShapingMethod)

Public function

WidgetArgsTy...

 

VirtualKeyboardDismissAction

(
    const TAttribute< EVirtualKeyboardD...
)

The message action to take when the virtual keyboard is dismissed by the user

Public function

WidgetArgsTy...

 

VirtualKeyboardOptions

(
    FVirtualKeyboardOptions InArg
)

Additional options used by the virtual keyboard summoned by this widget

Public function

WidgetArgsTy...

 

VirtualKeyboardTrigger

(
    const TAttribute< EVirtualKeyboardT...
)

The type of event that will trigger the display of the virtual keyboard

Public function

WidgetArgsTy...

 

VirtualKeyboardType

(
    const TAttribute< EKeyboardType >&...
)

The type of virtual keyboard to use on mobile devices

Typedefs

Name

Description

WidgetArgsType

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