summaryrefslogtreecommitdiff
path: root/src/bindings.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-02 22:58:32 +0000
committerDana Jansens <danakj@orodu.net>2003-01-02 22:58:32 +0000
commite05d5f7934ce27893f900627fbd06b1679d4c0ad (patch)
tree553ced7070d991c96016e5dca53e6068991602e4 /src/bindings.hh
parent54da8e404b0baa8b4521ce14c8eb9a28ea64e7f9 (diff)
kill button release events
Diffstat (limited to 'src/bindings.hh')
-rw-r--r--src/bindings.hh4
1 files changed, 3 insertions, 1 deletions
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