expose Event

The fields that can be unified in expose events are:

  1. type(T) unifies T with expose.
  2. serial(S) unifies S with the serial number of the last request processed by the server.
  3. send_event(B) unifies B, a boolean value, with one of

    true
    If the event was sent by another client.
    false
    If the event was sent by the server.
  4. display(D) unifies D with the ProXL Display the event was read from.
  5. window(W) unifies W with the ProXL Window receiving the event.
  6. x(X) unifies X with the x coordinate of the upper-left corner of the exposed region, relative to the window origin.
  7. y(Y) unifies Y with the y coordinate of the upper-left corner of the exposed region, relative to the window origin.
  8. position(X, Y) unifies X and Y with the x and y coordinates, respectively, of the upper-left corner of the exposed region, relative to the window origin.
  9. width(W) unifies W with the width in pixels of the exposed region.
  10. height(H) unifies H with the height in pixels of the exposed region.
  11. size(W, H) unifies W and H with the width and height in pixels, respectively, of the exposed region.
  12. count(C) unifies C with an integer giving the approximate number of remaining contiguous expose events that were generated as a result of a single function call. If it is zero, no more expose events for this window follow.