Re: Popup (context) menu behavior is strange

This is a common problem in pop-up menus.  The menu should pop up
located in such a place as not to have any item directly under the mouse
location.  A work-around when available is for the caller to add a pixel
or a few to the menu location, but the right answer is for the popup
method (here, show()) to ensure this for all applications.

On Sun, 2003-01-19 at 02:28, Steve Fox wrote:
On Sat, 2003-01-18 at 23:54, Steve Fox wrote:

If you simply
right click and release, it selects the first menu item immediately
rather than just displaying the menu. 

I re-read this and this sentence seemed a little unclear.

It selects the first menu item and activates it. In my code example, the
chat client immediately opens a chat window if you right-click because
Chat is the first menu item.


Steve Fox
gtk-perl-list mailing list
gtk-perl-list gnome org

[ e d @ h a l l e y . c c ]

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