gobj_has_event()#
Checks if the given gobj supports the specified event, optionally filtering by event flags.
Prototype
PUBLIC BOOL gobj_has_event(
hgobj gobj,
gobj_event_t event,
event_flag_t event_flag
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The |
|
|
The event to check for. |
|
|
Optional flags to filter the event check. |
Return Value
Returns TRUE if the event exists in the gobj’s event list and matches the given flags, otherwise returns FALSE.
Notes
This function does not differentiate between input and output events. Use gobj_has_output_event() to specifically check for output events.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples