Gabriel B. wrote:
I'm starting to write a POS application UI's module.

There's no mouse, just a bunch of global shortcuts.

the problem is that TK doesn't have global shortcuts! Is there a
work-around or i will have to attach 80 or so bindings for every input
element?

In Tk here are three levels of binding: instance binding, class binding, and application binding represented by the bind, bind_class, and bind_all methods. You're probably looking for the the bind_all method, as in self.bind_all("<SomeKey>", self.onSomeKey)


HTH,
--
Vincent Wehren



Thanks, Gabriel
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to