Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/SWidgetDrawer
Description
Dismisses an open drawer with an animation. The drawer contents are removed once the animation is complete
| Name | DismissDrawer |
| Type | function |
| Header File | /Engine/Source/Developer/ToolWidgets/Public/SWidgetDrawer.h |
| Include Path | #include "SWidgetDrawer.h" |
| Source | /Engine/Source/Developer/ToolWidgets/Private/SWidgetDrawer.cpp |
bool DismissDrawer
(
const TSharedPtr < SWidget > & NewlyFocusedWidget
)
true if any open drawer was dismissed
Parameters
| Name | Remarks |
|---|---|
| NewlyFocusedWidget | Optional widget to focus |