Top Description Inners Fields Constructors Methods
org.lwjgl.system.linux

public Class XConfigureEvent

extends Struct<XConfigureEvent>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Motion event.

Layout


struct XConfigureEvent {
    int type;
    unsigned long serial;
    Bool send_event;
    Display * display;
    Window window;
    int x;
    int y;
    int width;
    int height;
    int border_width;
    Window above;
    Bool override_redirect;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ABOVE

The struct member offsets.

public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BORDER_WIDTH

The struct member offsets.

public static final int
DISPLAY

The struct member offsets.

public static final int
HEIGHT

The struct member offsets.

public static final int
OVERRIDE_REDIRECT

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
WIDTH

The struct member offsets.

public static final int
WINDOW

The struct member offsets.

public static final int
X

The struct member offsets.

public static final int
Y

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
XConfigureEvent(long address, ByteBuffer container)

public
XConfigureEvent(ByteBuffer container)

Creates a XConfigureEvent instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the value of the above field.
above
()

public XConfigureEvent
above(long value)

Sets the specified value to the above field.

public int

Returns:

the value of the border_width field.
border_width
()

public XConfigureEvent
border_width(int value)

Sets the specified value to the border_width field.

public static XConfigureEvent
calloc()

Returns a new XConfigureEvent instance allocated with memCalloc.

public static XConfigureEvent.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XConfigureEvent.Buffer instance allocated with memCalloc.

public static XConfigureEvent
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XConfigureEvent instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XConfigureEvent.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XConfigureEvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XConfigureEvent
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static XConfigureEvent
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static XConfigureEvent.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static XConfigureEvent.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected XConfigureEvent
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static XConfigureEvent
create()

Returns a new XConfigureEvent instance allocated with BufferUtils.

public static XConfigureEvent
create(long address)

Returns a new XConfigureEvent instance for the specified memory address.

public static XConfigureEvent.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XConfigureEvent.Buffer instance allocated with BufferUtils.

public static XConfigureEvent.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a XConfigureEvent.Buffer instance at the specified memory.

public static XConfigureEvent
createSafe(long address)

Like create, but returns null if address is NULL.

public static XConfigureEvent.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long
display()

Display the event was read from

public XConfigureEvent
display(long value)

Sets the specified value to the display field.

public int

Returns:

the value of the height field.
height
()

public XConfigureEvent
height(int value)

Sets the specified value to the height field.

public static XConfigureEvent
malloc()

Returns a new XConfigureEvent instance allocated with memAlloc.

public static XConfigureEvent.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XConfigureEvent.Buffer instance allocated with memAlloc.

public static XConfigureEvent
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XConfigureEvent instance allocated on the specified MemoryStack.

public static XConfigureEvent.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XConfigureEvent.Buffer instance allocated on the specified MemoryStack.

public static XConfigureEvent
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static XConfigureEvent
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static XConfigureEvent.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static XConfigureEvent.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static long
nabove(long struct)

Unsafe version of above.

public static void
nabove(long struct, long value)

Unsafe version of above.

public static int
nborder_width(long struct)

Unsafe version of border_width.

public static void
nborder_width(long struct, int value)

Unsafe version of border_width.

public static long
ndisplay(long struct)

Unsafe version of display.

public static void
ndisplay(long struct, long value)

Unsafe version of display.

public static int
nheight(long struct)

Unsafe version of height.

public static void
nheight(long struct, int value)

Unsafe version of height.

public static int
noverride_redirect(long struct)

Unsafe version of override_redirect.

public static void
noverride_redirect(long struct, int value)

Unsafe version of override_redirect.

public static int
nsend_event(long struct)

Unsafe version of send_event.

public static void
nsend_event(long struct, int value)

Unsafe version of send_event.

public static long
nserial(long struct)

Unsafe version of serial.

public static void
nserial(long struct, long value)

Unsafe version of serial.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public static int
nwidth(long struct)

Unsafe version of width.

public static void
nwidth(long struct, int value)

Unsafe version of width.

public static long
nwindow(long struct)

Unsafe version of window.

public static void
nwindow(long struct, long value)

Unsafe version of window.

public static int
nx(long struct)

Unsafe version of x.

public static void
nx(long struct, int value)

Unsafe version of x.

public static int
ny(long struct)

Unsafe version of y.

public static void
ny(long struct, int value)

Unsafe version of y.

public boolean

Returns:

the value of the override_redirect field.
override_redirect
()

public XConfigureEvent
override_redirect(boolean value)

Sets the specified value to the override_redirect field.

public boolean
send_event()

true if this came from an X11#XSendEvent request

public XConfigureEvent
send_event(boolean value)

Sets the specified value to the send_event field.

public long
serial()

# of last request processed by server

public XConfigureEvent
serial(long value)

Sets the specified value to the serial field.

public XConfigureEvent
set(int type, long serial, boolean send_event, long display, long window, int x, int y, int width, int height, int border_width, long above, boolean override_redirect)

Initializes this struct with the specified values.

public XConfigureEvent

Returns:

this struct
set
(XConfigureEvent
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int

Returns:

the value of the type field.
type
()

public XConfigureEvent
type(int value)

Sets the specified value to the type field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int

Returns:

the value of the width field.
width
()

public XConfigureEvent
width(int value)

Sets the specified value to the width field.

public long
window()

window it reported relative to

public XConfigureEvent
window(long value)

Sets the specified value to the window field.

public int

Returns:

the value of the x field.
x
()

public XConfigureEvent
x(int value)

Sets the specified value to the x field.

public int

Returns:

the value of the y field.
y
()

public XConfigureEvent
y(int value)

Sets the specified value to the y field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate