XmStringDirectionToDirection(3X)

XmStringDirectionToDirection - A function that converts from XmStringDirection to XmDirection

As shipped in IRIX 6.5.5. Added in IRIX 6.5.5.

     NAME
          XmStringDirectionToDirection - A function that converts from
          XmStringDirection to XmDirection

     SYNOPSIS
          #include <Xm/Xm.h>
          XmDirection XmStringDirectionToDirection(
          XmStringDirection direction);

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          XmStringDirectionToDirection converts the specified
          XmStringDirectiondirection value to its equivalent
          XmDirection value. This function provides backward
          compatibility with the XmStringDirection data type.

          direction Specifies the XmStringDirection value to be
                    converted.

     RETURN
          Returns the following XmDirection values:

          XmLEFT_TO_RIGHT
                    If the direction argument is
                    XmSTRING_DIRECTION_L_TO_R.

          XmRIGHT_TO_LEFT
                    If the direction argument is
                    XmSTRING_DIRECTION_R_TO_L.

          XmDEFAULT_DIRECTION
                    If the direction argument was not either of the
                    above.

     RELATED INFORMATION
          XmStringDirection(3) and XmDirection(3).