XMRENDERTABLEGETRENDITION(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

πŸ’– XmRenderTableGetRendition πŸ’–

ok so bestie, welcome to the XmRenderTableGetRendition page from the library call manual πŸ’… this one's a lil convenience function that matches a rendition tag, and honestly? it's giving short and sweet ✨


🌸 NAME 🌸

XmRenderTableGetRendition β€” a convenience function that matches a rendition tag πŸŽ€


✨ SYNOPSIS ✨

#include <Xm/Xm.h>
XmRendition XmRenderTableGetRendition(
XmRenderTable table,
XmStringTag tag);

πŸ¦‹ DESCRIPTION πŸ¦‹

ok so here's the tea, bestie πŸ“ XmRenderTableGetRendition goes digging through table and hands you back a copy of the rendition whose XmNtag resource matches tag. and if literally nothing matches?? you get NULL back. that's it, that's the whole vibe 😭

heads up: this function is meant to be used for just one rendition match. one. single. match. don't get greedy πŸ’€

also, and this is important, no cap β€” it is the responsibility of the caller to free the returned rendition using the XmRenditionFree function 🫢 like, that memory is yours now. you asked for it, you clean it up ✨

  • table β€” specifies the table containing renditions to be searched πŸ”
  • tag β€” specifies the tag to search for 🏷️

πŸ‘‘ RETURN πŸ‘‘

returns NULL if there's no match πŸ˜” otherwise, this function returns a new XmRendition πŸ’–βœ¨



and that's the whole page, bestie!! 🌸 this was the XmRenderTableGetRendition(library call) page, straight from the library call manual section πŸŽ€ mwah, go free your renditions, love u, bye πŸ’…πŸ’–βœ¨