:right-sidebar: True TreeIter =================================================================== .. currentmodule:: gi.repository.Gtk .. deprecated:: 4.10 Please do not use it in newly written code .. class:: TreeIter(*args, **kwargs) :no-contents-entry: The ``GtkTreeIter`` is the primary structure for accessing a ``GtkTreeModel``\. Models are expected to put a unique integer in the ``stamp`` member, and put model-specific data in the three ``user_data`` members. Methods ------- .. rst-class:: interim-class .. class:: TreeIter :no-index: .. method:: free() -> None Frees an iterator that has been allocated by :func:`~gi.repository.Gtk.TreeIter.copy`. This function is mainly used for language bindings. .. deprecated:: 4.10 Please do not use it in newly written code Fields ------ .. rst-class:: interim-class .. class:: TreeIter :no-index: .. attribute:: stamp A unique stamp to catch invalid iterators .. attribute:: user_data Model-specific data .. attribute:: user_data2 Model-specific data .. attribute:: user_data3 Model-specific data