XMRENDITIONCREATE(3)
π XmRenditionCreate π
okay bestie, welcome to XmRenditionCreate β she's a library call, she lives in the Xm family, and she's literally the convenience function that creates a rendition. one job. does it gorgeously. β¨
β¨ NAME β¨
XmRenditionCreate β a convenience function that creates a rendition π
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
XmRendition XmRenditionCreate(
Widget widget,
XmStringTag tag,
ArgList arglist,
Cardinal argcount);
like. four args. so chill of her. π
π¦ DESCRIPTION π¦
okay so here's the tea π« β XmRenditionCreate creates a rendition whose resources get set to whatever values you dropped in arglist. anything you didn't specify? she's not gonna leave it blank, bestie β default values are assigned to resources that are not specified. she's got you. no cap.
now let's go through the parameters one by one, because every single one matters and i will not be skipping any π
widgetβ specifies the widget used for deriving any necessary information for creating the rendition. and in particular, the X display ofwidgetis what gets used for loading fonts. so like, that widget is the whole vibe-source for your fonts, iykyk. π₯tagβ specifies the tag for the rendition. and bestie, heads up: this will become theXmNtagresource for the rendition. main character resource energy fr fr. πarglistβ specifies the argument list. that's it, that's the whole job. πargcountβ specifies the number of attribute/value pairs in the argument list (arglist). yes, you have to count them yourself. the audacity. π
π RETURN π
she returns the created rendition. β¨
but listen β the function allocates space to hold the returned rendition, and the application is responsible for managing this allocated space. so like, that memory is YOURS now. you adopted it. congrats?? π«Ά
the good news: the application can recover this allocated space by calling XmRenditionFree. so you're not stuck with it forever, you can give it back. iconic of you honestly. π
π RELATED π
quick reminder bestie: that allocated space from the RETURN section is not gonna free itself. XmRenditionFree is right there. use her. π
and that's the whole page!! π this was XmRenditionCreate(library call) from the Xm library, love u, go free your renditions, 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