Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmRepTypeAddReverse(3X) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XmRepTypeAddReverse(3X)       SDK X11 R4.11MU05      XmRepTypeAddReverse(3X)


NAME
       XmRepTypeAddReverse--A representation type manager function that
       installs the reverse converter for a previously registered
       representation type

SYNOPSIS
       #include <Xm/RepType.h>

       void XmRepTypeAddReverse (reptypeid)
            XmRepTypeIdreptypeid;


DESCRIPTION
       XmRepTypeAddReverse installs the reverse converter for a previously
       registered representation type.  The reverse converter takes a
       numerical representation type value and returns its corresponding
       string value.  Certain applications may require this capability to
       obtain a string value to display on a screen or to build a resource
       file.

       The values argument of the XmRepTypeRegister function can be used to
       register representation types with nonconsecutive values or with
       duplicate names for the same value.  If the list of numerical values
       for a representation type contains duplicate values, the reverse
       converter uses the first name in the valuenames list that matches
       the specified numeric value.  For example, if a valuenames array has
       cancel, proceed, and abort, and the corresponding values array
       contains 0, 1, and 0, the reverse converter will return cancel
       instead of abort for an input value of 0.


       reptypeid
                 Specifies the identification number of the representation
                 type


RELATED INFORMATION
       XmRepTypeGetId(3X) and XmRepTypeRegister(3X).


Licensed material--property of copyright holder(s)

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