wx.grid.GridSizeEvent

Inheritance diagram for wx.grid.GridSizeEvent:



Description

This event class contains information about a row/column resize event.

Event Handling

The event handler for the following functions takes a wx.grid.GridSizeEvent parameter. The ..._CMD_... variants also take a window identifier.

Event Name Description
wx.grid.EVT_GRID_COL_SIZE(func) The user resized a column by dragging it. Processes a wx.grid.wxEVT_GRID_COL_SIZE.
wx.grid.EVT_GRID_ROW_SIZE(func) The user resized a row by dragging it. Processes a wx.grid.wxEVT_GRID_ROW_SIZE.
wx.grid.EVT_GRID_CMD_COL_SIZE(func) The user resized a column by dragging it; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_COL_SIZE.
wx.grid.EVT_GRID_CMD_ROW_SIZE(func) The user resized a row by dragging it; variant taking a window identifier. Processes a wx.grid.wxEVT_GRID_ROW_SIZE.

Properties Summary

Class API

Methods

__init__(id, type, obj, rowOrCol=-1, x=-1, y=-1, control=False, shift=False, alt=False, meta=False)

Constructor.

Parameters:

  • id (int)
  • type (eventtype)
  • obj (wx.grid.Grid)
  • rowOrCol (int)
  • x (int)
  • y (int)
  • control (bool)
  • shift (bool)
  • alt (bool)
  • meta (bool)

Returns:

wx.grid.GridSizeEvent


AltDown()

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


Returns:

bool


CmdDown()
No docstrings available for this method.

ControlDown()

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


Returns:

bool


GetPosition()

Position in pixels at which the event occurred.


Returns:

wx.Point


GetRowOrCol()

Row or column at that was resized.


Returns:

int


MetaDown()

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


Returns:

bool


ShiftDown()

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


Returns:

bool


Properties

Position
See GetPosition
RowOrCol
See GetRowOrCol