dispatch_event/[1,2,3]
To activate the callbacks registered for a single X event, use one of:
dispatch_event(+XEvent) dispatch_event(+XEvent, -ExitCond) dispatch_event(+XEvent, -ExitCond, +Context)
dispatch_event(+
XEvent)
will trigger any ProXL
callbacks associated with the supplied XEvent and succeed,
even if there were no callbacks registered for the event.
dispatch_event(+
XEvent, -
ExitCond)
triggers
the ProXL callbacks associated with the supplied XEvent and
succeeds either if all the ProXL Windows associated with the
event's Display were destroyed, or if any of the callbacks binds its
exit variable to a value that unifies with ExitCond.
If the callback uses contexts, dispatch_event/2
will pass
an anonymous variable.
dispatch_event(+
XEvent, -
ExitCond, +
Context)
is like dispatch_event/2
, but gives the Context argument
to the callback, for further discrimination.