phoenix_title wx.grid.GridEditorCreatedEvent

^^

events Events Emitted by this Class

Handlers bound for the following event types will receive a 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

Inheritance diagram for class GridEditorCreatedEvent:

method_summary Methods Summary

__init__

Default constructor.

GetCol

Returns the column at which the event occurred.

GetControl

Returns the edit control.

GetRow

Returns the row at which the event occurred.

GetWindow

Returns the edit window.

SetCol

Sets the column at which the event occurred.

SetControl

Sets the edit control.

SetRow

Sets the row at which the event occurred.

SetWindow

Sets the edit window.


property_summary Properties Summary

Col

See GetCol and SetCol

Control

See GetControl and SetControl

Row

See GetRow and SetRow

Window

See GetWindow and SetWindow


api Class API

class wx.grid.GridEditorCreatedEvent(CommandEvent)

Possible constructors:

GridEditorCreatedEvent()

GridEditorCreatedEvent(id, type, obj, row, col, ctrl)

^^


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)

Default constructor.



__init__ (self, id, type, obj, row, col, ctrl)

Constructor for initializing all event attributes.

Parameters
  • id (int) –

  • type (wx.EventType) –

  • obj (wx.Object) –

  • row (int) –

  • col (int) –

  • ctrl (wx.Control) –





GetCol(self)

Returns the column at which the event occurred.

Return type

int



GetControl(self)

Returns the edit control.

This function is preserved for compatibility, but 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 SetWindow had been called with an object not deriving from wx.Control, this method will return None.

Return type

Control



GetRow(self)

Returns the row at which the event occurred.

Return type

int



GetWindow(self)

Returns the edit window.

Return type

Window

New in version 4.1/wxWidgets-3.1.3.



SetCol(self, col)

Sets the column at which the event occurred.

Parameters

col (int) –



SetControl(self, ctrl)

Sets the edit control.

This function is preserved for compatibility, but SetWindow should be preferred in the new code, see GetControl .

Parameters

ctrl (wx.Control) –



SetRow(self, row)

Sets the row at which the event occurred.

Parameters

row (int) –



SetWindow(self, window)

Sets the edit window.

Parameters

window (wx.Window) –

New in version 4.1/wxWidgets-3.1.3.


Properties

Col

See GetCol and SetCol



Control

See GetControl and SetControl



Row

See GetRow and SetRow



Window

See GetWindow and SetWindow