XMSTRINGPUTRENDITION(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ NAME ✨

okay so bestie, meet XmStringPutRendition β€” a convenience function that places renditions around strings. It's giving library call energy, and it's here to wrap your compound strings in matching rendition components. πŸ’–


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
XmString XmStringPutRendition(
XmString string,
XmStringTag rendition);

πŸ’… DESCRIPTION πŸ’…

So XmStringPutRendition places matching Xm_STRING_COMPONENT_RENDITION_BEGIN and XmSTRING_COMPONENT_RENDITION_END components containing rendition around string. The original string is preserved. No cap, it keeps the og safe. 🫢

  • string β€” Specifies the compound string to which begin and end rendition components should be added.
  • rendition β€” Specifies the rendition tag to be used in an XmSTRING_COMPONENT_RENDITION_BEGIN component which will begin the returned string and in an XmSTRING_COMPONENT_RENDITION_END component which will end it.

πŸŽ€ RETURN πŸŽ€

Returns a new compound string. The function allocates space to hold this returned compound string. When the application no longer needs the returned compound string, the application should call XmStringFree.

bestie, when you're done with the returned compound string, call XmStringFree. The function allocates space for it, so that's the vibe. πŸ’€

XmString(3).


signing off from the XmStringPutRendition(library call) footer β€” no version/date drama, just library-call realness. πŸ’œ