Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!rochester!kodak!ispd-newsserver!sydorow From: sydorow@bisco.kodak.com (Steve Sydorowicz) Newsgroups: comp.windows.x.motif Subject: Re: Determining children widget IDs Message-ID: <1990Dec28.164430.9059@ssd.kodak.com> Date: 28 Dec 90 16:44:30 GMT References: <20.277b089c@idicl1.idi.battelle.org> Sender: news@ssd.kodak.com Organization: Eastman Kodak Lines: 22 grywalski@idicl1.idi.battelle.org writes: > There may be a simple answer to this question but I have consulted >the FAQ and all the doc that I can get my hands on and have not been able to >find it. What is the best way to obtain a list of all the children of a widget >like the Motif RowColumn widget? DEC provided a DwtChildren call that >returned a WidgetList given a CompositeWidget in it's toolkit. I have not been >able to find a simular function under Motif. Thanks in advance... You can use XtSetArgs/XtGetValues setting up XmNchildren & XmNnumChildren. These resources are inherited for any subclass of Composite and are of type WidgetList (array) and Cardinal respectively. These resources are *READ-ONLY*, so don't muck with 'em ;-) -- -------------------------------------------------------------------------------- Stephen J. Sydorowicz Azatar Computer Systems REPLY TO: sydorow@bisco.kodak.com (716)726-5636 Opinions expressed are "mine and mine alone."