.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.dataview.TreeListItem:
==========================================================================================================================================
|phoenix_title| **wx.dataview.TreeListItem**
==========================================================================================================================================
Unique identifier of an item in :ref:`wx.dataview.TreeListCtrl`.
This is an opaque class which can't be used by the application in any other way than receiving or passing it to :ref:`wx.dataview.TreeListCtrl` and checking for validity.
.. versionadded:: 2.9.3
.. seealso:: :ref:`wx.dataview.TreeListCtrl`
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
TreeListItem:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.dataview.TreeListItem.__init__` Only the default constructor is publicly accessible.
:meth:`~wx.dataview.TreeListItem.IsOk` Return ``True`` if the item is valid.
:meth:`~wx.dataview.TreeListItem.__bool__`
:meth:`~wx.dataview.TreeListItem.__eq__`
:meth:`~wx.dataview.TreeListItem.__hash__`
:meth:`~wx.dataview.TreeListItem.__ne__`
:meth:`~wx.dataview.TreeListItem.__nonzero__`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.dataview.TreeListItem(object)
**Possible constructors**::
TreeListItem() -> None
Unique identifier of an item in TreeListCtrl.
.. method:: __init__(self)
Only the default constructor is publicly accessible.
Default constructing a :ref:`wx.dataview.TreeListItem` creates an invalid item.
:rtype: `None`
.. method:: IsOk(self)
Return ``True`` if the item is valid.
:rtype: `bool`
.. method:: __bool__(self)
:rtype: `int`
.. method:: __eq__(self, other: TreeListItem)
:rtype: `bool`
.. method:: __hash__(self)
:rtype: `int`
.. method:: __ne__(self, other: TreeListItem)
:rtype: `bool`
.. method:: __nonzero__(self)
:rtype: `int`