Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!uc!noc.MR.NET!msi.umn.edu!umeecs!umich!samsung!cs.utexas.edu!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: Moving motif widgets Message-ID: <144249@sun.Eng.Sun.COM> Date: 26 Oct 90 03:05:14 GMT References: <1073@dcl-vitus.comp.lancs.ac.uk> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 19 In article <1073@dcl-vitus.comp.lancs.ac.uk> andy@dcl-cs.UUCP (Andy Colebourne) writes: > I want to use motif to have a window containing a number of widgets that > can be moved around using the mouse. I assume you're allowing the user to interactively drag a widget around inside of its parent? > I have tried: > [1] unmanage the widget > [2] set the resources for the position (XmNx, XmNy) using XtSetValues > [3] manage the widget Why are you unmanaging the widget? Just do [2] and it should work. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.