XMRENDERTABLEGETRENDITIONS(3)
β¨ XmRenderTableGetRenditions β¨
okay bestie, gather round, because this one is a library call from the Xm family and it's lowkey the matchmaker of the rendition world π
πΈ NAME πΈ
XmRenderTableGetRenditions β a convenience function that matches rendition tags π
π¦ SYNOPSIS π¦
#include <Xm/Xm.h>
XmRendition *XmRenderTableGetRenditions(
XmRenderTable table,
XmStringTag *tags,
Cardinal tag_count);
π DESCRIPTION π
So XmRenderTableGetRenditions goes snooping through table and hands you back an array of copies of the renditions whose XmNtag resources match a tag over in tags. That's the whole vibe. β¨
If literally zero renditions match? You get NULL. Bye. π
But here's the tea: the size of the array it gives you back is tag_count. And the XmNtag resource of each rendition in there is gonna match the corresponding tag in tags β position by position, no cap. So if one specific tag has no match at all? That exact slot in the return value is just NULL. Not skipped, not shifted, just a sad little NULL sitting in its assigned seat. π
Important, fr fr: it is your responsibility as the caller to clean up. Call theXmRenditionFreefunction to free the new renditions, and callXtFreeto free the array itself. You made the mess, bestie, you clean it. π§Ήπ
Now the arguments, one by one:
tableβ specifies the table containing renditions to be searched. πtagsβ specifies the tags to search for. πtag_countβ specifies the number of tags intags. π’
π RETURN π
Returns NULL if there is no match β periodt. π
Otherwise? This function returns an array of new XmRenditions. Slay. πβ¨
π«Ά RELATED π«Ά
iykyk, go read those next, they're the friend group π
and that's the whole page, bestie!! π this iconic lil number comes from the library call manual, and its footer is literally just XmRenderTab...tRenditions(library call) β yeah the name got chopped mid-word, she's mysterious like that π¦π mwah, go forth and match those tags β
π¦ 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