Inheritance diagram for wx.grid.GridEvent:
This event class contains information about various grid events.
The event handler for the following functions takes a wx.grid.GridEvent parameter. The ..._CMD_... variants also take a window identifier.
Event Name | Description |
---|---|
wx.grid.EVT_GRID_CELL_LEFT_CLICK(func) | The user clicked a cell with the left mouse button. Processes a wx.grid.wxEVT_GRID_CELL_LEFT_CLICK. |
wx.grid.EVT_GRID_CELL_RIGHT_CLICK(func) | The user clicked a cell with the right mouse button. Processes a wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK. |
wx.grid.EVT_GRID_CELL_LEFT_DCLICK(func) | The user double-clicked a cell with the left mouse button. Processes a wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK. |
wx.grid.EVT_GRID_CELL_RIGHT_DCLICK(func) | The user double-clicked a cell with the right mouse button. Processes a wx.grid.wxEVT_GRID_CELL_RIGHT_DCLICK. |
wx.grid.EVT_GRID_LABEL_LEFT_CLICK(func) | The user clicked a label with the left mouse button. Processes a wx.grid.wxEVT_GRID_LABEL_LEFT_CLICK. |
wx.grid.EVT_GRID_LABEL_RIGHT_CLICK(func) | The user clicked a label with the right mouse button. Processes a wx.grid.wxEVT_GRID_LABEL_RIGHT_CLICK. |
wx.grid.EVT_GRID_LABEL_LEFT_DCLICK(func) | The user double-clicked a label with the left mouse button. Processes a wx.grid.wxEVT_GRID_LABEL_LEFT_DCLICK. |
wx.grid.EVT_GRID_LABEL_RIGHT_DCLICK(func) | The user double-clicked a label with the right mouse button. Processes a wx.grid.wxEVT_GRID_LABEL_RIGHT_DCLICK. |
wx.grid.EVT_GRID_CELL_CHANGE(func) | The user changed the data in a cell. Processes a wx.grid.wxEVT_GRID_CELL_CHANGE. |
wx.grid.EVT_GRID_SELECT_CELL(func) | The user moved to, and selected a cell. Processes a wx.grid.wxEVT_GRID_SELECT_CELL. |
wx.grid.EVT_GRID_EDITOR_HIDDEN(func) | The editor for a cell was hidden. Processes a wx.grid.wxEVT_GRID_EDITOR_HIDDEN. |
wx.grid.EVT_GRID_EDITOR_SHOWN(func) | The editor for a cell was shown. Processes a wx.grid.wxEVT_GRID_EDITOR_SHOWN. |
wx.grid.EVT_GRID_CMD_CELL_LEFT_CLICK(id, func) | The user clicked a cell with the left mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_CELL_LEFT_CLICK. |
wx.grid.EVT_GRID_CMD_CELL_RIGHT_CLICK(id, func) | The user clicked a cell with the right mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK. |
wx.grid.EVT_GRID_CMD_CELL_LEFT_DCLICK(id, func) | The user double-clicked a cell with the left mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK. |
wx.grid.EVT_GRID_CMD_CELL_RIGHT_DCLICK(id, func) | The user double-clicked a cell with the right mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_CELL_RIGHT_DCLICK. |
wx.grid.EVT_GRID_CMD_LABEL_LEFT_CLICK(id, func) | The user clicked a label with the left mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_LABEL_LEFT_CLICK. |
wx.grid.EVT_GRID_CMD_LABEL_RIGHT_CLICK(id, func) | The user clicked a label with the right mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_LABEL_RIGHT_CLICK. |
wx.grid.EVT_GRID_CMD_LABEL_LEFT_DCLICK(id, func) | The user double-clicked a label with the left mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_LABEL_LEFT_DCLICK. |
wx.grid.EVT_GRID_CMD_LABEL_RIGHT_DCLICK(id, func) | The user double-clicked a label with the right mouse button; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_LABEL_RIGHT_DCLICK. |
wx.grid.EVT_GRID_CMD_CELL_CHANGE(id, func) | The user changed the data in a cell; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_CELL_CHANGE. |
wx.grid.EVT_GRID_CMD_SELECT_CELL(id, func) | The user moved to, and selected a cell; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_SELECT_CELL. |
wx.grid.EVT_GRID_CMD_EDITOR_HIDDEN(id, func) | The editor for a cell was hidden; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_EDITOR_HIDDEN. |
wx.grid.EVT_GRID_CMD_EDITOR_SHOWN(id, func) | The editor for a cell was shown; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_EDITOR_SHOWN. |
Constructor.
An instance of this class (or one of its derived classes) is sent from a control when the control’s state is being changed and the control allows that change to be prevented from happening. The event handler can call Veto or Allow to tell the control what to do.
Parameters:
Returns:
Returns True if the Alt key was down at the time of the event.
Returns:
bool
Returns True if the Control key was down at the time of the event.
Returns:
bool
Column at which the event occurred.
Returns:
int
Row at which the event occurred.
Returns:
int
Returns True if the Meta key was down at the time of the event.
Returns:
bool
Returns True if the user deselected a cell, False if the user deselected a cell.
Returns:
bool
Returns True if the Shift key was down at the time of the event.
Returns:
bool