activate

open fun activate(    event: <Error class: unknown class>,     widget: Widget,     path: String,     backgroundArea: <Error class: unknown class>,     cellArea: <Error class: unknown class>,     flags: CellRendererState): Boolean(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

---

Passes an activate event to the cell renderer for possible processing. Some cell renderers may use events; for example, GtkCellRendererToggle toggles when it gets a mouse click.

Return

true if the event was consumed/handled

Parameters

event

a GdkEvent

widget

widget that received the event

path

widget-dependent string representation of the event location; e.g. for GtkTreeView, a string representation of GtkTreePath

backgroundArea

background area as passed to gtk_cell_renderer_render()

cellArea

cell area as passed to gtk_cell_renderer_render()

flags

render flags