Method

GLibSequenceget_iter_at_pos

Declaration

GSequenceIter*
g_sequence_get_iter_at_pos (
  GSequence* seq,
  gint pos
)

Description

Returns the iterator at position pos. If pos is negative or larger than the number of items in seq, the end iterator is returned.

Available since:2.14

Parameters

pos gint
 

A position in seq, or -1 for the end.

Return value

Returns: GSequenceIter
 

The GSequenceIter at position pos.

 The data is owned by the instance.