.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.grid.GridEditorCreatedEvent: ========================================================================================================================================== |phoenix_title| **wx.grid.GridEditorCreatedEvent** ========================================================================================================================================== ^^ .. _GridEditorCreatedEvent-events: |events| Events Emitted by this Class ===================================== Handlers bound for the following event types will receive a :ref:`wx.grid.GridEditorCreatedEvent` parameter. - EVT_GRID_EDITOR_CREATED: The editor for a cell was created. Processes a ``wxEVT_GRID_EDITOR_CREATED`` event type. - EVT_GRID_CMD_EDITOR_CREATED: The editor for a cell was created; variant taking a window identifier. Processes a ``wxEVT_GRID_EDITOR_CREATED`` event type. ^^ | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class GridEditorCreatedEvent:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.grid.GridEditorCreatedEvent.__init__` Default constructor. :meth:`~wx.grid.GridEditorCreatedEvent.GetCol` Returns the column at which the event occurred. :meth:`~wx.grid.GridEditorCreatedEvent.GetControl` Returns the edit control. :meth:`~wx.grid.GridEditorCreatedEvent.GetRow` Returns the row at which the event occurred. :meth:`~wx.grid.GridEditorCreatedEvent.GetWindow` Returns the edit window. :meth:`~wx.grid.GridEditorCreatedEvent.SetCol` Sets the column at which the event occurred. :meth:`~wx.grid.GridEditorCreatedEvent.SetControl` Sets the edit control. :meth:`~wx.grid.GridEditorCreatedEvent.SetRow` Sets the row at which the event occurred. :meth:`~wx.grid.GridEditorCreatedEvent.SetWindow` Sets the edit window. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.grid.GridEditorCreatedEvent.Col` See :meth:`~wx.grid.GridEditorCreatedEvent.GetCol` and :meth:`~wx.grid.GridEditorCreatedEvent.SetCol` :attr:`~wx.grid.GridEditorCreatedEvent.Control` See :meth:`~wx.grid.GridEditorCreatedEvent.GetControl` and :meth:`~wx.grid.GridEditorCreatedEvent.SetControl` :attr:`~wx.grid.GridEditorCreatedEvent.Row` See :meth:`~wx.grid.GridEditorCreatedEvent.GetRow` and :meth:`~wx.grid.GridEditorCreatedEvent.SetRow` :attr:`~wx.grid.GridEditorCreatedEvent.Window` See :meth:`~wx.grid.GridEditorCreatedEvent.GetWindow` and :meth:`~wx.grid.GridEditorCreatedEvent.SetWindow` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.grid.GridEditorCreatedEvent(CommandEvent) **Possible constructors**:: GridEditorCreatedEvent() GridEditorCreatedEvent(id, type, obj, row, col, ctrl) ^^ .. method:: __init__(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **__init__** `(self)` Default constructor. :html:`

` **__init__** `(self, id, type, obj, row, col, ctrl)` Constructor for initializing all event attributes. :param `id`: :type `id`: int :param `type`: :type `type`: wx.EventType :param `obj`: :type `obj`: wx.Object :param `row`: :type `row`: int :param `col`: :type `col`: int :param `ctrl`: :type `ctrl`: wx.Control :html:`

` .. method:: GetCol(self) Returns the column at which the event occurred. :rtype: `int` .. method:: GetControl(self) Returns the edit control. This function is preserved for compatibility, but :meth:`GetWindow` should be preferred in the new code as the associated window doesn't need to be of a Control-derived class. Note that if :meth:`SetWindow` had been called with an object not deriving from :ref:`wx.Control`, this method will return ``None``. :rtype: `Control` .. method:: GetRow(self) Returns the row at which the event occurred. :rtype: `int` .. method:: GetWindow(self) Returns the edit window. :rtype: `Window` .. versionadded:: 4.1/wxWidgets-3.1.3 .. method:: SetCol(self, col) Sets the column at which the event occurred. :param `col`: :type `col`: int .. method:: SetControl(self, ctrl) Sets the edit control. This function is preserved for compatibility, but :meth:`SetWindow` should be preferred in the new code, see :meth:`GetControl` . :param `ctrl`: :type `ctrl`: wx.Control .. method:: SetRow(self, row) Sets the row at which the event occurred. :param `row`: :type `row`: int .. method:: SetWindow(self, window) Sets the edit window. :param `window`: :type `window`: wx.Window .. versionadded:: 4.1/wxWidgets-3.1.3 .. attribute:: Col See :meth:`~wx.grid.GridEditorCreatedEvent.GetCol` and :meth:`~wx.grid.GridEditorCreatedEvent.SetCol` .. attribute:: Control See :meth:`~wx.grid.GridEditorCreatedEvent.GetControl` and :meth:`~wx.grid.GridEditorCreatedEvent.SetControl` .. attribute:: Row See :meth:`~wx.grid.GridEditorCreatedEvent.GetRow` and :meth:`~wx.grid.GridEditorCreatedEvent.SetRow` .. attribute:: Window See :meth:`~wx.grid.GridEditorCreatedEvent.GetWindow` and :meth:`~wx.grid.GridEditorCreatedEvent.SetWindow`