Solaris Internationalization Guide For Developers

XmStringDirection

XmStringDirection is the data type used to specify the direction in which the system displays characters of a string.

Description

The XmNlayoutDirection resource sets a default rendering direction for any compound string (XmString) that does not have a component specifying the direction of that string. Therefore, to set the layout direction, all that is required is to set the appropriate value for the XmNlayoutDirection resource. It is not required that you create compound strings with specific direction components. When the application renders an XmString, it should look to see if the string was created with an explicit direction( XmStringDirection). If there is no direction component, the application should check the value of the XmNlayoutDirection resource for the current widget and use that value as the default rendering direction for the XmString.

Related Information

See also XmRendition and XmDirection.