callable object the callback can also be a string.
This structure has three members: An integer indicating the reason for invoking the callback.
A pointer to the XEvent that triggered the callback.
request a callback from our sales team who will be able to advise you further.
Typically a C API will provide a function to register a callback.