XMREPTYPEGETRECORD(3)
π XmRepTypeGetRecord π
okay bestie, so this one is XmRepTypeGetRecord and it lives in the library call manual, section 3 β it's a representation type manager function, and it's here to hand you the deets on a rep type. that's the whole vibe. periodt. π
β¨ NAME β¨
XmRepTypeGetRecord β a representation type manager function that returns information about a representation type π¦
πΈ SYNOPSIS πΈ
#include <Xm/RepType.h>
XmRepTypeEntry XmRepTypeGetRecord(
XmRepTypeId rep_type_id);
π DESCRIPTION π
so XmRepTypeGetRecord goes and retrieves information about a particular representation type that is registered with the representation type manager. like, you point at the one you want and it comes back with the whole lore. π
and here's the thing bestie, it allocates memory for the returned data β which means you own that memory now. the application must free it using XtFree. no cap. don't be out here leaking, that's not the vibe. π
rep_type_idβ the identification number of the representation type. it's how the manager knows which one you're talking about. iykyk.
the representation type entry structure contains the following information:
typedef struct
{
String rep_type_name;
String *value_names;
unsigned char *values;
unsigned char num_values;
Boolean reverse_installed;
XmRepTypeId rep_type_id;
} XmRepTypeEntryRec, *XmRepTypeEntry;
(void)
not me leaving the (void) in there exactly as it was β if it's in the original it stays in mine, fr fr. π
and here's what every single one of those fields means, one by one, no skips:
rep_type_nameβ the name of the representation type π·οΈvalue_namesβ an array of representation type value namesvaluesβ an array of representation type numerical values π’num_valuesβ the number of values associated with the representation typereverse_installedβ a flag that indicates whether or not the reverse converter is installed πrep_type_idβ the identification number of the representation type (yes, again, it's in the struct too, she contains multitudes π)
π RETURN π
returns a pointer to the representation type entry structure that describes the representation type. that's it, that's the whole gift. π
π«Ά RELATED π«Ά
go read those next, bestie, they're the rest of the friend group. β¨
and that's a wrap on XmRepTypeGetRecord(library call) β straight from the library call corner of the manual, footer and all, no date drama, just the title doing its little sign-off. 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