Display.addClientMessageFilter

Adds a filter to be called when X ClientMessage events are received. See gdk_window_add_filter() if you are interested in filtering other types of events. Since 2.2

class Display
void
addClientMessageFilter

Parameters

messageType GdkAtom

the type of ClientMessage events to receive. This will be checked against the message_type field of the XClientMessage event struct.

func GdkFilterFunc

the function to call to process the event.

data void*

user data to pass to func.

Meta