SCheckBox::OnMouseButtonDown

See [SWidget::OnMouseButtonDown](API\Runtime\SlateCore\Widgets\SWidget\OnMouseButtonDown).

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SWidget::OnMouseButtonDown()

SCheckBox::OnMouseButtonDown()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SCheckBox.h

Include

#include "Widgets/Input/SCheckBox.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Input/SCheckBox.cpp

Syntax

virtual FReply OnMouseButtonDown
(
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
)

Remarks

Returns

Whether the event was handled along with possible requests for the system to take action.

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

MouseEvent

Information about the input event