^^
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. ^^
Default constructor. |
|
Returns the column at which the event occurred. |
|
Returns the edit control. |
|
Returns the row at which the event occurred. |
|
Returns the edit window. |
|
Sets the column at which the event occurred. |
|
Sets the edit control. |
|
Sets the row at which the event occurred. |
|
Sets the edit window. |
See |
|
wx.grid.
GridEditorCreatedEvent
(CommandEvent)¶Possible constructors:
GridEditorCreatedEvent() -> None
GridEditorCreatedEvent(id : int, type : EventType, obj : Object, row :
int, col : int, ctrl : Control) -> None
^^
__init__
(self, *args, **kw)¶__init__ (self)
Default constructor.
None
__init__ (self, id : int, type : EventType, obj : Object, row : int, col : int, ctrl : Control)
Constructor for initializing all event attributes.
id (int) –
type (wx.EventType) –
obj (wx.Object) –
row (int) –
col (int) –
ctrl (wx.Control) –
None
GetCol
(self)¶Returns the column at which the event occurred.
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
.
GetRow
(self)¶Returns the row at which the event occurred.
int
SetCol
(self, col : int)¶Sets the column at which the event occurred.
col (int) –
None
SetControl
(self, ctrl : Control)¶Sets the edit control.
This function is preserved for compatibility, but SetWindow
should be preferred in the new code, see GetControl
.
ctrl (wx.Control) –
None
SetRow
(self, row : int)¶Sets the row at which the event occurred.
row (int) –
None
SetWindow
(self, window : Window)¶Sets the edit window.
window (wx.Window) –
None
New in version 4.1/wxWidgets-3.1.3.
Control
¶See GetControl
and SetControl