A function that converts an XmDirection value to an XmStringDirection value
Format
#include <Xm/Xm.h> XmStringDirection XmDirectionToStringDirection ( dir) XmDirection dir; (VOID)
DESCRIPTION
XmDirectionToStringDirection converts the specified XmDirection direction 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 XmSTRING_DIRECTION_L_TO_R. 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.
RETURN
Returns the following XmStringDirection values:
RELATED INFORMATION
XmDirection (3), XmDirectionMatch (3), XmDirectionMatchPartial (3), XmDirectionToStringDirection (3), XmString (3), XmStringDirection (3), and XmStringDirectionToDirection (3),