send/[4,5]
send(+WindowSpec, +Propagate, +EventMask, +EventValues) send(+Displayable, +WindowSpec, +Propagate, +EventMask, +EventValues)
Are analogous to send_event/[4,5]
, except that instead of taking an
XEvent event structure argument, take EventValues, a list
of event field values in the style of the callback mechanism.
The
elements of EventValues will be used to fill an X11 event structure
to send, and must contain at least a type
field. If no display
is specified, the default Display is used.
No checking on the validity of the event contents is performed.