gobj_has_output_event()
#
Checks if the given gobj
has the specified event
in its output event list, optionally filtered by event_flag
.
Prototype
PUBLIC BOOL gobj_has_output_event(
hgobj gobj,
gobj_event_t event,
event_flag_t event_flag
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The GObj instance to check. |
|
|
The event to check for in the output event list. |
|
|
Optional flag to filter the event check. |
Return Value
Returns TRUE
if the event exists in the output event list and matches the given event_flag
, otherwise returns FALSE
.
Notes
This function is useful for verifying if a GObj can publish a specific event before attempting to do so.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples