FOnGetContent

Sometimes widgets ask for content to display; at those times they rely on this delegate.

Windows
MacOS
Linux

Type

typedef TBaseDelegate_NoParams< TSharedRef< SWidget > > FOnGetContent

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/SlateDelegates.h

Include

#include "Framework/SlateDelegates.h"

Remarks

Sometimes widgets ask for content to display; at those times they rely on this delegate. For example, the content of a popup is usually driven by code, so it is usually not known until the popup is opening. At that time, OnGetContent is invoked.

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