com.sun.jna.examples.unix

Interface X11

public interface X11 extends Library

Definition (incomplete) of the X library.
Nested Class Summary
static classX11.Atom
static classX11.AtomByReference
static classX11.Colormap
static classX11.Cursor
static classX11.Display
static classX11.Drawable
static classX11.Font
static classX11.GC
static classX11.KeySym
static classX11.Pixmap
static classX11.Screen
static classX11.Visual
static classX11.VisualID
static classX11.Window
static classX11.WindowByReference
static classX11.XAnyEvent
static classX11.XButtonEvent
static classX11.XButtonPressedEvent
static classX11.XButtonReleasedEvent
static classX11.XCirculateEvent
static classX11.XCirculateRequestEvent
static classX11.XClientMessageEvent
static classX11.XColormapEvent
static classX11.XConfigureEvent
static classX11.XConfigureRequestEvent
static classX11.XCreateWindowEvent
static classX11.XCrossingEvent
static classX11.XDestroyWindowEvent
static classX11.XDeviceByReference
static interfaceX11.Xevie
Definition of the Xevie library.
static interfaceX11.Xext
Definition (incomplete) of the Xext library.
static classX11.XEnterWindowEvent
static classX11.XErrorEvent
static classX11.XEvent
DEFINITIONS OF SPECIFIC EVENTS
static classX11.XExposeEvent
static classX11.XFocusChangeEvent
static classX11.XFocusInEvent
static classX11.XFocusOutEvent
static classX11.XGCValues
static classX11.XGraphicsExposeEvent
static classX11.XGravityEvent
static classX11.XID
static classX11.XImage
static classX11.XInputClassInfoByReference
static classX11.XKeyboardControlRef
static classX11.XKeyboardStateRef
static classX11.XKeyEvent
static classX11.XKeymapEvent
static classX11.XLeaveWindowEvent
static classX11.XMapEvent
static classX11.XMappingEvent
static classX11.XMapRequestEvent
static classX11.XModifierKeymapRef
The modifiermap member of the XModifierKeymap structure contains 8 sets of max_keypermod KeyCodes, one for each modifier in the order Shift, Lock, Control, Mod1, Mod2, Mod3, Mod4, and Mod5.
static classX11.XMotionEvent
static classX11.XNoExposeEvent
static classX11.XPoint
static classX11.XPointerMovedEvent
static classX11.XPropertyEvent
static interfaceX11.Xrender
Definition (incomplete) of the Xrender library.
static classX11.XRectangle
static classX11.XReparentEvent
static classX11.XResizeRequestEvent
static classX11.XSelectionClearEvent
static classX11.XSelectionEvent
static classX11.XSelectionRequestEvent
static classX11.XSetWindowAttributes
static classX11.XSizeHints
static interfaceX11.XTest
Definition of the XTest library.
static classX11.XTextProperty
static classX11.XUnmapEvent
static classX11.XVisibilityEvent
static classX11.XVisualInfo
static classX11.XWindowAttributes
static classX11.XWMHints
Field Summary
intAbove
intAllocAll
intAllocNone
COLOR MAP STUFF
intAllowExposures
intAllTemporary
intAlreadyGrabbed
intAlways
intAnyButton
intAnyKey
intAnyModifier
intAnyPropertyType
intArcChord
intArcPieSlice
intAsyncBoth
intAsyncKeyboard
intAsyncPointer
intAutoRepeatModeDefault
intAutoRepeatModeOff
KEYBOARD/POINTER STUFF
intAutoRepeatModeOn
intBadAccess
intBadAlloc
intBadAtom
intBadColor
intBadCursor
intBadDrawable
intBadFont
intBadGC
intBadIDChoice
intBadImplementation
intBadLength
intBadMatch
intBadName
intBadPixmap
intBadRequest
intBadValue
intBadWindow
intBelow
intBottomIf
intButton1
intButton1Mask
intButton1MotionMask
intButton2
intButton2Mask
intButton2MotionMask
intButton3
intButton3Mask
intButton3MotionMask
intButton4
intButton4Mask
intButton4MotionMask
intButton5
intButton5Mask
intButton5MotionMask
intButtonMotionMask
intButtonPress
intButtonPressMask
intButtonRelease
intButtonReleaseMask
intCapButt
intCapNotLast
intCapProjecting
intCapRound
intCenterGravity
intCirculateNotify
intCirculateRequest
intClientMessage
intClipByChildren
intColormapChangeMask
intColormapInstalled
intColormapNotify
intColormapUninstalled
intComplex
intConfigureNotify
intConfigureRequest
intControlMapIndex
intControlMask
intConvex
intCoordModeOrigin
intCoordModePrevious
intCopyFromParent
intCreateNotify
intCurrentTime
intCursorShape
CURSOR STUFF
intCWBackingPixel
intCWBackingPlanes
intCWBackingStore
intCWBackPixel
intCWBackPixmap
intCWBitGravity
intCWBorderPixel
intCWBorderPixmap
intCWBorderWidth
intCWColormap
intCWCursor
intCWDontPropagate
intCWEventMask
intCWHeight
intCWOverrideRedirect
intCWSaveUnder
intCWSibling
intCWStackMode
intCWWidth
intCWWinGravity
intCWX
intCWY
intDefaultBlanking
intDefaultExposures
intDestroyAll
intDestroyNotify
intDirectColor
intDisableAccess
intDisableScreenInterval
intDisableScreenSaver
intDoBlue
intDoGreen
intDontAllowExposures
intDontPreferBlanking
SCREEN SAVER STUFF
intDoRed
intEastGravity
intEnableAccess
intEnterNotify
intEnterWindowMask
intEvenOddRule
intExpose
intExposureMask
intFamilyChaos
intFamilyDECnet
intFamilyInternet
intFamilyInternet6
intFamilyServerInterpreted
intFillOpaqueStippled
intFillSolid
intFillStippled
intFillTiled
intFirstExtensionError
intFocusChangeMask
intFocusIn
intFocusOut
intFontChange
intFontLeftToRight
FONTS
intFontRightToLeft
intForgetGravity
intGCArcMode
intGCBackground
intGCCapStyle
intGCClipMask
intGCClipXOrigin
intGCClipYOrigin
intGCDashList
intGCDashOffset
intGCFillRule
intGCFillStyle
intGCFont
intGCForeground
intGCFunction
intGCGraphicsExposures
intGCJoinStyle
intGCLastBit
intGCLineStyle
intGCLineWidth
intGCPlaneMask
intGCStipple
intGCSubwindowMode
intGCTile
intGCTileStipXOrigin
intGCTileStipYOrigin
intGrabFrozen
intGrabInvalidTime
intGrabModeAsync
intGrabModeSync
intGrabNotViewable
intGrabSuccess
intGraphicsExpose
intGravityNotify
intGrayScale
intGXand
intGXandInverted
intGXandReverse
intGXclear
GRAPHICS DEFINITIONS
intGXcopy
intGXcopyInverted
intGXequiv
intGXinvert
intGXnand
intGXnoop
intGXnor
intGXor
intGXorInverted
intGXorReverse
intGXset
intGXxor
intHostDelete
intHostInsert
HOSTS AND CONNECTIONS
intIncludeInferiors
intInputFocus
intInputOnly
intInputOutput
WINDOW DEFINITIONS
X11INSTANCE
intIsUnmapped
intIsUnviewable
intIsViewable
intJoinBevel
intJoinMiter
intJoinRound
intKBAutoRepeatMode
intKBBellDuration
intKBBellPercent
intKBBellPitch
intKBKey
intKBKeyClickPercent
intKBLed
intKBLedMode
intKeymapNotify
intKeymapStateMask
intKeyPress
intKeyPressMask
intKeyRelease
intKeyReleaseMask
intLASTEvent
intLastExtensionError
intLeaveNotify
intLeaveWindowMask
intLedModeOff
intLedModeOn
intLineDoubleDash
intLineOnOffDash
intLineSolid
intLockMapIndex
intLockMask
intLowerHighest
intLSBFirst
intMapNotify
intMappingBusy
intMappingFailed
intMappingKeyboard
intMappingModifier
intMappingNotify
intMappingPointer
intMappingSuccess
intMapRequest
intMod1MapIndex
intMod1Mask
intMod2MapIndex
intMod2Mask
intMod3MapIndex
intMod3Mask
intMod4MapIndex
intMod4Mask
intMod5MapIndex
intMod5Mask
intMotionNotify
intMSBFirst
intNoEventMask
EVENT DEFINITIONS
intNoExpose
intNonconvex
intNone
RESERVED RESOURCE AND CONSTANT DEFINITIONS
intNorthEastGravity
intNorthGravity
intNorthWestGravity
intNoSymbol
intNotifyAncestor
intNotifyDetailNone
intNotifyGrab
intNotifyHint
intNotifyInferior
intNotifyNonlinear
intNotifyNonlinearVirtual
intNotifyNormal
intNotifyPointer
intNotifyPointerRoot
intNotifyUngrab
intNotifyVirtual
intNotifyWhileGrabbed
intNotUseful
intOpposite
intOwnerGrabButtonMask
intParentRelative
intPlaceOnBottom
intPlaceOnTop
intPointerMotionHintMask
intPointerMotionMask
intPointerRoot
intPointerWindow
intPreferBlanking
intPropertyChangeMask
intPropertyDelete
intPropertyNewValue
intPropertyNotify
intPropModeAppend
intPropModePrepend
intPropModeReplace
intPseudoColor
intRaiseLowest
intReparentNotify
intReplayKeyboard
intReplayPointer
intResizeRedirectMask
intResizeRequest
intRetainPermanent
intRetainTemporary
intRevertToNone
intRevertToParent
intRevertToPointerRoot
intScreenSaverActive
intScreenSaverReset
intSelectionClear
intSelectionNotify
intSelectionRequest
intSetModeDelete
intSetModeInsert
intShiftMapIndex
intShiftMask
intSouthEastGravity
intSouthGravity
intSouthWestGravity
intStaticColor
intStaticGravity
intStaticGray
intStippleShape
intStructureNotifyMask
intSubstructureNotifyMask
intSubstructureRedirectMask
intSuccess
ERROR CODES
intSyncBoth
intSyncKeyboard
intSyncPointer
intTileShape
intTopIf
intTrueColor
intUnmapGravity
intUnmapNotify
intUnsorted
intVisibilityChangeMask
intVisibilityFullyObscured
intVisibilityNotify
intVisibilityPartiallyObscured
intVisibilityUnobscured
intVisualAllMask
intVisualBitsPerRGBMask
intVisualBlueMaskMask
intVisualClassMask
intVisualColormapSizeMask
intVisualDepthMask
intVisualGreenMaskMask
intVisualIDMask
intVisualNoMask
intVisualRedMaskMask
intVisualScreenMask
intWestGravity
intWhenMapped
intWindingRule
X11.AtomXA_ARC
X11.AtomXA_ATOM
X11.AtomXA_BITMAP
X11.AtomXA_CAP_HEIGHT
X11.AtomXA_CARDINAL
X11.AtomXA_COLORMAP
X11.AtomXA_COPYRIGHT
X11.AtomXA_CURSOR
X11.AtomXA_CUT_BUFFER0
X11.AtomXA_CUT_BUFFER1
X11.AtomXA_CUT_BUFFER2
X11.AtomXA_CUT_BUFFER3
X11.AtomXA_CUT_BUFFER4
X11.AtomXA_CUT_BUFFER5
X11.AtomXA_CUT_BUFFER6
X11.AtomXA_CUT_BUFFER7
X11.AtomXA_DRAWABLE
X11.AtomXA_END_SPACE
X11.AtomXA_FAMILY_NAME
X11.AtomXA_FONT
X11.AtomXA_FONT_NAME
X11.AtomXA_FULL_NAME
X11.AtomXA_INTEGER
X11.AtomXA_ITALIC_ANGLE
X11.AtomXA_LAST_PREDEFINED
X11.AtomXA_MAX_SPACE
X11.AtomXA_MIN_SPACE
X11.AtomXA_NORM_SPACE
X11.AtomXA_NOTICE
X11.AtomXA_PIXMAP
X11.AtomXA_POINT
X11.AtomXA_POINT_SIZE
X11.AtomXA_PRIMARY
X11.AtomXA_QUAD_WIDTH
X11.AtomXA_RECTANGLE
X11.AtomXA_RESOLUTION
X11.AtomXA_RESOURCE_MANAGER
X11.AtomXA_RGB_BEST_MAP
X11.AtomXA_RGB_BLUE_MAP
X11.AtomXA_RGB_COLOR_MAP
X11.AtomXA_RGB_DEFAULT_MAP
X11.AtomXA_RGB_GRAY_MAP
X11.AtomXA_RGB_GREEN_MAP
X11.AtomXA_RGB_RED_MAP
X11.AtomXA_SECONDARY
X11.AtomXA_STRIKEOUT_ASCENT
X11.AtomXA_STRIKEOUT_DESCENT
X11.AtomXA_STRING
X11.AtomXA_SUBSCRIPT_X
X11.AtomXA_SUBSCRIPT_Y
X11.AtomXA_SUPERSCRIPT_X
X11.AtomXA_SUPERSCRIPT_Y
X11.AtomXA_UNDERLINE_POSITION
X11.AtomXA_UNDERLINE_THICKNESS
X11.AtomXA_VISUALID
X11.AtomXA_WEIGHT
X11.AtomXA_WINDOW
X11.AtomXA_WM_CLASS
X11.AtomXA_WM_CLIENT_MACHINE
X11.AtomXA_WM_COMMAND
X11.AtomXA_WM_HINTS
X11.AtomXA_WM_ICON_NAME
X11.AtomXA_WM_ICON_SIZE
X11.AtomXA_WM_NAME
X11.AtomXA_WM_NORMAL_HINTS
X11.AtomXA_WM_SIZE_HINTS
X11.AtomXA_WM_TRANSIENT_FOR
X11.AtomXA_WM_ZOOM_HINTS
X11.AtomXA_X_HEIGHT
intXK_0
intXK_9
intXK_A
intXK_Alt_L
intXK_Alt_R
intXK_a
intXK_CapsLock
intXK_Control_L
intXK_Control_R
intXK_Meta_L
intXK_Meta_R
intXK_ShiftLock
intXK_Shift_L
intXK_Shift_R
intXK_z
intXK_Z
intXYBitmap
IMAGING
intXYPixmap
intYSorted
intYXBanded
intYXSorted
intZPixmap
Method Summary
X11.ScreenDefaultScreenOfDisplay(X11.Display display)
intXAllocNamedColor(X11.Display display, int colormap, String color_name, Pointer screen_def_return, Pointer exact_def_return)
X11.XSizeHintsXAllocSizeHints()
intXAutoRepeatOff(X11.Display display)
Turns off auto-repeat for the keyboard on the specified display.
intXAutoRepeatOn(X11.Display display)
Turns on auto-repeat for the keyboard on the specified display.
intXBell(X11.Display display, int percent)
Rings the bell on the keyboard on the specified display, if possible.
intXChangeKeyboardControl(X11.Display display, NativeLong value_mask, X11.XKeyboardControlRef values)
Changes the keyboard control state.
intXChangeKeyboardMapping(X11.Display display, int first_keycode, int keysyms_per_keycode, X11.KeySym[] keysyms, int num_codes)
Defines the symbols for the specified number of KeyCodes starting with first_keycode.
intXChangeProperty(X11.Display display, X11.Window w, X11.Atom property, X11.Atom type, int format, int mode, Pointer data, int nelements)
intXChangeWindowAttributes(X11.Display display, X11.Window window, NativeLong valuemask, X11.XSetWindowAttributes attributes)
booleanXCheckMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return)
booleanXCheckTypedEvent(X11.Display display, int event_type, X11.XEvent event_return)
booleanXCheckTypedWindowEvent(X11.Display display, X11.Window w, int event_type, X11.XEvent event_return)
booleanXCheckWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return)
intXClearArea(X11.Display display, X11.Window window, int x, int y, int w, int h, int exposures)
intXClearWindow(X11.Display display, X11.Window window)
intXCloseDisplay(X11.Display display)
intXCopyArea(X11.Display dpy, X11.Drawable src, X11.Drawable dst, X11.GC gc, int src_x, int src_y, int w, int h, int dst_x, int dst_y)
X11.PixmapXCreateBitmapFromData(X11.Display display, X11.Window window, Pointer data, int width, int height)
X11.ColormapXCreateColormap(X11.Display display, X11.Window w, X11.Visual visual, int alloc)
X11.GCXCreateGC(X11.Display display, X11.Drawable drawable, NativeLong mask, X11.XGCValues values)
X11.XImageXCreateImage(X11.Display dpy, X11.Visual visual, int depth, int format, int offset, Pointer data, int width, int height, int bitmap_pad, int bytes_per_line)
X11.PixmapXCreatePixmap(X11.Display display, X11.Drawable drawable, int width, int height, int depth)
X11.WindowXCreateSimpleWindow(X11.Display display, X11.Window parent, int x, int y, int width, int height, int border_width, int border, int background)
X11.ColormapXDefaultColormap(X11.Display display, int screen)
X11.WindowXDefaultRootWindow(X11.Display display)
intXDefaultScreen(X11.Display display)
X11.VisualXDefaultVisual(X11.Display display, int screen)
X11.XModifierKeymapRefXDeleteModifiermapEntry(X11.XModifierKeymapRef modmap, byte keycode_entry, int modifier)
Deletes the specified KeyCode from the set that controls the specified modifier and returns a pointer to the resulting XModifierKeymap structure.
intXDeleteProperty(X11.Display display, X11.Window w, X11.Atom property)
intXDestroyImage(X11.XImage image)
intXDestroyWindow(X11.Display display, X11.Window window)
intXDisplayHeight(X11.Display display, int screen)
intXDisplayKeycodes(X11.Display display, IntByReference min_keycodes_return, IntByReference max_keycodes_return)
Returns the min-keycodes and max-keycodes supported by the specified display.
intXDisplayWidth(X11.Display display, int screen)
intXDrawPoint(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y)
intXDrawPoints(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int mode)
intXEventsQueued(X11.Display display, int mode)
If mode is QueuedAlready, XEventsQueued returns the number of events already in the event queue (and never performs a system call).
intXFillArc(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height, int angle1, int angle2)
intXFillPolygon(X11.Display dpy, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int shape, int mode)
intXFillRectangle(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height)
intXFillRectangles(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XRectangle[] rectangles, int nrectangles)
intXFlush(X11.Display display)
Flushes the output buffer.
intXFree(Pointer data)
intXFreeGC(X11.Display display, X11.GC gc)
intXFreeModifiermap(X11.XModifierKeymapRef modmap)
Frees the specified XModifierKeymap structure.
intXFreePixmap(X11.Display display, X11.Pixmap pixmap)
StringXGetAtomName(X11.Display display, X11.Atom atom)
intXGetErrorText(X11.Display display, int code, byte[] buffer, int len)
intXGetGeometry(X11.Display display, X11.Drawable d, X11.WindowByReference w, IntByReference x, IntByReference y, IntByReference width, IntByReference heigth, IntByReference border_width, IntByReference depth)
intXGetKeyboardControl(X11.Display display, X11.XKeyboardStateRef values_return)
Returns the current control values for the keyboard to the XKeyboardState structure.
X11.KeySymXGetKeyboardMapping(X11.Display display, byte first_keycode, int keycode_count, IntByReference keysyms_per_keycode_return)
Returns the symbols for the specified number of KeyCodes starting with first_keycode.
X11.XModifierKeymapRefXGetModifierMapping(X11.Display display)
The XGetModifierMapping function returns a pointer to a newly created XModifierKeymap structure that contains the keys being used as modifiers.
X11.XVisualInfoXGetVisualInfo(X11.Display display, NativeLong vinfo_mask, X11.XVisualInfo vinfo_template, IntByReference nitems_return)
Returns an array of XVisualInfo which must be freed by X11.
intXGetWindowAttributes(X11.Display display, X11.Window window, X11.XWindowAttributes attributes)
intXGetWindowProperty(X11.Display display, X11.Window w, X11.Atom property, NativeLong long_offset, NativeLong long_length, boolean delete, X11.Atom reg_type, X11.AtomByReference actual_type_return, IntByReference actual_format_return, NativeLongByReference nitems_return, NativeLongByReference bytes_after_return, PointerByReference prop_return)
X11.XWMHintsXGetWMHints(X11.Display display, X11.Window window)
Returns an XWMHints which must be freed by X11.
intXGetWMName(X11.Display display, X11.Window window, X11.XTextProperty text_property_return)
X11.XModifierKeymapRefXInsertModifiermapEntry(X11.XModifierKeymapRef modmap, byte keycode_entry, int modifier)
Adds the specified KeyCode to the set that controls the specified modifier and returns the resulting XModifierKeymap structure (expanded as needed).
X11.AtomXInternAtom(X11.Display display, String name, boolean only_if_exists)
X11.KeySymXKeycodeToKeysym(X11.Display display, byte keycode, int index)
byteXKeysymToKeycode(X11.Display display, X11.KeySym keysym)
StringXKeysymToString(X11.KeySym keysym)
KeySyms, Keycodes, Keymaps
intXMapRaised(X11.Display display, X11.Window window)
intXMapSubwindows(X11.Display display, X11.Window window)
intXMapWindow(X11.Display display, X11.Window window)
intXMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return)
X11.XModifierKeymapRefXNewModifiermap(int max_keys_per_mod)
Returns a pointer to XModifierKeymap structure for later use.
intXNextEvent(X11.Display display, X11.XEvent event_return)
X11.DisplayXOpenDisplay(String name)
intXPeekEvent(X11.Display display, X11.XEvent event_return)
intXPending(X11.Display display)
Returns the number of events that have been received from the X server but have not been removed from the event queue.
intXPutImage(X11.Display dpy, X11.Drawable d, X11.GC gc, X11.XImage image, int src_x, int src_y, int dest_x, int dest_y, int width, int height)
intXQueryKeymap(X11.Display display, byte[] keys_return)
Returns a bit vector for the logical state of the keyboard, where each bit set to 1 indicates that the corresponding key is currently pressed down.
booleanXQueryPointer(X11.Display display, X11.Window window, X11.WindowByReference root_return, X11.WindowByReference child_return, IntByReference root_x_return, IntByReference root_y_return, IntByReference win_x_return, IntByReference win_y_return, IntByReference mask_return)
intXQueryTree(X11.Display display, X11.Window window, X11.WindowByReference root, X11.WindowByReference parent, PointerByReference children, IntByReference childCount)
X11.WindowXRootWindow(X11.Display display, int screen)
intXSelectInput(X11.Display display, X11.Window window, NativeLong eventMask)
intXSendEvent(X11.Display display, X11.Window w, int propagate, NativeLong event_mask, X11.XEvent event_send)
intXSetBackground(X11.Display display, X11.GC gc, NativeLong color)
intXSetFillRule(X11.Display display, X11.GC gc, int fill_rule)
intXSetForeground(X11.Display display, X11.GC gc, NativeLong color)
intXSetModifierMapping(X11.Display display, X11.XModifierKeymapRef modmap)
Specifies the KeyCodes of the keys (if any) that are to be used as modifiers.
voidXSetWMProperties(X11.Display display, X11.Window window, String window_name, String icon_name, String[] argv, int argc, X11.XSizeHints normal_hints, Pointer wm_hints, Pointer class_hints)
X11.KeySymXStringToKeysym(String string)
intXSync(X11.Display display, boolean discard)
Flushes the output buffer and then waits until all requests have been received and processed by the X server.
booleanXTranslateCoordinates(X11.Display display, X11.Window src_w, X11.Window dest_w, int src_x, int src_y, IntByReference dest_x_return, IntByReference dest_y_return, X11.WindowByReference child_return)
intXUnmapWindow(X11.Display display, X11.Window window)
intXWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return)

Field Detail

Above

public int Above

AllocAll

public int AllocAll

AllocNone

public int AllocNone
COLOR MAP STUFF

AllowExposures

public int AllowExposures

AllTemporary

public int AllTemporary

AlreadyGrabbed

public int AlreadyGrabbed

Always

public int Always

AnyButton

public int AnyButton

AnyKey

public int AnyKey

AnyModifier

public int AnyModifier

AnyPropertyType

public int AnyPropertyType

ArcChord

public int ArcChord

ArcPieSlice

public int ArcPieSlice

AsyncBoth

public int AsyncBoth

AsyncKeyboard

public int AsyncKeyboard

AsyncPointer

public int AsyncPointer

AutoRepeatModeDefault

public int AutoRepeatModeDefault

AutoRepeatModeOff

public int AutoRepeatModeOff
KEYBOARD/POINTER STUFF

AutoRepeatModeOn

public int AutoRepeatModeOn

BadAccess

public int BadAccess

BadAlloc

public int BadAlloc

BadAtom

public int BadAtom

BadColor

public int BadColor

BadCursor

public int BadCursor

BadDrawable

public int BadDrawable

BadFont

public int BadFont

BadGC

public int BadGC

BadIDChoice

public int BadIDChoice

BadImplementation

public int BadImplementation

BadLength

public int BadLength

BadMatch

public int BadMatch

BadName

public int BadName

BadPixmap

public int BadPixmap

BadRequest

public int BadRequest

BadValue

public int BadValue

BadWindow

public int BadWindow

Below

public int Below

BottomIf

public int BottomIf

Button1

public int Button1

Button1Mask

public int Button1Mask

Button1MotionMask

public int Button1MotionMask

Button2

public int Button2

Button2Mask

public int Button2Mask

Button2MotionMask

public int Button2MotionMask

Button3

public int Button3

Button3Mask

public int Button3Mask

Button3MotionMask

public int Button3MotionMask

Button4

public int Button4

Button4Mask

public int Button4Mask

Button4MotionMask

public int Button4MotionMask

Button5

public int Button5

Button5Mask

public int Button5Mask

Button5MotionMask

public int Button5MotionMask

ButtonMotionMask

public int ButtonMotionMask

ButtonPress

public int ButtonPress

ButtonPressMask

public int ButtonPressMask

ButtonRelease

public int ButtonRelease

ButtonReleaseMask

public int ButtonReleaseMask

CapButt

public int CapButt

CapNotLast

public int CapNotLast

CapProjecting

public int CapProjecting

CapRound

public int CapRound

CenterGravity

public int CenterGravity

CirculateNotify

public int CirculateNotify

CirculateRequest

public int CirculateRequest

ClientMessage

public int ClientMessage

ClipByChildren

public int ClipByChildren

ColormapChangeMask

public int ColormapChangeMask

ColormapInstalled

public int ColormapInstalled

ColormapNotify

public int ColormapNotify

ColormapUninstalled

public int ColormapUninstalled

Complex

public int Complex

ConfigureNotify

public int ConfigureNotify

ConfigureRequest

public int ConfigureRequest

ControlMapIndex

public int ControlMapIndex

ControlMask

public int ControlMask

Convex

public int Convex

CoordModeOrigin

public int CoordModeOrigin

CoordModePrevious

public int CoordModePrevious

CopyFromParent

public int CopyFromParent

CreateNotify

public int CreateNotify

CurrentTime

public int CurrentTime

CursorShape

public int CursorShape
CURSOR STUFF

CWBackingPixel

public int CWBackingPixel

CWBackingPlanes

public int CWBackingPlanes

CWBackingStore

public int CWBackingStore

CWBackPixel

public int CWBackPixel

CWBackPixmap

public int CWBackPixmap

CWBitGravity

public int CWBitGravity

CWBorderPixel

public int CWBorderPixel

CWBorderPixmap

public int CWBorderPixmap

CWBorderWidth

public int CWBorderWidth

CWColormap

public int CWColormap

CWCursor

public int CWCursor

CWDontPropagate

public int CWDontPropagate

CWEventMask

public int CWEventMask

CWHeight

public int CWHeight

CWOverrideRedirect

public int CWOverrideRedirect

CWSaveUnder

public int CWSaveUnder

CWSibling

public int CWSibling

CWStackMode

public int CWStackMode

CWWidth

public int CWWidth

CWWinGravity

public int CWWinGravity

CWX

public int CWX

CWY

public int CWY

DefaultBlanking

public int DefaultBlanking

DefaultExposures

public int DefaultExposures

DestroyAll

public int DestroyAll

DestroyNotify

public int DestroyNotify

DirectColor

public int DirectColor

DisableAccess

public int DisableAccess

DisableScreenInterval

public int DisableScreenInterval

DisableScreenSaver

public int DisableScreenSaver

DoBlue

public int DoBlue

DoGreen

public int DoGreen

DontAllowExposures

public int DontAllowExposures

DontPreferBlanking

public int DontPreferBlanking
SCREEN SAVER STUFF

DoRed

public int DoRed

EastGravity

public int EastGravity

EnableAccess

public int EnableAccess

EnterNotify

public int EnterNotify

EnterWindowMask

public int EnterWindowMask

EvenOddRule

public int EvenOddRule

Expose

public int Expose

ExposureMask

public int ExposureMask

FamilyChaos

public int FamilyChaos

FamilyDECnet

public int FamilyDECnet

FamilyInternet

public int FamilyInternet

FamilyInternet6

public int FamilyInternet6

FamilyServerInterpreted

public int FamilyServerInterpreted

FillOpaqueStippled

public int FillOpaqueStippled

FillSolid

public int FillSolid

FillStippled

public int FillStippled

FillTiled

public int FillTiled

FirstExtensionError

public int FirstExtensionError

FocusChangeMask

public int FocusChangeMask

FocusIn

public int FocusIn

FocusOut

public int FocusOut

FontChange

public int FontChange

FontLeftToRight

public int FontLeftToRight
FONTS

FontRightToLeft

public int FontRightToLeft

ForgetGravity

public int ForgetGravity

GCArcMode

public int GCArcMode

GCBackground

public int GCBackground

GCCapStyle

public int GCCapStyle

GCClipMask

public int GCClipMask

GCClipXOrigin

public int GCClipXOrigin

GCClipYOrigin

public int GCClipYOrigin

GCDashList

public int GCDashList

GCDashOffset

public int GCDashOffset

GCFillRule

public int GCFillRule

GCFillStyle

public int GCFillStyle

GCFont

public int GCFont

GCForeground

public int GCForeground

GCFunction

public int GCFunction

GCGraphicsExposures

public int GCGraphicsExposures

GCJoinStyle

public int GCJoinStyle

GCLastBit

public int GCLastBit

GCLineStyle

public int GCLineStyle

GCLineWidth

public int GCLineWidth

GCPlaneMask

public int GCPlaneMask

GCStipple

public int GCStipple

GCSubwindowMode

public int GCSubwindowMode

GCTile

public int GCTile

GCTileStipXOrigin

public int GCTileStipXOrigin

GCTileStipYOrigin

public int GCTileStipYOrigin

GrabFrozen

public int GrabFrozen

GrabInvalidTime

public int GrabInvalidTime

GrabModeAsync

public int GrabModeAsync

GrabModeSync

public int GrabModeSync

GrabNotViewable

public int GrabNotViewable

GrabSuccess

public int GrabSuccess

GraphicsExpose

public int GraphicsExpose

GravityNotify

public int GravityNotify

GrayScale

public int GrayScale

GXand

public int GXand

GXandInverted

public int GXandInverted

GXandReverse

public int GXandReverse

GXclear

public int GXclear
GRAPHICS DEFINITIONS

GXcopy

public int GXcopy

GXcopyInverted

public int GXcopyInverted

GXequiv

public int GXequiv

GXinvert

public int GXinvert

GXnand

public int GXnand

GXnoop

public int GXnoop

GXnor

public int GXnor

GXor

public int GXor

GXorInverted

public int GXorInverted

GXorReverse

public int GXorReverse

GXset

public int GXset

GXxor

public int GXxor

HostDelete

public int HostDelete

HostInsert

public int HostInsert
HOSTS AND CONNECTIONS

IncludeInferiors

public int IncludeInferiors

InputFocus

public int InputFocus

InputOnly

public int InputOnly

InputOutput

public int InputOutput
WINDOW DEFINITIONS

INSTANCE

public X11 INSTANCE

IsUnmapped

public int IsUnmapped

IsUnviewable

public int IsUnviewable

IsViewable

public int IsViewable

JoinBevel

public int JoinBevel

JoinMiter

public int JoinMiter

JoinRound

public int JoinRound

KBAutoRepeatMode

public int KBAutoRepeatMode

KBBellDuration

public int KBBellDuration

KBBellPercent

public int KBBellPercent

KBBellPitch

public int KBBellPitch

KBKey

public int KBKey

KBKeyClickPercent

public int KBKeyClickPercent

KBLed

public int KBLed

KBLedMode

public int KBLedMode

KeymapNotify

public int KeymapNotify

KeymapStateMask

public int KeymapStateMask

KeyPress

public int KeyPress

KeyPressMask

public int KeyPressMask

KeyRelease

public int KeyRelease

KeyReleaseMask

public int KeyReleaseMask

LASTEvent

public int LASTEvent

LastExtensionError

public int LastExtensionError

LeaveNotify

public int LeaveNotify

LeaveWindowMask

public int LeaveWindowMask

LedModeOff

public int LedModeOff

LedModeOn

public int LedModeOn

LineDoubleDash

public int LineDoubleDash

LineOnOffDash

public int LineOnOffDash

LineSolid

public int LineSolid

LockMapIndex

public int LockMapIndex

LockMask

public int LockMask

LowerHighest

public int LowerHighest

LSBFirst

public int LSBFirst

MapNotify

public int MapNotify

MappingBusy

public int MappingBusy

MappingFailed

public int MappingFailed

MappingKeyboard

public int MappingKeyboard

MappingModifier

public int MappingModifier

MappingNotify

public int MappingNotify

MappingPointer

public int MappingPointer

MappingSuccess

public int MappingSuccess

MapRequest

public int MapRequest

Mod1MapIndex

public int Mod1MapIndex

Mod1Mask

public int Mod1Mask

Mod2MapIndex

public int Mod2MapIndex

Mod2Mask

public int Mod2Mask

Mod3MapIndex

public int Mod3MapIndex

Mod3Mask

public int Mod3Mask

Mod4MapIndex

public int Mod4MapIndex

Mod4Mask

public int Mod4Mask

Mod5MapIndex

public int Mod5MapIndex

Mod5Mask

public int Mod5Mask

MotionNotify

public int MotionNotify

MSBFirst

public int MSBFirst

NoEventMask

public int NoEventMask
EVENT DEFINITIONS

NoExpose

public int NoExpose

Nonconvex

public int Nonconvex

None

public int None
RESERVED RESOURCE AND CONSTANT DEFINITIONS

NorthEastGravity

public int NorthEastGravity

NorthGravity

public int NorthGravity

NorthWestGravity

public int NorthWestGravity

NoSymbol

public int NoSymbol

NotifyAncestor

public int NotifyAncestor

NotifyDetailNone

public int NotifyDetailNone

NotifyGrab

public int NotifyGrab

NotifyHint

public int NotifyHint

NotifyInferior

public int NotifyInferior

NotifyNonlinear

public int NotifyNonlinear

NotifyNonlinearVirtual

public int NotifyNonlinearVirtual

NotifyNormal

public int NotifyNormal

NotifyPointer

public int NotifyPointer

NotifyPointerRoot

public int NotifyPointerRoot

NotifyUngrab

public int NotifyUngrab

NotifyVirtual

public int NotifyVirtual

NotifyWhileGrabbed

public int NotifyWhileGrabbed

NotUseful

public int NotUseful

Opposite

public int Opposite

OwnerGrabButtonMask

public int OwnerGrabButtonMask

ParentRelative

public int ParentRelative

PlaceOnBottom

public int PlaceOnBottom

PlaceOnTop

public int PlaceOnTop

PointerMotionHintMask

public int PointerMotionHintMask

PointerMotionMask

public int PointerMotionMask

PointerRoot

public int PointerRoot

PointerWindow

public int PointerWindow

PreferBlanking

public int PreferBlanking

PropertyChangeMask

public int PropertyChangeMask

PropertyDelete

public int PropertyDelete

PropertyNewValue

public int PropertyNewValue

PropertyNotify

public int PropertyNotify

PropModeAppend

public int PropModeAppend

PropModePrepend

public int PropModePrepend

PropModeReplace

public int PropModeReplace

PseudoColor

public int PseudoColor

RaiseLowest

public int RaiseLowest

ReparentNotify

public int ReparentNotify

ReplayKeyboard

public int ReplayKeyboard

ReplayPointer

public int ReplayPointer

ResizeRedirectMask

public int ResizeRedirectMask

ResizeRequest

public int ResizeRequest

RetainPermanent

public int RetainPermanent

RetainTemporary

public int RetainTemporary

RevertToNone

public int RevertToNone

RevertToParent

public int RevertToParent

RevertToPointerRoot

public int RevertToPointerRoot

ScreenSaverActive

public int ScreenSaverActive

ScreenSaverReset

public int ScreenSaverReset

SelectionClear

public int SelectionClear

SelectionNotify

public int SelectionNotify

SelectionRequest

public int SelectionRequest

SetModeDelete

public int SetModeDelete

SetModeInsert

public int SetModeInsert

ShiftMapIndex

public int ShiftMapIndex

ShiftMask

public int ShiftMask

SouthEastGravity

public int SouthEastGravity

SouthGravity

public int SouthGravity

SouthWestGravity

public int SouthWestGravity

StaticColor

public int StaticColor

StaticGravity

public int StaticGravity

StaticGray

public int StaticGray

StippleShape

public int StippleShape

StructureNotifyMask

public int StructureNotifyMask

SubstructureNotifyMask

public int SubstructureNotifyMask

SubstructureRedirectMask

public int SubstructureRedirectMask

Success

public int Success
ERROR CODES

SyncBoth

public int SyncBoth

SyncKeyboard

public int SyncKeyboard

SyncPointer

public int SyncPointer

TileShape

public int TileShape

TopIf

public int TopIf

TrueColor

public int TrueColor

UnmapGravity

public int UnmapGravity

UnmapNotify

public int UnmapNotify

Unsorted

public int Unsorted

VisibilityChangeMask

public int VisibilityChangeMask

VisibilityFullyObscured

public int VisibilityFullyObscured

VisibilityNotify

public int VisibilityNotify

VisibilityPartiallyObscured

public int VisibilityPartiallyObscured

VisibilityUnobscured

public int VisibilityUnobscured

VisualAllMask

public int VisualAllMask

VisualBitsPerRGBMask

public int VisualBitsPerRGBMask

VisualBlueMaskMask

public int VisualBlueMaskMask

VisualClassMask

public int VisualClassMask

VisualColormapSizeMask

public int VisualColormapSizeMask

VisualDepthMask

public int VisualDepthMask

VisualGreenMaskMask

public int VisualGreenMaskMask

VisualIDMask

public int VisualIDMask

VisualNoMask

public int VisualNoMask

VisualRedMaskMask

public int VisualRedMaskMask

VisualScreenMask

public int VisualScreenMask

WestGravity

public int WestGravity

WhenMapped

public int WhenMapped

WindingRule

public int WindingRule

XA_ARC

public X11.Atom XA_ARC

XA_ATOM

public X11.Atom XA_ATOM

XA_BITMAP

public X11.Atom XA_BITMAP

XA_CAP_HEIGHT

public X11.Atom XA_CAP_HEIGHT

XA_CARDINAL

public X11.Atom XA_CARDINAL

XA_COLORMAP

public X11.Atom XA_COLORMAP

XA_COPYRIGHT

public X11.Atom XA_COPYRIGHT

XA_CURSOR

public X11.Atom XA_CURSOR

XA_CUT_BUFFER0

public X11.Atom XA_CUT_BUFFER0

XA_CUT_BUFFER1

public X11.Atom XA_CUT_BUFFER1

XA_CUT_BUFFER2

public X11.Atom XA_CUT_BUFFER2

XA_CUT_BUFFER3

public X11.Atom XA_CUT_BUFFER3

XA_CUT_BUFFER4

public X11.Atom XA_CUT_BUFFER4

XA_CUT_BUFFER5

public X11.Atom XA_CUT_BUFFER5

XA_CUT_BUFFER6

public X11.Atom XA_CUT_BUFFER6

XA_CUT_BUFFER7

public X11.Atom XA_CUT_BUFFER7

XA_DRAWABLE

public X11.Atom XA_DRAWABLE

XA_END_SPACE

public X11.Atom XA_END_SPACE

XA_FAMILY_NAME

public X11.Atom XA_FAMILY_NAME

XA_FONT

public X11.Atom XA_FONT

XA_FONT_NAME

public X11.Atom XA_FONT_NAME

XA_FULL_NAME

public X11.Atom XA_FULL_NAME

XA_INTEGER

public X11.Atom XA_INTEGER

XA_ITALIC_ANGLE

public X11.Atom XA_ITALIC_ANGLE

XA_LAST_PREDEFINED

public X11.Atom XA_LAST_PREDEFINED

XA_MAX_SPACE

public X11.Atom XA_MAX_SPACE

XA_MIN_SPACE

public X11.Atom XA_MIN_SPACE

XA_NORM_SPACE

public X11.Atom XA_NORM_SPACE

XA_NOTICE

public X11.Atom XA_NOTICE

XA_PIXMAP

public X11.Atom XA_PIXMAP

XA_POINT

public X11.Atom XA_POINT

XA_POINT_SIZE

public X11.Atom XA_POINT_SIZE

XA_PRIMARY

public X11.Atom XA_PRIMARY

XA_QUAD_WIDTH

public X11.Atom XA_QUAD_WIDTH

XA_RECTANGLE

public X11.Atom XA_RECTANGLE

XA_RESOLUTION

public X11.Atom XA_RESOLUTION

XA_RESOURCE_MANAGER

public X11.Atom XA_RESOURCE_MANAGER

XA_RGB_BEST_MAP

public X11.Atom XA_RGB_BEST_MAP

XA_RGB_BLUE_MAP

public X11.Atom XA_RGB_BLUE_MAP

XA_RGB_COLOR_MAP

public X11.Atom XA_RGB_COLOR_MAP

XA_RGB_DEFAULT_MAP

public X11.Atom XA_RGB_DEFAULT_MAP

XA_RGB_GRAY_MAP

public X11.Atom XA_RGB_GRAY_MAP

XA_RGB_GREEN_MAP

public X11.Atom XA_RGB_GREEN_MAP

XA_RGB_RED_MAP

public X11.Atom XA_RGB_RED_MAP

XA_SECONDARY

public X11.Atom XA_SECONDARY

XA_STRIKEOUT_ASCENT

public X11.Atom XA_STRIKEOUT_ASCENT

XA_STRIKEOUT_DESCENT

public X11.Atom XA_STRIKEOUT_DESCENT

XA_STRING

public X11.Atom XA_STRING

XA_SUBSCRIPT_X

public X11.Atom XA_SUBSCRIPT_X

XA_SUBSCRIPT_Y

public X11.Atom XA_SUBSCRIPT_Y

XA_SUPERSCRIPT_X

public X11.Atom XA_SUPERSCRIPT_X

XA_SUPERSCRIPT_Y

public X11.Atom XA_SUPERSCRIPT_Y

XA_UNDERLINE_POSITION

public X11.Atom XA_UNDERLINE_POSITION

XA_UNDERLINE_THICKNESS

public X11.Atom XA_UNDERLINE_THICKNESS

XA_VISUALID

public X11.Atom XA_VISUALID

XA_WEIGHT

public X11.Atom XA_WEIGHT

XA_WINDOW

public X11.Atom XA_WINDOW

XA_WM_CLASS

public X11.Atom XA_WM_CLASS

XA_WM_CLIENT_MACHINE

public X11.Atom XA_WM_CLIENT_MACHINE

XA_WM_COMMAND

public X11.Atom XA_WM_COMMAND

XA_WM_HINTS

public X11.Atom XA_WM_HINTS

XA_WM_ICON_NAME

public X11.Atom XA_WM_ICON_NAME

XA_WM_ICON_SIZE

public X11.Atom XA_WM_ICON_SIZE

XA_WM_NAME

public X11.Atom XA_WM_NAME

XA_WM_NORMAL_HINTS

public X11.Atom XA_WM_NORMAL_HINTS

XA_WM_SIZE_HINTS

public X11.Atom XA_WM_SIZE_HINTS

XA_WM_TRANSIENT_FOR

public X11.Atom XA_WM_TRANSIENT_FOR

XA_WM_ZOOM_HINTS

public X11.Atom XA_WM_ZOOM_HINTS

XA_X_HEIGHT

public X11.Atom XA_X_HEIGHT

XK_0

public int XK_0

XK_9

public int XK_9

XK_A

public int XK_A

XK_Alt_L

public int XK_Alt_L

XK_Alt_R

public int XK_Alt_R

XK_a

public int XK_a

XK_CapsLock

public int XK_CapsLock

XK_Control_L

public int XK_Control_L

XK_Control_R

public int XK_Control_R

XK_Meta_L

public int XK_Meta_L

XK_Meta_R

public int XK_Meta_R

XK_ShiftLock

public int XK_ShiftLock

XK_Shift_L

public int XK_Shift_L

XK_Shift_R

public int XK_Shift_R

XK_z

public int XK_z

XK_Z

public int XK_Z

XYBitmap

public int XYBitmap
IMAGING

XYPixmap

public int XYPixmap

YSorted

public int YSorted

YXBanded

public int YXBanded

YXSorted

public int YXSorted

ZPixmap

public int ZPixmap

Method Detail

DefaultScreenOfDisplay

public X11.Screen DefaultScreenOfDisplay(X11.Display display)

XAllocNamedColor

public int XAllocNamedColor(X11.Display display, int colormap, String color_name, Pointer screen_def_return, Pointer exact_def_return)

XAllocSizeHints

public X11.XSizeHints XAllocSizeHints()

XAutoRepeatOff

public int XAutoRepeatOff(X11.Display display)
Turns off auto-repeat for the keyboard on the specified display.

XAutoRepeatOn

public int XAutoRepeatOn(X11.Display display)
Turns on auto-repeat for the keyboard on the specified display.

XBell

public int XBell(X11.Display display, int percent)
Rings the bell on the keyboard on the specified display, if possible. The specified volume is relative to the base volume for the keyboard. If the value for the percent argument is not in the range -100 to 100 inclusive, a BadValue error results. The volume at which the bell rings when the percent argument is nonnegative is: base - [(base * percent) / 100] + percent. The volume at which the bell rings when the percent argument is negative is: base + [(base * percent) / 100]. To change the base volume of the bell, use XChangeKeyboardControl.

XChangeKeyboardControl

public int XChangeKeyboardControl(X11.Display display, NativeLong value_mask, X11.XKeyboardControlRef values)
Changes the keyboard control state.

Parameters: display display value_mask disjunction of KBKeyClickPercent, KBBellPercent, KBBellPitch, KBBellDuration, KBLed, KBLedMode, KBKey, KBAutoRepeatMode

XChangeKeyboardMapping

public int XChangeKeyboardMapping(X11.Display display, int first_keycode, int keysyms_per_keycode, X11.KeySym[] keysyms, int num_codes)
Defines the symbols for the specified number of KeyCodes starting with first_keycode. The symbols for KeyCodes outside this range remain unchanged. The number of elements in keysyms must be: num_codes * keysyms_per_keycode. The specified first_keycode must be greater than or equal to min_keycode returned by XDisplayKeycodes, or a BadValue error results. In addition, the following expression must be less than or equal to max_keycode as returned by XDisplayKeycodes, or a BadValue error results: first_keycode + num_codes - 1.

XChangeProperty

public int XChangeProperty(X11.Display display, X11.Window w, X11.Atom property, X11.Atom type, int format, int mode, Pointer data, int nelements)

XChangeWindowAttributes

public int XChangeWindowAttributes(X11.Display display, X11.Window window, NativeLong valuemask, X11.XSetWindowAttributes attributes)

XCheckMaskEvent

public boolean XCheckMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return)

XCheckTypedEvent

public boolean XCheckTypedEvent(X11.Display display, int event_type, X11.XEvent event_return)

XCheckTypedWindowEvent

public boolean XCheckTypedWindowEvent(X11.Display display, X11.Window w, int event_type, X11.XEvent event_return)

XCheckWindowEvent

public boolean XCheckWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return)

XClearArea

public int XClearArea(X11.Display display, X11.Window window, int x, int y, int w, int h, int exposures)

XClearWindow

public int XClearWindow(X11.Display display, X11.Window window)

XCloseDisplay

public int XCloseDisplay(X11.Display display)

XCopyArea

public int XCopyArea(X11.Display dpy, X11.Drawable src, X11.Drawable dst, X11.GC gc, int src_x, int src_y, int w, int h, int dst_x, int dst_y)

XCreateBitmapFromData

public X11.Pixmap XCreateBitmapFromData(X11.Display display, X11.Window window, Pointer data, int width, int height)

XCreateColormap

public X11.Colormap XCreateColormap(X11.Display display, X11.Window w, X11.Visual visual, int alloc)

XCreateGC

public X11.GC XCreateGC(X11.Display display, X11.Drawable drawable, NativeLong mask, X11.XGCValues values)

XCreateImage

public X11.XImage XCreateImage(X11.Display dpy, X11.Visual visual, int depth, int format, int offset, Pointer data, int width, int height, int bitmap_pad, int bytes_per_line)

XCreatePixmap

public X11.Pixmap XCreatePixmap(X11.Display display, X11.Drawable drawable, int width, int height, int depth)

XCreateSimpleWindow

public X11.Window XCreateSimpleWindow(X11.Display display, X11.Window parent, int x, int y, int width, int height, int border_width, int border, int background)

XDefaultColormap

public X11.Colormap XDefaultColormap(X11.Display display, int screen)

XDefaultRootWindow

public X11.Window XDefaultRootWindow(X11.Display display)

XDefaultScreen

public int XDefaultScreen(X11.Display display)

XDefaultVisual

public X11.Visual XDefaultVisual(X11.Display display, int screen)

XDeleteModifiermapEntry

public X11.XModifierKeymapRef XDeleteModifiermapEntry(X11.XModifierKeymapRef modmap, byte keycode_entry, int modifier)
Deletes the specified KeyCode from the set that controls the specified modifier and returns a pointer to the resulting XModifierKeymap structure.

XDeleteProperty

public int XDeleteProperty(X11.Display display, X11.Window w, X11.Atom property)

XDestroyImage

public int XDestroyImage(X11.XImage image)

XDestroyWindow

public int XDestroyWindow(X11.Display display, X11.Window window)

XDisplayHeight

public int XDisplayHeight(X11.Display display, int screen)

XDisplayKeycodes

public int XDisplayKeycodes(X11.Display display, IntByReference min_keycodes_return, IntByReference max_keycodes_return)
Returns the min-keycodes and max-keycodes supported by the specified display. The minimum number of KeyCodes returned is never less than 8, and the maximum number of KeyCodes returned is never greater than 255. Not all KeyCodes in this range are required to have corresponding keys.

XDisplayWidth

public int XDisplayWidth(X11.Display display, int screen)

XDrawPoint

public int XDrawPoint(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y)

XDrawPoints

public int XDrawPoints(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int mode)

XEventsQueued

public int XEventsQueued(X11.Display display, int mode)
If mode is QueuedAlready, XEventsQueued returns the number of events already in the event queue (and never performs a system call). If mode is QueuedAfterFlush, XEventsQueued returns the number of events already in the queue if the number is nonzero. If there are no events in the queue, XEventsQueued flushes the output buffer, attempts to read more events out of the application's connection, and returns the number read. If mode is QueuedAfterReading, XEventsQueued returns the number of events already in the queue if the number is nonzero. If there are no events in the queue, XEventsQueued attempts to read more events out of the application's connection without flushing the output buffer and returns the number read.
XEventsQueued always returns immediately without I/O if there are events already in the queue. XEventsQueued with mode QueuedAfterFlush is identical in behavior to XPending. XEventsQueued with mode QueuedAlready is identical to the XQLength function.

XFillArc

public int XFillArc(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height, int angle1, int angle2)

XFillPolygon

public int XFillPolygon(X11.Display dpy, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int shape, int mode)

XFillRectangle

public int XFillRectangle(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height)

XFillRectangles

public int XFillRectangles(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XRectangle[] rectangles, int nrectangles)

XFlush

public int XFlush(X11.Display display)
Flushes the output buffer. Most client applications need not use this function because the output buffer is automatically flushed as needed by calls to XPending, XNextEvent, and XWindowEvent. Events generated by the server may be enqueued into the library's event queue.

XFree

public int XFree(Pointer data)

XFreeGC

public int XFreeGC(X11.Display display, X11.GC gc)

XFreeModifiermap

public int XFreeModifiermap(X11.XModifierKeymapRef modmap)
Frees the specified XModifierKeymap structure.

XFreePixmap

public int XFreePixmap(X11.Display display, X11.Pixmap pixmap)

XGetAtomName

public String XGetAtomName(X11.Display display, X11.Atom atom)

XGetErrorText

public int XGetErrorText(X11.Display display, int code, byte[] buffer, int len)

XGetGeometry

public int XGetGeometry(X11.Display display, X11.Drawable d, X11.WindowByReference w, IntByReference x, IntByReference y, IntByReference width, IntByReference heigth, IntByReference border_width, IntByReference depth)

XGetKeyboardControl

public int XGetKeyboardControl(X11.Display display, X11.XKeyboardStateRef values_return)
Returns the current control values for the keyboard to the XKeyboardState structure.

XGetKeyboardMapping

public X11.KeySym XGetKeyboardMapping(X11.Display display, byte first_keycode, int keycode_count, IntByReference keysyms_per_keycode_return)
Returns the symbols for the specified number of KeyCodes starting with first_keycode. The value specified in first_keycode must be greater than or equal to min_keycode as returned by XDisplayKeycodes, or a BadValue error results. In addition, the following expression must be less than or equal to max_keycode as returned by XDisplayKeycodes: first_keycode + keycode_count - 1. If this is not the case, a BadValue error results. The number of elements in the KeySyms list is: keycode_count * keysyms_per_keycode_return. KeySym number N, counting from zero, for KeyCode K has the following index in the list, counting from zero: (K - first_code) * keysyms_per_code_return + N. The X server arbitrarily chooses the keysyms_per_keycode_return value to be large enough to report all requested symbols. A special KeySym value of NoSymbol is used to fill in unused elements for individual KeyCodes. To free the storage returned by XGetKeyboardMapping, use XFree.

XGetModifierMapping

public X11.XModifierKeymapRef XGetModifierMapping(X11.Display display)
The XGetModifierMapping function returns a pointer to a newly created XModifierKeymap structure that contains the keys being used as modifiers. The structure should be freed after use by calling XFreeModifiermap. If only zero values appear in the set for any modifier, that modifier is disabled.

XGetVisualInfo

public X11.XVisualInfo XGetVisualInfo(X11.Display display, NativeLong vinfo_mask, X11.XVisualInfo vinfo_template, IntByReference nitems_return)
Returns an array of XVisualInfo which must be freed by X11. Use toArray(nitems_return.getValue() to obtain the array.

XGetWindowAttributes

public int XGetWindowAttributes(X11.Display display, X11.Window window, X11.XWindowAttributes attributes)

XGetWindowProperty

public int XGetWindowProperty(X11.Display display, X11.Window w, X11.Atom property, NativeLong long_offset, NativeLong long_length, boolean delete, X11.Atom reg_type, X11.AtomByReference actual_type_return, IntByReference actual_format_return, NativeLongByReference nitems_return, NativeLongByReference bytes_after_return, PointerByReference prop_return)

XGetWMHints

public X11.XWMHints XGetWMHints(X11.Display display, X11.Window window)
Returns an XWMHints which must be freed by X11.

XGetWMName

public int XGetWMName(X11.Display display, X11.Window window, X11.XTextProperty text_property_return)

XInsertModifiermapEntry

public X11.XModifierKeymapRef XInsertModifiermapEntry(X11.XModifierKeymapRef modmap, byte keycode_entry, int modifier)
Adds the specified KeyCode to the set that controls the specified modifier and returns the resulting XModifierKeymap structure (expanded as needed).

XInternAtom

public X11.Atom XInternAtom(X11.Display display, String name, boolean only_if_exists)

XKeycodeToKeysym

public X11.KeySym XKeycodeToKeysym(X11.Display display, byte keycode, int index)

XKeysymToKeycode

public byte XKeysymToKeycode(X11.Display display, X11.KeySym keysym)

XKeysymToString

public String XKeysymToString(X11.KeySym keysym)
KeySyms, Keycodes, Keymaps

XMapRaised

public int XMapRaised(X11.Display display, X11.Window window)

XMapSubwindows

public int XMapSubwindows(X11.Display display, X11.Window window)

XMapWindow

public int XMapWindow(X11.Display display, X11.Window window)

XMaskEvent

public int XMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return)

XNewModifiermap

public X11.XModifierKeymapRef XNewModifiermap(int max_keys_per_mod)
Returns a pointer to XModifierKeymap structure for later use.

XNextEvent

public int XNextEvent(X11.Display display, X11.XEvent event_return)

XOpenDisplay

public X11.Display XOpenDisplay(String name)

XPeekEvent

public int XPeekEvent(X11.Display display, X11.XEvent event_return)

XPending

public int XPending(X11.Display display)
Returns the number of events that have been received from the X server but have not been removed from the event queue. XPending is identical to XEventsQueued with the mode QueuedAfterFlush specified.

XPutImage

public int XPutImage(X11.Display dpy, X11.Drawable d, X11.GC gc, X11.XImage image, int src_x, int src_y, int dest_x, int dest_y, int width, int height)

XQueryKeymap

public int XQueryKeymap(X11.Display display, byte[] keys_return)
Returns a bit vector for the logical state of the keyboard, where each bit set to 1 indicates that the corresponding key is currently pressed down. The vector is represented as 32 bytes. Byte N (from 0) contains the bits for keys 8N to 8N + 7 with the least significant bit in the byte representing key 8N. Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen.

XQueryPointer

public boolean XQueryPointer(X11.Display display, X11.Window window, X11.WindowByReference root_return, X11.WindowByReference child_return, IntByReference root_x_return, IntByReference root_y_return, IntByReference win_x_return, IntByReference win_y_return, IntByReference mask_return)

XQueryTree

public int XQueryTree(X11.Display display, X11.Window window, X11.WindowByReference root, X11.WindowByReference parent, PointerByReference children, IntByReference childCount)

XRootWindow

public X11.Window XRootWindow(X11.Display display, int screen)

XSelectInput

public int XSelectInput(X11.Display display, X11.Window window, NativeLong eventMask)

XSendEvent

public int XSendEvent(X11.Display display, X11.Window w, int propagate, NativeLong event_mask, X11.XEvent event_send)

XSetBackground

public int XSetBackground(X11.Display display, X11.GC gc, NativeLong color)

XSetFillRule

public int XSetFillRule(X11.Display display, X11.GC gc, int fill_rule)

XSetForeground

public int XSetForeground(X11.Display display, X11.GC gc, NativeLong color)

XSetModifierMapping

public int XSetModifierMapping(X11.Display display, X11.XModifierKeymapRef modmap)
Specifies the KeyCodes of the keys (if any) that are to be used as modifiers. If it succeeds, the X server generates a MappingNotify event, and XSetModifierMapping returns MappingSuccess. X permits at most 8 modifier keys. If more than 8 are specified in the XModifierKeymap structure, a BadLength error results.

XSetWMProperties

public void XSetWMProperties(X11.Display display, X11.Window window, String window_name, String icon_name, String[] argv, int argc, X11.XSizeHints normal_hints, Pointer wm_hints, Pointer class_hints)

XStringToKeysym

public X11.KeySym XStringToKeysym(String string)

XSync

public int XSync(X11.Display display, boolean discard)
Flushes the output buffer and then waits until all requests have been received and processed by the X server. Any errors generated must be handled by the error handler. For each protocol error received by Xlib, XSync calls the client application's error handling routine (see section 11.8.2). Any events generated by the server are enqueued into the library's event queue.
Finally, if you passed False, XSync does not discard the events in the queue. If you passed True, XSync discards all events in the queue, including those events that were on the queue before XSync was called. Client applications seldom need to call XSync.

XTranslateCoordinates

public boolean XTranslateCoordinates(X11.Display display, X11.Window src_w, X11.Window dest_w, int src_x, int src_y, IntByReference dest_x_return, IntByReference dest_y_return, X11.WindowByReference child_return)

XUnmapWindow

public int XUnmapWindow(X11.Display display, X11.Window window)

XWindowEvent

public int XWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return)
Copyright © 2007-2009 Timothy Wall. All Rights Reserved.