---
name: "XmHierarchyGetChildNodes"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmHierarchyGetChildNodes"
---

# XmHierarchyGetChildNodes(3)

A List function that returns all instances of an item in the list

## NAME

**XmHierarchyGetChildNodes** — A List function that returns all instances of an item in the list

## SYNOPSIS

```
#include <Xm/Hierarchy.h>
WidgetList XmHierarchyGetChildNodes(
Widget widget);
```

## DESCRIPTION

**XmHierarchyGetChildNodes** is a function that returns a list of child nodes of a Hierarchy.

- *widget*

  Specifies the ID of the Hierarchy widget.

For a complete definition of List and its associated resources, see [**XmHierarchy**(3)](/XmHierarchy/3.md).

## RETURN

Returns WidgetList with child nodes of the hierachy, or NULL if the hierachy contains no children.

## RELATED

[**XmHierarchy**(3)](/XmHierarchy/3.md).
