gobj_exec_internal_method()
#
Executes an internal method on a GObj. Internal methods are specific to the GClass of the GObj and provide additional functionality.
Prototype
json_t *gobj_exec_internal_method(hgobj gobj, const char *method_name, json_t *kw, hgobj src);
Parameters
Key |
Type |
Description |
---|---|---|
|
Handle to the GObj on which the method will be executed. |
|
|
|
Name of the internal method to execute. |
|
JSON object containing parameters for the method. Ownership is transferred to the function. |
|
|
Handle to the source GObj initiating the method execution. |
Return Value
Returns a JSON object (
json_t
) containing the result of the method execution.Returns
NULL
if the method does not exist or an error occurs.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples