.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2017 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

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>TreeListItem</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.dataview.TreeListItem_inheritance.png" alt="Inheritance diagram of TreeListItem" usemap="#dummy" class="inheritance"/></center>
   </div>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.dataview.TreeListItem.html" title="wx.dataview.TreeListItem" alt="" coords="5,5,184,35"/> </map> 
   </p>

|


|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.__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()
       
   
   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.                   





   .. method:: IsOk(self)

      Return ``True`` if the item is valid.                  

      :rtype: `bool`








   .. method:: __eq__(self, other)



      :rtype: `bool`








   .. method:: __hash__(self)



      :rtype: `long`








   .. method:: __ne__(self, other)



      :rtype: `bool`








   .. method:: __nonzero__(self)



      :rtype: `int`







