summaryrefslogtreecommitdiffstats
path: root/generic/tkCursor.c
diff options
context:
space:
mode:
authormdejong <mdejong>2003-04-14 23:34:38 (GMT)
committermdejong <mdejong>2003-04-14 23:34:38 (GMT)
commitc0eda27e6633bfc5790cbb82bb8684a4a3d13abf (patch)
tree0843c40903b1ad5380b2e08c2ebf09cd5bbb4315 /generic/tkCursor.c
parent7da91f4ded6684e544186183922f03297ff2eeb1 (diff)
downloadtk-c0eda27e6633bfc5790cbb82bb8684a4a3d13abf.zip
tk-c0eda27e6633bfc5790cbb82bb8684a4a3d13abf.tar.gz
tk-c0eda27e6633bfc5790cbb82bb8684a4a3d13abf.tar.bz2
* generic/tkBind.c (TkpGetBindingXEvent): Add helper method
that can be used to query the XEvent* for the currently executing binding. * generic/tkInt.h: Declare TkpGetBindingXEvent. * win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd, TkpInitializeMenuBindings): Rename MenuKeyBindProc to TkWinMenuKeyObjCmd and convert it into a Tcl command named tk::tkWinMenuKey. Bind keyboard accelerator actions to this Tcl command instead of using a native C binding. This makes it possible to extend the existing binding with Tcl code and makes the Windows version work just like the unix version.
Diffstat (limited to 'generic/tkCursor.c')
0 files changed, 0 insertions, 0 deletions