Newsgroups: comp.windows.x.motif
Path: utzoo!utgpu!cunews!bnrgate!bigsur!news
From: bigsur!spock.uucp (Son of Sarek)
Subject: popup menus
Message-ID: <1991Feb28.184221.19518@bigsur.uucp>
Sender: news@bigsur.uucp
Organization: Bell-Northern Research, Ottawa, Canada
Date: Thu, 28 Feb 91 18:42:21 GMT

Hi,

I am trying to attach a unique popup menu to each widget in a hierarchy.

If I press button 2, my callback is invoked with the correct widget and menu.
If I press button 3, my callback is invoked with the deepest ancestor which
has a popup menu defined.

According to the Programmer's Guide, "The Popup menu system is normally
associated with a particular widget and all of that widget's decendents".

I assume this is a feature, but does anybody know how to turn it off?
I would really like to use button 3 and still display the correct menu.

If you have any working example of this sort of thing please contact me.

Thank you - spock@bigsur.uucp

