summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext/bindings.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-01-12 20:50:42 +0100
committerRobin Gareus <robin@gareus.org>2017-01-12 20:53:20 +0100
commitcd14e8f2e10c45116274da4c902f63a76e5d3a01 (patch)
tree01acafe97b932dd092ced8d1f4469554dd08f706 /libs/gtkmm2ext/gtkmm2ext/bindings.h
parentabe093dcc900ccde3d7b5d9ea12d39f37280a479 (diff)
add API to query name of bound action
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext/bindings.h')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/bindings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/bindings.h b/libs/gtkmm2ext/gtkmm2ext/bindings.h
index d216e04752..f4e71f89b2 100644
--- a/libs/gtkmm2ext/gtkmm2ext/bindings.h
+++ b/libs/gtkmm2ext/gtkmm2ext/bindings.h
@@ -178,6 +178,7 @@ class LIBGTKMM2EXT_API Bindings {
bool activate (MouseButton, Operation);
bool is_bound (KeyboardKey const&, Operation) const;
+ std::string bound_name (KeyboardKey const&, Operation) const;
bool is_registered (Operation op, std::string const& action_name) const;
KeyboardKey get_binding_for_action (Glib::RefPtr<Gtk::Action>, Operation& op);