XMCONTAINERGETITEMCHILDREN(3)

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

πŸŽ€ XmContainerGetItemChildren πŸŽ€

okay bestie, welcome to the library call manual page for the Container widget function that finds all the children of an item. no cap, it's a whole vibe.


✨ NAME ✨

XmContainerGetItemChildren β€” Container widget function to find all children of an item

🌸 SYNOPSIS 🌸

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

πŸ’… DESCRIPTION πŸ’…

ok so XmContainerGetItemChildren is the friend who goes and gathers everyone. It allocates a WidgetList and stores inside it the widget IDs of all widgets that have item specified as the value of their XmNentryParent resource. πŸ’–

bestie, you β€” the application programmer β€” are responsible for freeing the allocated WidgetList using XtFree. don't forget, or it's giving leak era. 😭

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. periodt.

Now the args, because we love a labeled list:

  • container β€” Specifies the Container widget ID.
  • item β€” Specifies a widgetID within container.
  • item_children β€” Returned array of Widgets.

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

πŸ”₯ RETURN πŸ”₯

This function returns a count of all widgets that have item specified as the value of their XmNentryParent resource. that's the whole tea. πŸ«–


byeee πŸ’– this page is from the library call manual, footer vibe: XmContainer...temChildren(library call), and the date is not printed here so we're just gonna call it timeless. mwah. πŸ’…βœ¨