gobj_first_child()

gobj_first_child()#

Returns the first child of the given hgobj object.

Prototype

hgobj gobj_first_child(hgobj gobj);

Parameters

Key

Type

Description

gobj

hgobj

The parent hgobj whose first child is to be retrieved.


Return Value

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

Notes

This function does not modify the object hierarchy; it only retrieves the first child.

Prototype

// Not applicable in JS

Prototype

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