Gtk.CellArea.prototype.get_focus_from_sibling
function get_focus_from_sibling(renderer:Gtk.CellRenderer):Gtk.CellRenderer { // Gjs wrapper for gtk_cell_area_get_focus_from_sibling() }
Gets the Gtk.CellRenderer which is expected to be focusable for which renderer is, or may be a sibling.
This is handy for Gtk.CellArea subclasses when handling events, after determining the renderer at the event location it can then chose to activate the focus cell for which the event cell may have been a sibling.
Since 3.0
- renderer
the Gtk.CellRenderer
- Returns
the Gtk.CellRenderer for which renderer is a sibling, or null.