wx.grid.GridRangeSelectEvent¶
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.grid.GridRangeSelectEvent parameter.
EVT_GRID_RANGE_SELECT: The user selected a group of contiguous cells. Processes a wxEVT_GRID_RANGE_SELECT event type.
EVT_GRID_CMD_RANGE_SELECT: The user selected a group of contiguous cells; variant taking a window identifier. Processes a wxEVT_GRID_RANGE_SELECT event type.
Class Hierarchy¶
Inheritance diagram for class GridRangeSelectEvent:
Methods Summary¶Default constructor. |
|
Returns |
|
Returns |
|
Top left corner of the rectangular area that was (de)selected. |
|
Bottom row of the rectangular area that was (de)selected. |
|
Left column of the rectangular area that was (de)selected. |
|
Right column of the rectangular area that was (de)selected. |
|
Top left corner of the rectangular area that was (de)selected. |
|
Top row of the rectangular area that was (de)selected. |
|
Returns |
|
Returns |
|
Returns |
Properties Summary¶See |
|
See |
|
See |
|
See |
|
See |
Class API¶Possible constructors:
GridRangeSelectEvent()
GridRangeSelectEvent(id, type, obj, topLeft, bottomRight, sel=True,
kbd=KeyboardState())
__init__ (self)
Default constructor.
__init__ (self, id, type, obj, topLeft, bottomRight, sel=True, kbd=KeyboardState())
Constructor for initializing all event attributes.
id (int) –
type (wx.EventType) –
obj (wx.Object) –
topLeft (wx.grid.GridCellCoords) –
bottomRight (wx.grid.GridCellCoords) –
sel (bool) –
kbd (wx.KeyboardState) –
Returns True if the Alt key was down at the time of the event.
bool
Returns True if the Control key was down at the time of the event.
bool
Top left corner of the rectangular area that was (de)selected.
Bottom row of the rectangular area that was (de)selected.
int
Left column of the rectangular area that was (de)selected.
int
Right column of the rectangular area that was (de)selected.
int
Top left corner of the rectangular area that was (de)selected.
Top row of the rectangular area that was (de)selected.
int
Returns True if the Meta key was down at the time of the event.
bool
Returns True if the area was selected, False otherwise.
bool
Returns True if the Shift key was down at the time of the event.
bool
See GetBottomRow
See GetLeftCol
See GetRightCol
See GetTopLeftCoords