Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!uunet!inkwell!ivan!jhc From: jhc@ivan.uucp (James H. Coombs) Newsgroups: comp.windows.x.motif Subject: Re: Getting the same popup menu on several different windows Keywords: Graphs, contour plots, Motif Message-ID: <54438@inkwell.UUCP> Date: 20 Mar 91 17:23:29 GMT References: <18768@ogicse.ogi.edu> <1991Mar19.061108.7197@athena.mit.edu> <54435@inkwell.UUCP> <54436@inkwell.UUCP> Sender: news@inkwell.UUCP Reply-To: jhc@ivan.UUCP (James H. Coombs) Distribution: usa Organization: IRIS - Brown University Lines: 15 In article <54436@inkwell.UUCP> jhc@ivan.UUCP (James H. Coombs) writes: >In article <54435@inkwell.UUCP> jhc@ivan.UUCP (James H. Coombs) writes: >>In article <1991Mar19.061108.7197@athena.mit.edu> alice@athena.mit.edu (Timothy R Wall) writes: >>>.... >>>The problem is that the menu won't post in the MainWindow; I >>>get a right-pointing arrow with a BP > >destroy the popup when it is unmapped. Ok, here is another solution. Create a dummy widget to use as the parent of the popup. Never manage the dummy widget, just use it as the parent. This approach seems to work fine, and it makes it possible to re-use the popup and its children. --Jim