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

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

Contents


 XmDirectionMatch(library call)               XmDirectionMatch(library call)




 NAME    [Toc]    [Back]
      XmDirectionMatch - A function that checks for a specified direction
      component

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      Boolean XmDirectionMatch (d1, d2)
              XmDirection     d1;
              XmDirection     d2;
      (void)

 DESCRIPTION    [Toc]    [Back]
      XmDirectionMatch compares two XmDirection values.  The function
      returns a Boolean value depending on whether or not the two input
      values "match." The simplest match is when d1 and d2 are identical.
      However, other matches are possible.  XmDirectionMatch attempts to
      compare specified bits only; nonspecified bits automatically match.

      For example, suppose that d1 equals XmTOP_TO_BOTTOM_RIGHT_TO_LEFT. In
      this case, the function will return True if d2 equals either
      XmRIGHT_TO_LEFT or XmTOP_TO_BOTTOM. However, the function will return
      False if d2 equals XmTOP_TO_BOTTOM_LEFT_TO_RIGHT,
      XmBOTTOM_TO_TOP_RIGHT_TO_LEFT, or XmBOTTOM_TO_TOP_LEFT_TO_RIGHT.

      Note that direction can be thought of as having three components, a
      horizontal component, a vertical component, and the precedence among
      them. This means that in addition to the previously mentioned
      directions, the function will still return False if d1 equals
      XmTOP_TO_BOTTOM_RIGHT_TO_LEFT and d2 equals
      XmRIGHT_TO_LEFT_TOP_TO_BOTTOM.

      d1        Specifies an XmDirection value.

      d2        Specifies an XmDirection value.

 RETURN VALUES    [Toc]    [Back]
      Returns True if d1 "matches" d2; otherwise, returns False.

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


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmStringPeekNextComponent Tru64 A compound string function that returns the component type of the next component fetched
XmStringPeekNextComponent HP-UX A compound string function that returns the component type of the next component to be fetched
XmStringPeekNextComponent IRIX A compound string function that returns the component type of the next component fetched
XmStringInitContext HP-UX A compound string function that creates a data structure for scanning an XmString component by component
XmStringPeekNextTriple HP-UX A function that returns the component type of the next component
SgFileSelectionBoxGetChild IRIX A FileSelectionBox function used to access a component
XmFileSelectionBoxGetChild HP-UX A FileSelectionBox function used to access a component
XmFileSelectionBoxGetChild IRIX A FileSelectionBox function used to access a component
XmSelectionBoxGetChild HP-UX A SelectionBox function that is used to access a component
XmSelectionBoxGetChild IRIX A SelectionBox function that is used to access a component
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service