*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmRepTypeAddReverse (3)              
Title
Content
Arch
Section
 

Contents


 XmRepTypeAddReverse(library call)         XmRepTypeAddReverse(library call)




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

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/RepType.h>
      void XmRepTypeAddReverse(
      XmRepTypeId rep_type_id);

 DESCRIPTION    [Toc]    [Back]
      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 value_names list that matches the
      specified numeric value. For example, if a value_names 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.

      rep_type_id
                Specifies the identification number of the representation
                type

 RELATED    [Toc]    [Back]
      XmRepTypeGetId(3) and XmRepTypeRegister(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmRepTypeAddReverse Tru64 A representation type manager function that installs the reverse converter for a previously register...
XmRepTypeInstallTearOffModelConvert HP-UX A representation type manager function that installs the resource converter for XmNtearOffModel.
XmRepTypeInstallTearOffModelConverter Tru64 A representation type manager function that installs the resource converter for XmNtearOffModel.
XmRepTypeInstallTearOffModelConverter IRIX A representation type manager function that installs the resource converter for XmNtearOffModel.
XmRepTypeValidValue IRIX A representation type manager function that tests the validity of a numerical value of a representation type r
XmRepTypeGetNameList IRIX A representation type manager function that generates a list of values for a representation type
XmRepTypeGetId IRIX A representation type manager function that retrieves the identification number of a representation type
XmRepTypeGetNameList HP-UX A representation type manager function that generates a list of values for a representation type
XmRepTypeGetNameList Tru64 A representation type manager function that generates a list of values for a representation type
XmRepTypeGetId HP-UX A representation type manager function that retrieves the identification number of a representation type
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service