XMHIERARCHYGETCHILDNODES(3)

πŸ“¦
version 2.3.8 Β· 3 versions
, in arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

XmHierarchyGetChildNodes β€” a List function that returns all instances of an item in the list πŸ’–

okay bestie so real talk: this page lives in the XmListGetMatchPos(library call) manual, which is... a whole situation, but we move. Anyway, this function? It's the one that hands you the child nodes. Let's go πŸ¦‹


🌸 SYNOPSIS 🌸

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

πŸ’… DESCRIPTION πŸ’…

XmHierarchyGetChildNodes is a function that returns a list of child nodes of a Hierarchy. That's it, that's the whole vibe. You give it a Hierarchy, it gives you back the children. iconic behavior honestly πŸ‘‘

  • widget β€” Specifies the ID of the Hierarchy widget. This is the one you're asking about, so be normal about it and pass it correctly πŸŽ€

For a complete definition of List and its associated resources, see XmHierarchy(3). iykyk, go read that one too, it's the lore 🧚


🌈 RETURN 🌈

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

no cap: if it comes back NULL, that's not a bug, that's just an empty Hierarchy. it said "no children" and meant it πŸ’€


and that's the whole page, bestie β€” short, sweet, and it ate πŸ’– the header up top is XmListGetMatchPos(library call) and the footer is XmListGetMatchPos(library call) too, same energy, no date, no version, just vibes ✨ go get those child nodes, you got this πŸ¦‹πŸŒΈ