Gtk.TreeView.prototype.get_selection

function get_selection():Gtk.TreeSelection {
    // Gjs wrapper for gtk_tree_view_get_selection()
}

Gets the Gtk.TreeSelection associated with tree_view.

Returns

A Gtk.TreeSelection object.