Content-type: text/html Man page of XmRepTypeGetRecord

XmRepTypeGetRecord

Section: (3X)
Updated:
Index Return to Main Contents
 

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. 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 ;

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 identification number of the representation type
 

RETURN VALUE

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

SEE ALSO

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:42:14 GMT, October 02, 2010