Navigation
Unreal Engine C++ API Reference > Developer > ToolWidgets > SWidgetDrawer
References
Module | ToolWidgets |
Header | /Engine/Source/Developer/ToolWidgets/Public/SWidgetDrawer.h |
Include | #include "SWidgetDrawer.h" |
Source | /Engine/Source/Developer/ToolWidgets/Private/SWidgetDrawer.cpp |
bool DismissDrawer ( const [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > & NewlyFocusedWidget )
Remarks
Dismisses an open drawer with an animation. The drawer contents are removed once the animation is complete true if any open drawer was dismissed
Parameters
Name | Description |
---|---|
NewlyFocusedWidget | Optional widget to focus |