Choose your operating system:
Windows
macOS
Linux
| SWidget::OnPreviewMouseButtonDown()
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScrollBox.h |
Include |
#include "Widgets/Layout/SScrollBox.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SScrollBox.cpp |
virtual FReply OnPreviewMouseButtonDown
(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
)
Just like OnMouseButtonDown, but tunnels instead of bubbling. If this even is handled, OnMouseButtonDown will not be sent.
Use this event sparingly as preview events generally make UIs more difficult to reason about.