DOKK / manpages / debian 12 / libmotif-dev / XmRepTypeGetNameList.3.en
XmRepTypeGetNameList(3) Library Functions Manual XmRepTypeGetNameList(3)

XmRepTypeGetNameList — A representation type manager function that generates a list of values for a representation type "XmRepTypeGetNameList" "representation type manager functions" "XmRepTypeGetNameList"

#include <Xm/RepType.h>
String * XmRepTypeGetNameList(
XmRepTypeId rep_type_id,
Boolean use_uppercase_format);

XmRepTypeGetNameList generates a NULL-terminated list of the value names associated with the specified representation type. Each value name is a NULL-terminated string. This routine allocates memory for the returned data. The application must free this memory using XtFree.

Specifies the identification number of the representation type.
Specifies a Boolean value that controls the format of the name list. If the value is True, each value name is in uppercase characters prefixed by Xm; if it is False, the names are in lowercase characters.

Returns a pointer to an array of the value names.

XmRepTypeGetId(3), XmRepTypeGetRegistered(3), and XmRepTypeRegister(3).