activate


Description:

public virtual bool activate (CellAreaContext context, Widget widget, Rectangle cell_area, CellRendererState flags, bool edit_only)

Activates this, usually by activating the currently focused cell, however some subclasses which embed widgets in the area can also activate a widget if it currently has the focus.

Parameters:

this

a CellArea

context

the CellAreaContext in context with the current row data

widget

the Widget that this is rendering on

cell_area

the size and location of this relative to widget’s allocation

flags

the CellRendererState flags for this for this row of data.

edit_only

if true then only cell renderers that are gtk_cell_renderer_mode_editable will be activated.

Returns:

Whether this was successfully activated.