I'm trying to track down a difference in how our right mouse button popup
menus behave under Lesstif.
With Lesstif, clicking the right button pops up a menu (over a drawing area
in this case) and releasing it makes it pop down (like it's spring-loaded).
With Motif, the release would leave the menu open unless you actually picked
something off the menu.

We're creating the menu using XmCreatePopupMenu, adding a bunch of widgets,
and then calling XtManageChild() to make it popup.

In tracing through the code, the thing that pops it down is
MenuShellPopdownDone which is an XtActionProc and is being called through a
translation.  The problem is that I can't find anything that actually sets
up this translation.  The function is listed in an array of XtActionRecs for
MenuShell, but I can't find any translation which uses the action.  There is
one place in RowColumn.c that calls XtCallActionProc() to call it, but it's
not getting there.  There's also a copy of the function pointer in the
XtMenuShell class part, and it gets used in one place, but not in this case.

So the question is, what is setting up the translation that causes
MenuShellPopdownDone to be called on mouse up?

 -- Dave Williss
------
Meddle not in the affairs of dragons,
   for you are crunchy and taste good with catsup



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Lesstif-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

Reply via email to