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 glib.types.Quark

name to check as a GQuark

Return Value

Type: bool

true if name matches the name of the event structure.