Gtk.CellArea.prototype.activate_cell
function activate_cell(widget:Gtk.Widget, renderer:Gtk.CellRenderer, event:Gdk.Event, cell_area:Gdk.Rectangle, flags:Gtk.CellRendererState):Boolean { // Gjs wrapper for gtk_cell_area_activate_cell() }
This is used by Gtk.CellArea subclasses when handling events to activate cells, the base Gtk.CellArea class activates cells for keyboard events for free in its own GtkCellArea->activate() implementation.
Since 3.0
- widget
the Gtk.Widget that area is rendering onto
- renderer
the Gtk.CellRenderer in area to activate
- event
the Gdk.Event for which cell activation should occur
- cell_area
the Gdk.Rectangle in widget relative coordinates of renderer for the current row.
- flags
the Gtk.CellRendererState for renderer
- Returns
whether cell activation was successful