Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!samsung!crackers!m2c!wpi!daven From: daven@wpi.wpi.edu (David N Nedde) Newsgroups: comp.windows.x Subject: Blocking question/Xt sequential widget operation? Keywords: blocking,widget Message-ID: <14784@wpi.wpi.edu> Date: 30 Aug 90 21:38:58 GMT Organization: Worcester Polytechnic Institute, Worcester, Mass. Lines: 11 Is there anyway to write a function that will pop up a list of items, let you select one, and return the index to you? I know how to use the athena list widget and popups, but XtPopup returns immediatly and I don't know how to make the function wait or block until the callback for the selection is called. I suppose I could poll some global variable, but there must be a better way. I am using Athena widgets, but I think Motif has a similar problem. -- David Nedde, Computer Science Dept. daven@maxine.wpi.edu Worcester Polytechnic Institute (508) 831-5117/5668 Worcester, MA 01609