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

NAME

6       XmDirection — Data type for the direction of widget components
7

SYNOPSIS

9       #include <Xm/Xm.h>
10

DESCRIPTION

12       XmDirection is the data type specifying the direction in which the sys‐
13       tem displays subwidgets, children of widgets, or  other  visual  compo‐
14       nents  that  are to be laid out.  This data type also affects traversal
15       order within tab groups.
16
17       XmDirection is implemented as an unsigned char bit mask.  The  horizon‐
18       tal and vertical directions can be specified independent of each other.
19       XmDirection also specifies the precedence of the horizontal and  verti‐
20       cal  directions  relative  to  each  other.  For  example,  a  value of
21       XmRIGHT_TO_LEFT_TOP_TO_BOTTOM lays out a  component  horizontally  from
22       right to left first, then vertically top to bottom.
23
24       XmDirection  provides the following masks, each of which corresponds to
25       a particular bit in XmDirection:
26
27          ·  XmRIGHT_TO_LEFT_MASK
28
29          ·  XmLEFT_TO_RIGHT_MASK
30
31          ·  XmTOP_TO_BOTTOM_MASK
32
33          ·  XmBOTTOM_TO_TOP_MASK
34
35          ·  XmPRECEDENCE_HORIZ_MASK
36
37          ·  XmPRECEDENCE_VERT_MASK
38
39       In addition to the preceding single bit masks,  XmDirection  also  pro‐
40       vides  the  following  multiple bit masks. These multiple bit masks are
41       particularly useful as arguments to XmDirectionMatchPartial:
42
43          ·  XmHORIZONTAL_MASK
44
45          ·  XmPRECEDENCE_MASK
46
47          ·  XmVERTICAL_MASK
48
49       Motif also provides the following enumerated constants  for  specifying
50       various combinations of directions:
51
52       XmRIGHT_TO_LEFT_TOP_TO_BOTTOM
53                 Specifies that the components are laid out from right to left
54                 first, then top to bottom.
55
56       XmLEFT_TO_RIGHT_TOP_TO_BOTTOM
57                 Specifies that the components are laid out from left to right
58                 first, then top to bottom.
59
60       XmRIGHT_TO_LEFT_BOTTOM_TO_TOP
61                 Specifies that the components are laid out from right to left
62                 first, then bottom to top.
63
64       XmLEFT_TO_RIGHT_BOTTOM_TO_TOP
65                 Specifies that the components are laid out from left to right
66                 first, then bottom to top.
67
68       XmTOP_TO_BOTTOM_RIGHT_TO_LEFT
69                 Specifies that the components are laid out from top to bottom
70                 first, then right to left.
71
72       XmTOP_TO_BOTTOM_LEFT_TO_RIGHT
73                 Specifies that the components are laid out from top to bottom
74                 first, then left to right.
75
76       XmBOTTOM_TO_TOP_RIGHT_TO_LEFT
77                 Specifies that the components are laid out from bottom to top
78                 first, then right to left.
79
80       XmBOTTOM_TO_TOP_LEFT_TO_RIGHT
81                 Specifies that the components are laid out from bottom to top
82                 first, then left to right.
83
84       XmTOP_TO_BOTTOM
85                 Specifies  that  the components are laid out from top to bot‐
86                 tom.  If horizontal direction is important, do not  use  this
87                 constant.
88
89       XmBOTTOM_TO_TOP
90                 Specifies  that  the  components  are laid out from bottom to
91                 top.  If horizontal direction is important, do not  use  this
92                 constant.
93
94       XmDEFAULT_DIRECTION
95                 Specifies  that  the components are laid out according to the
96                 default direction. (This constant  is  primarily  for  widget
97                 writers.)
98
99       XmLEFT_TO_RIGHT
100                 Specifies  that  the  components  are  laid  out from left to
101                 right.  If vertical direction is important, do not  use  this
102                 constant.
103
104       XmRIGHT_TO_LEFT
105                 Specifies  that  the  components  are  laid out from right to
106                 left.  If vertical direction is important, do  not  use  this
107                 constant.
108
110       XmDirectionMatch(3), XmDirectionMatchPartial(3), XmDirectionToStringDi‐
111       rection(3), XmString(3), XmStringDirection(3),  and  XmStringDirection‐
112       ToDirection(3).
113
114
115
116                                                     XmDirection(library call)
Impressum