emit_child_switched


Description:

public void emit_child_switched (uint index, int64 duration)

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.

Parameters:

this

a swipeable

index

the index of the child to switch to

duration

animation duration, in milliseconds




2022 vala-language.org