gobj_prev_child()

gobj_prev_child()#

Returns the previous sibling of the given gobj in its parent’s child list.

Prototype

hgobj gobj_prev_child(
    hgobj child
);

Parameters

Key

Type

Description

child

hgobj

The gobj whose previous sibling is to be retrieved.


Return Value

Returns the previous sibling gobj if it exists, otherwise returns NULL.

Notes

If the given child is the first child in the parent’s list, the function returns NULL.

Prototype

// Not applicable in JS

Prototype

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