Class X11



  • public class X11
    extends java.lang.Object
    Native bindings to libX11.
    • Field Detail

      • None

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

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

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

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

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

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

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

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

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

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

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

        public static final int NoSymbol
        RESERVED RESOURCE AND CONSTANT DEFINITIONS
        See Also:
        Constant Field Values
      • BadImplementation

        public static final int BadImplementation
        ERROR CODES
        See Also:
        Constant Field Values
      • CWBackPixmap

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int CWCursor
        Window attributes for CreateWindow and ChangeWindowAttributes
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • NotifyWhileGrabbed

        public static final int NotifyWhileGrabbed
        Notify modes
        See Also:
        Constant Field Values
      • NotifyNonlinearVirtual

        public static final int NotifyNonlinearVirtual
        Notify detail
        See Also:
        Constant Field Values
      • NotifyPointerRoot

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

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

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

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

        public static final int VisibilityFullyObscured
        Visibility notify
        See Also:
        Constant Field Values
      • PlaceOnBottom

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

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

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

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

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

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

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

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

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

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

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

        public static final int GrabFrozen
        GrabPointer, GrabKeyboard reply status
        See Also:
        Constant Field Values
      • ReplayKeyboard

        public static final int ReplayKeyboard
        AllowEvents modes
        See Also:
        Constant Field Values
      • RevertToNone

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

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

        public static final int RevertToParent
        Used in XSetInputFocus(), XGetInputFocus().
        See Also:
        Constant Field Values
      • DontPreferBlanking

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

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

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

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

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

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

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

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

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

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

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

        public static final int PropModePrepend
        Property modes
        See Also:
        Constant Field Values
      • GXclear

        public static final int GXclear
        graphics functions, as in GC.alu
        See Also:
        Constant Field Values
      • GXandReverse

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

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

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

        public static final int GXnoop
        graphics functions, as in GC.alu
        See Also:
        Constant Field Values
      • GXequiv

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

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

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

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

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

        public static final int GXnand
        graphics functions, as in GC.alu
        See Also:
        Constant Field Values
      • FillOpaqueStippled

        public static final int FillOpaqueStippled
        fillStyle
        See Also:
        Constant Field Values
      • IncludeInferiors

        public static final int IncludeInferiors
        subwindow mode
        See Also:
        Constant Field Values
      • CoordModeOrigin

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

        public static final int CoordModePrevious
        CoordinateMode for drawing routines
        See Also:
        Constant Field Values
      • ArcPieSlice

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      • XOpenDisplay

        public static long XOpenDisplay(java.nio.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(java.lang.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
      • 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 X11.None and generates a ColormapNotify event. X does not define the colors displayed for a window with a colormap of X11.None.
        Parameters:
        display - the connection to the X server
        colormap - the colormap to destroy
      • 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 X11.CopyFromParent means the depth is taken from the parent.
        windowClass - the created window's class. One of:
        X11.InputOutputX11.InputOnlyX11.CopyFromParent
        visual - the visual type. A visual of X11.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
      • XFree

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