********************* wx.grid.GridSizeEvent ********************* Inheritance diagram for `wx.grid.GridSizeEvent`: | .. inheritance-diagram:: wx.grid.GridSizeEvent | Description =========== This event class contains information about a row/column resize event. Derived From ^^^^^^^^^^^^^ * `wx.NotifyEvent `_ * `wx.CommandEvent `_ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ 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``. ================================================== ================================================== Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `AltDown <#AltDown>`_ * `CmdDown <#CmdDown>`_ * `ControlDown <#ControlDown>`_ * `GetPosition <#GetPosition>`_ * `GetRowOrCol <#GetRowOrCol>`_ * `MetaDown <#MetaDown>`_ * `ShiftDown <#ShiftDown>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Position <#Position>`_ * `RowOrCol <#RowOrCol>`_ Class API ========= Methods ^^^^^^^ .. method:: __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 <../grid/wx.grid.Grid.html>`_) * `rowOrCol` (int) * `x` (int) * `y` (int) * `control` (bool) * `shift` (bool) * `alt` (bool) * `meta` (bool) | **Returns:** `wx.grid.GridSizeEvent `_ -------- .. method:: AltDown() Returns ``True`` if the ``Alt`` key was down at the time of the event. | **Returns:** `bool` -------- .. method:: CmdDown() `No docstrings available for this method.` -------- .. method:: ControlDown() Returns ``True`` if the ``Control`` key was down at the time of the event. | **Returns:** `bool` -------- .. method:: GetPosition() Position in pixels at which the event occurred. | **Returns:** `wx.Point <../Widgets/wx.Point.html>`_ -------- .. method:: GetRowOrCol() Row or column at that was resized. | **Returns:** `int` -------- .. method:: MetaDown() Returns ``True`` if the ``Meta`` key was down at the time of the event. | **Returns:** `bool` -------- .. method:: ShiftDown() Returns ``True`` if the ``Shift`` key was down at the time of the event. | **Returns:** `bool` -------- Properties ^^^^^^^^^^ .. attribute:: Position See `GetPosition <#GetPosition>`_ .. attribute:: RowOrCol See `GetRowOrCol <#GetRowOrCol>`_