SWidgetDrawer::CloseDrawerImmediately

Closes a drawer immediately with no closing 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
void CloseDrawerImmediately
(
    [FName](API\Runtime\Core\UObject\FName) DrawerId
)

Remarks

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.

Parameters

Name Description
DrawerId The name of the drawer to close. If no name is specified all drawers are closed immediately

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library