Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!ucbvax!BAE.BELLCORE.COM!aw From: aw@BAE.BELLCORE.COM (Andrew Wason) Newsgroups: comp.windows.x.motif Subject: Re: Changing widgets in the client area of a widget Message-ID: <9105011328.AA26408@bellcore.bellcore.com> Date: 1 May 91 13:27:59 GMT References: <773@uswnvg.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 19 uswnvg!dmbeal@uunet.uu.net (Dave Beal) writes: > > I am trying to switch widgets displayed in the client area. > I start my application with a main window, that has a menu > bar and a scrolledTextWidget in the client area. For certain > reasons, I would like to unmanage the scrolledTextWidget and > replace it with a scrolledListWidget. They are both children > of the same main window. Try doing a SetValues on the MainWindows XmNworkWindow resource. Set it to whichever widget you want to be displayed in the work region. Andrew _______________________________________________________________________________ Andrew Wason Bell Communications Research aw@bae.bellcore.com Piscataway, NJ bellcore!bae!aw