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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback