XmDirection
Data type for the direction of widget components "XmDirection" "data types" "XmDirection"
- Provided by: libmotif-dev (Version: 2.3.4-10)
- Source: motif
- Report a bug
Data type for the direction of widget components "XmDirection" "data types" "XmDirection"
#include <Xm/Xm.h>
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 XmRIGHT_TO_LEFT_TOP_TO_BOTTOM 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:
In addition to the preceding single bit masks, XmDirection also provides the following multiple bit masks. These multiple bit masks are particularly useful as arguments to XmDirectionMatchPartial:
Motif also provides the following enumerated constants for specifying various combinations of directions:
XmDirectionMatch(3), XmDirectionMatchPartial(3), XmDirectionToStringDirection(3), XmString(3), XmStringDirection(3), and XmStringDirectionToDirection(3).