gobj_set_bottom_gobj()
#
Sets the bottom gobj of a given gobj, allowing attribute inheritance from the specified bottom gobj.
Prototype
hgobj gobj_set_bottom_gobj(
hgobj gobj, /* The gobj whose bottom gobj is being set */
hgobj bottom_gobj /* The gobj to be set as the bottom gobj */
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The gobj whose bottom gobj is being set. |
|
|
The gobj to be set as the bottom gobj. |
Return Value
Returns 0 on success. If the bottom gobj is already set, a warning is logged, but the function does not override the existing bottom gobj.
Notes
The bottom gobj is used for attribute inheritance. If a gobj already has a bottom gobj, setting a new one will not override the existing one.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples