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 `GtkCellArea`

context

the `GtkCellArea`Context in context with the current row data

widget

the `GtkWidget` that this is rendering on

cell_area

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

flags

the `GtkCellRenderer`State 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.




2022 vala-language.org