Companion
object Companion
Functions
Link copied to clipboard
Removes the node link_ from the list and frees it. Compare this to g_list_remove_link() which removes the node without freeing it.
Link copied to clipboard
Inserts a new element into the list before the given position.
Link copied to clipboard
Inserts @link_ into the list before the given position.
Link copied to clipboard
fun insertSortedWithData(list: List, data: <Error class: unknown class>? = null, func: CompareDataFunc): List
Inserts a new element into the list, using the given comparison function to determine its position.
Link copied to clipboard
Link copied to clipboard
Removes an element from a #GList, without freeing the element. The removed element's prev and next links are set to null, so that it becomes a self-contained list with one element.
Link copied to clipboard
Like g_list_sort(), but the comparison function accepts a user data argument.