wx.grid.GridRangeSelectEvent¶
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.grid.GridRangeSelectEvent parameter.
wxEVT_GRID_RANGE_SELECT event type.wxEVT_GRID_RANGE_SELECT event type.
Methods Summary¶__init__ |
Default constructor. |
AltDown |
Returns True if the Alt key was down at the time of the event. |
ControlDown |
Returns True if the Control key was down at the time of the event. |
GetBottomRightCoords |
Top left corner of the rectangular area that was (de)selected. |
GetBottomRow |
Bottom row of the rectangular area that was (de)selected. |
GetLeftCol |
Left column of the rectangular area that was (de)selected. |
GetRightCol |
Right column of the rectangular area that was (de)selected. |
GetTopLeftCoords |
Top left corner of the rectangular area that was (de)selected. |
GetTopRow |
Top row of the rectangular area that was (de)selected. |
MetaDown |
Returns True if the Meta key was down at the time of the event. |
Selecting |
Returns True if the area was selected, False otherwise. |
ShiftDown |
Returns True if the Shift key was down at the time of the event. |
Properties Summary¶BottomRightCoords |
See GetBottomRightCoords |
BottomRow |
See GetBottomRow |
LeftCol |
See GetLeftCol |
RightCol |
See GetRightCol |
TopLeftCoords |
See GetTopLeftCoords |
TopRow |
See GetTopRow |
Class API¶wx.grid.GridRangeSelectEvent(NotifyEvent)¶Possible constructors:
GridRangeSelectEvent()
GridRangeSelectEvent(id, type, obj, topLeft, bottomRight, sel=True,
kbd=KeyboardState())
__init__(self, *args, **kw)¶__init__ (self)
Default constructor.
__init__ (self, id, type, obj, topLeft, bottomRight, sel=True, kbd=KeyboardState())
Constructor for initializing all event attributes.
| Parameters: |
|
|---|
AltDown(self)¶Returns True if the Alt key was down at the time of the event.
| Return type: | bool |
|---|
ControlDown(self)¶Returns True if the Control key was down at the time of the event.
| Return type: | bool |
|---|
GetBottomRightCoords(self)¶Top left corner of the rectangular area that was (de)selected.
| Return type: | wx.grid.GridCellCoords |
|---|
GetBottomRow(self)¶Bottom row of the rectangular area that was (de)selected.
| Return type: | int |
|---|
GetLeftCol(self)¶Left column of the rectangular area that was (de)selected.
| Return type: | int |
|---|
GetRightCol(self)¶Right column of the rectangular area that was (de)selected.
| Return type: | int |
|---|
GetTopLeftCoords(self)¶Top left corner of the rectangular area that was (de)selected.
| Return type: | wx.grid.GridCellCoords |
|---|
GetTopRow(self)¶Top row of the rectangular area that was (de)selected.
| Return type: | int |
|---|
MetaDown(self)¶Returns True if the Meta key was down at the time of the event.
| Return type: | bool |
|---|
Selecting(self)¶Returns True if the area was selected, False otherwise.
| Return type: | bool |
|---|
ShiftDown(self)¶Returns True if the Shift key was down at the time of the event.
| Return type: | bool |
|---|
BottomRightCoords¶BottomRow¶See GetBottomRow
LeftCol¶See GetLeftCol
RightCol¶See GetRightCol
TopLeftCoords¶See GetTopLeftCoords