teeshift wrote:
> I have tried
> 
> @canvas.bind('k', proc{|e| })
> @canvas.bind('KeyPress-k', proc{|e| })
> @canvas.bind('Key-k', proc{|e| })
> 
> well... none of them work.

Try
       root.bind("Key-k") {...}

IIRC, the reason is that key events are sent to the top level window 
unless you have focused on a subwindow.

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407