.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2018 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

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>GridEditorCreatedEvent</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.grid.GridEditorCreatedEvent_inheritance.png" alt="Inheritance diagram of GridEditorCreatedEvent" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.grid.GridEditorCreatedEvent.html" title="=====================================" alt="" coords="5,237,240,267"/> <area shape="rect" id="node2" href="wx.CommandEvent.html" title="This event class contains information about command events, which originate from a variety of simple controls." alt="" coords="47,160,199,189"/> <area shape="rect" id="node3" href="wx.Event.html" title="An event is a structure holding information about an event passed to a callback or member function." alt="" coords="81,83,164,112"/> <area shape="rect" id="node4" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="79,5,167,35"/> </map> 
   </p>
   </div>

|


|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.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.
================================================================================ ================================================================================


|


|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`
================================================================================ ================================================================================


|


|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:`<hr class="overloadsep" /><br />`

      
      **__init__** `(self)`
      
      Default constructor.                   
      
      
      
      
      :html:`<hr class="overloadsep" /><br />`

      
      **__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:`<hr class="overloadsep" /><br />`






   .. method:: GetCol(self)

      Returns the column at which the event occurred.                  

      :rtype: `int`








   .. method:: GetControl(self)

      Returns the edit control.                  

      :rtype: `Control`     








   .. method:: GetRow(self)

      Returns the row at which the event occurred.                  

      :rtype: `int`








   .. 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.                  


      :param `ctrl`: 
      :type `ctrl`: wx.Control







   .. method:: SetRow(self, row)

      Sets the row at which the event occurred.                  


      :param `row`: 
      :type `row`: int







   .. 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`