DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmRepTypeGetRegistered(X3mot)


XmRepTypeGetRegistered -- a representation type manager function that returns a copy of the registration list

Synopsis

#include <Xm/RepType.h>

XmRepTypeList XmRepTypeGetRegistered ()

Description

XmRepTypeGetRegistered retrieves information about all representation types that are registered with the representation type manager. The registration list is an array of structures, each of which contains information for a representation type entry. The end of the registration list is marked with a representation type entry whose rep_type_name field has a NULL pointer. This routine allocates memory for the returned data. The application must free this memory using XtFree.

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, *XmRepTypeList ;

rep_type_name
The name of the representation type.

value_names
An array of representation type value names.

values
An array of representation type numerical values.

num_values
The number of values associated with the representation type.

reverse_installed
A flag that indicates whether or not the reverse converter is installed.

rep_type_id
The identification number of the representation type.

Return values

Returns a pointer to the registration list of representation types.

References

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