From: Morton Goldberg Date: 2006-07-28T23:42:52+09:00 Subject: Re: Ruby::Tk on OS X event binding hint On Jul 28, 2006, at 8:50 AM, Matthew Smillie wrote: > Just as an interface technicality, command-shift-q is a global > shortcut for logging out, not for quitting an application. I've done the testing that I should have done before my first post on this thread, and just as another technicality, a ruby application, not the system, gets the command-shift-q event when the app's window is active, so inside a ruby app, Cmnd+Shift+q _will_ work as a quit command with the binding Tk.root.bind('Command-Q') {exit} But that doesn't make it a good idea; it would be poor design practice to use such a binding. Regards, Morton