gobj_last_child()

gobj_last_child()#

Returns the last child of the given hgobj object.

Prototype

hgobj gobj_last_child(hgobj gobj);

Parameters

Key

Type

Description

gobj

hgobj

The parent hgobj whose last child is to be retrieved.


Return Value

Returns the last child hgobj of the given parent. If the parent has no children, returns NULL.

Notes

This function is useful for iterating over child objects in reverse order.

Prototype

// Not applicable in JS

Prototype

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