ListSG.nth

Gets the element at the given position in a GSList

class ListSG
nth
(
uint n
)

Parameters

n uint

the position of the element, counting from 0

Return Value

Type: ListSG

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