This event class contains information about a row/column resize event.
Derived from
wxNotifyEvent
wxCommandEvent
wxEvent
wxObject
Include files
<wx/grid.h>
Event handling
The event handler for the following functions takes a wxGridSizeEvent parameter. The ..._CMD_... variants also take a window identifier.
EVT_GRID_COL_SIZE(func) | The user resized a column by dragging it. Processes a wxEVT_GRID_COL_SIZE. |
EVT_GRID_ROW_SIZE(func) | The user resized a row by dragging it. Processes a wxEVT_GRID_ROW_SIZE. |
EVT_GRID_CMD_COL_SIZE(func) | The user resized a column by dragging it; variant taking a window identifier. Processes a wxEVT_GRID_COL_SIZE. |
EVT_GRID_CMD_ROW_SIZE(func) | The user resized a row by dragging it; variant taking a window identifier. Processes a wxEVT_GRID_ROW_SIZE. |
wxGridSizeEvent::wxGridSizeEvent
wxGridSizeEvent::AltDown
wxGridSizeEvent::ControlDown
wxGridSizeEvent::GetPosition
wxGridSizeEvent::GetRowOrCol
wxGridSizeEvent::MetaDown
wxGridSizeEvent::ShiftDown
wxGridSizeEvent()
Default constructor.
wxGridSizeEvent(int id, wxEventType type, wxObject* obj, int rowOrCol = -1, int x = -1, int y = -1, 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.
wxPoint GetPosition()
Position in pixels at which the event occurred.
int GetRowOrCol()
Row or column at that was resized.
bool MetaDown()
Returns true if the Meta key was down at the time of the event.
bool ShiftDown()
Returns true if the Shift key was down at the time of the event.