[Contents] [Index] [Next] [Previous]

XmRepTypeGetNameList


NAME

XmRepTypeGetNameList - A representation type manager function that generates a list of values for a representation type

SYNOPSIS

#include <Xm/RepType.h>
      XmRepTypeId  rep_type_id;
      Boolean      use_uppercase_format;

DESCRIPTION

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.

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

RETURN VALUE

Returns a pointer to an array of the value names.

RELATED INFORMATION

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