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¶
Known Superclasses¶
wx.lib.agw.hypertreelist.HyperTreeList
Methods Summary¶
Default class constructor. |
Class API¶
- class TreeListCtrl(HTL.HyperTreeList)¶
See documentation for
HyperTreeList
andCustomTreeCtrl
. 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. seehypertreelist
for a full list of flags.validator – window validator;
name – window name.