Path: utzoo!attcan!uunet!husc6!mailrus!tut.cis.ohio-state.edu!ukma!gatech!gitpyr!joel From: joel@pyr.gatech.EDU (Joel Rives) Newsgroups: comp.windows.x Subject: Re: `tear-off' menus Message-ID: <6576@pyr.gatech.EDU> Date: 14 Oct 88 15:51:59 GMT References: <8810140858.AA01489@snjsn1.SJ.ATE.SLB.COM> Reply-To: joel@pyr.UUCP (Joel Rives) Organization: Office of Computing Services, Georgia Tech Lines: 23 Implementing "tear-off" menus shouldn't be all that difficult. In fact, I have been considering the idea for an application i am working on at the moment. The HP widget set for the X Toolkit provides a nice set of widgets to manage Popup menus. After a precursory look at this set, i concluded that the change would require some means of disabling the unmapping of the menu pane which is done by the menu manager. This could probably be accomplished by adding a flag to the resources for the menu pane, which would be checked by the by the menu manager. The problem becomes a little more complex when dealing with cascading menus. There's also the matter of what to do when the user's button or key events indicate that the whole popu menu structure is to be posted again. If you get around to implementing this, i'd appreciate knowing about it. Otherwise, i'll probably get around to it myself real soon. joel -- The thief Left it behind-- The moon at the window. -Ryokan