:right-sidebar: True List =================================================================== .. currentmodule:: gi.repository.GLib .. class:: List(*args, **kwargs) :no-contents-entry: The ``GList`` struct is used for each element in a doubly-linked list. Methods ------- .. rst-class:: interim-class .. class:: List :no-index: .. classmethod:: pop_allocator() -> None .. classmethod:: push_allocator() -> None Fields ------ .. rst-class:: interim-class .. class:: List :no-index: .. attribute:: 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] .. attribute:: next Contains the link to the next element in the list .. attribute:: prev Contains the link to the previous element in the list