DOKK / manpages / debian 10 / libmotif-dev / XmContainerGetItemChildren.3.en
XmContainerGetItemChildren(3) Library Functions Manual XmContainerGetItemChildren(3)

XmContainerGetItemChildren — Container widget function to find all children of an item "XmContainerGetItemChildren" "XmContainer"

#include <Xm/Container.h>
int XmContainerGetItemChildren(
Widget container,
Widget item,
WidgetList * item_children);

XmContainerGetItemChildren allocates a WidgetList and stores within it the widget IDs of all widgets that have item specified as the value of their XmNentryParent resource. The application programmer is responsible for freeing the allocated WidgetList using XtFree. The number of widget IDs returned in item_children is returned by the function. If no widgets specify item as the value of their XmNentryParent resource, the function returns zero and item_children is left unchanged.

Specifies the Container widget ID.
Specifies a widgetID within container.
Returned array of Widgets.

For a complete definition of Container and its associated resources, see XmContainer(3).

This function returns a count of all widgets that have item specified as the value of their XmNentryParent resource.

XmContainer(3).