Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmDirectionToStringDirection() — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmDirectionToStringDirectiUNIXXSyXmDirectionToStringDirection(3X)



     NAME
          XmDirectionToStringDirection - A function that converts an
          XmDirection value to an XmStringDirection value

     SYNOPSIS
          #include <Xm/Xm.h>
          XmStringDirection XmDirectionToStringDirection (dir)
                  XmDirection     dir;
          (void)

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          XmDirectionToStringDirection converts the specified
          XmDirectiondirection value to its equivalent
          XmStringDirection value.  Basically, if the XmDirection
          value has a horizontal direction specification, that
          horizontal element is used; otherwise, the XmStringDirection
          value is interpreted as XmSTRINGDIRECTIONLTOR.  This
          function provides backward compatibility with the
          XmStringDirection data type.

          Note that the Motif toolkit also contains an
          XmStringDirectionToDirection routine to convert an
          XmStringDirection value to its XmDirection equivalent.

          dir       Specifies the XmDirection value to be converted.

     RETURN
          Returns the following XmStringDirection values:

          XmSTRINGDIRECTIONRTOL
                    If the dir argument has a right to left horizontal
                    direction value in it, for example
                    XmRIGHTTOLEFTTOPTOBOTTOM.

          XmSTRINGDIRECTIONLTOR
                    If the dir argument has a left to right horizontal
                    direction in it, for example
                    XmLEFTTORIGHTTOPTOBOTTOM, or if the
                    horizontal direction value in the dir argument is
                    ambiguous, such as in the XmTOPTOBOTTOM value.

          XmSTRINGDIRECTIONDEFAULT
                    If there was no horizontal direction specified.

     RELATED INFORMATION
          XmDirection(3), XmDirectionMatch(3),
          XmDirectionMatchPartial(3), XmDirectionToStringDirection(3),
          XmString(3), XmStringDirection(3), and
          XmStringDirectionToDirection(3),



     Page 1                                          (printed 1/22/99)



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