SHyperlink

A hyperlink widget is what you would expect from a browser hyperlink.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

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

Include

#include "Widgets/Input/SHyperlink.h"

Syntax

class SHyperlink : public SButton

Remarks

A hyperlink widget is what you would expect from a browser hyperlink. When a hyperlink is clicked in invokes an [OnNavigate()](API\Runtime\Slate\Widgets\Input\SHyperlink\OnNavigate) delegate.

Variables

Name Description

Protected variable

FSimpleDelegate

 

OnNavigate

The delegate to invoke when someone clicks the hyperlink

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Construct the hyperlink widgets from a declaration

Protected function

FReply

 

Hyperlink_OnClicked()

Invoke the OnNavigate method

Overridden from SWidget

Name Description

Public function Virtual

TSharedRef< ...

 

CreateAccessibleWidget()

Public function Virtual Const

FCursorReply

 

OnCursorQuery

(
    const FGeometry& MyGeometry,
    const FPointerEvent& CursorEvent
)

The system asks each widget under the mouse to provide a cursor. This event is bubbled.

Classes

Name

Description

Public struct

FArguments

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