Class X11
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded from the X11SharedLibrary
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
SCREEN SAVER STUFFstatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
GrabPointer, GrabKeyboard reply statusstatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
button masks.static final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
Arc modes for PolyFillArcstatic final int
Arc modes for PolyFillArcstatic final int
AllowEvents modesstatic final int
AllowEvents modesstatic final int
AllowEvents modesstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
ERROR CODESstatic final int
static final int
static final int
button names.static final int
button masks.static final int
Input Event Masks.static final int
button names.static final int
button masks.static final int
Input Event Masks.static final int
button names.static final int
button masks.static final int
Input Event Masks.static final int
button names.static final int
button masks.static final int
Input Event Masks.static final int
button names.static final int
button masks.static final int
Input Event Masks.static final int
Input Event Masks.static final int
Event names.static final int
Input Event Masks.static final int
Event names.static final int
Input Event Masks.static final int
capStylestatic final int
capStylestatic final int
capStylestatic final int
capStylestatic final int
Event names.static final int
Event names.static final int
Event names.static final int
subwindow modestatic final int
Input Event Masks.static final int
Color Map notificationstatic final int
Event names.static final int
Color Map notificationstatic final int
Polygon shapesstatic final int
Event names.static final int
Event names.static final int
modifier names.static final int
Key masks.static final int
Polygon shapesstatic final int
CoordinateMode for drawing routinesstatic final int
CoordinateMode for drawing routinesstatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
Event names.static final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
Window attributes for CreateWindow and ChangeWindowAttributesstatic final int
SCREEN SAVER STUFFstatic final int
SCREEN SAVER STUFFstatic final int
Event names.static final int
SCREEN SAVER STUFFstatic final int
SCREEN SAVER STUFFstatic final int
SCREEN SAVER STUFFstatic final int
SCREEN SAVER STUFFstatic final int
Event names.static final int
Input Event Masks.static final int
fillRulestatic final int
Event names.static final int
Input Event Masks.static final int
Boolean valuesstatic final int
fillStylestatic final int
fillStylestatic final int
fillStylestatic final int
fillStylestatic final int
ERROR CODESstatic final int
Input Event Masks.static final int
Event names.static final int
Event names.static final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChangesstatic final int
Event names.static final int
GrabPointer, GrabKeyboard reply statusstatic final int
GrabPointer, GrabKeyboard reply statusstatic final int
GrabPointer, GrabButton, GrabKeyboard, GrabKey Modesstatic final int
GrabPointer, GrabButton, GrabKeyboard, GrabKey Modesstatic final int
GrabPointer, GrabKeyboard reply statusstatic final int
GrabPointer, GrabKeyboard reply statusstatic final int
Event names.static final int
Event names.static final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
graphics functions, as in GC.alustatic final int
subwindow modestatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
static final int
static final int
joinStylestatic final int
joinStylestatic final int
joinStylestatic final int
Event names.static final int
Input Event Masks.static final int
Event names.static final int
Input Event Masks.static final int
Event names.static final int
Input Event Masks.static final int
Event names.static final int
ERROR CODESstatic final int
Event names.static final int
Input Event Masks.static final int
LineStylestatic final int
LineStylestatic final int
LineStylestatic final int
modifier names.static final int
Key masks.static final int
Event names.static final int
static final int
static final int
Event names.static final int
static final int
Event names.static final int
modifier names.static final int
Key masks.static final int
modifier names.static final int
Key masks.static final int
modifier names.static final int
Key masks.static final int
modifier names.static final int
Key masks.static final int
modifier names.static final int
Key masks.static final int
Event names.static final int
Input Event Masks.static final int
Event names.static final int
Polygon shapesstatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
Notify detailstatic final int
Notify detailstatic final int
Notify modesstatic final int
Notify modesstatic final int
Notify detailstatic final int
Notify detailstatic final int
Notify detailstatic final int
Notify modesstatic final int
Notify detailstatic final int
Notify detailstatic final int
Notify modesstatic final int
Notify detailstatic final int
Notify modesstatic final int
static final int
Input Event Masks.static final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
Circulation requeststatic final int
Circulation requeststatic final int
Input Event Masks.static final int
Input Event Masks.static final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
RESERVED RESOURCE AND CONSTANT DEFINITIONSstatic final int
SCREEN SAVER STUFFstatic final int
Input Event Masks.static final int
Property notificationstatic final int
Property notificationstatic final int
Event names.static final int
Property modesstatic final int
Property modesstatic final int
Property modesstatic final int
Event names.static final int
AllowEvents modesstatic final int
AllowEvents modesstatic final int
Input Event Masks.static final int
Event names.static final int
Used in XSetInputFocus(), XGetInputFocus().static final int
Used in XSetInputFocus(), XGetInputFocus().static final int
Used in XSetInputFocus(), XGetInputFocus().static final int
SCREEN SAVER STUFFstatic final int
SCREEN SAVER STUFFstatic final int
Event names.static final int
Event names.static final int
Event names.static final int
modifier names.static final int
Key masks.static final int
Input Event Masks.static final int
Input Event Masks.static final int
Input Event Masks.static final int
ERROR CODESstatic final int
AllowEvents modesstatic final int
AllowEvents modesstatic final int
AllowEvents modesstatic final int
static final int
Boolean valuesstatic final int
Event names.static final int
SetClipRectangles orderingstatic final int
Input Event Masks.static final int
Visibility notifystatic final int
Event names.static final int
Visibility notifystatic final int
Visibility notifystatic final int
fillRulestatic final int
SetClipRectangles orderingstatic final int
SetClipRectangles orderingstatic final int
SetClipRectangles ordering -
Method Summary
Modifier and TypeMethodDescriptionstatic SharedLibrary
Returns the X11SharedLibrary
.static long
nXCreateColormap
(long display, long w, long visual, int alloc) Unsafe version of:XCreateColormap(long, long, org.lwjgl.system.linux.Visual, int)
static long
nXCreateWindow
(long display, long parent, int x, int y, int width, int height, int border_width, int depth, int windowClass, long visual, long valuemask, long attributes) static int
nXFree
(long data) Unsafe version of:XFree(java.nio.ByteBuffer)
static long
nXGetMotionEvents
(long display, long w, long start, long stop, long nevents_return) Unsafe version of:XGetMotionEvents(long, long, long, long)
static long
nXOpenDisplay
(long display_name) Unsafe version of:XOpenDisplay(java.nio.ByteBuffer)
static int
nXSendEvent
(long display, long w, int propagate, long event_mask, long event_send) Unsafe version of:XSendEvent(long, long, boolean, long, org.lwjgl.system.linux.XEvent)
static int
nXTranslateCoordinates
(long display, long src_w, long dest_w, int src_x, int src_y, long dest_x_return, long dest_y_return, long child_return) static void
XCloseDisplay
(long display) Closes the connection to the X server for the display specified in theDisplay
structure and destroys all windows, resource IDs (Window, Font, Pixmap, Colormap, Cursor, and GContext), or other resources that the client has created on this display, unless the close-down mode of the resource has been changed (seeXSetCloseDownMode()
).static long
XCreateColormap
(long display, long w, Visual visual, int alloc) Creates a colormap of the specified visual type for the screen on which the specified window resides and returns the colormap ID associated with it.static long
XCreateWindow
(long display, long parent, int x, int y, int width, int height, int border_width, int depth, int windowClass, Visual visual, long valuemask, XSetWindowAttributes attributes) Creates an unmapped subwindow for a specified parent window, returns the window ID of the created window, and causes the X server to generate aCreateNotify
event.static int
XDefaultScreen
(long display) Returns a pointer to the default screen.static int
XDestroyWindow
(long display, long w) Destroys the specified window as well as all of its subwindows and causes the X server to generate aDestroyNotify
event for each window.static long
XDisplayMotionBufferSize
(long display) static int
XFree
(ByteBuffer data) Free in-memory data that was created by an Xlib function.static int
XFree
(PointerBuffer data) Free in-memory data that was created by an Xlib function.static int
XFreeColormap
(long display, long colormap) Deletes the association between thecolormap
resource ID and thecolormap
and frees thecolormap
storage.static XTimeCoord.Buffer
XGetMotionEvents
(long display, long w, long start, long stop) TheXGetMotionEvents
function returns all events in the motion history buffer that fall between the specified start and stop times, inclusive, and that have coordinates that lie within the specified window (including its borders) at its present placement.static long
XOpenDisplay
(CharSequence display_name) Returns a Display structure that serves as the connection to the X server and that contains all the information about that X server.static long
XOpenDisplay
(ByteBuffer display_name) Returns a Display structure that serves as the connection to the X server and that contains all the information about that X server.static long
XRootWindow
(long display, int screen_number) Returns the root window of the specified screen.static int
XSendEvent
(long display, long w, boolean propagate, long event_mask, XEvent event_send) TheXSendEvent
function identifies the destination window, determines which clients should receive the specified events, and ignores any active grabs.static boolean
XTranslateCoordinates
(long display, long src_w, long dest_w, int src_x, int src_y, int[] dest_x_return, int[] dest_y_return, CLongBuffer child_return) static boolean
XTranslateCoordinates
(long display, long src_w, long dest_w, int src_x, int src_y, IntBuffer dest_x_return, IntBuffer dest_y_return, CLongBuffer child_return) Translates window coordinates.
-
Field Details
-
True
public static final int TrueBoolean values- See Also:
-
False
public static final int FalseBoolean values- See Also:
-
None
public static final int NoneRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
ParentRelative
public static final int ParentRelativeRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
CopyFromParent
public static final int CopyFromParentRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
PointerWindow
public static final int PointerWindowRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
InputFocus
public static final int InputFocusRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
PointerRoot
public static final int PointerRootRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
AnyPropertyType
public static final int AnyPropertyTypeRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
AnyKey
public static final int AnyKeyRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
AnyButton
public static final int AnyButtonRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
AllTemporary
public static final int AllTemporaryRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
CurrentTime
public static final int CurrentTimeRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
NoSymbol
public static final int NoSymbolRESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
-
Success
public static final int SuccessERROR CODES- See Also:
-
BadRequest
public static final int BadRequestERROR CODES- See Also:
-
BadValue
public static final int BadValueERROR CODES- See Also:
-
BadWindow
public static final int BadWindowERROR CODES- See Also:
-
BadPixmap
public static final int BadPixmapERROR CODES- See Also:
-
BadAtom
public static final int BadAtomERROR CODES- See Also:
-
BadCursor
public static final int BadCursorERROR CODES- See Also:
-
BadFont
public static final int BadFontERROR CODES- See Also:
-
BadMatch
public static final int BadMatchERROR CODES- See Also:
-
BadDrawable
public static final int BadDrawableERROR CODES- See Also:
-
BadAccess
public static final int BadAccessERROR CODES- See Also:
-
BadAlloc
public static final int BadAllocERROR CODES- See Also:
-
BadColor
public static final int BadColorERROR CODES- See Also:
-
BadGC
public static final int BadGCERROR CODES- See Also:
-
BadIDChoice
public static final int BadIDChoiceERROR CODES- See Also:
-
BadName
public static final int BadNameERROR CODES- See Also:
-
BadLength
public static final int BadLengthERROR CODES- See Also:
-
BadImplementation
public static final int BadImplementationERROR CODES- See Also:
-
FirstExtensionError
public static final int FirstExtensionErrorERROR CODES- See Also:
-
LastExtensionError
public static final int LastExtensionErrorERROR CODES- See Also:
-
CWBackPixmap
public static final int CWBackPixmapWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWBackPixel
public static final int CWBackPixelWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWBorderPixmap
public static final int CWBorderPixmapWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWBorderPixel
public static final int CWBorderPixelWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWBitGravity
public static final int CWBitGravityWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWWinGravity
public static final int CWWinGravityWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWBackingStore
public static final int CWBackingStoreWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWBackingPlanes
public static final int CWBackingPlanesWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWBackingPixel
public static final int CWBackingPixelWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWOverrideRedirect
public static final int CWOverrideRedirectWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWSaveUnder
public static final int CWSaveUnderWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWEventMask
public static final int CWEventMaskWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWDontPropagate
public static final int CWDontPropagateWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWColormap
public static final int CWColormapWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
CWCursor
public static final int CWCursorWindow attributes for CreateWindow and ChangeWindowAttributes- See Also:
-
NoEventMask
public static final int NoEventMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
KeyPressMask
public static final int KeyPressMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
KeyReleaseMask
public static final int KeyReleaseMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
ButtonPressMask
public static final int ButtonPressMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
ButtonReleaseMask
public static final int ButtonReleaseMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
EnterWindowMask
public static final int EnterWindowMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
LeaveWindowMask
public static final int LeaveWindowMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
PointerMotionMask
public static final int PointerMotionMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
PointerMotionHintMask
public static final int PointerMotionHintMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
Button1MotionMask
public static final int Button1MotionMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
Button2MotionMask
public static final int Button2MotionMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
Button3MotionMask
public static final int Button3MotionMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
Button4MotionMask
public static final int Button4MotionMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
Button5MotionMask
public static final int Button5MotionMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
ButtonMotionMask
public static final int ButtonMotionMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
KeymapStateMask
public static final int KeymapStateMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
ExposureMask
public static final int ExposureMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
VisibilityChangeMask
public static final int VisibilityChangeMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
StructureNotifyMask
public static final int StructureNotifyMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
ResizeRedirectMask
public static final int ResizeRedirectMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
SubstructureNotifyMask
public static final int SubstructureNotifyMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
SubstructureRedirectMask
public static final int SubstructureRedirectMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
FocusChangeMask
public static final int FocusChangeMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
PropertyChangeMask
public static final int PropertyChangeMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
ColormapChangeMask
public static final int ColormapChangeMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
OwnerGrabButtonMask
public static final int OwnerGrabButtonMaskInput Event Masks. Used as event-mask window attribute and as arguments to Grab requests. Not to be confused with event names.- See Also:
-
KeyPress
public static final int KeyPressEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
KeyRelease
public static final int KeyReleaseEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ButtonPress
public static final int ButtonPressEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ButtonRelease
public static final int ButtonReleaseEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
MotionNotify
public static final int MotionNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
EnterNotify
public static final int EnterNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
LeaveNotify
public static final int LeaveNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
FocusIn
public static final int FocusInEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
FocusOut
public static final int FocusOutEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
KeymapNotify
public static final int KeymapNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
Expose
public static final int ExposeEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
GraphicsExpose
public static final int GraphicsExposeEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
NoExpose
public static final int NoExposeEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
VisibilityNotify
public static final int VisibilityNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
CreateNotify
public static final int CreateNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
DestroyNotify
public static final int DestroyNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
UnmapNotify
public static final int UnmapNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
MapNotify
public static final int MapNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
MapRequest
public static final int MapRequestEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ReparentNotify
public static final int ReparentNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ConfigureNotify
public static final int ConfigureNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ConfigureRequest
public static final int ConfigureRequestEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
GravityNotify
public static final int GravityNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ResizeRequest
public static final int ResizeRequestEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
CirculateNotify
public static final int CirculateNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
CirculateRequest
public static final int CirculateRequestEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
PropertyNotify
public static final int PropertyNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
SelectionClear
public static final int SelectionClearEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
SelectionRequest
public static final int SelectionRequestEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
SelectionNotify
public static final int SelectionNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ColormapNotify
public static final int ColormapNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ClientMessage
public static final int ClientMessageEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
MappingNotify
public static final int MappingNotifyEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
GenericEvent
public static final int GenericEventEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
LASTEvent
public static final int LASTEventEvent names. Used in "type" field inXEvent
structures. Not to be confused with event masks above. They start from 2 because 0 and 1 are reserved in the protocol for errors and replies.- See Also:
-
ShiftMask
public static final int ShiftMaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
LockMask
public static final int LockMaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
ControlMask
public static final int ControlMaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
Mod1Mask
public static final int Mod1MaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
Mod2Mask
public static final int Mod2MaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
Mod3Mask
public static final int Mod3MaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
Mod4Mask
public static final int Mod4MaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
Mod5Mask
public static final int Mod5MaskKey masks. Used as modifiers to GrabButton and GrabKey, results of QueryPointer, state in various key-, mouse-, and button-related events.- See Also:
-
ShiftMapIndex
public static final int ShiftMapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
LockMapIndex
public static final int LockMapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
ControlMapIndex
public static final int ControlMapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
Mod1MapIndex
public static final int Mod1MapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
Mod2MapIndex
public static final int Mod2MapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
Mod3MapIndex
public static final int Mod3MapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
Mod4MapIndex
public static final int Mod4MapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
Mod5MapIndex
public static final int Mod5MapIndexmodifier names. Used to build a SetModifierMapping request or to read a GetModifierMapping request. These correspond to the masks defined above.- See Also:
-
Button1Mask
public static final int Button1Maskbutton masks. Used in same manner as Key masks above. Not to be confused with button names below.- See Also:
-
Button2Mask
public static final int Button2Maskbutton masks. Used in same manner as Key masks above. Not to be confused with button names below.- See Also:
-
Button3Mask
public static final int Button3Maskbutton masks. Used in same manner as Key masks above. Not to be confused with button names below.- See Also:
-
Button4Mask
public static final int Button4Maskbutton masks. Used in same manner as Key masks above. Not to be confused with button names below.- See Also:
-
Button5Mask
public static final int Button5Maskbutton masks. Used in same manner as Key masks above. Not to be confused with button names below.- See Also:
-
AnyModifier
public static final int AnyModifierbutton masks. Used in same manner as Key masks above. Not to be confused with button names below.- See Also:
-
Button1
public static final int Button1button names. Used as arguments to GrabButton and as detail in ButtonPress and ButtonRelease events. Not to be confused with button masks above. Note that 0 is already defined above as "AnyButton".- See Also:
-
Button2
public static final int Button2button names. Used as arguments to GrabButton and as detail in ButtonPress and ButtonRelease events. Not to be confused with button masks above. Note that 0 is already defined above as "AnyButton".- See Also:
-
Button3
public static final int Button3button names. Used as arguments to GrabButton and as detail in ButtonPress and ButtonRelease events. Not to be confused with button masks above. Note that 0 is already defined above as "AnyButton".- See Also:
-
Button4
public static final int Button4button names. Used as arguments to GrabButton and as detail in ButtonPress and ButtonRelease events. Not to be confused with button masks above. Note that 0 is already defined above as "AnyButton".- See Also:
-
Button5
public static final int Button5button names. Used as arguments to GrabButton and as detail in ButtonPress and ButtonRelease events. Not to be confused with button masks above. Note that 0 is already defined above as "AnyButton".- See Also:
-
NotifyNormal
public static final int NotifyNormalNotify modes- See Also:
-
NotifyGrab
public static final int NotifyGrabNotify modes- See Also:
-
NotifyUngrab
public static final int NotifyUngrabNotify modes- See Also:
-
NotifyWhileGrabbed
public static final int NotifyWhileGrabbedNotify modes- See Also:
-
NotifyHint
public static final int NotifyHintNotify modes- See Also:
-
NotifyAncestor
public static final int NotifyAncestorNotify detail- See Also:
-
NotifyVirtual
public static final int NotifyVirtualNotify detail- See Also:
-
NotifyInferior
public static final int NotifyInferiorNotify detail- See Also:
-
NotifyNonlinear
public static final int NotifyNonlinearNotify detail- See Also:
-
NotifyNonlinearVirtual
public static final int NotifyNonlinearVirtualNotify detail- See Also:
-
NotifyPointer
public static final int NotifyPointerNotify detail- See Also:
-
NotifyPointerRoot
public static final int NotifyPointerRootNotify detail- See Also:
-
NotifyDetailNone
public static final int NotifyDetailNoneNotify detail- See Also:
-
VisibilityUnobscured
public static final int VisibilityUnobscuredVisibility notify- See Also:
-
VisibilityPartiallyObscured
public static final int VisibilityPartiallyObscuredVisibility notify- See Also:
-
VisibilityFullyObscured
public static final int VisibilityFullyObscuredVisibility notify- See Also:
-
PlaceOnTop
public static final int PlaceOnTopCirculation request- See Also:
-
PlaceOnBottom
public static final int PlaceOnBottomCirculation request- See Also:
-
PropertyNewValue
public static final int PropertyNewValueProperty notification- See Also:
-
PropertyDelete
public static final int PropertyDeleteProperty notification- See Also:
-
ColormapUninstalled
public static final int ColormapUninstalledColor Map notification- See Also:
-
ColormapInstalled
public static final int ColormapInstalledColor Map notification- See Also:
-
GrabModeSync
public static final int GrabModeSyncGrabPointer, GrabButton, GrabKeyboard, GrabKey Modes- See Also:
-
GrabModeAsync
public static final int GrabModeAsyncGrabPointer, GrabButton, GrabKeyboard, GrabKey Modes- See Also:
-
GrabSuccess
public static final int GrabSuccessGrabPointer, GrabKeyboard reply status- See Also:
-
AlreadyGrabbed
public static final int AlreadyGrabbedGrabPointer, GrabKeyboard reply status- See Also:
-
GrabInvalidTime
public static final int GrabInvalidTimeGrabPointer, GrabKeyboard reply status- See Also:
-
GrabNotViewable
public static final int GrabNotViewableGrabPointer, GrabKeyboard reply status- See Also:
-
GrabFrozen
public static final int GrabFrozenGrabPointer, GrabKeyboard reply status- See Also:
-
AsyncPointer
public static final int AsyncPointerAllowEvents modes- See Also:
-
SyncPointer
public static final int SyncPointerAllowEvents modes- See Also:
-
ReplayPointer
public static final int ReplayPointerAllowEvents modes- See Also:
-
AsyncKeyboard
public static final int AsyncKeyboardAllowEvents modes- See Also:
-
SyncKeyboard
public static final int SyncKeyboardAllowEvents modes- See Also:
-
ReplayKeyboard
public static final int ReplayKeyboardAllowEvents modes- See Also:
-
AsyncBoth
public static final int AsyncBothAllowEvents modes- See Also:
-
SyncBoth
public static final int SyncBothAllowEvents modes- See Also:
-
AllocNone
public static final int AllocNone- See Also:
-
AllocAll
public static final int AllocAll- See Also:
-
RevertToNone
public static final int RevertToNoneUsed in XSetInputFocus(), XGetInputFocus().- See Also:
-
RevertToPointerRoot
public static final int RevertToPointerRootUsed in XSetInputFocus(), XGetInputFocus().- See Also:
-
RevertToParent
public static final int RevertToParentUsed in XSetInputFocus(), XGetInputFocus().- See Also:
-
InputOutput
public static final int InputOutputWindow classes used byXCreateWindow(long, long, int, int, int, int, int, int, int, org.lwjgl.system.linux.Visual, long, org.lwjgl.system.linux.XSetWindowAttributes)
.- See Also:
-
InputOnly
public static final int InputOnlyWindow classes used byXCreateWindow(long, long, int, int, int, int, int, int, int, org.lwjgl.system.linux.Visual, long, org.lwjgl.system.linux.XSetWindowAttributes)
.- See Also:
-
DontPreferBlanking
public static final int DontPreferBlankingSCREEN SAVER STUFF- See Also:
-
PreferBlanking
public static final int PreferBlankingSCREEN SAVER STUFF- See Also:
-
DefaultBlanking
public static final int DefaultBlankingSCREEN SAVER STUFF- See Also:
-
DisableScreenSaver
public static final int DisableScreenSaverSCREEN SAVER STUFF- See Also:
-
DisableScreenInterval
public static final int DisableScreenIntervalSCREEN SAVER STUFF- See Also:
-
DontAllowExposures
public static final int DontAllowExposuresSCREEN SAVER STUFF- See Also:
-
AllowExposures
public static final int AllowExposuresSCREEN SAVER STUFF- See Also:
-
DefaultExposures
public static final int DefaultExposuresSCREEN SAVER STUFF- See Also:
-
ScreenSaverReset
public static final int ScreenSaverResetSCREEN SAVER STUFF- See Also:
-
ScreenSaverActive
public static final int ScreenSaverActiveSCREEN SAVER STUFF- See Also:
-
PropModeReplace
public static final int PropModeReplaceProperty modes- See Also:
-
PropModePrepend
public static final int PropModePrependProperty modes- See Also:
-
PropModeAppend
public static final int PropModeAppendProperty modes- See Also:
-
GXclear
public static final int GXcleargraphics functions, as in GC.alu- See Also:
-
GXand
public static final int GXandgraphics functions, as in GC.alu- See Also:
-
GXandReverse
public static final int GXandReversegraphics functions, as in GC.alu- See Also:
-
GXcopy
public static final int GXcopygraphics functions, as in GC.alu- See Also:
-
GXandInverted
public static final int GXandInvertedgraphics functions, as in GC.alu- See Also:
-
GXnoop
public static final int GXnoopgraphics functions, as in GC.alu- See Also:
-
GXxor
public static final int GXxorgraphics functions, as in GC.alu- See Also:
-
GXor
public static final int GXorgraphics functions, as in GC.alu- See Also:
-
GXnor
public static final int GXnorgraphics functions, as in GC.alu- See Also:
-
GXequiv
public static final int GXequivgraphics functions, as in GC.alu- See Also:
-
GXinvert
public static final int GXinvertgraphics functions, as in GC.alu- See Also:
-
GXorReverse
public static final int GXorReversegraphics functions, as in GC.alu- See Also:
-
GXcopyInverted
public static final int GXcopyInvertedgraphics functions, as in GC.alu- See Also:
-
GXorInverted
public static final int GXorInvertedgraphics functions, as in GC.alu- See Also:
-
GXnand
public static final int GXnandgraphics functions, as in GC.alu- See Also:
-
GXset
public static final int GXsetgraphics functions, as in GC.alu- See Also:
-
LineSolid
public static final int LineSolidLineStyle- See Also:
-
LineOnOffDash
public static final int LineOnOffDashLineStyle- See Also:
-
LineDoubleDash
public static final int LineDoubleDashLineStyle- See Also:
-
CapNotLast
public static final int CapNotLastcapStyle- See Also:
-
CapButt
public static final int CapButtcapStyle- See Also:
-
CapRound
public static final int CapRoundcapStyle- See Also:
-
CapProjecting
public static final int CapProjectingcapStyle- See Also:
-
JoinMiter
public static final int JoinMiterjoinStyle- See Also:
-
JoinRound
public static final int JoinRoundjoinStyle- See Also:
-
JoinBevel
public static final int JoinBeveljoinStyle- See Also:
-
FillSolid
public static final int FillSolidfillStyle- See Also:
-
FillTiled
public static final int FillTiledfillStyle- See Also:
-
FillStippled
public static final int FillStippledfillStyle- See Also:
-
FillOpaqueStippled
public static final int FillOpaqueStippledfillStyle- See Also:
-
EvenOddRule
public static final int EvenOddRulefillRule- See Also:
-
WindingRule
public static final int WindingRulefillRule- See Also:
-
ClipByChildren
public static final int ClipByChildrensubwindow mode- See Also:
-
IncludeInferiors
public static final int IncludeInferiorssubwindow mode- See Also:
-
Unsorted
public static final int UnsortedSetClipRectangles ordering- See Also:
-
YSorted
public static final int YSortedSetClipRectangles ordering- See Also:
-
YXSorted
public static final int YXSortedSetClipRectangles ordering- See Also:
-
YXBanded
public static final int YXBandedSetClipRectangles ordering- See Also:
-
CoordModeOrigin
public static final int CoordModeOriginCoordinateMode for drawing routines- See Also:
-
CoordModePrevious
public static final int CoordModePreviousCoordinateMode for drawing routines- See Also:
-
Complex
public static final int ComplexPolygon shapes- See Also:
-
Nonconvex
public static final int NonconvexPolygon shapes- See Also:
-
Convex
public static final int ConvexPolygon shapes- See Also:
-
ArcChord
public static final int ArcChordArc modes for PolyFillArc- See Also:
-
ArcPieSlice
public static final int ArcPieSliceArc modes for PolyFillArc- See Also:
-
GCFunction
public static final int GCFunctionGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCPlaneMask
public static final int GCPlaneMaskGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCForeground
public static final int GCForegroundGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCBackground
public static final int GCBackgroundGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCLineWidth
public static final int GCLineWidthGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCLineStyle
public static final int GCLineStyleGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCCapStyle
public static final int GCCapStyleGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCJoinStyle
public static final int GCJoinStyleGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCFillStyle
public static final int GCFillStyleGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCFillRule
public static final int GCFillRuleGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCTile
public static final int GCTileGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCStipple
public static final int GCStippleGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCTileStipXOrigin
public static final int GCTileStipXOriginGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCTileStipYOrigin
public static final int GCTileStipYOriginGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCFont
public static final int GCFontGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCSubwindowMode
public static final int GCSubwindowModeGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCGraphicsExposures
public static final int GCGraphicsExposuresGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCClipXOrigin
public static final int GCClipXOriginGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCClipYOrigin
public static final int GCClipYOriginGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCClipMask
public static final int GCClipMaskGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCDashOffset
public static final int GCDashOffsetGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCDashList
public static final int GCDashListGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCArcMode
public static final int GCArcModeGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
GCLastBit
public static final int GCLastBitGC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges- See Also:
-
Above
public static final int Above- See Also:
-
Below
public static final int Below- See Also:
-
TopIf
public static final int TopIf- See Also:
-
BottomIf
public static final int BottomIf- See Also:
-
Opposite
public static final int Opposite- See Also:
-
MappingModifier
public static final int MappingModifier- See Also:
-
MappingKeyboard
public static final int MappingKeyboard- See Also:
-
MappingPointer
public static final int MappingPointer- See Also:
-
-
Method Details
-
getLibrary
Returns the X11SharedLibrary
. -
nXOpenDisplay
public static long nXOpenDisplay(long display_name) Unsafe version of:XOpenDisplay(java.nio.ByteBuffer)
-
XOpenDisplay
Returns a Display structure that serves as the connection to the X server and that contains all the information about that X server.XOpenDisplay
connects your application to the X server through TCP or DECnet communications protocols, or through some local inter-process communication protocol. If the hostname is a host machine name and a single colon (:) separates the hostname and display number,XOpenDisplay
connects using TCP streams. If the hostname is not specified, Xlib uses whatever it believes is the fastest transport. If the hostname is a host machine name and a double colon (::) separates the hostname and display number,XOpenDisplay
connects using DECnet. A single X server can support any or all of these transport mechanisms simultaneously. A particular Xlib implementation can support many more of these transport mechanisms.- Parameters:
display_name
- the hardware display name, which determines the display and communications domain to be used. On a POSIX-conformant system, if thedisplay_name
isNULL
, it defaults to the value of the DISPLAY environment variable.
-
XOpenDisplay
Returns a Display structure that serves as the connection to the X server and that contains all the information about that X server.XOpenDisplay
connects your application to the X server through TCP or DECnet communications protocols, or through some local inter-process communication protocol. If the hostname is a host machine name and a single colon (:) separates the hostname and display number,XOpenDisplay
connects using TCP streams. If the hostname is not specified, Xlib uses whatever it believes is the fastest transport. If the hostname is a host machine name and a double colon (::) separates the hostname and display number,XOpenDisplay
connects using DECnet. A single X server can support any or all of these transport mechanisms simultaneously. A particular Xlib implementation can support many more of these transport mechanisms.- Parameters:
display_name
- the hardware display name, which determines the display and communications domain to be used. On a POSIX-conformant system, if thedisplay_name
isNULL
, it defaults to the value of the DISPLAY environment variable.
-
XCloseDisplay
public static void XCloseDisplay(long display) Closes the connection to the X server for the display specified in theDisplay
structure and destroys all windows, resource IDs (Window, Font, Pixmap, Colormap, Cursor, and GContext), or other resources that the client has created on this display, unless the close-down mode of the resource has been changed (seeXSetCloseDownMode()
). Therefore, these windows, resource IDs, and other resources should never be referenced again or an error will be generated. Before exiting, you should callXCloseDisplay()
explicitly so that any pending errors are reported asXCloseDisplay()
performs a finalXSync()
operation.- Parameters:
display
- the connection to the X server
-
XDefaultScreen
public static int XDefaultScreen(long display) Returns a pointer to the default screen.- Parameters:
display
- the connection to the X server
-
XRootWindow
public static long XRootWindow(long display, int screen_number) Returns the root window of the specified screen.- Parameters:
display
- the connection to the X serverscreen_number
- the appropriate screen number on the host server
-
nXCreateColormap
public static long nXCreateColormap(long display, long w, long visual, int alloc) Unsafe version of:XCreateColormap(long, long, org.lwjgl.system.linux.Visual, int)
-
XCreateColormap
Creates a colormap of the specified visual type for the screen on which the specified window resides and returns the colormap ID associated with it. Note that the specified window is only used to determine the screen.- Parameters:
display
- the connection to the X serverw
- the windowvisual
- a visual type supported on the screen. If the visual type is not one supported by the screen, aBadMatch
error results.alloc
- the colormap entries to be allocated. You can pass AllocNone or AllocAll.
-
XFreeColormap
public static int XFreeColormap(long display, long colormap) Deletes the association between thecolormap
resource ID and thecolormap
and frees thecolormap
storage. However, this function has no effect on the default colormap for a screen. If the specifiedcolormap
is an installed map for a screen, it is uninstalled. If the specifiedcolormap
is defined as thecolormap
for a window,XFreeColormap()
changes the colormap associated with the window toNone
and generates aColormapNotify
event. X does not define the colors displayed for a window with a colormap ofNone
.- Parameters:
display
- the connection to the X servercolormap
- the colormap to destroy
-
nXCreateWindow
public static long nXCreateWindow(long display, long parent, int x, int y, int width, int height, int border_width, int depth, int windowClass, long visual, long valuemask, long attributes) -
XCreateWindow
public static long XCreateWindow(long display, long parent, int x, int y, int width, int height, int border_width, int depth, int windowClass, Visual visual, long valuemask, XSetWindowAttributes attributes) Creates an unmapped subwindow for a specified parent window, returns the window ID of the created window, and causes the X server to generate aCreateNotify
event. The created window is placed on top in the stacking order with respect to siblings.The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.
The x and y coordinates are the top-left outside corner of the window's borders and are relative to the inside of the parent window's borders.
The width and height are the created window's inside dimensions and do not include the created window's borders.
- Parameters:
display
- the connection to the X serverparent
- the parent windowx
- the window x-coordinatey
- the window y-coordinatewidth
- the window widthheight
- the window heightborder_width
- the border widthdepth
- the window's depth. A depth ofCopyFromParent
means the depth is taken from the parent.windowClass
- the created window's class. One of:InputOutput
InputOnly
CopyFromParent
visual
- the visual type. A visual ofCopyFromParent
means the visual type is taken from the parent.valuemask
- which window attributes are defined in the attributes argument. This mask is the bitwise inclusive OR of the valid attribute mask bits. Ifvaluemask
is zero, the attributes are ignored and are not referenced.attributes
- the structure from which the values (as specified by the value mask) are to be taken
-
XDestroyWindow
public static int XDestroyWindow(long display, long w) Destroys the specified window as well as all of its subwindows and causes the X server to generate aDestroyNotify
event for each window. The window should never be referenced again. If the window specified by thew
argument is mapped, it is unmapped automatically. The ordering of theDestroyNotify
events is such that for any given window being destroyed,DestroyNotify
is generated on any inferiors of the window before being generated on the window itself. The ordering among siblings and across subhierarchies is not otherwise constrained. If the window you specified is a root window, no windows are destroyed. Destroying a mapped window will generateExpose
events on other windows that were obscured by the window being destroyed.- Parameters:
display
- the connection to the X serverw
- the window
-
nXFree
public static int nXFree(long data) Unsafe version of:XFree(java.nio.ByteBuffer)
-
XFree
Free in-memory data that was created by an Xlib function.- Parameters:
data
- the data that is to be freed
-
XFree
Free in-memory data that was created by an Xlib function.- Parameters:
data
- the data that is to be freed
-
nXSendEvent
public static int nXSendEvent(long display, long w, int propagate, long event_mask, long event_send) Unsafe version of:XSendEvent(long, long, boolean, long, org.lwjgl.system.linux.XEvent)
-
XSendEvent
public static int XSendEvent(long display, long w, boolean propagate, long event_mask, XEvent event_send) TheXSendEvent
function identifies the destination window, determines which clients should receive the specified events, and ignores any active grabs. This function requires you to pass an event mask. This function uses thew
argument to identify the destination window as follows:- If
w
isPointerWindow
, the destination window is the window that contains the pointer. - If
w
isInputFocus
and if the focus window contains the pointer, the destination window is the window that contains the pointer; otherwise, the destination window is the focus window.
To determine which clients should receive the specified events,
XSendEvent
uses the propagate argument as follows:- If
event_mask
is the empty set, the event is sent to the client that created the destination window. If that client no longer exists, no event is sent. - If
propagate
isFalse
, the event is sent to every client selecting on destination any of the event types in theevent_mask
argument. - If
propagate
isTrue
and no clients have selected on destination any of the event types in event-mask, the destination is replaced with the closest ancestor of destination for which some client has selected a type in event-mask and for which no intervening window has that type in its do-not-propagate-mask. If no such window exists or if the window is an ancestor of the focus window andInputFocus
was originally specified as the destination, the event is not sent to any clients. Otherwise, the event is reported to every client selecting on the final destination any of the types specified inevent_mask
.
The event in the
XEvent
structure must be one of the core events or one of the events defined by an extension (or aBadValue
error results) so that the X server can correctly byte-swap the contents as necessary. The contents of the event are otherwise unaltered and unchecked by the X server except to forcesend_event
toTrue
in the forwarded event and to set the serial number in the event correctly; therefore these fields and the display field are ignored byXSendEvent
.XSendEvent
returns zero if the conversion to wire protocol format failed and returns nonzero otherwise.XSendEvent
can generateBadValue
andBadWindow
errors.The server may retain the recent history of the pointer motion and do so to a finer granularity than is reported by
MotionNotify
events. TheXGetMotionEvents(long, long, long, long)
function makes this history available.- Parameters:
display
- the connection to the X serverw
- specifies the window the event is to be sent topropagate
- specifies aBoolean
valueevent_mask
- specifies the event maskevent_send
- specifies the event that is to be sent
- If
-
XDisplayMotionBufferSize
public static long XDisplayMotionBufferSize(long display) - Parameters:
display
- the connection to the X server
-
nXGetMotionEvents
public static long nXGetMotionEvents(long display, long w, long start, long stop, long nevents_return) Unsafe version of:XGetMotionEvents(long, long, long, long)
-
XGetMotionEvents
@Nullable public static XTimeCoord.Buffer XGetMotionEvents(long display, long w, long start, long stop) TheXGetMotionEvents
function returns all events in the motion history buffer that fall between the specified start and stop times, inclusive, and that have coordinates that lie within the specified window (including its borders) at its present placement.If the server does not support motion history, if the start time is later than the stop time, or if the start time is in the future, no events are returned;
XGetMotionEvents
returnsNULL
. If the stop time is in the future, it is equivalent to specifyingCurrentTime
.XGetMotionEvents
can generate aBadWindow
error.- Parameters:
display
- the connection to the X server
-
nXTranslateCoordinates
public static int nXTranslateCoordinates(long display, long src_w, long dest_w, int src_x, int src_y, long dest_x_return, long dest_y_return, long child_return) -
XTranslateCoordinates
public static boolean XTranslateCoordinates(long display, long src_w, long dest_w, int src_x, int src_y, IntBuffer dest_x_return, IntBuffer dest_y_return, CLongBuffer child_return) Translates window coordinates.If
XTranslateCoordinates
returnsTrue
, it takes thesrc_x
andsrc_y
coordinates relative to the source window's origin and returns these coordinates todest_x_return
anddest_y_return
relative to the destination window's origin. IfXTranslateCoordinates
returnsFalse
,src_w
anddest_w
are on different screens, anddest_x_return
anddest_y_return
are zero. If the coordinates are contained in a mapped child ofdest_w
, that child is returned tochild_return
. Otherwise,child_return
is set toNone
.XTranslateCoordinates
can generate aBadWindow
error.- Parameters:
display
- the connection to the X serversrc_w
- specifies the source windowdest_w
- specifies the destination windowsrc_x
- specifies the x coordinate within the source windowsrc_y
- specifies the x coordinate within the source windowdest_x_return
- returns the x coordinate within the destination windowdest_y_return
- returns the y coordinate within the destination windowchild_return
- returns the child if the coordinates are contained in a mapped child of the destination window
-
XTranslateCoordinates
public static boolean XTranslateCoordinates(long display, long src_w, long dest_w, int src_x, int src_y, int[] dest_x_return, int[] dest_y_return, CLongBuffer child_return)
-