XMREPTYPEGETID(3)
π XmRepTypeGetId π
okay bestie, gather round, because we're doing a library call from the XmRepTypeGetId files and it's literally the easiest little function you'll meet all day. no cap. π«Ά
β¨ NAME β¨
XmRepTypeGetId β it's a representation type manager function (iconic job title, we love her) and what she does is retrieve the identification number of a representation type. that's it. that's the whole gig. π
πΈ SYNOPSIS πΈ
#include <Xm/RepType.h>
XmRepTypeId XmRepTypeGetId(
String rep_type);
look at that. one include, one function, one argument. she's lowkey minimal and highkey perfect. β¨
π¦ DESCRIPTION π¦
so here's the tea, bestie: XmRepTypeGetId goes and searches the registration list for the representation type you asked about, and then hands you back the identification number that's chillin' next to it. it's giving "lost and found desk but for IDs". π
here's the one argument she takes:
rep_typeβ this is the representation type you want an identification number for. you're basically saying "hey, this one, what's her number?" π
π RETURN π
she gives you back the identification number of the representation type you specified. slay. β
but listen β if that representation type isn't registered? she doesn't guess, she doesn't improvise, she just returns XmREP_TYPE_INVALID. so always vibe check that return value, fr fr. π
π RELATED π
the besties in the same friend group, go say hi:
and that's the whole page, gorgeous. this was a library call situation, brought to you by the XmRepTypeGetId crew β go forth and get those IDs, and remember: if it's not registered, it's XmREP_TYPE_INVALID, no exceptions. 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