gobj_stop_childs()

gobj_stop_childs()#

Stops all direct child objects of the given hgobj instance by invoking gobj_stop() on each child.

Prototype

int gobj_stop_childs(
    hgobj gobj
);

Parameters

Key

Type

Description

gobj

hgobj

The parent hgobj whose direct child objects will be stopped.


Return Value

Returns 0 on success, or -1 if an error occurs (e.g., if gobj is NULL or being destroyed).

Notes

This function only stops the direct children of gobj, not the entire hierarchy. To stop all descendants, use gobj_stop_tree().

Prototype

// Not applicable in JS

Prototype

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