summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-07-09 18:10:19 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:22 -0500
commit37fce09a18afe93460baefc15a700633a034d5e3 (patch)
tree89d5ffed65c28957fc5512b74be7e453f0052159 /libs/gtkmm2ext/gtkmm2ext
parent50e4ebff36108804d968bbe878ff4a470b1295f8 (diff)
widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/bindings.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/bindings.h b/libs/gtkmm2ext/gtkmm2ext/bindings.h
index 5277fd772d..413e80655c 100644
--- a/libs/gtkmm2ext/gtkmm2ext/bindings.h
+++ b/libs/gtkmm2ext/gtkmm2ext/bindings.h
@@ -98,6 +98,10 @@ class LIBGTKMM2EXT_API Bindings {
Bindings();
~Bindings ();
+ bool empty() const;
+ bool empty_keys () const;
+ bool empty_mouse () const;
+
void add (KeyboardKey, Operation, Glib::RefPtr<Gtk::Action>);
void remove (KeyboardKey, Operation);
bool activate (KeyboardKey, Operation);
@@ -134,4 +138,6 @@ class LIBGTKMM2EXT_API Bindings {
} // namespace
+std::ostream& operator<<(std::ostream& out, Gtkmm2ext::KeyboardKey& k);
+
#endif /* __libgtkmm2ext_bindings_h__ */