SButton::OnKeyUp

Called after a key is released when this widget has focus

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SWidget::OnKeyUp()

SButton::OnKeyUp()

References

Module

Slate

Header

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

Include

#include "Widgets/Input/SButton.h"

Source

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

Syntax

virtual FReply OnKeyUp
(
    const FGeometry & MyGeometry,
    const FKeyEvent & InKeyEvent
)

Remarks

Called after a key is released when this widget has focus

Returns

Returns whether the event was handled, along with other possible actions

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

InKeyEvent

Key event