C4 Engine
C4 Engine API Documentation

struct WidgetEventData

Defined in:  C4Widgets.h
The WidgetEventData structure contains information about a widget event.
Definition

struct WidgetEventData

Constructor

WidgetEventData(EventType type, Node *initiator = nullptr);

Parameters
type The initial value of the eventType field.
initiator The initial value of the initiatorNode field.
Data Members
EventType       eventType; The type of the event.
Node            *initiatorNode; The node that caused the event to occur (in-game panel effects only).