switch_child


Description:

[ Version ( since = "0.0.12" ) ]
public virtual signal void switch_child (uint index, int64 duration)

This signal should be emitted when the widget's visible child is changed.

duration can be 0 if the child is switched without animation.

Parameters:

index

the index of the child to switch to

duration

Animation duration in milliseconds