Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- STextComboPopup
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
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SButton > | OkButton | The OK button | |
| FOnTextChosen | OnTextChosen | Delegate to call when OK button is pressed | |
| TSharedPtr< SComboBox< TSharedPtr< FString > > > | StringCombo | The combo box | |
| TArray< TSharedPtr< FString > > | Strings | Array of shared pointers to strings so combo widget can work on them |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| void | Focuses the control on the OK button | ||
| TSharedRef< SWidget > | MakeItemWidget
(
TSharedPtr< FString > StringItem |
Called to create a widget for each string | |
| FReply | OnOK () |
Called when 'OK' button is pressed |
Overridden from SWidget
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |