Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!dce From: dce@smsc.sony.com (David Elliott) Newsgroups: comp.windows.x.motif Subject: Select vs. deselect in single mode XmList Message-ID: <1991Feb22.164807.4256@smsc.sony.com> Date: 22 Feb 91 16:48:07 GMT Sender: dce@smsc.sony.com (David Elliott) Organization: Sony Microsystems Corp, San Jose, CA Lines: 8 I was working with an XmList in single selection mode, and I noticed that when I clicked or double-clicked an item that I got the same callback whether the item was hilited or unhilited. Is there a way to tell from the callback what the state of the item is, or is this mode simply assumed to be a "toggle". Luckily, browse select mode does exactly what I want (callback for selection and a different callback for default action).