gobj_enable()
#
Enables the specified hgobj
by setting its disabled flag to FALSE
and starting its execution if necessary. If the object has a custom mt_enable
method, it is invoked; otherwise, gobj_start_tree()
is called.
Prototype
int gobj_enable(hgobj gobj);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The object to be enabled. |
Return Value
Returns 0
on success, or -1
if an error occurs.
Notes
If the object is already enabled, this function has no effect.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples