Method

ClutterScriptableparse_custom_node

Declaration [src]

gboolean
clutter_scriptable_parse_custom_node (
  ClutterScriptable* scriptable,
  ClutterScript* script,
  GValue* value,
  const gchar* name,
  JsonNode* node
)

Description [src]

Parses the passed JSON node. The implementation must set the type of the passed GValue pointer using g_value_init().

Available since:0.6

Parameters

script ClutterScript
 

The ClutterScript creating the scriptable instance.

 The data is owned by the caller of the function.
value GValue
 

The generic value to be set.

 The data is owned by the caller of the function.
name const gchar*
 

The name of the node.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
node JsonNode
 

The JSON node to be parsed.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the node was successfully parsed, FALSE otherwise.