On Sat, Oct 18, 2003 at 01:27:27PM -0400, Steve McClure wrote:
> On Sat, 2003-10-18 at 12:39, Alex Roitman wrote:
> > ...
> > Everything works just fine except for one annoying thing. If you right-
> > click and then immediately let go (no holding the right mouse button), 
> > then the menu pops up and the first item immediately gets selected. 
> > I would like instead to have the menu poped up until the items is 
> > chosen in this case, just like the web browsers do it.
> > Is this a different event? How do I catch it?
> > 
> > Interestingly, if the first item is not sensitive, then the menu behaves 
> > the way I want it. Can I make it "behave" in all cases?
> 
> You could pad the top of the menu with an item consisting of an empty
> string.

This is an option, but then the menu has the separator on top. 

I can see that e.g galeon and epiphany get clean menus (no separator) 
to behave correctly, but I'm not that savvy with C to make my way 
through their code. Is this not possible in pygtk?

Alex

-- 
Alexander Roitman   http://ebner.neuroscience.umn.edu/people/alex.html
Dept. of Neuroscience, Lions Research Building
2001 6th Street SE, Minneapolis, MN  55455
Tel (612) 625-7566   FAX (612) 626-9201

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to