SWidgetDrawer

Unreal Engine C++ API Reference > Developer > ToolWidgets

Inheritance Hierarchy

References

   
Module ToolWidgets
Header /Engine/Source/Developer/ToolWidgets/Public/SWidgetDrawer.h
Include #include "SWidgetDrawer.h"

Syntax

class SWidgetDrawer : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)  

Destructors

Type Name Description
  ~SWidgetDrawer ()  

Functions

Type Name Description
void CloseDrawerImmediately ( FName DrawerId ) Closes a drawer immediately with no closing animation.
void Construct ( const FArguments& InArgs, FName InStatusBarName )  
bool DismissDrawer ( const TSharedPtr< SWidget >& Newly... ) Dismisses an open drawer with an animation.
FName GetDrawerName ()  
FString GetSerializableName ()  
bool IsAnyOtherDrawerOpened ( const FName DrawerId ) Is any drawer other than the one specified by DrawerId opened
bool IsDrawerOpened ( const FName DrawerId ) Is a specific registered drawer currently open
void OpenDrawer ( const FName DrawerId ) Opens a drawer
void RegisterDrawer ( FWidgetDrawerConfig&& Drawer, int32 SlotIndex ) Registers a new drawer with this status bar.
void UnregisterDrawer ( FName DrawerId ) Unregisters drawer with the given DrawerId.

Overridden from SWidget

Type Name Description
bool SupportsKeyboardFocus () Checks to see if this widget supports keyboard focus. Override this in derived classes.

Classes

Type Name Description
Public struct FArguments  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library