Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmRepTypeGetId(3X)

XmRepTypeGetRegistered(3X)

XmRepTypeRegister(3X)

XmRepTypeGetRecord(3X)

NAME

XmRepTypeGetRecord − A representation type manager function that returns information about a representation type

SYNOPSIS

#include <Xm/RepType.h>
XmRepTypeEntry XmRepTypeGetRecord (rep_type_id)

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
{
Stringrep_type_name;
String*value_names;
unsigned char*values;
unsigned charnum_values;
Booleanreverse_installed;
XmRepTypeIdrep_type_id;
} XmRepTypeEntryRec, *XmRepTypeEntry ;

rep_type_nameThe name of the representation type

value_namesAn array of representation type value names

valuesAn array of representation type numerical values

num_valuesThe number of values associated with the representation type

reverse_installedA flag that indicates whether or not the reverse converter is
installed

rep_type_idThe identification number of the representation type

RETURN VALUE

Returns a pointer to the representation type entry structure that describes the representation type. 

RELATED INFORMATION

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

Hewlett-Packard Company  —  Motif Release 1.2: May 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026