client_message Event

The fields that can be unified in client_message events are:

  1. type(T) unifies T with client_message.
  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. message_type(M) unifies M with a ProXL Atom that specifies to the receiving client how to interpret the data.
  7. format(F) unifies F with one of the integers 8, 16 or 32 to specify the format of the data.
  8. data(D) unifies D with a list of the data sent in the event. This will be one of:

    A list of 20 C char elements
    If the format is 8.
    A list of 10 C short elements
    If the format is 16.
    A list of 20 C int elements
    If the format is 32.