SWidgetDrawer::DismissDrawer

Dismisses an open drawer with an animation.

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library