gobj_create_yuno()
#
Creates a new GObj instance configured as the root Yuno object.
The Yuno object serves as the root and main entry point for a Yuneta-based application.
Prototype
#define gobj_create_yuno(name, gclass, kw) \
gobj_create_gobj(name, gclass, kw, NULL, gobj_flag_yuno)
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The name of the Yuno GObj to be created. |
|
The name of the GClass from which the Yuno GObj will be instantiated. |
|
|
JSON object containing attributes to initialize the Yuno. This parameter is owned by the function. |
Return Value
Returns the handle (
hgobj
) to the created Yuno GObj.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