summaryrefslogtreecommitdiffstats
path: root/library/demos/items.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-04 21:22:08 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-04 21:22:08 (GMT)
commita8ccacbdfade151ad3f55b530a1841cdb78d7f47 (patch)
tree83f909d61e5648d9f1f170aba1afebdeb0946e75 /library/demos/items.tcl
parent046353d490342a66945758497b9f7a8b4c93bdf5 (diff)
downloadtk-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 'library/demos/items.tcl')
0 files changed, 0 insertions, 0 deletions