wx.dataview.TreeListEvent¶Event generated by wx.dataview.TreeListCtrl.
^^<>< =’’>:</>&;&;< =’’>\ , \ </></>
New in version 2.9.3.
Class Hierarchy¶
Inheritance diagram for class TreeListEvent:
Methods Summary¶Return the column affected by the event. |
|
Return the item affected by the event. |
|
Return the previous state of the item checkbox. |
Properties Summary¶See |
|
See |
|
Class API¶wx.dataview.TreeListEvent(NotifyEvent)¶Possible constructors:
TreeListEvent() -> None
Event generated by TreeListCtrl.
__init__(self)¶None
GetColumn(self)¶Return the column affected by the event.
This is currently only used with wxEVT_TREELIST_COLUMN_SORTED event.
int
GetItem(self)¶Return the item affected by the event.
This is the item being selected, expanded, checked or activated (depending on the event type).
GetOldCheckedState(self)¶Return the previous state of the item checkbox.
This method can be used with wxEVT_TREELIST_ITEM_CHECKED events only.
Notice that the new state of the item can be retrieved using wx.dataview.TreeListCtrl.GetCheckedState .
CheckBoxState
OldCheckedState¶