gobj_create_tree()
#
Parses a hierarchical tree configuration and creates a GObj tree.
This function builds a parent-child hierarchy of Gobjs based on the provided configuration.
Prototype
PUBLIC hgobj gobj_create_tree(
hgobj parent,
const char *tree_config,
const char *json_config_variables
);
Parameters
Key |
Type |
Description |
---|---|---|
|
Handle to the parent GObj under which the tree is created. If |
|
|
|
A JSON string or configuration file that defines the structure and attributes of the GObj tree. |
|
|
A JSON string specifying additional variables or overrides for the |
Return Value
Returns the handle (
hgobj
) to the root of the created GObj tree.Returns
NULL
if the creation fails.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples