Emits [signal@Swipeable:HdySwipeable:child-switched
] signal.
This should be called when the widget switches visible child widget.
duration
can be 0 if the child is switched without animation.
this |
a swipeable |
index |
the index of the child to switch to |
duration |
animation duration, in milliseconds |