#include </home/zeitlin/src/wx/github/interface/wx/treelist.h>
Event generated by wxTreeListCtrl.
Public Member Functions | |
wxTreeListEvent () | |
wxTreeListItem | GetItem () const |
Return the item affected by the event. | |
wxCheckBoxState | GetOldCheckedState () const |
Return the previous state of the item checkbox. | |
unsigned | GetColumn () const |
Return the column affected by the event. |
wxTreeListEvent::wxTreeListEvent | ( | ) |
unsigned wxTreeListEvent::GetColumn | ( | ) | const |
Return the column affected by the event.
This is currently only used with wxEVT_COMMAND_TREELIST_COLUMN_SORTED
event.
wxTreeListItem wxTreeListEvent::GetItem | ( | ) | const |
Return the item affected by the event.
This is the item being selected, expanded, checked or activated (depending on the event type).
wxCheckBoxState wxTreeListEvent::GetOldCheckedState | ( | ) | const |
Return the previous state of the item checkbox.
This method can be used with wxEVT_COMMAND_TREELIST_ITEM_CHECKED
events only.
Notice that the new state of the item can be retrieved using wxTreeListCtrl::GetCheckedState().