XtBuildEventMask(3Xt)XtBuildEventMask(3Xt)NAME
XtBuildEventMask - retrieve a widget's event mask
SYNOPSIS
EventMask XtBuildEventMask(w)
Widget w;
ARGUMENTS
Specifies the widget.
DESCRIPTION
The XtBuildEventMask function returns the event mask representing the logical OR of all event masks for event handlers registered on the
widget with XtAddEventHandler and all event translations, including accelerators, installed on the widget. This is the same event mask
stored into the XSetWindowAttributes structure by XtRealizeWidget and sent to the server when event handlers and translations are installed
or removed on the realized widget.
SEE ALSO XtAddEventHandler(3Xt)
X Toolkit Intrinsics -- C Language Interface
Xlib -- C Language X Interface
XtBuildEventMask(3Xt)
Check Out this Related Man Page
XtBuildEventMask() XtBuildEventMask()
Name
XtBuildEventMask - retrieve a widget's event mask.
Synopsis
EventMask XtBuildEventMask(w)
Widget w;
Inputs
w Specifies 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 unre-
alized, 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 transla-
tions 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 AlsoXtAddEventHandler(1), XtAddRawEventHandler(1), XtRealizeWidget(1).
Xt - Event Handling XtBuildEventMask()
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)