[comp.windows.x] popup menus

spock.uucp (Son of Sarek) (03/02/91)

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 Motif 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