Navigation
API > API/Editor > API/Editor/GraphEditor
Class implementation to create combo box.
| Name | SPinComboBox |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/SGraphPinComboBox.h |
| Include Path | #include "SGraphPinComboBox.h" |
Syntax
class SPinComboBox : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SPinComboBox
- FSlateControlledConstruction → SWidget → SCompoundWidget → SPinComboBox
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnSelectionChanged | TSlateDelegates< TSharedPtr< int32 > >::FOnSelectionChanged | SGraphPinComboBox.h | |
| SComboList | SListView< TSharedPtr< int32 > > | SGraphPinComboBox.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComboButton | TSharedPtr< SComboButton > | SGraphPinComboBox.h | ||
| ComboItemList | TArray< TSharedPtr< int32 > > | List of items in our combo box. Only generated once as combo items dont change at runtime | SGraphPinComboBox.h | |
| ComboList | TSharedPtr< SComboList > | SGraphPinComboBox.h | ||
| CurrentSelection | TWeakPtr< int32 > | SGraphPinComboBox.h | ||
| OnGetDisplayName | FGetComboItemDisplayString | SGraphPinComboBox.h | ||
| OnGetTooltip | FGetComboItemDisplayString | Delegate for finding the tooltip | SGraphPinComboBox.h | |
| OnSelectionChanged | FOnSelectionChanged | SGraphPinComboBox.h | ||
| VisibleText | TAttribute< FString > | SGraphPinComboBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct combo box using combo button and combo list. | SGraphPinComboBox.h | |
const TSharedPtr< int32 > GetSelectedItem() |
Function to return currently selected string. | SGraphPinComboBox.h | |
void RemoveItemByIndex
(
int32 InIndexToRemove |
SGraphPinComboBox.h |