Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/SWidgetDrawer
Description
Closes a drawer immediately with no closing animation. Needed for when UI is shutting down or to prevent conflicts where a drawer is open in two places at once.
| Name | CloseDrawerImmediately |
| Type | function |
| Header File | /Engine/Source/Developer/ToolWidgets/Public/SWidgetDrawer.h |
| Include Path | #include "SWidgetDrawer.h" |
| Source | /Engine/Source/Developer/ToolWidgets/Private/SWidgetDrawer.cpp |
void CloseDrawerImmediately
(
FName DrawerId
)
Parameters
| Name | Remarks |
|---|---|
| DrawerId | The name of the drawer to close. If no name is specified all drawers are closed immediately |