Clutter.Script.load_from_resource

### Method

# Clutter Scriptload_from_resource

#### Declaration [src]

    guint
    clutter_script_load_from_resource (
      ClutterScript* script,
      const gchar* resource_path,
      GError** error
    )

#### Description [src]

Loads the definitions from a resource file into `script` and merges with the currently loaded ones, if any.

Available since: | 1.10

#### Parameters

`resource_path` | `const gchar*`
| The resource path of the file to parse.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `guint`
| On error, zero is returned and `error` is set accordingly. On success, the merge id for the UI definitions is returned. You can use the merge id with clutter_script_unmerge_objects().