unreal.WidgetEventField

class unreal.WidgetEventField

Bases: StructBase

Generic structure to notify when an event occurs.

class UMyWidget : public UWidget {

UPROPERTY(FieldNotify) FWidgetEventField SomeEvent;

void OnSomeEvent() {

BroadcastFieldValueChanged(FFieldNotificationClassDescriptor::Text);

}

}; };

C++ Source:

  • Module: UMG

  • File: WidgetEventField.h