gclass_find_public_event()

gclass_find_public_event()#

Finds a public event by its name in a GClass.

Prototype

PUBLIC gobj_event_t gclass_find_public_event(
    const char      *event,
    BOOL            verbose
);

Parameters

Key

Type

Description

event

const char *

The name of the public event to search for.

verbose

BOOL

If TRUE, logs details about the search process. If FALSE, remains silent during the search.

Return Value

  • Returns the event identifier (gobj_event_t) if the event is found.

  • Returns NULL if the event does not exist.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples