From: Brian G. <bri...@ea...> - 2005-02-23 06:04:53
|
Hi Germinator, "1" has special meaning in Tk, it means Mouse Button 1 or <Button-1>. =20= I think you need to put <Command-Key-1>. Using just the character as=20 in <Command-r> is really a shorthand for <Command-Key-r>. -Brian On Feb 22, 2005, at 6:13 PM, J=E9r=F4me Gagnon-Voyer wrote: > Hi > > I'm trying to bind the key <Command-1> (or command-any_number) and=20 > there's no answer. But it works for command-r (or any letter) > example: > > bind . <Command-r> {puts yo} > Works as espected > > bind . <Command-1> {puts yo} > Nothing happen > > Do you know where is the problem? > > Germinator > eMail: gag...@ma... > MSN Messenger: gag...@ho... > iChat & AIM: gag...@ma... > Skype: germinator5000 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real=20 > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > |