From e05d5f7934ce27893f900627fbd06b1679d4c0ad Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 2 Jan 2003 22:58:32 +0000 Subject: kill button release events --- src/bindings.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bindings.hh') diff --git a/src/bindings.hh b/src/bindings.hh index 9d55b751..c51d46be 100644 --- a/src/bindings.hh +++ b/src/bindings.hh @@ -63,7 +63,6 @@ private: otk::OBTimer _timer; PyObject *find(BindingTree *search, bool *conflict) const; - bool translate(const std::string &str, Binding &b) const; BindingTree *buildtree(const StringVect &keylist, PyObject *callback) const; void assimilate(BindingTree *node); @@ -75,6 +74,9 @@ public: //! Destroys the OBBinding object virtual ~OBBindings(); + //! Translates a binding string into the actual Binding + bool translate(const std::string &str, Binding &b, bool askey = true) const; + //! Adds a new key binding /*! A binding will fail to be added if the binding already exists (as part of -- cgit v1.2.3