Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!organ.cis.ohio-state.edu!cso From: cso@organ.cis.ohio-state.edu (Conleth OConnell) Newsgroups: comp.windows.x Subject: breaking out of XtMainLoop() Keywords: X Toolkit, XtMainLoop Message-ID: <44097@tut.cis.ohio-state.edu> Date: 19 Apr 89 03:35:46 GMT Sender: news@tut.cis.ohio-state.edu Reply-To: Organization: Ohio State University Computer and Information Science Lines: 19 Someone else must have wanted to do this, so pleeeease give me a clue because at the moment I am without one! I am trying to keep at the X Toolkit level, without trying to rewrite a main loop or use too many Xlib routines. I have a callback defined for a list widget to set a global variable to the index in the list that was selected. Now that I have obtained a value, I want to exit the Mainloop, without destroying the windows, so that I can change the list and restart the mainloop. I feel like I should be able to do this but how is not clear to me... Cheers and Thanks, Con O'Connell -=- Conleth S. O'Connell Department of Computer and Information Science cso@cis.ohio-state.edu The Ohio State University 2036 Neil Ave. Columbus, OH USA 43210-1277