DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmRepTypeGetNameList(Xm)


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

Syntax

#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 value

Returns a pointer to an array of the value names.

See also

XmRepTypeGetId(Xm), XmRepTypeGetRegistered(Xm) and XmRepTypeRegister(Xm).
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005