diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2010-01-04 21:22:08 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2010-01-04 21:22:08 (GMT) |
commit | a8ccacbdfade151ad3f55b530a1841cdb78d7f47 (patch) | |
tree | 83f909d61e5648d9f1f170aba1afebdeb0946e75 /win/tkWinKey.c | |
parent | 046353d490342a66945758497b9f7a8b4c93bdf5 (diff) | |
download | tk-a8ccacbdfade151ad3f55b530a1841cdb78d7f47.zip tk-a8ccacbdfade151ad3f55b530a1841cdb78d7f47.tar.gz tk-a8ccacbdfade151ad3f55b530a1841cdb78d7f47.tar.bz2 |
Fix the <Return> binding for tk_dialog to invoke the focused button.
The standard for Windows and Gtk+ is that the <Return> binding invokes
the button that currently has the keyboard focus. This can be seen in
tk_messageBox which implements this.
This patch implements this feature and also makes use of the tk grab
utility functions to replace the grab handling code.
Diffstat (limited to 'win/tkWinKey.c')
0 files changed, 0 insertions, 0 deletions