The message_type member is set to an atom that indicates how the data should be interpreted by the receiving client. The format
member is set to 8, 16, or 32 and specifies whether the data should be viewed as a list of bytes, shorts, or longs. The data member is a
union that contains the members b, s, and l. The b, s, and l members represent data of twenty 8-bit
values, ten 16-bit values, and five 32-bit values. Particular message types might not make use of all these values. The X server places no
interpretation on the values in the window, message_type, or data members.
struct XClientMessageEvent {
int type;
unsigned long serial;
Bool send_event;
Display * display;
Window window;
Atom message_type;
int format;
struct {
char b[20];
short s[10];
long l[5];
} data;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XClientMessageEvent.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DATA
The struct member offsets. |
| public static final int | DATA_B
The struct member offsets. |
| public static final int | DATA_L
The struct member offsets. |
| public static final int | DATA_S
The struct member offsets. |
| public static final int | DISPLAY
The struct member offsets. |
| public static final int | FORMAT
The struct member offsets. |
| public static final int | MESSAGE_TYPE
The struct member offsets. |
| public static final int | SEND_EVENT
The struct member offsets. |
| public static final int | SERIAL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | WINDOW
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XClientMessageEvent(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XClientMessageEvent | |
| public static XClientMessageEvent. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XClientMessageEvent | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XClientMessageEvent. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XClientMessageEvent | |
| public static XClientMessageEvent | |
| public static XClientMessageEvent. | |
| public static XClientMessageEvent. | |
| protected XClientMessageEvent | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XClientMessageEvent | |
| public static XClientMessageEvent | |
| public static XClientMessageEvent. | create(int
the buffer capacity capacity)Returns a new |
| public static XClientMessageEvent. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XClientMessageEvent | |
| public static XClientMessageEvent. | |
| public ByteBuffer | |
| public byte | |
| public XClientMessageEvent | |
| public XClientMessageEvent | |
| public CLongBuffer | |
| public long | |
| public XClientMessageEvent | |
| public XClientMessageEvent | |
| public ShortBuffer | |
| public short | |
| public XClientMessageEvent | |
| public XClientMessageEvent | |
| public long | |
| public XClientMessageEvent | |
| public int | |
| public XClientMessageEvent | |
| public static XClientMessageEvent | |
| public static XClientMessageEvent. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XClientMessageEvent | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XClientMessageEvent. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XClientMessageEvent | |
| public static XClientMessageEvent | |
| public static XClientMessageEvent. | |
| public static XClientMessageEvent. | |
| public long | |
| public XClientMessageEvent | |
| public static ByteBuffer | |
| public static byte | |
| public static void | |
| public static void | |
| public static CLongBuffer | |
| public static long | |
| public static void | |
| public static void | |
| public static ShortBuffer | |
| public static short | |
| public static void | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public boolean | |
| public XClientMessageEvent | |
| public long | |
| public XClientMessageEvent | |
| public XClientMessageEvent | set(int type, long serial, boolean send_event, long display, long window, long message_type, int format, ByteBuffer data_b, ShortBuffer data_s, CLongBuffer data_l)
Initializes this struct with the specified values. |
| public XClientMessageEvent | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XClientMessageEvent | |
| public static void | |
| public long | |
| public XClientMessageEvent |