logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmStringDirectionToDirection — A function that converts from XmStringDirection to XmDirection

Description

XmStringDirectionToDirection converts the specified XmStringDirection direction value to  its  equivalent
       XmDirection value. This function provides backward compatibility with the XmStringDirection data type.

       direction Specifies the XmStringDirection value to be converted.

Name

XmStringDirectionToDirection   —   A   function  that  converts  from  XmStringDirection  to  XmDirection
       "XmStringDirectionToDirection"

Return

       Returns the following XmDirection values:

       XmLEFT_TO_RIGHT
                 If the direction argument is XmSTRING_DIRECTION_L_TO_R.

       XmRIGHT_TO_LEFT
                 If the direction argument is XmSTRING_DIRECTION_R_TO_L.

       XmDEFAULT_DIRECTION
                 If the direction argument was not either of the above.

Synopsis

       #include <Xm/Xm.h>
       XmDirectionXmStringDirectionToDirection(
       XmStringDirectiondirection);

See Also