Event.hasNameId

bool hasNameId(glib.types.Quark name)

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

Parameters

namename to check as a GQuark

Returns

true if name matches the name of the event structure.