switch_child


Description:

public abstract void switch_child (uint index, int64 duration)

Switches to child with index index.

See [signal@Swipeable:HdySwipeable:child-switched].

Parameters:

this

a swipeable

index

the index of the child to switch to

duration

animation duration, in milliseconds