Blob Blame History Raw
'\" t
...\" RepTypGD.sgm /main/8 1996/09/08 20:58:42 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmRepTypeGetRegistered" "library call"
.SH "NAME"
\fBXmRepTypeGetRegistered\fP \(em A representation type manager function that
returns a copy of the registration list
.iX "XmRepTypeGetRegistered"
.iX "representation type manager functions" "XmRepTypeGetRegistered"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/RepType\&.h>
\fBXmRepTypeList \fBXmRepTypeGetRegistered\fP\fR(\fBvoid\fR)
.fi
.SH "DESCRIPTION"
.PP
\fBXmRepTypeGetRegistered\fP 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
\fIrep_type_name\fP field has a NULL pointer\&. This routine
allocates memory for the returned data\&. The application must free
this memory using \fBXtFree\fP\&.
.PP
The representation type entry structure contains the following
information:
.PP
.nf
typedef struct
{
        String  \fIrep_type_name\fP;
        String  *\fIvalue_names\fP;
        unsigned char   *\fIvalues\fP;
        unsigned char   \fInum_values\fP;
        Boolean \fIreverse_installed\fP;
        XmRepTypeId     \fIrep_type_id\fP;
} XmRepTypeEntryRec, *XmRepTypeList;
\fB\fR(\fBvoid\fR)
.fi
.IP "\fIrep_type_name\fP" 10
The name of the representation type
.IP "\fIvalue_names\fP" 10
An array of representation type value names
.IP "\fIvalues\fP" 10
An array of representation type numerical values
.IP "\fInum_values\fP" 10
The number of values associated with the representation type
.IP "\fIreverse_installed\fP" 10
A flag that indicates whether or not the reverse converter is
installed
.IP "\fIrep_type_id\fP" 10
The identification number of the representation type
.SH "RETURN"
.PP
Returns a pointer to the registration list of representation types\&.
.SH "RELATED"
.PP
\fBXmRepTypeRegister\fP(3) and
\fBXmRepTypeGetRecord\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:29