1XmRepTypeAddReverse(library call)            XmRepTypeAddReverse(library call)
2
3
4

NAME

6       XmRepTypeAddReverse  —  A  representation  type  manager  function that
7       installs the reverse converter for a previously registered  representa‐
8       tion type
9

SYNOPSIS

11       #include <Xm/RepType.h>
12       void XmRepTypeAddReverse(
13       XmRepTypeId rep_type_id);
14

DESCRIPTION

16       XmRepTypeAddReverse  installs  the  reverse  converter for a previously
17       registered representation type. The reverse converter takes a numerical
18       representation  type  value and returns its corresponding string value.
19       Certain applications may require this capability  to  obtain  a  string
20       value to display on a screen or to build a resource file.
21
22       The  values  argument  of the XmRepTypeRegister function can be used to
23       register representation types with nonconsecutive values or with dupli‐
24       cate  names  for  the same value. If the list of numerical values for a
25       representation type contains duplicate values,  the  reverse  converter
26       uses  the first name in the value_names list that matches the specified
27       numeric value. For example, if a value_names array has cancel, proceed,
28       and abort, and the corresponding values array contains 0, 1, and 0, the
29       reverse converter will return cancel instead  of  abort  for  an  input
30       value of 0.
31
32       rep_type_id
33                 Specifies  the  identification  number  of the representation
34                 type
35
37       XmRepTypeGetId(3) and XmRepTypeRegister(3).
38
39
40
41                                             XmRepTypeAddReverse(library call)
Impressum