*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmDirectionToStringDirection (3)              
Title
Content
Arch
Section
 

Contents


 XmDirectionToStringDirection(libraXrmyDicraelclt)ionToStringDirection(library call)




 NAME    [Toc]    [Back]
      XmDirectionToStringDirection - A function that converts an XmDirection
      value to an XmStringDirection value

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      XmStringDirection XmDirectionToStringDirection (dir)
              XmDirection     dir;
      (void)

 DESCRIPTION    [Toc]    [Back]
      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.

      dir       Specifies the XmDirection value to be converted.

 RETURN    [Toc]    [Back]
      Returns the following XmStringDirection values:

      XmSTRING_DIRECTION_R_TO_L    [Toc]    [Back]
                If the dir argument has a right to left horizontal direction
                value in it, for example XmRIGHT_TO_LEFT_TOP_TO_BOTTOM.

      XmSTRING_DIRECTION_L_TO_R    [Toc]    [Back]
                If the dir argument has a left to right horizontal direction
                in it, for example XmLEFT_TO_RIGHT_TOP_TO_BOTTOM, or if the
                horizontal direction value in the dir argument is ambiguous,
                such as in the XmTOP_TO_BOTTOM value.

      XmSTRING_DIRECTION_DEFAULT    [Toc]    [Back]
                If there was no horizontal direction specified.

 RELATED INFORMATION    [Toc]    [Back]
      XmDirection(3), XmDirectionMatch(3), XmDirectionMatchPartial(3),
      XmDirectionToStringDirection(3), XmString(3), XmStringDirection(3),
      and XmStringDirectionToDirection(3),


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmStringDirectionToDirection HP-UX A function that converts from XmStringDirection to XmDirection
XmCvtStringToUnitType Tru64 A function that converts a string
XmCvtStringToUnitType IRIX A function that converts a string to
XmCvtStringToUnitType HP-UX A function that converts a string to a unittype value
XmConvertStringToUnits HP-UX A function that converts a string specification to a unit value
XmCvtXmStringTableToTextProperty HP-UX A function that converts from XmStringTable to an XTextProperty Structure
XmCvtTextPropertyToXmStringTable HP-UX A function that converts from a TextProperty Structure to a StringTable
XmStringTableParseStringArray HP-UX A convenience function that converts an array of strings to a compound string table
XmStringTableUnparse HP-UX A convenience function that converts a table of compound strings to an array of text
XmStringToXmStringTable HP-UX A convenience function that converts a single compound string to a table of compound strings
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service