From d21f20290515817cd7664301912184edb43c1845 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 11 Apr 2016 14:06:26 +0200 Subject: add some more Editor Selection lua bindings --- gtk2_ardour/selection.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/selection.h') diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index aa9510beed..c9f5eddb4f 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -107,6 +107,11 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList void block_tracks_changed (bool); void clear (); + + /** check if all selections are empty + * @param internal_selection also check object internals (e.g midi notes, automation points), when false only check objects. + * @return true if nothing is selected. + */ bool empty (bool internal_selection = false); void dump_region_layers(); -- cgit v1.2.3