Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmRepTyGD(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmRepTypeGetRegistered(Xm)     6 January 1993     XmRepTypeGetRegistered(Xm)


 Name

    XmRepTypeGetRegistered - a representation type manager function that
    returns a copy of the registration list

 Syntax


    #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 in-
    formation for a representation type entry. The end of the registration
    list is marked with a representation type entry whose reptypename 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 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, *XmRepTypeList ;


    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 registration list of representation types.

 See also

    XmRepTypeRegister(Xm) and XmRepTypeGetRecord(Xm).


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