:right-sidebar: True SList =================================================================== .. currentmodule:: gi.repository.GLib .. class:: SList(*args, **kwargs) :no-contents-entry: The ``GSList`` struct is used for each element in the singly-linked list. Methods ------- .. rst-class:: interim-class .. class:: SList :no-index: .. classmethod:: pop_allocator() -> None .. classmethod:: push_allocator() -> None Fields ------ .. rst-class:: interim-class .. class:: SList :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.