Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmRepTyGC(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmRepTypeGetRecord(Xm)         6 January 1993         XmRepTypeGetRecord(Xm)


 Name

    XmRepTypeGetRecord - a representation type manager function that returns
    information about a representation type

 Syntax


    #include <Xm/RepType.h>

    XmRepTypeEntry XmRepTypeGetRecord (rep_type_id)
    XmRepTypeId rep_type_id;


 Description

    XmRepTypeGetRecord retrieves information about a particular representa-
    tion 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.

    reptypeid
            The identification number of the representation type.

    The representation type entry structure contains the following informa-
    tion:

       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 ;


    reptypename
            The name of the representation type.

    valuenames
            An array of representation type value names.

    values  An array of representation type numerical values.

    numvalues
            The number of values associated with the representation type.

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

    reptypeid
            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(Xm), XmRepTypeGetRegistered(Xm) and XmRepTypeRegister(Xm).


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