wx.grid.GridEditorCreatedEvent¶
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.
Methods Summary¶Default constructor. |
|
Returns the column at which the event occurred. |
|
Returns the edit control. |
|
Returns the row at which the event occurred. |
|
Sets the column at which the event occurred. |
|
Sets the edit control. |
|
Sets the row at which the event occurred. |
Class API¶wx.grid.GridEditorCreatedEvent(CommandEvent)¶Possible constructors:
GridEditorCreatedEvent()
GridEditorCreatedEvent(id, type, obj, row, col, ctrl)
__init__(self, *args, **kw)¶__init__ (self)
Default constructor.
__init__ (self, id, type, obj, row, col, ctrl)
Constructor for initializing all event attributes.
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.
int
GetRow(self)¶Returns the row at which the event occurred.
int
SetCol(self, col)¶Sets the column at which the event occurred.
col (int) –
SetControl(self, ctrl)¶Sets the edit control.
ctrl (wx.Control) –
SetRow(self, row)¶Sets the row at which the event occurred.
row (int) –
Control¶See GetControl and SetControl