Derived from
wxNotifyEvent
wxCommandEvent
wxEvent
wxObject
Event handling
The event handler for the following functions takes a wxGridRangeSelectEvent parameter. The ..._CMD_... variants also take a window identifier.
EVT_GRID_RANGE_SELECT(func) | The user selected a group of contiguous cells. Processes a wxEVT_GRID_RANGE_SELECT. |
EVT_GRID_CMD_RANGE_SELECT(func) | The user selected a group of contiguous cells; variant taking a window identifier. Processes a wxEVT_GRID_RANGE_SELECT. |
wxGridRangeSelectEvent::wxGridRangeSelectEvent
wxGridRangeSelectEvent::AltDown
wxGridRangeSelectEvent::ControlDown
wxGridRangeSelectEvent::GetBottomRightCoords
wxGridRangeSelectEvent::GetBottomRow
wxGridRangeSelectEvent::GetLeftCol
wxGridRangeSelectEvent::GetRightCol
wxGridRangeSelectEvent::GetTopLeftCoords
wxGridRangeSelectEvent::GetTopRow
wxGridRangeSelectEvent::MetaDown
wxGridRangeSelectEvent::Selecting
wxGridRangeSelectEvent::ShiftDown
wxGridRangeSelectEvent()
Default constructor.
wxGridRangeSelectEvent(int id, wxEventType type, wxObject* obj, const wxGridCellCoords& topLeft, const wxGridCellCoords& bottomRight, bool sel = true, bool control = false, bool shift = false, bool alt = false, bool meta = false)
bool AltDown()
Returns true if the Alt key was down at the time of the event.
bool ControlDown()
Returns true if the Control key was down at the time of the event.
wxGridCellCoords GetBottomRightCoords()
Top left corner of the rectangular area that was (de)selected.
int GetBottomRow()
Bottom row of the rectangular area that was (de)selected.
int GetLeftCol()
Left column of the rectangular area that was (de)selected.
int GetRightCol()
Right column of the rectangular area that was (de)selected.
wxGridCellCoords GetTopLeftCoords()
Top left corner of the rectangular area that was (de)selected.
int GetTopRow()
Top row of the rectangular area that was (de)selected.
bool MetaDown()
Returns true if the Meta key was down at the time of the event.
bool Selecting()
Returns true if the area was selected, false otherwise.
bool ShiftDown()
Returns true if the Shift key was down at the time of the event.