From: Morton Goldberg Date: 2006-09-07T10:31:00+09:00 Subject: Re: How to properly bind context menus to canvas in Ruby/Tk? On Sep 6, 2006, at 12:50 PM, Josef Wolf wrote: > On Wed, Sep 06, 2006 at 04:00:45AM +0900, Morton Goldberg wrote: >> On Sep 5, 2006, at 2:00 PM, Josef Wolf wrote: > >>> How do you "dismiss" the menu? Whatever I do, I never get the >>> second menu. >> By left clicking -- either on or off the menu. > > Don't work here. > >> Which menu don't you get, the canvas' or the rect's? > > I always get the canvas menu and never see the rectangle's menu. I think the reason my code works differently from yours is because I use separate variable names for the two contextual menus while you use the same one for both. It really does make a difference. Regards, Morton