phoenix_title wx.lib.gizmos.treelistctrl.TreeListCtrl

See documentation for HyperTreeList and CustomTreeCtrl. This class is just a simple derivation of the former in order to provide a mostly compatible class to replace the C++ TreeListCtrl class in Classic, and most CustomTreeCtrl methods are available here as well via monkey-patched delegates.


class_hierarchy Class Hierarchy

Inheritance diagram for class TreeListCtrl:

super_classes Known Superclasses

wx.lib.agw.hypertreelist.HyperTreeList


method_summary Methods Summary

__init__

Default class constructor.


api Class API

class TreeListCtrl(HTL.HyperTreeList)

See documentation for HyperTreeList and CustomTreeCtrl. This class is just a simple derivation of the former in order to provide a mostly compatible class to replace the C++ TreeListCtrl class in Classic, and most CustomTreeCtrl methods are available here as well via monkey-patched delegates.


Methods

__init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, agwStyle=wx.TR_DEFAULT_STYLE, validator=wx.DefaultValidator, name="treelistctrl")

Default class constructor.

Parameters:
  • parent – parent window. Must not be None;

  • id – window identifier. A value of -1 indicates a default value;

  • pos – the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;

  • size – the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform;

  • style – the underlying wx.Control style;

  • agwStyle – the AGW-specific HyperTreeList window style. see hypertreelist for a full list of flags.

  • validator – window validator;

  • name – window name.