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