Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!bloom-beacon!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph Swick) Newsgroups: comp.windows.x Subject: Re: accessing list of children Message-ID: <9007140055.AA27275@lyre.MIT.EDU> Date: 14 Jul 90 00:55:15 GMT References: <9007130024.AA06843@uunet.uu.net> Sender: daemon@athena.mit.edu (Mr Background) Organization: DEC/MIT Project Athena Lines: 7 Sometimes I'm incredibly slow, but I can't find any way to get a list of a widget's children except by accessing the fields of the widget instance As of X11R4, you can use XtGetValues on the XtNchildren and XtNnumChildren resources. (Don't try to set 'em; you're supposed to treat them as read-only.)