SWidget::ShouldBeEnabled

Determines if this widget should be enabled.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Syntax

bool ShouldBeEnabled
(
    bool InParentEnabled
) const

Remarks

Determines if this widget should be enabled.

Returns

true if the widget is enabled

Parameters

Parameter

Description

InParentEnabled

true if the parent of this widget is enabled

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss