Navigation
API > API/Editor > API/Editor/PinnedCommandList > API/Editor/PinnedCommandList/IPinnedCommandList
References
| Module | PinnedCommandList |
| Header | /Engine/Source/Editor/PinnedCommandList/Public/IPinnedCommandList.h |
| Include | #include "IPinnedCommandList.h" |
void RegisterCustomWidget
&40;
FOnGenerateCustomWidget InOnGenerateCustomWidget,
FName InCustomWidgetIdentifier,
TAttribute< FText > InCustomWidgetDisplayName,
FMargin InCustomWidgetPadding,
bool bInShowLabel
&41;
Remarks
Register a custom widget. This allows the widget to be dynamically reconstructed according to the persisted commands.
Parameters
| Name | Description |
|---|---|
| InOnGenerateCustomWidget | Delegate used to regenerate the custom widget when created or loaded. |
| InCustomWidgetIdentifier | Unique identifier used to persist the widget. Matched to the parameter when calling AddCustomWidget. |
| InCustomWidgetDisplayName | Text to display next to the custom widget, and to generate tooltips for the widget. |
| InCustomWidgetPadding | Custom padding around the widget. |
| bInShowLabel | Whether to display the label in the pinned widget (it will still be used in the context menus) |