wxListEvent

wxListEvent

wxListEvent
Functions for wxListEvent class

A list event holds information about events associated with wxListCtrl objects.

See: wxListCtrl

This class is derived (and can use functions) from: wxNotifyEvent wxCommandEvent wxEvent

wxWidgets docs: wxListEvent

Use wxEvtHandler:connect/3 with wxListEventType to subscribe to events of this type.

Types

For EVT_LIST_CACHE_HINT event only: return the first item which the list control advises us to cache.

Types

For EVT_LIST_CACHE_HINT event only: return the last item (inclusive) which the list control advises us to cache.

Types

The column position: it is only used with COL events.

For the column dragging events, it is the column to the left of the divider being dragged, for the column click events it may be -1 if the user clicked in the list control header outside any column.

Types

This method only makes sense for EVT_LIST_END_LABEL_EDIT message and returns true if it the label editing has been cancelled by the user (getLabel/1 returns an empty string in this case but it doesn't allow the application to distinguish between really cancelling the edit and the admittedly rare case when the user wants to rename it to an empty string).