public class XUnmapEvent
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
serial – # of last request processed by serversend_event – true if this came from an X11.XSendEvent(long, long, boolean, long, org.lwjgl.system.linux.XEvent) requestdisplay – Display the event was read from
struct XUnmapEvent {
int type;
unsigned long serial;
Bool send_event;
Display * display;
Window event;
Window window;
int from_configure;
}| Modifier and Type | Class and Description |
|---|---|
static class |
XUnmapEvent.Buffer
An array of
XUnmapEvent structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DISPLAY
The struct member offsets.
|
static int |
EVENT
The struct member offsets.
|
static int |
FROM_CONFIGURE
The struct member offsets.
|
static int |
SEND_EVENT
The struct member offsets.
|
static int |
SERIAL
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TYPE
The struct member offsets.
|
static int |
WINDOW
The struct member offsets.
|
| Constructor and Description |
|---|
XUnmapEvent(java.nio.ByteBuffer container)
Creates a
XUnmapEvent instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static XUnmapEvent |
calloc()
Returns a new
XUnmapEvent instance allocated with memCalloc. |
static XUnmapEvent.Buffer |
calloc(int capacity)
Returns a new
XUnmapEvent.Buffer instance allocated with memCalloc. |
static XUnmapEvent |
callocStack()
Returns a new
XUnmapEvent instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XUnmapEvent.Buffer |
callocStack(int capacity)
Returns a new
XUnmapEvent.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XUnmapEvent.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XUnmapEvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XUnmapEvent |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XUnmapEvent instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XUnmapEvent |
create()
Returns a new
XUnmapEvent instance allocated with BufferUtils. |
static XUnmapEvent.Buffer |
create(int capacity)
Returns a new
XUnmapEvent.Buffer instance allocated with BufferUtils. |
static XUnmapEvent |
create(long address)
Returns a new
XUnmapEvent instance for the specified memory address. |
static XUnmapEvent.Buffer |
create(long address,
int capacity)
Create a
XUnmapEvent.Buffer instance at the specified memory. |
static XUnmapEvent |
createSafe(long address)
|
static XUnmapEvent.Buffer |
createSafe(long address,
int capacity)
|
long |
display()
Returns the value of the
display field. |
XUnmapEvent |
display(long value)
Sets the specified value to the
display field. |
long |
event()
Returns the value of the
event field. |
XUnmapEvent |
event(long value)
Sets the specified value to the
event field. |
int |
from_configure()
Returns the value of the
from_configure field. |
XUnmapEvent |
from_configure(int value)
Sets the specified value to the
from_configure field. |
static XUnmapEvent |
malloc()
Returns a new
XUnmapEvent instance allocated with memAlloc. |
static XUnmapEvent.Buffer |
malloc(int capacity)
Returns a new
XUnmapEvent.Buffer instance allocated with memAlloc. |
static XUnmapEvent |
mallocStack()
Returns a new
XUnmapEvent instance allocated on the thread-local MemoryStack. |
static XUnmapEvent.Buffer |
mallocStack(int capacity)
Returns a new
XUnmapEvent.Buffer instance allocated on the thread-local MemoryStack. |
static XUnmapEvent.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XUnmapEvent.Buffer instance allocated on the specified MemoryStack. |
static XUnmapEvent |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XUnmapEvent instance allocated on the specified MemoryStack. |
static long |
ndisplay(long struct)
Unsafe version of
display(). |
static void |
ndisplay(long struct,
long value)
Unsafe version of
display. |
static long |
nevent(long struct)
Unsafe version of
event(). |
static void |
nevent(long struct,
long value)
Unsafe version of
event. |
static int |
nfrom_configure(long struct)
Unsafe version of
from_configure(). |
static void |
nfrom_configure(long struct,
int value)
Unsafe version of
from_configure. |
static int |
nsend_event(long struct)
Unsafe version of
send_event(). |
static void |
nsend_event(long struct,
int value)
Unsafe version of
send_event. |
static long |
nserial(long struct)
Unsafe version of
serial(). |
static void |
nserial(long struct,
long value)
Unsafe version of
serial. |
static int |
ntype(long struct)
Unsafe version of
type(). |
static void |
ntype(long struct,
int value)
Unsafe version of
type. |
static long |
nwindow(long struct)
Unsafe version of
window(). |
static void |
nwindow(long struct,
long value)
Unsafe version of
window. |
boolean |
send_event()
Returns the value of the
send_event field. |
XUnmapEvent |
send_event(boolean value)
Sets the specified value to the
send_event field. |
long |
serial()
Returns the value of the
serial field. |
XUnmapEvent |
serial(long value)
Sets the specified value to the
serial field. |
XUnmapEvent |
set(int type,
long serial,
boolean send_event,
long display,
long event,
long window,
int from_configure)
Initializes this struct with the specified values.
|
XUnmapEvent |
set(XUnmapEvent src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
type()
Returns the value of the
type field. |
XUnmapEvent |
type(int value)
Sets the specified value to the
type field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
long |
window()
Returns the value of the
window field. |
XUnmapEvent |
window(long value)
Sets the specified value to the
window field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TYPE
public static final int SERIAL
public static final int SEND_EVENT
public static final int DISPLAY
public static final int EVENT
public static final int WINDOW
public static final int FROM_CONFIGURE
public XUnmapEvent(java.nio.ByteBuffer container)
XUnmapEvent instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int type()
type field.public long serial()
serial field.public boolean send_event()
send_event field.public long display()
display field.public long event()
event field.public long window()
window field.public int from_configure()
from_configure field.public XUnmapEvent type(int value)
type field.public XUnmapEvent serial(long value)
serial field.public XUnmapEvent send_event(boolean value)
send_event field.public XUnmapEvent display(long value)
display field.public XUnmapEvent event(long value)
event field.public XUnmapEvent window(long value)
window field.public XUnmapEvent from_configure(int value)
from_configure field.public XUnmapEvent set(int type, long serial, boolean send_event, long display, long event, long window, int from_configure)
public XUnmapEvent set(XUnmapEvent src)
src - the source structpublic static XUnmapEvent malloc()
XUnmapEvent instance allocated with memAlloc. The instance must be explicitly freed.public static XUnmapEvent calloc()
XUnmapEvent instance allocated with memCalloc. The instance must be explicitly freed.public static XUnmapEvent create()
XUnmapEvent instance allocated with BufferUtils.public static XUnmapEvent create(long address)
XUnmapEvent instance for the specified memory address.@Nullable public static XUnmapEvent createSafe(long address)
public static XUnmapEvent.Buffer malloc(int capacity)
XUnmapEvent.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XUnmapEvent.Buffer calloc(int capacity)
XUnmapEvent.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XUnmapEvent.Buffer create(int capacity)
XUnmapEvent.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static XUnmapEvent.Buffer create(long address, int capacity)
XUnmapEvent.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static XUnmapEvent.Buffer createSafe(long address, int capacity)
public static XUnmapEvent mallocStack()
XUnmapEvent instance allocated on the thread-local MemoryStack.public static XUnmapEvent callocStack()
XUnmapEvent instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static XUnmapEvent mallocStack(org.lwjgl.system.MemoryStack stack)
XUnmapEvent instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static XUnmapEvent callocStack(org.lwjgl.system.MemoryStack stack)
XUnmapEvent instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static XUnmapEvent.Buffer mallocStack(int capacity)
XUnmapEvent.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static XUnmapEvent.Buffer callocStack(int capacity)
XUnmapEvent.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static XUnmapEvent.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XUnmapEvent.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static XUnmapEvent.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XUnmapEvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int ntype(long struct)
type().public static long nserial(long struct)
serial().public static int nsend_event(long struct)
send_event().public static long ndisplay(long struct)
display().public static long nevent(long struct)
event().public static long nwindow(long struct)
window().public static int nfrom_configure(long struct)
from_configure().public static void ntype(long struct,
int value)
type.public static void nserial(long struct,
long value)
serial.public static void nsend_event(long struct,
int value)
send_event.public static void ndisplay(long struct,
long value)
display.public static void nevent(long struct,
long value)
event.public static void nwindow(long struct,
long value)
window.public static void nfrom_configure(long struct,
int value)
from_configure.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.