Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtBuildEven(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAddEventHandler(1)

XtAddRawEventHandler(1)

XtRealizeWidget(1)

 

NAME

XtBuildEventMask − retrieve a widget’s event mask. 

Synopsis

EventMask XtBuildEventMask(w)

    Widget w;

Inputs

wSpecifies the widget.  Must be of class Core or any subclass thereof. 

Returns

An event mask with a bit set for each event type the widget is receiving. 

Description

XtBuildEventMask() returns a widget’s event mask.  The mask reflects the events the widget is currently selecting.  (If the widget is unrealized, then the mask reflects the events the widget will select when it is realized.)  This event mask is the logical OR of all event masks selected by adding event handlers and event translations (including accelerators).  It is updated whenever event handlers or translations are installed or removed for the specified widget. 

Structures

The event_mask is formed by combining the event mask symbols listed in the table below using the bitwise OR operator (|).  Each mask symbol sets a bit in the event_mask. 

NoEventMask Button1MotionMask StructureNotifyMask


KeyPressMask Button2MotionMask ResizeRedirectMask


KeyReleaseMask Button3MotionMask SubstructureNotifyMask


ButtonPressMask Button4MotionMask SubstructureRedirectMask


ButtonReleaseMask Button5MotionMask FocusChangeMask


EnterWindowMask ButtonMotionMask PropertyChangeMask


LeaveWindowMask KeymapStateMask ColormapChangeMask


PointerMotionMask ExposureMask OwnerGrabButtonMask


PointerMotionHintMask VisibilityChangeMask



See Also

XtAddEventHandler(1), XtAddRawEventHandler(1), XtRealizeWidget(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026