XMCREATELIST(3)
β¨ NAME β¨
XmCreateList β the List widget creation function, aka the lil glow-up spell that β¨conjuresβ¨ a whole List widget out of thin air π
This one lives in the library call manual, bestie β XmCreateList(library call), if we're being formal about it. We are not. π
πΈ SYNOPSIS πΈ
okay so first you gotta invite the header file to the party:
#include <Xm/List.h>
Widget XmCreateList(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
that's the whole summoning circle, no cap π―οΈβ¨
π DESCRIPTION π
XmCreateList creates an instance of a List widget and returns the associated widget ID. that's it, that's the job β it makes one (1) List widget and hands you back its ID like a bestie handing you a boba π§
here's the tea on each argument, one by one, no skipping:
parentβ Specifies the parent widget ID. your new List needs a home, and this is whose house it's moving into πnameβ Specifies the name of the created widget. give it a name, it deserves one πarglistβ Specifies the argument list. all the attribute/value pairs you wanna set go here πargcountβ Specifies the number of attribute/value pairs in the argument list (arglist). yes bestie, you literally have to count them yourself. the widget is not gonna count for you π
For a complete definition of List and its associated resources, see XmList(3). that's the deep lore, go read it, it's giving textbook but like, in a good way π
π RETURN π
Returns the List widget ID. that's the whole return value. one thing. iconic behavior honestly π
π¦ RELATED π¦
XmList(3)β the main character of the List lore, go say hi π«Ά
and that's the whole page, bestie!! this was XmCreateList(library call) from the library call manual β go forth and create lists, you absolute legend πβ¨πΈππ¦
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms