wxdataviewcustomrendererwxdataviewcustomrenderer derived from include files <wx/dataview.h>
wxdataviewcustomrenderer::wxdataviewcustomrenderer
wxdataviewcustomrenderer::wxdataviewcustomrendererwxdataviewcustomrenderer(const wxstring& varianttype = wxt("string"), wxdataviewcellmode mode = wxdataview_cell_inert, bool no_init = false) constructor.
wxdataviewcustomrenderer::~wxdataviewcustomrenderer~wxdataviewcustomrenderer() destructor.
wxdataviewcustomrenderer::activatevirtual bool activate(wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row) override this to react to double clicks or <enter>.
wxdataviewcustomrenderer::getdcvirtual wxdc* getdc() create dc on request. internal.
wxdataviewcustomrenderer::getsizevirtual wxsize getsize() return size required to show content.
wxdataviewcustomrenderer::leftclickvirtual bool leftclick(wxpoint cursor, wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row) overrride this to react to a left click.
wxdataviewcustomrenderer::rendervirtual bool render(wxrect cell, wxdc* dc, int state) override this to render the cell. before this is called, setvalue was called so that this instance knows what to render.
wxdataviewcustomrenderer::rightclickvirtual bool rightclick(wxpoint cursor, wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row) overrride this to react to a right click.
wxdataviewcustomrenderer::startdragvirtual bool startdrag(wxpoint cursor, wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row) overrride this to start a drag operation.
|