get_sticky_event


Description:

public Event? get_sticky_event (EventType event_type, uint idx)

Returns a new reference of the sticky event of type event_type from the event.

Parameters:

this

the Pad to get the event from.

event_type

the EventType that should be retrieved.

idx

the index of the event

Returns:

a Event of type event_type or null when no event of event_type was on this. Unref after usage.