SWidget::GetWindowZoneOverride

Called when the mouse is moved over the widget's window, to determine if we should report whether OS-specific features should be active at this location (such as a title bar grip, system menu, etc.) Usually you should not need to override this function.

Windows
MacOS
Linux

Override Hierarchy

References

Module

SlateCore

Header

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

Include

#include "Widgets/SWidget.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp

Syntax

virtual EWindowZone::Type GetWindowZoneOverride() const

Remarks

Called when the mouse is moved over the widget's window, to determine if we should report whether OS-specific features should be active at this location (such as a title bar grip, system menu, etc.) Usually you should not need to override this function.

Returns

The window "zone" the cursor is over, or EWindowZone::Unspecified if no special behavior is needed

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