Navigation
API > API/Developer > API/Developer/ToolMenus > API/Developer/ToolMenus/UToolMenuWidgetCollectionContext
Description
Add a widget to this context for later retrieval.
| Name | AddWidget |
| Type | function |
| Header File | /Engine/Source/Developer/ToolMenus/Public/ToolMenuWidgetCollectionContext.h |
| Include Path | #include "ToolMenuWidgetCollectionContext.h" |
| Source | /Engine/Source/Developer/ToolMenus/Private/ToolMenuWidgetCollectionContext.cpp |
void AddWidget
(
const TSharedRef< SWidget > & Widget
)
Parameters
| Name | Remarks |
|---|---|
| Widget | The widget to add to the context. |
See Also
- FindContextWidget