[comp.windows.x] OSF/Motif Pulldown Menu Widget

gkssss@hawk.ulowell.edu (Shuhua Shen) (07/12/89)

Hi, I need a OSF/Motif pulldown widget for an application.  By default,
the menu will popdown after  one selection. I need a menu which will
stay until the user has done multiple selections or the user has pressed
the 'exit' button. Does any Motif expert out there could help?. 

Thanks in advance!

                           
                                                     Shuhua Shen

ben@hpcvlx.HP.COM (Benjamin Ellsworth) (07/12/89)

I suggest that you build a dialog of some sort.  A bulletin board
inside of a dialog shell, and add push buttons as neccessary.

If you must use menus, it's going to be really tricky.  You'd better
study up on translations and actions.  The BtnUp action pops down the
menus before it does anything else.  What you'll need to do is replace 
the BtnUp action with one of your own for all buttons that you want to
cause persistent menus.

Good Luck!

-----------------------------------------------------------------------
Benjamin Ellsworth      | ben@cv.hp.com                | INTERNET
Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!ben | UUCP
1000 N.E. Circle        | (USA) (503) 750-4980         | FAX
Corvallis, OR 97330     | (USA) (503) 757-2000         | VOICE
-----------------------------------------------------------------------
                     All relevant disclaimers apply.
-----------------------------------------------------------------------