Gtk.TreeView.prototype.set_hover_selection

function set_hover_selection(hover:Boolean):void {
    // Gjs wrapper for gtk_tree_view_set_hover_selection()
}

Enables or disables the hover selection mode of tree_view. Hover selection makes the selected row follow the pointer. Currently, this works only for the selection modes Gtk.SelectionMode.single and Gtk.SelectionMode.browse.

Since 2.6

hover

true to enable hover selection mode