Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!sdd.hp.com!wuarchive!uunet!bellcore!snoopy!ik From: ik@snoopy.ctt.bellcore.com (Ik Su Yoo) Newsgroups: comp.windows.x.motif Subject: Re: Way to get list of form's children? Message-ID: <1991Apr26.205122.2273@bellcore.bellcore.com> Date: 26 Apr 91 20:51:22 GMT References: <9104261609.AA21960@genie.gene.com> Sender: usenet@bellcore.bellcore.com (Poster of News) Reply-To: ik@ctt.bellcore.com (Ik Su Yoo) Organization: Bell Communications Research Lines: 22 In article <9104261609.AA21960@genie.gene.com>, dm@gene.com (David Mischel) writes: > > something like: > In R4 : XtGetChildren() & XtGetNumChildren() > > i can't find these functions in my R4 source. what file(s) are they in? > i'm at patch level 18. > I can't either. But try: WidgetList ch; Cardinal ch_count; XtVaGetValues(form, XmNchildren, &ch, XmNchildCount, &ch_count, NULL); Note that `ch' is read-only. Ik Su Yoo RRC 1H-229, (908) 699-5764 ik@ctt.bellcore.com