Navigation
API > API/Runtime > API/Runtime/AppFramework
The SColorTrash is a multipurpose widget which allows FColorDragDrops to be dropped on to to be
| Name | SColorTrash |
| Type | class |
| Header File | /Engine/Source/Runtime/AppFramework/Public/Widgets/Colors/SColorThemes.h |
| Include Path | #include "Widgets/Colors/SColorThemes.h" |
Syntax
class SColorTrash : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SColorTrash
- FSlateControlledConstruction → SWidget → SCompoundWidget → SColorTrash
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBorderActivated | bool | Determines whether to draw the border to show activation | Widgets/Colors/SColorThemes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Widgets/Colors/SColorThemes.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FSlateBrush * GetBorderStyle() |
Widgets/Colors/SColorThemes.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnDragEnter
(
const FGeometry& MyGeometry, |
Called during drag and drop when the drag enters a widget. | Widgets/Colors/SColorThemes.h | |
virtual void OnDragLeave
(
const FDragDropEvent& DragDropEvent |
Called during drag and drop when the drag leaves a widget. | Widgets/Colors/SColorThemes.h | |
virtual FReply OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | Widgets/Colors/SColorThemes.h |