XmRepTypeGetNameList(X3mot)


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

Synopsis

#include <Xm/RepType.h>

String * XmRepTypeGetNameList (rep_type_id, use_uppercase_format) 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 values

Returns a pointer to an array of the value names.

References

XmRepTypeGetId(X3mot), XmRepTypeGetRegistered(X3mot) and XmRepTypeRegister(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004