STextComboPopup

Simple box containing a combobox of strings to pick from, usually used within a MenuStack

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

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

Include

#include "Widgets/Input/STextComboPopup.h"

Syntax

class STextComboPopup : public SCompoundWidget

Remarks

Simple box containing a combobox of strings to pick from, usually used within a MenuStack

Variables

Name Description

Public variable

TSharedPtr< SBu...

 

OkButton

The OK button

Public variable

FOnTextChosen

 

OnTextChosen

Delegate to call when OK button is pressed

Public variable

TSharedPtr< SCo...

 

StringCombo

The combo box

Public variable

TArray< TShared...

 

Strings

Array of shared pointers to strings so combo widget can work on them

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function

void

 

FocusDefaultWidget()

Focuses the control on the OK button

Public function

TSharedRef< ...

 

MakeItemWidget

(
    TSharedPtr< FString > StringItem
)

Called to create a widget for each string

Public function

FReply

 

OnOK()

Called when 'OK' button is pressed

Overridden from SWidget

Name Description

Public function Virtual

FReply

 

OnKeyDown

(
    const FGeometry& MyGeometry,
    const FKeyEvent& InKeyEvent
)

SWidget interface

Classes

Name

Description

Public struct

FArguments

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