Gtk.CellArea.prototype.focus

function focus(direction:Gtk.DirectionType):Boolean {
    // Gjs wrapper for gtk_cell_area_focus()
}

This should be called by the area's owning layout widget when focus is to be passed to area, or moved within area for a given direction and row data.

Implementing Gtk.CellArea classes should implement this method to receive and navigate focus in its own way particular to how it lays out cells.

Since 3.0

direction

the Gtk.DirectionType

Returns

true if focus remains inside area as a result of this call.