Choose your operating system:
Windows
macOS
Linux
typedef TBaseDelegate_NoParams< TSharedRef< SWidget > > FOnGetContent
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/SlateDelegates.h |
Include |
#include "Framework/SlateDelegates.h" |
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.