Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmDirection(3X) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmDirection(3X)           UNIX System V           XmDirection(3X)



     NAME
          XmDirection - Data type for the direction of widget
          components

     SYNOPSIS
          #include <Xm/Xm.h>

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          XmDirection is the data type specifying the direction in
          which the system displays subwidgets, children of widgets,
          or other visual components that are to be laid out.  This
          data type also affects traversal order within tab groups.

          XmDirection is implemented as an unsigned char bit mask.
          The horizontal and vertical directions can be specified
          independent of each other. XmDirection also specifies the
          precedence of the horizontal and vertical directions
          relative to each other. For example, a value of
          XmRIGHTTOLEFTTOPTOBOTTOM lays out a component
          horizontally from right to left first, then vertically top
          to bottom.

          XmDirection provides the following masks, each of which
          corresponds to a particular bit in XmDirection:

             ⊕  XmRIGHTTOLEFTMASK

             ⊕  XmLEFTTORIGHTMASK

             ⊕  XmTOPTOBOTTOMMASK

             ⊕  XmBOTTOMTOTOPMASK

             ⊕  XmPRECEDENCEHORIZMASK

             ⊕  XmPRECEDENCEVERTMASK

          In addition to the preceding single bit masks,
          XmDirectionalso provides the following multiple bit masks.
          These multiple bit masks are particularly useful as
          arguments to XmDirectionMatchPartial:

             ⊕  XmHORIZONTALMASK

             ⊕  XmPRECEDENCEMASK

             ⊕  XmVERTICALMASK

          Motif also provides the following enumerated constants for



     Page 1                                          (printed 1/22/99)





     XmDirection(3X)           UNIX System V           XmDirection(3X)



          specifying various combinations of directions:

          XmRIGHTTOLEFTTOPTOBOTTOM
                    Specifies that the components are laid out from
                    right to left first, then top to bottom.

          XmLEFTTORIGHTTOPTOBOTTOM
                    Specifies that the components are laid out from
                    left to right first, then top to bottom.

          XmRIGHTTOLEFTBOTTOMTOTOP
                    Specifies that the components are laid out from
                    right to left first, then bottom to top.

          XmLEFTTORIGHTBOTTOMTOTOP
                    Specifies that the components are laid out from
                    left to right first, then bottom to top.

          XmTOPTOBOTTOMRIGHTTOLEFT
                    Specifies that the components are laid out from
                    top to bottom first, then right to left.

          XmTOPTOBOTTOMLEFTTORIGHT
                    Specifies that the components are laid out from
                    top to bottom first, then left to right.

          XmBOTTOMTOTOPRIGHTTOLEFT
                    Specifies that the components are laid out from
                    bottom to top first, then right to left.

          XmBOTTOMTOTOPLEFTTORIGHT
                    Specifies that the components are laid out from
                    bottom to top first, then left to right.

          XmTOPTOBOTTOM
                    Specifies that the components are laid out from
                    top to bottom.  If horizontal direction is
                    important, do not use this constant.

          XmBOTTOMTOTOP
                    Specifies that the components are laid out from
                    bottom to top.  If horizontal direction is
                    important, do not use this constant.

          XmDEFAULTDIRECTION
                    Specifies that the components are laid out
                    according to the default direction. (This constant
                    is primarily for widget writers.)

          XmLEFTTORIGHT
                    Specifies that the components are laid out from
                    left to right.  If vertical direction is



     Page 2                                          (printed 1/22/99)





     XmDirection(3X)           UNIX System V           XmDirection(3X)



                    important, do not use this constant.

          XmRIGHTTOLEFT
                    Specifies that the components are laid out from
                    right to left.  If vertical direction is
                    important, do not use this constant.

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












































     Page 3                                          (printed 1/22/99)



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