GLib.Queue.peek_nth

### Method

# GLib Queuepeek_nth

since: 2.4

#### Declaration [src]

    gpointer
    g_queue_peek_nth (
      GQueue* queue,
      guint n
    )

#### Description [src]

Returns the `n`‘th element of `queue`.

Available since: 2.4

#### Parameters

`n`

  Type: `guint`

  The position of the element.

#### Return value

Type: `gpointer`

The data for the `n`‘th element of `queue`, or `NULL` if `n` is off the end of `queue`.

The returned data is owned by the instance.
The return value can be `NULL`.