Contents Up Previous Next

wxGridRangeSelectEvent

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.
Include files

<wx/grid.h>

Members

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::wxGridRangeSelectEvent

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)


wxGridRangeSelectEvent::AltDown

bool AltDown()

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


wxGridRangeSelectEvent::ControlDown

bool ControlDown()

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


wxGridRangeSelectEvent::GetBottomRightCoords

wxGridCellCoords GetBottomRightCoords()

Top left corner of the rectangular area that was (de)selected.


wxGridRangeSelectEvent::GetBottomRow

int GetBottomRow()

Bottom row of the rectangular area that was (de)selected.


wxGridRangeSelectEvent::GetLeftCol

int GetLeftCol()

Left column of the rectangular area that was (de)selected.


wxGridRangeSelectEvent::GetRightCol

int GetRightCol()

Right column of the rectangular area that was (de)selected.


wxGridRangeSelectEvent::GetTopLeftCoords

wxGridCellCoords GetTopLeftCoords()

Top left corner of the rectangular area that was (de)selected.


wxGridRangeSelectEvent::GetTopRow

int GetTopRow()

Top row of the rectangular area that was (de)selected.


wxGridRangeSelectEvent::MetaDown

bool MetaDown()

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


wxGridRangeSelectEvent::Selecting

bool Selecting()

Returns true if the area was selected, false otherwise.


wxGridRangeSelectEvent::ShiftDown

bool ShiftDown()

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