wxGridEvent

wxGridEvent

wxGridEvent
Functions for wxGridEvent class

This event class contains information about various grid events.

Notice that all grid event table macros are available in two versions: EVT_GRID_XXX and EVT_GRID_CMD_XXX. The only difference between the two is that the former doesn't allow to specify the grid window identifier and so takes a single parameter, the event handler, but is not suitable if there is more than one grid control in the window where the event table is used (as it would catch the events from all the grids). The version with CMD takes the id as first argument and the event handler as the second one and so can be used with multiple grids as well. Otherwise there are no difference between the two and only the versions without the id are documented below for brevity.

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

wxWidgets docs: wxGridEvent

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

Types

Returns true if the Alt key was down at the time of the event.

Types

Returns true if the Control key was down at the time of the event.

Types

Column at which the event occurred.

Notice that for a wxEVT_GRID_SELECT_CELL event this column is the column of the newly selected cell while the previously selected cell can be retrieved using wxGrid:getGridCursorCol/1.

Types

Row at which the event occurred.

Notice that for a wxEVT_GRID_SELECT_CELL event this row is the row of the newly selected cell while the previously selected cell can be retrieved using wxGrid:getGridCursorRow/1.

Types

Returns true if the Meta key was down at the time of the event.

Types

Returns true if the user is selecting grid cells, or false if deselecting.

Types

Returns true if the Shift key was down at the time of the event.