Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!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: <1991Apr28.134655.15897@bellcore.bellcore.com> Date: 28 Apr 91 13:46:55 GMT References: <9104261609.AA21960@genie.gene.com> <1991Apr26.205122.2273@bellcore.bellcore.com> Sender: usenet@bellcore.bellcore.com (Poster of News) Reply-To: ik@ctt.bellcore.com (Ik Su Yoo) Organization: Bell Communications Research Lines: 14 > WidgetList ch; > Cardinal ch_count; > > XtVaGetValues(form, XmNchildren, &ch, XmNchildCount, &ch_count, NULL); > > Note that `ch' is read-only. Oops, the resources should have been XmNchildren and XmNnumChildren. Also, both `ch' and `ch_count' are read-only. Sorry for the confusion. (BTW, these are documented under Composite(3X).) Ik Su Yoo RRC 1H-229, (908) 699-5764 ik@ctt.bellcore.com