Method

GLibSequenceItermove

since: 2.14

Declaration

GSequenceIter*
g_sequence_iter_move (
  GSequenceIter* iter,
  gint delta
)

Description

Returns the GSequenceIter which is delta positions away from iter. If iter is closer than -delta positions to the beginning of the sequence, the begin iterator is returned. If iter is closer than delta positions to the end of the sequence, the end iterator is returned.

Available since: 2.14

Parameters

delta

Type: gint

A positive or negative number indicating how many positions away from iter the returned GSequenceIter will be.

Return value

Type: GSequenceIter

A GSequenceIter which is delta positions away from iter.

The data is owned by the instance.