Navigation
API > API/Developer > API/Developer/WidgetRegistration
Inheritance Hierarchy
- TSharedFromThis
- FToolPalette
- FEditablePalette
References
| Module | WidgetRegistration |
| Header | /Engine/Source/Developer/WidgetRegistration/Public/ToolkitBuilder.h |
| Include | #include "ToolkitBuilder.h" |
Syntax
struct FEditablePalette : public FToolPalette
Remarks
An FToolPalette to which you can add and remove actions
Variables
| Type | Name | Description | |
|---|---|---|---|
| const TSharedPtr< FUICommandInfo > | AddToPaletteAction | The FUICommandInfo which adds an action to this palette | |
| FName | EditablePaletteName | The (unique) name attached to this palette, enables saving the palette contents into config if provided | |
| FGetEditableToolPaletteConfigManager | GetConfigManager | Delegate used to check if we have a config manager and get it | |
| FSimpleDelegate | OnPaletteEdited | Delegate used by FToolkitBuilder that is called when an item is added/removed from the palette | |
| TArray< FString > | PaletteCommandNameArray | The TArray of Command names that are the current FuiCommandInfo actions in this Palette | |
| const TSharedPtr< FUICommandInfo > | RemoveFromPaletteAction | The FUICommandInfo which removes an action to this palette |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FEditablePalette
(
TSharedPtr< FUICommandInfo > InLoadToolPaletteAction, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCommandToPalette
(
const FString CommandNameString |
||
| TArray< FString > | |||
| bool | IsInPalette
(
const FName CommandName |
Given a reference to a FUICommandInfo, returns whether it is in the current Palette | |
| void | |||
| void | RemoveCommandFromPalette
(
const FString CommandNameString |
||
| void | SaveToConfig () |