Re: Scrolling menus take 3



On 27 Oct 2000, Owen Taylor wrote:

> So, what's the solution? I think the easy and good-enough approach is
> simply to have the optionmenu select the current item itself
> when it pops the menu up.
> 
> The complicated, but really correct solution would be to use
> XGrabButton to establish a passive grab on the option menu
> with pointer_mode of GrabModeSync, then once the popup window
> is up, call XAllowEvents. But that doesn't fit well into
> the GTK+ model at all.

Ok, this is clearly out of my league X-event wise, so I'll just implement
the simple solution. I still don't understand why it used to work though.

/ Alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]