gobj_in_this_state()
#
Checks if the given hgobj
is currently in the specified state.
Prototype
BOOL gobj_in_this_state(
hgobj gobj,
gobj_state_t state
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The |
|
|
The state to compare against the current state of |
Return Value
Returns TRUE
if gobj
is in the specified state
, otherwise returns FALSE
.
Notes
This function is useful for verifying the current state of a hgobj
before performing state-dependent operations.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples