XmRepTypeGetRegistered(3X)XmRepTypeGetRegistered(3X)NAME
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 registra-
tion 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 ;
The name of the representation type An array of representation type value names An array of representation type numerical values The number
of values associated with the representation type A flag that indicates whether or not the reverse converter is installed The identifica-
tion number of the representation type
RETURN VALUE
Returns a pointer to the registration list of representation types.
SEE ALSO XmRepTypeRegister(3X), XmRepTypeGetRecord(3X)XmRepTypeGetRegistered(3X)
Check Out this Related Man Page
XmRepTypeGetRecord(library call) XmRepTypeGetRecord(library call)
NAME
XmRepTypeGetRecord -- A representation type manager function that returns information about a representation type
SYNOPSIS
#include <Xm/RepType.h>
XmRepTypeEntry XmRepTypeGetRecord(
XmRepTypeId rep_type_id);
DESCRIPTION
XmRepTypeGetRecord retrieves information about a particular representation type that is registered with the representation type manager.
This routine allocates memory for the returned data. The application must free this memory using XtFree.
rep_type_id
The identification number of the representation type
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, *XmRepTypeEntry;
(void)
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
Returns a pointer to the representation type entry structure that describes the representation type.
RELATED XmRepTypeGetId(3), XmRepTypeGetRegistered(3), and XmRepTypeRegister(3).
XmRepTypeGetRecord(library call)
Man Page
We Also Found This Discussion For You
1. Post Here to Contact Site Administrators and Moderators