From: Jacob L. <jy...@mo...> - 2003-09-22 14:54:50
|
To pile on, as I pointed out via the Tcl Chat to the authors, this TIP is not only about the Enter key, its about *all* the keys that appear on the keypad and which have equivalent non-keypad keys. All the numeric keys, plus, minus, mult, divide, dot (.), etc. And I just looked at my daughter's keyboard on her windows PC, and there's a few marks on there that I cannot figure out (don't know if they're related to this TIP but probably): how would one bind portably to the 'HOME', 'END', 'PGUP', 'PGDOWN', 'INSERT', 'DEL', and 'NUMLOCK' keys? Would they now also require Mod4 prefixes? --JYL > On Sun, 21 Sep 2003, Kevin Kenny wrote: >> Ben...@ep... said: >> >> (and does not bind _<Mod4-Enter>_) >> >> > You want <Mod4-Return> here, I think. > > One example of why I far prefer the 'alternative' which this TIP > rejects. You want to bind Enter, but instead have to bind Mod4-Return. > Even the TIP authors were confused and wrote the wrong code! > > Neither the TIP nor the patch cited makes clear what changes you expect > to make to Tk's man pages to explain the peculiar handling of these > keys. Perhaps it would be helpful to explain the differences between the > 'KP_Enter' alternative (man page becomes simpler if anything) and what > you propose. > > For the record, I would suggest the alternative tip "KP_Enter is only > currently recognised on Unix. This is a bug for a cross-platform > toolkit. This TIP proposes to add support for KP_Enter to Windows. ... > Existing Tcl scripts written for Unix will now work correctly on > Windows. Existing scripts on Windows which assumed Return and KP_Enter > would actually both generate Return events will now need to be fixed." > > cheers, > > Vince. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tcl-Core mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core |