Gtk.TreeView.prototype.set_rubber_banding

function set_rubber_banding(enable:Boolean):void {
    // Gjs wrapper for gtk_tree_view_set_rubber_banding()
}

Enables or disables rubber banding in tree_view. If the selection mode is #GTK_SELECTION_MULTIPLE, rubber banding will allow the user to select multiple rows by dragging the mouse.

Since 2.10

enable

true to enable rubber banding