ListG.nth

Gets the element at the given position in a GList.

class ListG
nth
(
uint n
)

Parameters

n uint

the position of the element, counting from 0

Return Value

Type: ListG

the element, or NULL if the position is off the end of the GList

Meta