get_for_class


Description:

public static unowned BindingPool get_for_class (void* klass)

Retrieves the BindingPool for the given Object class and, eventually, creates it.

This function is a wrapper around BindingPool and uses the class type name as the unique name for the binding pool.

Calling this function multiple times will return the same BindingPool.

A binding pool for a class can also be retrieved using find with the class type name:

	pool = clutter_binding_pool_find (G_OBJECT_TYPE_NAME (instance));

Parameters:

klass

a ObjectClass pointer

Returns:

the binding pool for the given class. The returned BindingPool is owned by Clutter and should not be freed directly




2022 vala-language.org