XMRENDERTABLEGETTAGS(3)
π XmRenderTableGetTags π
okay bestie, welcome to the XmRenderTableGetTags page β it's a library call from the Xm fam, and it is literally the most helpful little convenience function ever. it gets rendition tags for you. that's the whole vibe. β¨
β¨ NAME β¨
XmRenderTableGetTags β a convenience function that gets rendition tags π
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
int XmRenderTableGetTags(
XmRenderTable table,
XmStringTag **tag_list);
no cap, that's the whole signature. two args, one int coming back. slay. π
π¦ DESCRIPTION π¦
so here's the tea: XmRenderTableGetTags searches the table you hand it, digging through all the renditions (XmRenditions) entries for their XmNtag resources. and then β this is the good part β it composes those tag resources into an array. iconic behavior fr fr. π
tableβ specifies the table containing theXmRenditions. like, the table you want searched. that one. πtag_listβ is the array ofXmStringTagsgenerated by this function. and listen, this matters: the function allocates space to hold the returned tags and to hold thetag_listitself. the application is responsible for managing this allocated space. π«Ά
β οΈ bestie, do NOT forget to clean up. the application can recover this allocated space by callingXtFreeonce for each of the returned tags, and then callingXtFreeon the returnedtag_listvariable itself. leak = not cute. π
β RETURN β
Returns the number of tags in tag_list. that's it, that's the return value. a little count for you. π
π RELATED π
and that's the whole page, bestie!! π it's giving "convenience function done right." go forth and free your tags with XtFree, okay?? π§
XmRenderTableGetTags β library call, straight out of the Xm manual, footer and all (yes the page signs off with its own name again, we love a self-referential queen π). mwah π
π¦ 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