public class XNoExposeEvent
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 frommajor_code – core is CopyArea or CopyPlaneminor_code – not defined in the core
struct XNoExposeEvent {
int type;
unsigned long serial;
Bool send_event;
Display * display;
Drawable drawable;
int major_code;
int minor_code;
}| Modifier and Type | Class and Description |
|---|---|
static class |
XNoExposeEvent.Buffer
An array of
XNoExposeEvent structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DISPLAY
The struct member offsets.
|
static int |
DRAWABLE
The struct member offsets.
|
static int |
MAJOR_CODE
The struct member offsets.
|
static int |
MINOR_CODE
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.
|
| Constructor and Description |
|---|
XNoExposeEvent(java.nio.ByteBuffer container)
Creates a
XNoExposeEvent instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static XNoExposeEvent |
calloc()
Returns a new
XNoExposeEvent instance allocated with memCalloc. |
static XNoExposeEvent.Buffer |
calloc(int capacity)
Returns a new
XNoExposeEvent.Buffer instance allocated with memCalloc. |
static XNoExposeEvent |
callocStack()
Returns a new
XNoExposeEvent instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XNoExposeEvent.Buffer |
callocStack(int capacity)
Returns a new
XNoExposeEvent.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XNoExposeEvent.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XNoExposeEvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XNoExposeEvent |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XNoExposeEvent instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XNoExposeEvent |
create()
Returns a new
XNoExposeEvent instance allocated with BufferUtils. |
static XNoExposeEvent.Buffer |
create(int capacity)
Returns a new
XNoExposeEvent.Buffer instance allocated with BufferUtils. |
static XNoExposeEvent |
create(long address)
Returns a new
XNoExposeEvent instance for the specified memory address. |
static XNoExposeEvent.Buffer |
create(long address,
int capacity)
Create a
XNoExposeEvent.Buffer instance at the specified memory. |
static XNoExposeEvent |
createSafe(long address)
|
static XNoExposeEvent.Buffer |
createSafe(long address,
int capacity)
|
long |
display()
Returns the value of the
display field. |
XNoExposeEvent |
display(long value)
Sets the specified value to the
display field. |
long |
drawable()
Returns the value of the
drawable field. |
XNoExposeEvent |
drawable(long value)
Sets the specified value to the
drawable field. |
int |
major_code()
Returns the value of the
major_code field. |
XNoExposeEvent |
major_code(int value)
Sets the specified value to the
major_code field. |
static XNoExposeEvent |
malloc()
Returns a new
XNoExposeEvent instance allocated with memAlloc. |
static XNoExposeEvent.Buffer |
malloc(int capacity)
Returns a new
XNoExposeEvent.Buffer instance allocated with memAlloc. |
static XNoExposeEvent |
mallocStack()
Returns a new
XNoExposeEvent instance allocated on the thread-local MemoryStack. |
static XNoExposeEvent.Buffer |
mallocStack(int capacity)
Returns a new
XNoExposeEvent.Buffer instance allocated on the thread-local MemoryStack. |
static XNoExposeEvent.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XNoExposeEvent.Buffer instance allocated on the specified MemoryStack. |
static XNoExposeEvent |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XNoExposeEvent instance allocated on the specified MemoryStack. |
int |
minor_code()
Returns the value of the
minor_code field. |
XNoExposeEvent |
minor_code(int value)
Sets the specified value to the
minor_code field. |
static long |
ndisplay(long struct)
Unsafe version of
display(). |
static void |
ndisplay(long struct,
long value)
Unsafe version of
display. |
static long |
ndrawable(long struct)
Unsafe version of
drawable(). |
static void |
ndrawable(long struct,
long value)
Unsafe version of
drawable. |
static int |
nmajor_code(long struct)
Unsafe version of
major_code(). |
static void |
nmajor_code(long struct,
int value)
Unsafe version of
major_code. |
static int |
nminor_code(long struct)
Unsafe version of
minor_code(). |
static void |
nminor_code(long struct,
int value)
Unsafe version of
minor_code. |
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. |
boolean |
send_event()
Returns the value of the
send_event field. |
XNoExposeEvent |
send_event(boolean value)
Sets the specified value to the
send_event field. |
long |
serial()
Returns the value of the
serial field. |
XNoExposeEvent |
serial(long value)
Sets the specified value to the
serial field. |
XNoExposeEvent |
set(int type,
long serial,
boolean send_event,
long display,
long drawable,
int major_code,
int minor_code)
Initializes this struct with the specified values.
|
XNoExposeEvent |
set(XNoExposeEvent src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
type()
Returns the value of the
type field. |
XNoExposeEvent |
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. |
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 DRAWABLE
public static final int MAJOR_CODE
public static final int MINOR_CODE
public XNoExposeEvent(java.nio.ByteBuffer container)
XNoExposeEvent 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 drawable()
drawable field.public int major_code()
major_code field.public int minor_code()
minor_code field.public XNoExposeEvent type(int value)
type field.public XNoExposeEvent serial(long value)
serial field.public XNoExposeEvent send_event(boolean value)
send_event field.public XNoExposeEvent display(long value)
display field.public XNoExposeEvent drawable(long value)
drawable field.public XNoExposeEvent major_code(int value)
major_code field.public XNoExposeEvent minor_code(int value)
minor_code field.public XNoExposeEvent set(int type, long serial, boolean send_event, long display, long drawable, int major_code, int minor_code)
public XNoExposeEvent set(XNoExposeEvent src)
src - the source structpublic static XNoExposeEvent malloc()
XNoExposeEvent instance allocated with memAlloc. The instance must be explicitly freed.public static XNoExposeEvent calloc()
XNoExposeEvent instance allocated with memCalloc. The instance must be explicitly freed.public static XNoExposeEvent create()
XNoExposeEvent instance allocated with BufferUtils.public static XNoExposeEvent create(long address)
XNoExposeEvent instance for the specified memory address.@Nullable public static XNoExposeEvent createSafe(long address)
public static XNoExposeEvent.Buffer malloc(int capacity)
XNoExposeEvent.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XNoExposeEvent.Buffer calloc(int capacity)
XNoExposeEvent.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XNoExposeEvent.Buffer create(int capacity)
XNoExposeEvent.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static XNoExposeEvent.Buffer create(long address, int capacity)
XNoExposeEvent.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static XNoExposeEvent.Buffer createSafe(long address, int capacity)
public static XNoExposeEvent mallocStack()
XNoExposeEvent instance allocated on the thread-local MemoryStack.public static XNoExposeEvent callocStack()
XNoExposeEvent instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static XNoExposeEvent mallocStack(org.lwjgl.system.MemoryStack stack)
XNoExposeEvent instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static XNoExposeEvent callocStack(org.lwjgl.system.MemoryStack stack)
XNoExposeEvent instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static XNoExposeEvent.Buffer mallocStack(int capacity)
XNoExposeEvent.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static XNoExposeEvent.Buffer callocStack(int capacity)
XNoExposeEvent.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static XNoExposeEvent.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XNoExposeEvent.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static XNoExposeEvent.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XNoExposeEvent.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 ndrawable(long struct)
drawable().public static int nmajor_code(long struct)
major_code().public static int nminor_code(long struct)
minor_code().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 ndrawable(long struct,
long value)
drawable.public static void nmajor_code(long struct,
int value)
major_code.public static void nminor_code(long struct,
int value)
minor_code.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.