Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/STextComboBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- STextComboBox::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/STextComboBox.h |
| Include | #include "Widgets/Input/STextComboBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< STextComboBox >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | ButtonStyle
(
const FButtonStyle* InArg |
The visual style of the button part of the combo box (overrides ComboBoxStyle) | |
| WidgetArgsType & | ColorAndOpacity
(
const TAttribute< FSlateColor >& InAttribute |
Text color and opacity | |
| WidgetArgsType & | ComboBoxStyle
(
const FComboBoxStyle* InArg |
||
| WidgetArgsType & | ContentPadding
(
const TAttribute< FMargin >& InAttribute |
Visual padding of the button content for the combobox | |
| WidgetArgsType & | Font
(
const TAttribute< FSlateFontInfo >& InAttribute |
Sets the font used to draw the text | |
| WidgetArgsType & | InitiallySelectedItem
(
TSharedPtr< FString > InArg |
Called when combo box needs to establish selected item | |
| WidgetArgsType & | OnComboBoxOpening
(
const FOnComboBoxOpening& InDelegate |
Called when the combo box is opened | |
| WidgetArgsType & | OnGetTextLabelForItem
(
const FGetTextComboLabel& InDelegate |
[Optional] Called to get the label for the currently selected item | |
| WidgetArgsType & | OnSelectionChanged
(
const FOnTextSelectionChanged& InDelegate |
Called when the text is chosen. | |
| WidgetArgsType & | OptionsSource
(
TArray< TSharedPtr< FString > >* InArg |
Selection of strings to pick from |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |