gobj_parent()
#
Returns the parent object of the given hgobj
.
Prototype
hgobj gobj_parent(hgobj gobj);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The object whose parent is to be retrieved. |
Return Value
Returns the parent hgobj
of the given object, or NULL if the object has no parent.
Notes
If the provided hgobj
is NULL, an error is logged.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples