wx.grid.GridSizeEvent¶This event class contains information about a row/column resize event.
Events Emitted by this Class¶Handlers bound for the following event types will receive a wx.grid.GridSizeEvent parameter.
wxEVT_GRID_COL_SIZE event type.wxEVT_GRID_ROW_SIZE event type.ID_ANY id.wxEVT_GRID_COL_AUTO_SIZE event type and is new since wxWidgets 2.9.5.ID_ANY id.
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. |
GetPosition |
Position in pixels at which the event occurred. |
GetRowOrCol |
Row or column at that was resized. |
MetaDown |
Returns True if the Meta key was down at the time of the event. |
ShiftDown |
Returns True if the Shift key was down at the time of the event. |
Class API¶wx.grid.GridSizeEvent(NotifyEvent)¶Possible constructors:
GridSizeEvent()
GridSizeEvent(id, type, obj, rowOrCol=-1, x=-1, y=-1,
kbd=KeyboardState())
This event class contains information about a row/column resize event.
__init__(self, *args, **kw)¶__init__ (self)
Default constructor.
__init__ (self, id, type, obj, rowOrCol=-1, x=-1, y=-1, 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 |
|---|
GetPosition(self)¶Position in pixels at which the event occurred.
| Return type: | Point |
|---|
GetRowOrCol(self)¶Row or column at that was resized.
| Return type: | int |
|---|
MetaDown(self)¶Returns True if the Meta key was down at the time of the event.
| Return type: | bool |
|---|
ShiftDown(self)¶Returns True if the Shift key was down at the time of the event.
| Return type: | bool |
|---|
Position¶See GetPosition
RowOrCol¶See GetRowOrCol