Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!boulder!stan!stan!toml From: toml@ninja.Solbourne.COM (Tom LaStrange) Newsgroups: comp.windows.x Subject: Re: twm & popup menus Message-ID: Date: 24 Dec 90 16:17:00 GMT References: Sender: news@Solbourne.COM Organization: Solbourne Computer, Inc. Lines: 26 In-Reply-To: saraiya@SUMEX-AIM.STANFORD.EDU's message of 20 Dec 90 00:34:20 GMT I would like to be able to customize the behavior of twm menus (i.e., those defined in my .twmrc) so that: one button press will pop up the menu (& the corresponding button release is ignored) another button press will select the item under the pointer & deexpose the menu I find that the default depress-drag-release sequence is rather unwieldy for long menus; besides, my application uses the above behavior for all its popup menus. So, can this be done with twm, and how? I have patches in hand that implement this for tvtwm. The next version of tvtwm should have them integrated so you might be able to extract what you need. -- Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM 1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml Longmont, CO 80501