gobj_event_type_by_name()
#
Retrieves the event type information for a given event name in the specified gobj.
Prototype
PUBLIC event_type_t *gobj_event_type_by_name(
hgobj gobj,
const char *event_name
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The gobj instance in which to search for the event. |
|
|
The name of the event to look up. |
Return Value
A pointer to the event_type_t
structure if the event is found, otherwise NULL
.
Notes
This function searches for the event in the gobj’s event list and the global event list. If the event is not found, it returns NULL
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples