summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-11 14:06:26 +0200
committerRobin Gareus <robin@gareus.org>2016-04-11 14:06:26 +0200
commitd21f20290515817cd7664301912184edb43c1845 (patch)
tree8d81a1d6a6d644f30b488c65d2603396ebc6d833 /gtk2_ardour/selection.h
parentab01d150be6ba8f7f4a9359586cf19fd604115d6 (diff)
add some more Editor Selection lua bindings
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r--gtk2_ardour/selection.h5
1 files changed, 5 insertions, 0 deletions
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();