Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!osf.org!meeks From: meeks@osf.org (W. Scott Meeks) Newsgroups: comp.windows.x.motif Subject: Re: Can I turn off list selection? Message-ID: <9101291559.AA09383@osf.osf.org> Date: 29 Jan 91 15:58:58 GMT References: <2610@meaddata.meaddata.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 17 >From: meaddata!sharonc@uunet.uu.net (Sharon Crichton) > >Hello all. I have a situation where I need to display a list of >items but just for informational purposes. Users cannot do anything >with the items in the list, so I would like to turn off selection. The easiest way to do this is to use XtSetSensitive to set the List widget insensitive. This has no visual effect in 1.1 but it does prevent the user from making selections, though the application can still use the API to make selections from the list. If you have any questions, please ask. W. Scott Meeks | We must live with the fact, true throughout recorded Open Software Foundation | history, that our artifacts are sometimes flawed and meeks@osf.org | cause us to die in novel and unexpected ways, and we (617) 621-7229 | can only do our human best to minimize the problems.