$szTitle = "wxdataviewcustomrenderer"; include "./_header.inc"; ?>
wxdataviewcustomrenderer
derived from
include files
<wx/dataview.h>
wxdataviewcustomrenderer::wxdataviewcustomrenderer
wxdataviewcustomrenderer::~wxdataviewcustomrenderer
wxdataviewcustomrenderer::activate
wxdataviewcustomrenderer::getdc
wxdataviewcustomrenderer::getsize
wxdataviewcustomrenderer::leftclick
wxdataviewcustomrenderer::render
wxdataviewcustomrenderer::rightclick
wxdataviewcustomrenderer::startdrag
wxdataviewcustomrenderer(const wxstring& varianttype = wxt("string"), wxdataviewcellmode mode = wxdataview_cell_inert, bool no_init = false)
constructor.
~wxdataviewcustomrenderer()
destructor.
virtual bool activate(wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row)
override this to react to double clicks or <enter>.
virtual wxdc* getdc()
create dc on request. internal.
virtual wxsize getsize()
return size required to show content.
virtual bool leftclick(wxpoint cursor, wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row)
overrride this to react to a left click.
virtual 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.
virtual bool rightclick(wxpoint cursor, wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row)
overrride this to react to a right click.
virtual bool startdrag(wxpoint cursor, wxrect cell, wxdataviewlistmodel* model, unsigned int col, unsigned int row)
overrride this to start a drag operation.
include "./_footer.inc"; ?>