****************************** wx.grid.GridEditorCreatedEvent ****************************** Inheritance diagram for `wx.grid.GridEditorCreatedEvent`: | .. inheritance-diagram:: wx.grid.GridEditorCreatedEvent | Description =========== Event for the creation of a `wx.grid.Grid <../grid/wx.grid.Grid.html>`_ editor. Derived From ^^^^^^^^^^^^^ * `wx.CommandEvent `_ * `wx.Event `_ * `wx.Object <../Widgets/wx.Object.html>`_ Event Handling ^^^^^^^^^^^^^^ The event handler for the following functions takes a `wx.grid.GridEditorCreatedEvent` parameter. The ``..._CMD_...`` variants also take a window identifier. ================================================== ================================================== Event Name Description ================================================== ================================================== wx.grid.EVT_GRID_EDITOR_CREATED(func) The editor for a cell was created. Processes a ``wx.grid.wxEVT_GRID_EDITOR_CREATED``. wx.grid.EVT_GRID_CMD_EDITOR_CREATED(id, func) The editor for a cell was created; variant taking a window identifier. Processes a ``wx.grid.wxEVT_GRID_EDITOR_CREATED``. ================================================== ================================================== Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetCol <#GetCol>`_ * `GetControl <#GetControl>`_ * `GetRow <#GetRow>`_ * `SetCol <#SetCol>`_ * `SetControl <#SetControl>`_ * `SetRow <#SetRow>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Col <#Col>`_ * `Control <#Control>`_ * `Row <#Row>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(id, type, obj, row, col, ctrl) Default constructor. **Parameters:** * `id` (int) * `type` (eventtype) * `obj` (`wx.Object <../Widgets/wx.Object.html>`_) * `row` (int) * `col` (int) * `ctrl` (`wx.Control <../Widgets/wx.Control.html>`_) | **Returns:** `wx.grid.GridEditorCreatedEvent `_ -------- .. method:: GetCol() Returns the column at which the event occurred. | **Returns:** `int` -------- .. method:: GetControl() Returns the edit control. | **Returns:** `wx.Control <../Widgets/wx.Control.html>`_ -------- .. method:: GetRow() Returns the row at which the event occurred. | **Returns:** `int` -------- .. method:: SetCol(col) Sets the column at which the event occurred. **Parameters:** * `col` (int) -------- .. method:: SetControl(ctrl) Sets the edit control. **Parameters:** * `ctrl` (`wx.Control <../Widgets/wx.Control.html>`_) -------- .. method:: SetRow(row) Sets the row at which the event occurred. **Parameters:** * `row` (int) -------- Properties ^^^^^^^^^^ .. attribute:: Col See `GetCol <#GetCol>`_ and `SetCol <#SetCol>`_ .. attribute:: Control See `GetControl <#GetControl>`_ and `SetControl <#SetControl>`_ .. attribute:: Row See `GetRow <#GetRow>`_ and `SetRow <#SetRow>`_