1XmDirectionToStringDirection(libraryXcmaDlilr)ectionToStringDirection(library call)
2
3
4
6 XmDirectionToStringDirection — A function that converts an XmDirection
7 value to an XmStringDirection value
8
10 #include <Xm/Xm.h>
11 XmStringDirection XmDirectionToStringDirection (dir)
12 XmDirection dir;
13 (void)
14
16 XmDirectionToStringDirection converts the specified XmDirection direc‐
17 tion value to its equivalent XmStringDirection value. Basically, if
18 the XmDirection value has a horizontal direction specification, that
19 horizontal element is used; otherwise, the XmStringDirection value is
20 interpreted as XmSTRING_DIRECTION_L_TO_R. This function provides back‐
21 ward compatibility with the XmStringDirection data type.
22
23 Note that the Motif toolkit also contains an XmStringDirectionToDirec‐
24 tion routine to convert an XmStringDirection value to its XmDirection
25 equivalent.
26
27 dir Specifies the XmDirection value to be converted.
28
30 Returns the following XmStringDirection values:
31
32 XmSTRING_DIRECTION_R_TO_L
33 If the dir argument has a right to left horizontal direction
34 value in it, for example XmRIGHT_TO_LEFT_TOP_TO_BOTTOM.
35
36 XmSTRING_DIRECTION_L_TO_R
37 If the dir argument has a left to right horizontal direction
38 in it, for example XmLEFT_TO_RIGHT_TOP_TO_BOTTOM, or if the
39 horizontal direction value in the dir argument is ambiguous,
40 such as in the XmTOP_TO_BOTTOM value.
41
42 XmSTRING_DIRECTION_DEFAULT
43 If there was no horizontal direction specified.
44
46 XmDirection(3), XmDirectionMatch(3), XmDirectionMatchPartial(3), XmDi‐
47 rectionToStringDirection(3), XmString(3), XmStringDirection(3), and
48 XmStringDirectionToDirection(3),
49
50
51
52 XmDirectionToStringDirection(library call)