List

class List(*args, **kwargs)

The GList struct is used for each element in a doubly-linked list.

Methods

class List
pop_allocator() None
push_allocator(allocator: Allocator) None
Parameters:

allocator

Fields

class List
data

Holds the element’s data, which can be a pointer to any kind of data, or any integer value using the [Type Conversion Macros][glib-Type-Conversion-Macros]

next

Contains the link to the next element in the list

prev

Contains the link to the previous element in the list