Class X11

java.lang.Object
org.lwjgl.system.linux.X11

public class X11 extends Object
Native bindings to libX11.
  • Field Details

    • True

      public static final int True
      Boolean values
      See Also:
    • False

      public static final int False
      Boolean values
      See Also:
    • None

      public static final int None
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • ParentRelative

      public static final int ParentRelative
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • CopyFromParent

      public static final int CopyFromParent
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • PointerWindow

      public static final int PointerWindow
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • InputFocus

      public static final int InputFocus
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • PointerRoot

      public static final int PointerRoot
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • AnyPropertyType

      public static final int AnyPropertyType
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • AnyKey

      public static final int AnyKey
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • AnyButton

      public static final int AnyButton
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • AllTemporary

      public static final int AllTemporary
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • CurrentTime

      public static final int CurrentTime
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • NoSymbol

      public static final int NoSymbol
      RESERVED RESOURCE AND CONSTANT DEFINITIONS
      See Also:
    • Success

      public static final int Success
      ERROR CODES
      See Also:
    • BadRequest

      public static final int BadRequest
      ERROR CODES
      See Also:
    • BadValue

      public static final int BadValue
      ERROR CODES
      See Also:
    • BadWindow

      public static final int BadWindow
      ERROR CODES
      See Also:
    • BadPixmap

      public static final int BadPixmap
      ERROR CODES
      See Also:
    • BadAtom

      public static final int BadAtom
      ERROR CODES
      See Also:
    • BadCursor

      public static final int BadCursor
      ERROR CODES
      See Also:
    • BadFont

      public static final int BadFont
      ERROR CODES
      See Also:
    • BadMatch

      public static final int BadMatch
      ERROR CODES
      See Also:
    • BadDrawable

      public static final int BadDrawable
      ERROR CODES
      See Also:
    • BadAccess

      public static final int BadAccess
      ERROR CODES
      See Also:
    • BadAlloc

      public static final int BadAlloc
      ERROR CODES
      See Also:
    • BadColor

      public static final int BadColor
      ERROR CODES
      See Also:
    • BadGC

      public static final int BadGC
      ERROR CODES
      See Also:
    • BadIDChoice

      public static final int BadIDChoice
      ERROR CODES
      See Also:
    • BadName

      public static final int BadName
      ERROR CODES
      See Also:
    • BadLength

      public static final int BadLength
      ERROR CODES
      See Also:
    • BadImplementation

      public static final int BadImplementation
      ERROR CODES
      See Also:
    • FirstExtensionError

      public static final int FirstExtensionError
      ERROR CODES
      See Also:
    • LastExtensionError

      public static final int LastExtensionError
      ERROR CODES
      See Also:
    • CWBackPixmap

      public static final int CWBackPixmap
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWBackPixel

      public static final int CWBackPixel
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWBorderPixmap

      public static final int CWBorderPixmap
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWBorderPixel

      public static final int CWBorderPixel
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWBitGravity

      public static final int CWBitGravity
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWWinGravity

      public static final int CWWinGravity
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWBackingStore

      public static final int CWBackingStore
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWBackingPlanes

      public static final int CWBackingPlanes
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWBackingPixel

      public static final int CWBackingPixel
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWOverrideRedirect

      public static final int CWOverrideRedirect
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWSaveUnder

      public static final int CWSaveUnder
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWEventMask

      public static final int CWEventMask
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWDontPropagate

      public static final int CWDontPropagate
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWColormap

      public static final int CWColormap
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • CWCursor

      public static final int CWCursor
      Window attributes for CreateWindow and ChangeWindowAttributes
      See Also:
    • NoEventMask

      public static final int NoEventMask
      Input 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 KeyPressMask
      Input 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 KeyReleaseMask
      Input 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 ButtonPressMask
      Input 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 ButtonReleaseMask
      Input 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 EnterWindowMask
      Input 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 LeaveWindowMask
      Input 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 PointerMotionMask
      Input 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 PointerMotionHintMask
      Input 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 Button1MotionMask
      Input 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 Button2MotionMask
      Input 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 Button3MotionMask
      Input 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 Button4MotionMask
      Input 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 Button5MotionMask
      Input 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 ButtonMotionMask
      Input 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 KeymapStateMask
      Input 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 ExposureMask
      Input 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 VisibilityChangeMask
      Input 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 StructureNotifyMask
      Input 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 ResizeRedirectMask
      Input 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 SubstructureNotifyMask
      Input 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 SubstructureRedirectMask
      Input 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 FocusChangeMask
      Input 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 PropertyChangeMask
      Input 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 ColormapChangeMask
      Input 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 OwnerGrabButtonMask
      Input 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 KeyPress
      Event names. Used in "type" field in XEvent 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 KeyRelease
      Event names. Used in "type" field in XEvent 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 ButtonPress
      Event names. Used in "type" field in XEvent 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 ButtonRelease
      Event names. Used in "type" field in XEvent 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 MotionNotify
      Event names. Used in "type" field in XEvent 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 EnterNotify
      Event names. Used in "type" field in XEvent 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 LeaveNotify
      Event names. Used in "type" field in XEvent 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 FocusIn
      Event names. Used in "type" field in XEvent 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 FocusOut
      Event names. Used in "type" field in XEvent 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 KeymapNotify
      Event names. Used in "type" field in XEvent 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 Expose
      Event names. Used in "type" field in XEvent 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 GraphicsExpose
      Event names. Used in "type" field in XEvent 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 NoExpose
      Event names. Used in "type" field in XEvent 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 VisibilityNotify
      Event names. Used in "type" field in XEvent 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 CreateNotify
      Event names. Used in "type" field in XEvent 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 DestroyNotify
      Event names. Used in "type" field in XEvent 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 UnmapNotify
      Event names. Used in "type" field in XEvent 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 MapNotify
      Event names. Used in "type" field in XEvent 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 MapRequest
      Event names. Used in "type" field in XEvent 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 ReparentNotify
      Event names. Used in "type" field in XEvent 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 ConfigureNotify
      Event names. Used in "type" field in XEvent 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 ConfigureRequest
      Event names. Used in "type" field in XEvent 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 GravityNotify
      Event names. Used in "type" field in XEvent 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 ResizeRequest
      Event names. Used in "type" field in XEvent 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 CirculateNotify
      Event names. Used in "type" field in XEvent 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 CirculateRequest
      Event names. Used in "type" field in XEvent 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 PropertyNotify
      Event names. Used in "type" field in XEvent 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 SelectionClear
      Event names. Used in "type" field in XEvent 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 SelectionRequest
      Event names. Used in "type" field in XEvent 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 SelectionNotify
      Event names. Used in "type" field in XEvent 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 ColormapNotify
      Event names. Used in "type" field in XEvent 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 ClientMessage
      Event names. Used in "type" field in XEvent 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 MappingNotify
      Event names. Used in "type" field in XEvent 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 GenericEvent
      Event names. Used in "type" field in XEvent 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 LASTEvent
      Event names. Used in "type" field in XEvent 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 ShiftMask
      Key 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 LockMask
      Key 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 ControlMask
      Key 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 Mod1Mask
      Key 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 Mod2Mask
      Key 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 Mod3Mask
      Key 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 Mod4Mask
      Key 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 Mod5Mask
      Key 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 ShiftMapIndex
      modifier 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 LockMapIndex
      modifier 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 ControlMapIndex
      modifier 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 Mod1MapIndex
      modifier 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 Mod2MapIndex
      modifier 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 Mod3MapIndex
      modifier 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 Mod4MapIndex
      modifier 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 Mod5MapIndex
      modifier 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 Button1Mask
      button masks. Used in same manner as Key masks above. Not to be confused with button names below.
      See Also:
    • Button2Mask

      public static final int Button2Mask
      button masks. Used in same manner as Key masks above. Not to be confused with button names below.
      See Also:
    • Button3Mask

      public static final int Button3Mask
      button masks. Used in same manner as Key masks above. Not to be confused with button names below.
      See Also:
    • Button4Mask

      public static final int Button4Mask
      button masks. Used in same manner as Key masks above. Not to be confused with button names below.
      See Also:
    • Button5Mask

      public static final int Button5Mask
      button masks. Used in same manner as Key masks above. Not to be confused with button names below.
      See Also:
    • AnyModifier

      public static final int AnyModifier
      button masks. Used in same manner as Key masks above. Not to be confused with button names below.
      See Also:
    • Button1

      public static final int Button1
      button 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 Button2
      button 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 Button3
      button 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 Button4
      button 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 Button5
      button 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 NotifyNormal
      Notify modes
      See Also:
    • NotifyGrab

      public static final int NotifyGrab
      Notify modes
      See Also:
    • NotifyUngrab

      public static final int NotifyUngrab
      Notify modes
      See Also:
    • NotifyWhileGrabbed

      public static final int NotifyWhileGrabbed
      Notify modes
      See Also:
    • NotifyHint

      public static final int NotifyHint
      Notify modes
      See Also:
    • NotifyAncestor

      public static final int NotifyAncestor
      Notify detail
      See Also:
    • NotifyVirtual

      public static final int NotifyVirtual
      Notify detail
      See Also:
    • NotifyInferior

      public static final int NotifyInferior
      Notify detail
      See Also:
    • NotifyNonlinear

      public static final int NotifyNonlinear
      Notify detail
      See Also:
    • NotifyNonlinearVirtual

      public static final int NotifyNonlinearVirtual
      Notify detail
      See Also:
    • NotifyPointer

      public static final int NotifyPointer
      Notify detail
      See Also:
    • NotifyPointerRoot

      public static final int NotifyPointerRoot
      Notify detail
      See Also:
    • NotifyDetailNone

      public static final int NotifyDetailNone
      Notify detail
      See Also:
    • VisibilityUnobscured

      public static final int VisibilityUnobscured
      Visibility notify
      See Also:
    • VisibilityPartiallyObscured

      public static final int VisibilityPartiallyObscured
      Visibility notify
      See Also:
    • VisibilityFullyObscured

      public static final int VisibilityFullyObscured
      Visibility notify
      See Also:
    • PlaceOnTop

      public static final int PlaceOnTop
      Circulation request
      See Also:
    • PlaceOnBottom

      public static final int PlaceOnBottom
      Circulation request
      See Also:
    • PropertyNewValue

      public static final int PropertyNewValue
      Property notification
      See Also:
    • PropertyDelete

      public static final int PropertyDelete
      Property notification
      See Also:
    • ColormapUninstalled

      public static final int ColormapUninstalled
      Color Map notification
      See Also:
    • ColormapInstalled

      public static final int ColormapInstalled
      Color Map notification
      See Also:
    • GrabModeSync

      public static final int GrabModeSync
      GrabPointer, GrabButton, GrabKeyboard, GrabKey Modes
      See Also:
    • GrabModeAsync

      public static final int GrabModeAsync
      GrabPointer, GrabButton, GrabKeyboard, GrabKey Modes
      See Also:
    • GrabSuccess

      public static final int GrabSuccess
      GrabPointer, GrabKeyboard reply status
      See Also:
    • AlreadyGrabbed

      public static final int AlreadyGrabbed
      GrabPointer, GrabKeyboard reply status
      See Also:
    • GrabInvalidTime

      public static final int GrabInvalidTime
      GrabPointer, GrabKeyboard reply status
      See Also:
    • GrabNotViewable

      public static final int GrabNotViewable
      GrabPointer, GrabKeyboard reply status
      See Also:
    • GrabFrozen

      public static final int GrabFrozen
      GrabPointer, GrabKeyboard reply status
      See Also:
    • AsyncPointer

      public static final int AsyncPointer
      AllowEvents modes
      See Also:
    • SyncPointer

      public static final int SyncPointer
      AllowEvents modes
      See Also:
    • ReplayPointer

      public static final int ReplayPointer
      AllowEvents modes
      See Also:
    • AsyncKeyboard

      public static final int AsyncKeyboard
      AllowEvents modes
      See Also:
    • SyncKeyboard

      public static final int SyncKeyboard
      AllowEvents modes
      See Also:
    • ReplayKeyboard

      public static final int ReplayKeyboard
      AllowEvents modes
      See Also:
    • AsyncBoth

      public static final int AsyncBoth
      AllowEvents modes
      See Also:
    • SyncBoth

      public static final int SyncBoth
      AllowEvents modes
      See Also:
    • AllocNone

      public static final int AllocNone
      See Also:
    • AllocAll

      public static final int AllocAll
      See Also:
    • RevertToNone

      public static final int RevertToNone
      Used in XSetInputFocus(), XGetInputFocus().
      See Also:
    • RevertToPointerRoot

      public static final int RevertToPointerRoot
      Used in XSetInputFocus(), XGetInputFocus().
      See Also:
    • RevertToParent

      public static final int RevertToParent
      Used in XSetInputFocus(), XGetInputFocus().
      See Also:
    • InputOutput

      public static final int InputOutput
      See Also:
    • InputOnly

      public static final int InputOnly
      See Also:
    • DontPreferBlanking

      public static final int DontPreferBlanking
      SCREEN SAVER STUFF
      See Also:
    • PreferBlanking

      public static final int PreferBlanking
      SCREEN SAVER STUFF
      See Also:
    • DefaultBlanking

      public static final int DefaultBlanking
      SCREEN SAVER STUFF
      See Also:
    • DisableScreenSaver

      public static final int DisableScreenSaver
      SCREEN SAVER STUFF
      See Also:
    • DisableScreenInterval

      public static final int DisableScreenInterval
      SCREEN SAVER STUFF
      See Also:
    • DontAllowExposures

      public static final int DontAllowExposures
      SCREEN SAVER STUFF
      See Also:
    • AllowExposures

      public static final int AllowExposures
      SCREEN SAVER STUFF
      See Also:
    • DefaultExposures

      public static final int DefaultExposures
      SCREEN SAVER STUFF
      See Also:
    • ScreenSaverReset

      public static final int ScreenSaverReset
      SCREEN SAVER STUFF
      See Also:
    • ScreenSaverActive

      public static final int ScreenSaverActive
      SCREEN SAVER STUFF
      See Also:
    • PropModeReplace

      public static final int PropModeReplace
      Property modes
      See Also:
    • PropModePrepend

      public static final int PropModePrepend
      Property modes
      See Also:
    • PropModeAppend

      public static final int PropModeAppend
      Property modes
      See Also:
    • GXclear

      public static final int GXclear
      graphics functions, as in GC.alu
      See Also:
    • GXand

      public static final int GXand
      graphics functions, as in GC.alu
      See Also:
    • GXandReverse

      public static final int GXandReverse
      graphics functions, as in GC.alu
      See Also:
    • GXcopy

      public static final int GXcopy
      graphics functions, as in GC.alu
      See Also:
    • GXandInverted

      public static final int GXandInverted
      graphics functions, as in GC.alu
      See Also:
    • GXnoop

      public static final int GXnoop
      graphics functions, as in GC.alu
      See Also:
    • GXxor

      public static final int GXxor
      graphics functions, as in GC.alu
      See Also:
    • GXor

      public static final int GXor
      graphics functions, as in GC.alu
      See Also:
    • GXnor

      public static final int GXnor
      graphics functions, as in GC.alu
      See Also:
    • GXequiv

      public static final int GXequiv
      graphics functions, as in GC.alu
      See Also:
    • GXinvert

      public static final int GXinvert
      graphics functions, as in GC.alu
      See Also:
    • GXorReverse

      public static final int GXorReverse
      graphics functions, as in GC.alu
      See Also:
    • GXcopyInverted

      public static final int GXcopyInverted
      graphics functions, as in GC.alu
      See Also:
    • GXorInverted

      public static final int GXorInverted
      graphics functions, as in GC.alu
      See Also:
    • GXnand

      public static final int GXnand
      graphics functions, as in GC.alu
      See Also:
    • GXset

      public static final int GXset
      graphics functions, as in GC.alu
      See Also:
    • LineSolid

      public static final int LineSolid
      LineStyle
      See Also:
    • LineOnOffDash

      public static final int LineOnOffDash
      LineStyle
      See Also:
    • LineDoubleDash

      public static final int LineDoubleDash
      LineStyle
      See Also:
    • CapNotLast

      public static final int CapNotLast
      capStyle
      See Also:
    • CapButt

      public static final int CapButt
      capStyle
      See Also:
    • CapRound

      public static final int CapRound
      capStyle
      See Also:
    • CapProjecting

      public static final int CapProjecting
      capStyle
      See Also:
    • JoinMiter

      public static final int JoinMiter
      joinStyle
      See Also:
    • JoinRound

      public static final int JoinRound
      joinStyle
      See Also:
    • JoinBevel

      public static final int JoinBevel
      joinStyle
      See Also:
    • FillSolid

      public static final int FillSolid
      fillStyle
      See Also:
    • FillTiled

      public static final int FillTiled
      fillStyle
      See Also:
    • FillStippled

      public static final int FillStippled
      fillStyle
      See Also:
    • FillOpaqueStippled

      public static final int FillOpaqueStippled
      fillStyle
      See Also:
    • EvenOddRule

      public static final int EvenOddRule
      fillRule
      See Also:
    • WindingRule

      public static final int WindingRule
      fillRule
      See Also:
    • ClipByChildren

      public static final int ClipByChildren
      subwindow mode
      See Also:
    • IncludeInferiors

      public static final int IncludeInferiors
      subwindow mode
      See Also:
    • Unsorted

      public static final int Unsorted
      SetClipRectangles ordering
      See Also:
    • YSorted

      public static final int YSorted
      SetClipRectangles ordering
      See Also:
    • YXSorted

      public static final int YXSorted
      SetClipRectangles ordering
      See Also:
    • YXBanded

      public static final int YXBanded
      SetClipRectangles ordering
      See Also:
    • CoordModeOrigin

      public static final int CoordModeOrigin
      CoordinateMode for drawing routines
      See Also:
    • CoordModePrevious

      public static final int CoordModePrevious
      CoordinateMode for drawing routines
      See Also:
    • Complex

      public static final int Complex
      Polygon shapes
      See Also:
    • Nonconvex

      public static final int Nonconvex
      Polygon shapes
      See Also:
    • Convex

      public static final int Convex
      Polygon shapes
      See Also:
    • ArcChord

      public static final int ArcChord
      Arc modes for PolyFillArc
      See Also:
    • ArcPieSlice

      public static final int ArcPieSlice
      Arc modes for PolyFillArc
      See Also:
    • GCFunction

      public static final int GCFunction
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCPlaneMask

      public static final int GCPlaneMask
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCForeground

      public static final int GCForeground
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCBackground

      public static final int GCBackground
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCLineWidth

      public static final int GCLineWidth
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCLineStyle

      public static final int GCLineStyle
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCCapStyle

      public static final int GCCapStyle
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCJoinStyle

      public static final int GCJoinStyle
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCFillStyle

      public static final int GCFillStyle
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCFillRule

      public static final int GCFillRule
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCTile

      public static final int GCTile
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCStipple

      public static final int GCStipple
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCTileStipXOrigin

      public static final int GCTileStipXOrigin
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCTileStipYOrigin

      public static final int GCTileStipYOrigin
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCFont

      public static final int GCFont
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCSubwindowMode

      public static final int GCSubwindowMode
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCGraphicsExposures

      public static final int GCGraphicsExposures
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCClipXOrigin

      public static final int GCClipXOrigin
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCClipYOrigin

      public static final int GCClipYOrigin
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCClipMask

      public static final int GCClipMask
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCDashOffset

      public static final int GCDashOffset
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCDashList

      public static final int GCDashList
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCArcMode

      public static final int GCArcMode
      GC components: masks used in CreateGC, CopyGC, ChangeGC, OR'ed into GC.stateChanges
      See Also:
    • GCLastBit

      public static final int GCLastBit
      GC 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

      public static SharedLibrary getLibrary()
      Returns the X11 SharedLibrary.
    • nXOpenDisplay

      public static long nXOpenDisplay(long display_name)
    • XOpenDisplay

      public static long XOpenDisplay(@Nullable 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. 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 the display_name is NULL, it defaults to the value of the DISPLAY environment variable.
    • XOpenDisplay

      public static long XOpenDisplay(@Nullable 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. 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 the display_name is NULL, 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 the Display 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 (see XSetCloseDownMode()). Therefore, these windows, resource IDs, and other resources should never be referenced again or an error will be generated. Before exiting, you should call XCloseDisplay() explicitly so that any pending errors are reported as XCloseDisplay() performs a final XSync() 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 server
      screen_number - the appropriate screen number on the host server
    • nXCreateColormap

      public static long nXCreateColormap(long display, long w, long visual, int alloc)
    • XCreateColormap

      public 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. Note that the specified window is only used to determine the screen.
      Parameters:
      display - the connection to the X server
      w - the window
      visual - a visual type supported on the screen. If the visual type is not one supported by the screen, a BadMatch 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 the colormap resource ID and the colormap and frees the colormap storage. However, this function has no effect on the default colormap for a screen. If the specified colormap is an installed map for a screen, it is uninstalled. If the specified colormap is defined as the colormap for a window, XFreeColormap() changes the colormap associated with the window to None and generates a ColormapNotify event. X does not define the colors displayed for a window with a colormap of None.
      Parameters:
      display - the connection to the X server
      colormap - 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 a CreateNotify 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 server
      parent - the parent window
      x - the window x-coordinate
      y - the window y-coordinate
      width - the window width
      height - the window height
      border_width - the border width
      depth - the window's depth. A depth of CopyFromParent means the depth is taken from the parent.
      windowClass - the created window's class. One of:
      InputOutputInputOnlyCopyFromParent
      visual - the visual type. A visual of CopyFromParent 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. If valuemask 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 a DestroyNotify event for each window. The window should never be referenced again. If the window specified by the w argument is mapped, it is unmapped automatically. The ordering of the DestroyNotify 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 generate Expose events on other windows that were obscured by the window being destroyed.
      Parameters:
      display - the connection to the X server
      w - the window
    • nXFree

      public static int nXFree(long data)
      Unsafe version of: XFree(java.nio.ByteBuffer)
    • XFree

      public static int XFree(ByteBuffer data)
      Free in-memory data that was created by an Xlib function.
      Parameters:
      data - the data that is to be freed
    • XFree

      public static int XFree(PointerBuffer data)
      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)
    • XSendEvent

      public static int XSendEvent(long display, long w, boolean propagate, long event_mask, XEvent event_send)
      The XSendEvent 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 the w argument to identify the destination window as follows:
      • If w is PointerWindow, the destination window is the window that contains the pointer.
      • If w is InputFocus 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 is False, the event is sent to every client selecting on destination any of the event types in the event_mask argument.
      • If propagate is True 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 and InputFocus 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 in event_mask.

      The event in the XEvent structure must be one of the core events or one of the events defined by an extension (or a BadValue 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 force send_event to True in the forwarded event and to set the serial number in the event correctly; therefore these fields and the display field are ignored by XSendEvent.

      XSendEvent returns zero if the conversion to wire protocol format failed and returns nonzero otherwise. XSendEvent can generate BadValue and BadWindow 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. The XGetMotionEvents(long, long, long, long) function makes this history available.

      Parameters:
      display - the connection to the X server
      w - specifies the window the event is to be sent to
      propagate - specifies a Boolean value
      event_mask - specifies the event mask
      event_send - specifies the event that is to be sent
    • 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)
    • XGetMotionEvents

      @Nullable public static XTimeCoord.Buffer XGetMotionEvents(long display, long w, long start, long stop)
      The XGetMotionEvents 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 returns NULL. If the stop time is in the future, it is equivalent to specifying CurrentTime. XGetMotionEvents can generate a BadWindow 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 returns True, it takes the src_x and src_y coordinates relative to the source window's origin and returns these coordinates to dest_x_return and dest_y_return relative to the destination window's origin. If XTranslateCoordinates returns False, src_w and dest_w are on different screens, and dest_x_return and dest_y_return are zero. If the coordinates are contained in a mapped child of dest_w, that child is returned to child_return. Otherwise, child_return is set to None.

      XTranslateCoordinates can generate a BadWindow error.

      Parameters:
      display - the connection to the X server
      src_w - specifies the source window
      dest_w - specifies the destination window
      src_x - specifies the x coordinate within the source window
      src_y - specifies the x coordinate within the source window
      dest_x_return - returns the x coordinate within the destination window
      dest_y_return - returns the y coordinate within the destination window
      child_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)