gobj_last_bottom_gobj()

gobj_last_bottom_gobj()#

Returns the last bottom gobj in the hierarchy of the given gobj. This function traverses the bottom gobj chain to find the deepest gobj in the hierarchy.

Prototype

hgobj gobj_last_bottom_gobj(
    hgobj gobj
);

Parameters

Key

Type

Description

gobj

hgobj

The gobj whose last bottom gobj is to be retrieved.


Return Value

Returns the last bottom gobj in the hierarchy if it exists, otherwise returns NULL.

Notes

This function is useful when dealing with a stack of gobj instances that act as a unit, ensuring that operations are performed on the deepest gobj in the hierarchy.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples