Event.hasNameId

Checks if @event has the given @name. This function is usually used to check the name of a custom event.

class Event
bool
hasNameId

Parameters

name GQuark

name to check as a GQuark

Return Value

Type: bool

%TRUE if @name matches the name of the event structure.

Meta

Since

1.18