Next: xsetaction, Previous: xquery, Up: Internal Routines [Contents][Index]
xregister [, event_mask, window=window,
menu=menu] [, /enterwindow, /leavewindow, /allevents, /allwindows,
/allmenus, /deselect]
[x11]
Register, unregister, or display registered event types for
xloop
. Without arguments, xregister
displays currently
registered event types. With a positive argument, the corresponding
event types are registered. With a negative argument, the corresponding
event types are unregistered. With a zero argument, all event types are
unregistered. event_mask
has bits to set for each event
type and also has bits to select specific event sources. These items
can also be set through the keywords.
/keypress
(Bit 0) selects a key press.
/buttonpress
(Bit 2) selects a mouse button press.
/buttonrelease
(Bit 3) selects the release of a mouse button key.
/pointermotion
(Bit 4) selects movement of the mouse pointer.
/enterwindow
(Bit 5) selects entering of the mouse pointer into a window or menu. item.
/leavewindow
(Bit 6) selects leaving of a window or menu item by the mouse pointer.
/allwindows
(Bit 7) selects all LUX windows for event source.
/allmenus
(Bit 8) select all LUX menu items for event source.
/deselect
(Bit 9)indicates unregistering rather than registering of event types and sources.
/allevents
selects all event types (bits 0 through 6).
See also: xloop