vincent wehren wrote:
Gabriel B. wrote:

I'm starting to write a POS application UI's module.
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

Oh and you of course __must__ look at the (recently updated!) New Mexico Tech tkinter document at:
http://infohost.nmt.edu/tcc/help/pubs/tkinter.pdf


See page 75 and follwing for more info on keyboard bindings...

--

Vincent Wehren



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

Reply via email to