contents up previous next

wxgrideditorcreatedevent

derived from

wxcommandevent
wxevent
wxobject

event handling

the event handler for the following functions takes a wxgrideditorcreatedevent parameter. the ..._cmd_... variants also take a window identifier.

evt_grid_editor_created(func) the editor for a cell was created. processes a wxevt_grid_editor_created.
evt_grid_cmd_editor_created(id, func) the editor for a cell was created; variant taking a window identifier. processes a wxevt_grid_editor_created.
include files

<wx/grid.h>

members

wxgrideditorcreatedevent::wxgrideditorcreatedevent
wxgrideditorcreatedevent::getcol
wxgrideditorcreatedevent::getcontrol
wxgrideditorcreatedevent::getrow
wxgrideditorcreatedevent::setcol
wxgrideditorcreatedevent::setcontrol
wxgrideditorcreatedevent::setrow


wxgrideditorcreatedevent::wxgrideditorcreatedevent

wxgrideditorcreatedevent()

default constructor.

wxgrideditorcreatedevent(int id, wxeventtype type, wxobject* obj, int row, int col, wxcontrol* ctrl)


wxgrideditorcreatedevent::getcol

int getcol()

returns the column at which the event occurred.


wxgrideditorcreatedevent::getcontrol

wxcontrol* getcontrol()

returns the edit control.


wxgrideditorcreatedevent::getrow

int getrow()

returns the row at which the event occurred.


wxgrideditorcreatedevent::setcol

void setcol(int col)

sets the column at which the event occurred.


wxgrideditorcreatedevent::setcontrol

void setcontrol(wxcontrol* ctrl)

sets the edit control.


wxgrideditorcreatedevent::setrow

void setrow(int row)

sets the row at which the event occurred.