ListSG.position

Gets the position of the given element in the #GSList (starting from 0).

class ListSG
int
position

Parameters

an element in the #GSList

Return Value

Type: int

the position of the element in the #GSList, or -1 if the element is not found

Meta