ActorCreateChildFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "1.24" ) ]
public delegate Actor ActorCreateChildFunc (Object item)

Creates a Actor using the item in the model.

The usual way to implement this function is to create a Actor instance and then bind the Object properties to the actor properties of interest, using g_object_bind_property. This way, when the item in the ListModel changes, the Actor changes as well.

Parameters:

item

the item in the model

user_data

Data passed to bind_model

Returns:

The newly created child Actor


Namespace: Clutter
Package: clutter-1.0



2022 vala-language.org