Gtk.CellRenderer.prototype.activate

function activate(event:Gdk.Event, widget:Gtk.Widget, path:String, background_area:Gdk.Rectangle, cell_area:Gdk.Rectangle, flags:Gtk.CellRendererState):Boolean {
    // Gjs wrapper for gtk_cell_renderer_activate()
}

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

event

a Gdk.Event

widget

widget that received the event

path

widget-dependent string representation of the event location; e.g. for Gtk.TreeView, a string representation of Gtk.TreePath

background_area

background area as passed to Gtk.render

cell_area

cell area as passed to Gtk.render

flags

render flags

Returns

true if the event was consumed/handled