Function
ClutterActorCreateChildFunc
Description [src]
Creates a ClutterActor using the item in the model.
The usual way to implement this function is to create a ClutterActor
instance and then bind the GObject properties to the actor properties
of interest, using g_object_bind_property(). This way, when the item
in the GListModel changes, the ClutterActor changes as well.
| Available since: | 1.24 |
Parameters
item |
GObject |
The item in the model. |
|
| The data is owned by the caller of the function. | |
user_data |
gpointer |
Data passed to |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |
Return value
| Returns: | ClutterActor |
The newly created child |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |