wx.dataview.TreeListEvent¶
Event generated by wx.dataview.TreeListCtrl.
Added in version 2.9.3.
Class Hierarchy¶
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¶
- class wx.dataview.TreeListEvent(NotifyEvent)¶
Possible constructors:
TreeListEvent() -> None
Event generated by TreeListCtrl.
Methods¶
- __init__(self)¶
- Return type:
None
- GetColumn(self)¶
Return the column affected by the event.
This is currently only used with
wxEVT_TREELIST_COLUMN_SORTED
event.- Return type:
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).
- Return 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
.- Return type:
CheckBoxState
Properties¶
- OldCheckedState¶