XmDirectionMatchPartial(3)

XmDirectionMatchPartial3

A function that checks for a specified direction component

Usage

#include <Xm/Xm.h>
Boolean XmDirectionMatchPartial (d1, d2, dmask)
        XmDirection     d1;
        XmDirection     d2;
        XmDirection     dmask;
(void)

Overview

XmDirectionMatchPartial compares d1 and d2 along the direction component specified by dmask. For example, if dmask equals XmVERTICAL_MASK, then the function will compare only the vertical components of d1 and d2.

d1

Specifies an XmDirection value to check.

d2

Specifies an XmDirection value to check.

dmask

Specifies the direction component along which d1 and d2 are to be checked. Appropriate values for dmask are XmHORIZONTAL_MASK, XmVERTICAL_MASK, and XmPRECEDENCE_MASK.

Return values

Returns True if the d1 and d2 match in the component specified by dmask; otherwise, returns False.

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.