Handy.Swipeable.switch_child
Description: Reference for Handy.Swipeable.switch_child

### Virtual Method

# Handy Swipeableswitch_child

#### Declaration [src]

    void
    switch_child (
      HdySwipeable* self,
      guint index,
      gint64 duration
    )

#### Description [src]

Switches to child with index `index`.

See `HdySwipeable::child-switched`.

Available since: | 1.0

#### Parameters

`index` | `guint`
| The index of the child to switch to.
`duration` | `gint64`
| Animation duration, in milliseconds.