index
fun index(list: SList, data: <Error class: unknown class>? = null): <Error class: unknown class>(source)
Gets the position of the element containing the given data (starting from 0).
Return
the index of the element containing the data, or -1 if the data is not found
Parameters
list
a #GSList
data
the data to find