wx.dataview.TreeListEvent¶

Event generated by wx.dataview.TreeListCtrl.

New in version 2.9.3.

Class Hierarchy¶

Inheritance diagram for class TreeListEvent:

Methods Summary¶

 __init__ GetColumn Return the column affected by the event. GetItem Return the item affected by the event. GetOldCheckedState Return the previous state of the item checkbox.

Class API¶

class wx.dataview.TreeListEvent(NotifyEvent)

Possible constructors:

TreeListEvent()


Event generated by TreeListCtrl.

Methods¶

__init__(self)

GetColumn(self)

Return the column affected by the event.

This is currently only used with wxEVT_TREELIST_COLUMN_SORTED event.

GetItem(self)

Return the item affected by the event.

This is the item being selected, expanded, checked or activated (depending on the event type).

Return type

wx.dataview.TreeListItem

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 .

Return type

wx.CheckBoxState

Properties¶

Column

Item

OldCheckedState