XMRENDERTABLEADDRENDITIONS(3)
π XmRenderTableAddRenditions(3) β library call π
β¨ NAME β¨
XmRenderTableAddRenditions β Creates a new render table.
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
XmRenderTable XmRenderTableAddRenditions(
XmRenderTable oldtable,
XmRendition *renditions,
Cardinal rendition_count,
XmMergeMode merge_mode);
π¦ DESCRIPTION π¦
Okay bestie, so XmRenderTableAddRenditions is the function that builds you a new render table. It includes the renditions already listed in oldtable, if there is one. It also copies the specified renditions into the new table. The first rendition_count renditions of the renditions array are added to the new table. If a rendition is tagged with a tag that matches a tag already in oldtable, then the existing rendition using that tag is either modified or freed and replaced with the new rendition, depending on the value of merge_mode. If oldtable is NULL, XmRenderTableAddRenditions creates a new render table containing only the specified renditions.
β οΈ Heads up, queen: this function deallocates the original render table after extracting the required information. It is the responsibility of the caller to free the renditions of therenditionsarray by calling theXmRenditionFreefunction.
π«Ά Arguments π«Ά
oldtableβ Specifies the render table to be added to.renditionsβ Specifies an array of renditions to be added.rendition_countβ Specifies the number of renditions fromrenditionsto be added.merge_modeβ Specifies what to do if theXmNtagof a rendition matches that of one that already exists inoldtable. The possible values are as follows:XmMERGE_REPLACEβ Completely replaces the old rendition with the new one.XmMERGE_OLDβ Replaces any unspecified values of the old rendition with the corresponding values from the new rendition.XmMERGE_NEWβ Replaces the old rendition with the new rendition, replacing any unspecified values of the new rendition with the corresponding values from the old rendition.XmSKIPβ Skips over the new rendition, leaving the old rendition intact.
π« RETURN π«
If renditions is NULL or rendition_count is 0 (zero), this function returns oldtable. Otherwise, the function returns a new XmRenderTable. The function allocates space to hold this new render table. The application is responsible for managing this allocated space. The application can recover the allocated space by calling XmRenderTableFree.
π RELATED π
XmRendition(3) and XmRenderTableFree(3).
That's the whole library call page, bestie β source/version and date weren't in the footer, so we're just running on Xm library-call energy. Periodt. π β¨
π¦ 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