SSimpleTimeSlider::OnPreviewMouseButtonDown

Just like OnMouseButtonDown, but tunnels instead of bubbling.

Unreal Engine C++ API Reference > Developer > ToolWidgets > SSimpleTimeSlider

References

   
Module ToolWidgets
Header /Engine/Source/Developer/ToolWidgets/Public/SSimpleTimeSlider.h
Include #include "SSimpleTimeSlider.h"
Source /Engine/Source/Developer/ToolWidgets/Private/SSimpleTimeSlider.cpp
virtual [FReply](API\Runtime\SlateCore\Input\FReply) OnPreviewMouseButtonDown
(
    const [FGeometry](API\Runtime\SlateCore\Layout\FGeometry) & MyGeometry,
    const [FPointerEvent](API\Runtime\SlateCore\Input\FPointerEvent) & MouseEvent
)

Remarks

Just like OnMouseButtonDown, but tunnels instead of bubbling. If this event is handled, OnMouseButtonDown will not be sent.

Use this event sparingly as preview events generally make UIs more difficult to reason about.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library