xevent


Description:

public signal bool xevent (Event xevent)

The xevent signal is a low level signal that is emitted whenever an XEvent has been received.

When handlers to this signal return true, no other handlers will be invoked. In particular, the default handler for this function is GDK's own event handling mechanism, so by returning true for an event that GDK expects to translate, you may break GDK and/or GTK+ in interesting ways. You have been warned.

If you want this signal handler to queue a Event, you can use put_event.

If you are interested in X GenericEvents, bear in mind that XGetEventData has been already called on the event, and XFreeEventData will be called afterwards.

Parameters:

xevent

a pointer to the XEvent to process

Returns:

true to stop other handlers from being invoked for the event. false to propagate the event further.