Constructor
BisCallbackAnimationTargetnew
Declaration [src]
BisAnimationTarget*
bis_callback_animation_target_new (
BisAnimationTargetFunc callback,
gpointer user_data,
GDestroyNotify destroy
)
Description [src]
Creates a new BisAnimationTarget
that calls the given callback
during
the animation.
Available since: | 1.0 |
Parameters
callback |
BisAnimationTargetFunc |
The callback to call. |
|
user_data |
gpointer |
The data to be passed to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
destroy |
GDestroyNotify |
The function to be called when the callback action is finalized. |
Return value
Returns: | BisAnimationTarget |
The newly created callback target. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |