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

public Class XConfigureRequestEvent

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

Layout


struct XConfigureRequestEvent {
    int type;
    unsigned long serial;
    Bool send_event;
    Display * display;
    Window parent;
    Window window;
    int x;
    int y;
    int width;
    int height;
    int border_width;
    Window above;
    int detail;
    unsigned long value_mask;
}

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
DETAIL

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
PARENT

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
VALUE_MASK

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
XConfigureRequestEvent(long address, ByteBuffer container)

public
XConfigureRequestEvent(ByteBuffer container)

Creates a XConfigureRequestEvent 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 XConfigureRequestEvent
above(long value)

Sets the specified value to the above field.

public int

Returns:

the value of the border_width field.
border_width
()

public XConfigureRequestEvent
border_width(int value)

Sets the specified value to the border_width field.

public static XConfigureRequestEvent
calloc()

Returns a new XConfigureRequestEvent instance allocated with memCalloc.

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

Returns a new XConfigureRequestEvent.Buffer instance allocated with memCalloc.

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

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

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

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

public static XConfigureRequestEvent
callocStack()

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

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

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

Deprecated
Deprecated for removal in 3.4.0.
protected XConfigureRequestEvent
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 XConfigureRequestEvent
create()

Returns a new XConfigureRequestEvent instance allocated with BufferUtils.

public static XConfigureRequestEvent
create(long address)

Returns a new XConfigureRequestEvent instance for the specified memory address.

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

Returns a new XConfigureRequestEvent.Buffer instance allocated with BufferUtils.

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

Create a XConfigureRequestEvent.Buffer instance at the specified memory.

public static XConfigureRequestEvent
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
public XConfigureRequestEvent
detail(int value)

Sets the specified value to the detail field.

public long
display()

Display the event was read from

public XConfigureRequestEvent
display(long value)

Sets the specified value to the display field.

public int

Returns:

the value of the height field.
height
()

public XConfigureRequestEvent
height(int value)

Sets the specified value to the height field.

public static XConfigureRequestEvent
malloc()

Returns a new XConfigureRequestEvent instance allocated with memAlloc.

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

Returns a new XConfigureRequestEvent.Buffer instance allocated with memAlloc.

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

Returns a new XConfigureRequestEvent instance allocated on the specified MemoryStack.

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

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

public static XConfigureRequestEvent
mallocStack()

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

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

Deprecated
Deprecated for removal in 3.4.0.
public static XConfigureRequestEvent.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 int
ndetail(long struct)

Unsafe version of detail.

public static void
ndetail(long struct, int value)

Unsafe version of detail.

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 long
nparent(long struct)

Unsafe version of parent.

public static void
nparent(long struct, long value)

Unsafe version of parent.

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 long
nvalue_mask(long struct)

Unsafe version of value_mask.

public static void
nvalue_mask(long struct, long value)

Unsafe version of value_mask.

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 long

Returns:

the value of the parent field.
parent
()

public XConfigureRequestEvent
parent(long value)

Sets the specified value to the parent field.

public boolean
send_event()

true if this came from an X11#XSendEvent request

public XConfigureRequestEvent
send_event(boolean value)

Sets the specified value to the send_event field.

public long
serial()

# of last request processed by server

public XConfigureRequestEvent
serial(long value)

Sets the specified value to the serial field.

public XConfigureRequestEvent
set(int type, long serial, boolean send_event, long display, long parent, long window, int x, int y, int width, int height, int border_width, long above, int detail, long value_mask)

Initializes this struct with the specified values.

public XConfigureRequestEvent

Returns:

this struct
set
(XConfigureRequestEvent
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 XConfigureRequestEvent
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 long

Returns:

the value of the value_mask field.
value_mask
()

public XConfigureRequestEvent
value_mask(long value)

Sets the specified value to the value_mask field.

public int

Returns:

the value of the width field.
width
()

public XConfigureRequestEvent
width(int value)

Sets the specified value to the width field.

public long

Returns:

the value of the window field.
window
()

public XConfigureRequestEvent
window(long value)

Sets the specified value to the window field.

public int

Returns:

the value of the x field.
x
()

public XConfigureRequestEvent
x(int value)

Sets the specified value to the x field.

public int

Returns:

the value of the y field.
y
()

public XConfigureRequestEvent
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