Interface X11
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classX11.Atomstatic classX11.AtomByReferencestatic classX11.Colormapstatic classX11.Cursorstatic classX11.Displaystatic classX11.Drawablestatic classX11.Fontstatic classX11.GCstatic classX11.KeySymstatic classX11.Pixmapstatic classX11.Screenstatic classX11.Visualstatic classX11.VisualIDstatic classX11.Windowstatic classX11.WindowByReferencestatic classX11.XAnyEventstatic classX11.XButtonEventstatic classX11.XButtonPressedEventstatic classX11.XButtonReleasedEventstatic classX11.XCirculateEventstatic classX11.XCirculateRequestEventstatic classX11.XClientMessageEventstatic classX11.XColormapEventstatic classX11.XConfigureEventstatic classX11.XConfigureRequestEventstatic classX11.XCreateWindowEventstatic classX11.XCrossingEventstatic classX11.XDestroyWindowEventstatic classX11.XDeviceByReferencestatic classX11.XEnterWindowEventstatic classX11.XErrorEventstatic interfaceX11.XErrorHandlerstatic classX11.XEventDEFINITIONS OF SPECIFIC EVENTSstatic interfaceX11.XevieDefinition of the Xevie library.static classX11.XExposeEventstatic interfaceX11.XextDefinition (incomplete) of the Xext library.static classX11.XFocusChangeEventstatic classX11.XFocusInEventstatic classX11.XFocusOutEventstatic classX11.XGCValuesstatic classX11.XGenericEventThis event is the standard event for all newer extensions.static classX11.XGenericEventCookiestatic classX11.XGraphicsExposeEventstatic classX11.XGravityEventstatic classX11.XIDstatic classX11.XImagestatic classX11.XInputClassInfoByReferencestatic classX11.XKeyboardControlRefstatic classX11.XKeyboardStateRefstatic classX11.XKeyEventstatic classX11.XKeymapEventstatic classX11.XLeaveWindowEventstatic classX11.XMapEventstatic classX11.XMappingEventstatic classX11.XMapRequestEventstatic classX11.XModifierKeymapRefThe 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.XMotionEventstatic classX11.XNoExposeEventstatic classX11.XPointstatic classX11.XPointerMovedEventstatic classX11.XPropertyEventstatic classX11.XRectanglestatic interfaceX11.XrenderDefinition (incomplete) of the Xrender library.static classX11.XReparentEventstatic classX11.XResizeRequestEventstatic classX11.XSelectionClearEventstatic classX11.XSelectionEventstatic classX11.XSelectionRequestEventstatic classX11.XSetWindowAttributesstatic classX11.XSizeHintsstatic interfaceX11.XTestDefinition of the XTest library.static classX11.XTextPropertystatic classX11.XUnmapEventstatic classX11.XVisibilityEventstatic classX11.XVisualInfostatic classX11.XWindowAttributesstatic classX11.XWMHints- 
Nested classes/interfaces inherited from interface com.sun.jna.LibraryLibrary.Handler
 
- 
 - 
Field Summary- 
Fields inherited from interface com.sun.jna.LibraryOPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description X11.ScreenDefaultScreenOfDisplay(X11.Display display)intXAllocNamedColor(X11.Display display, int colormap, java.lang.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).intXFetchName(X11.Display display, X11.Window window, PointerByReference window_name_return)The XFetchName() function returns the name of the specified window.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)voidXFreeEventData(X11.Display display, X11.XGenericEventCookie cookie)intXFreeGC(X11.Display display, X11.GC gc)intXFreeModifiermap(X11.XModifierKeymapRef modmap)Frees the specified XModifierKeymap structure.intXFreePixmap(X11.Display display, X11.Pixmap pixmap)java.lang.StringXGetAtomName(X11.Display display, X11.Atom atom)intXGetErrorText(X11.Display display, int code, byte[] buffer, int len)booleanXGetEventData(X11.Display display, X11.XGenericEventCookie cookie)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 ofX11.XVisualInfowhich must be freed byXFree(com.sun.jna.Pointer).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 anX11.XWMHintswhich must be freed byXFree(com.sun.jna.Pointer).intXGetWMName(X11.Display display, X11.Window window, X11.XTextProperty text_property_return)intXGetWMProtocols(X11.Display display, X11.Window w, PointerByReference protocols_return, IntByReference count_return)intXGrabKey(X11.Display display, int keyCode, int modifiers, X11.Window grab_window, int ownerEvents, int pointerMode, int keyBoardMode)Establishes a passive grab on the keyboardintXGrabKeyboard(X11.Display display, X11.Window grab_window, int owner_events, int pointer_mode, int keyboard_mode, NativeLong time)Actively grabs control of the keyboard and generates FocusIn and FocusOut eventsX11.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, java.lang.String name, boolean only_if_exists)X11.KeySymXKeycodeToKeysym(X11.Display display, byte keycode, int index)byteXKeysymToKeycode(X11.Display display, X11.KeySym keysym)java.lang.StringXKeysymToString(X11.KeySym keysym)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(java.lang.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)booleanXQueryExtension(X11.Display display, java.lang.String name, IntByReference major_opcode_return, IntByReference first_event_return, IntByReference first_error_return)The XQueryExtension function determines if the named extension is present.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)X11.XErrorHandlerXSetErrorHandler(X11.XErrorHandler handler)Installs an error handlerintXSetFillRule(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, java.lang.String window_name, java.lang.String icon_name, java.lang.String[] argv, int argc, X11.XSizeHints normal_hints, Pointer wm_hints, Pointer class_hints)intXSetWMProtocols(X11.Display display, X11.Window window, X11.Atom[] atom, int count)X11.KeySymXStringToKeysym(java.lang.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)intXUngrabKey(X11.Display display, int keyCode, int modifiers, X11.Window grab_window)The XUngrabKey() function releases the key combination on the specified window if it was grabbed by this client.intXUngrabKeyboard(X11.Display display, NativeLong time)Releases the keyboard and any queued events if this client has it actively grabbed from either XGrabKeyboard() or XGrabKey().intXUnmapWindow(X11.Display display, X11.Window window)intXWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return)
 
- 
- 
- 
Field Detail- 
INSTANCEstatic final X11 INSTANCE 
 - 
XK_0static final int XK_0 - See Also:
- Constant Field Values
 
 - 
XK_9static final int XK_9 - See Also:
- Constant Field Values
 
 - 
XK_Astatic final int XK_A - See Also:
- Constant Field Values
 
 - 
XK_Zstatic final int XK_Z - See Also:
- Constant Field Values
 
 - 
XK_astatic final int XK_a - See Also:
- Constant Field Values
 
 - 
XK_zstatic final int XK_z - See Also:
- Constant Field Values
 
 - 
XK_Shift_Lstatic final int XK_Shift_L - See Also:
- Constant Field Values
 
 - 
XK_Shift_Rstatic final int XK_Shift_R - See Also:
- Constant Field Values
 
 - 
XK_Control_Lstatic final int XK_Control_L - See Also:
- Constant Field Values
 
 - 
XK_Control_Rstatic final int XK_Control_R - See Also:
- Constant Field Values
 
 - 
XK_CapsLockstatic final int XK_CapsLock - See Also:
- Constant Field Values
 
 - 
XK_ShiftLockstatic final int XK_ShiftLock - See Also:
- Constant Field Values
 
 - 
XK_Meta_Lstatic final int XK_Meta_L - See Also:
- Constant Field Values
 
 - 
XK_Meta_Rstatic final int XK_Meta_R - See Also:
- Constant Field Values
 
 - 
XK_Alt_Lstatic final int XK_Alt_L - See Also:
- Constant Field Values
 
 - 
XK_Alt_Rstatic final int XK_Alt_R - See Also:
- Constant Field Values
 
 - 
VisualNoMaskstatic final int VisualNoMask - See Also:
- Constant Field Values
 
 - 
VisualIDMaskstatic final int VisualIDMask - See Also:
- Constant Field Values
 
 - 
VisualScreenMaskstatic final int VisualScreenMask - See Also:
- Constant Field Values
 
 - 
VisualDepthMaskstatic final int VisualDepthMask - See Also:
- Constant Field Values
 
 - 
VisualClassMaskstatic final int VisualClassMask - See Also:
- Constant Field Values
 
 - 
VisualRedMaskMaskstatic final int VisualRedMaskMask - See Also:
- Constant Field Values
 
 - 
VisualGreenMaskMaskstatic final int VisualGreenMaskMask - See Also:
- Constant Field Values
 
 - 
VisualBlueMaskMaskstatic final int VisualBlueMaskMask - See Also:
- Constant Field Values
 
 - 
VisualColormapSizeMaskstatic final int VisualColormapSizeMask - See Also:
- Constant Field Values
 
 - 
VisualBitsPerRGBMaskstatic final int VisualBitsPerRGBMask - See Also:
- Constant Field Values
 
 - 
VisualAllMaskstatic final int VisualAllMask - See Also:
- Constant Field Values
 
 - 
XA_PRIMARYstatic final X11.Atom XA_PRIMARY 
 - 
XA_SECONDARYstatic final X11.Atom XA_SECONDARY 
 - 
XA_ARCstatic final X11.Atom XA_ARC 
 - 
XA_ATOMstatic final X11.Atom XA_ATOM 
 - 
XA_BITMAPstatic final X11.Atom XA_BITMAP 
 - 
XA_CARDINALstatic final X11.Atom XA_CARDINAL 
 - 
XA_COLORMAPstatic final X11.Atom XA_COLORMAP 
 - 
XA_CURSORstatic final X11.Atom XA_CURSOR 
 - 
XA_CUT_BUFFER0static final X11.Atom XA_CUT_BUFFER0 
 - 
XA_CUT_BUFFER1static final X11.Atom XA_CUT_BUFFER1 
 - 
XA_CUT_BUFFER2static final X11.Atom XA_CUT_BUFFER2 
 - 
XA_CUT_BUFFER3static final X11.Atom XA_CUT_BUFFER3 
 - 
XA_CUT_BUFFER4static final X11.Atom XA_CUT_BUFFER4 
 - 
XA_CUT_BUFFER5static final X11.Atom XA_CUT_BUFFER5 
 - 
XA_CUT_BUFFER6static final X11.Atom XA_CUT_BUFFER6 
 - 
XA_CUT_BUFFER7static final X11.Atom XA_CUT_BUFFER7 
 - 
XA_DRAWABLEstatic final X11.Atom XA_DRAWABLE 
 - 
XA_FONTstatic final X11.Atom XA_FONT 
 - 
XA_INTEGERstatic final X11.Atom XA_INTEGER 
 - 
XA_PIXMAPstatic final X11.Atom XA_PIXMAP 
 - 
XA_POINTstatic final X11.Atom XA_POINT 
 - 
XA_RECTANGLEstatic final X11.Atom XA_RECTANGLE 
 - 
XA_RESOURCE_MANAGERstatic final X11.Atom XA_RESOURCE_MANAGER 
 - 
XA_RGB_COLOR_MAPstatic final X11.Atom XA_RGB_COLOR_MAP 
 - 
XA_RGB_BEST_MAPstatic final X11.Atom XA_RGB_BEST_MAP 
 - 
XA_RGB_BLUE_MAPstatic final X11.Atom XA_RGB_BLUE_MAP 
 - 
XA_RGB_DEFAULT_MAPstatic final X11.Atom XA_RGB_DEFAULT_MAP 
 - 
XA_RGB_GRAY_MAPstatic final X11.Atom XA_RGB_GRAY_MAP 
 - 
XA_RGB_GREEN_MAPstatic final X11.Atom XA_RGB_GREEN_MAP 
 - 
XA_RGB_RED_MAPstatic final X11.Atom XA_RGB_RED_MAP 
 - 
XA_STRINGstatic final X11.Atom XA_STRING 
 - 
XA_VISUALIDstatic final X11.Atom XA_VISUALID 
 - 
XA_WINDOWstatic final X11.Atom XA_WINDOW 
 - 
XA_WM_COMMANDstatic final X11.Atom XA_WM_COMMAND 
 - 
XA_WM_HINTSstatic final X11.Atom XA_WM_HINTS 
 - 
XA_WM_CLIENT_MACHINEstatic final X11.Atom XA_WM_CLIENT_MACHINE 
 - 
XA_WM_ICON_NAMEstatic final X11.Atom XA_WM_ICON_NAME 
 - 
XA_WM_ICON_SIZEstatic final X11.Atom XA_WM_ICON_SIZE 
 - 
XA_WM_NAMEstatic final X11.Atom XA_WM_NAME 
 - 
XA_WM_NORMAL_HINTSstatic final X11.Atom XA_WM_NORMAL_HINTS 
 - 
XA_WM_SIZE_HINTSstatic final X11.Atom XA_WM_SIZE_HINTS 
 - 
XA_WM_ZOOM_HINTSstatic final X11.Atom XA_WM_ZOOM_HINTS 
 - 
XA_MIN_SPACEstatic final X11.Atom XA_MIN_SPACE 
 - 
XA_NORM_SPACEstatic final X11.Atom XA_NORM_SPACE 
 - 
XA_MAX_SPACEstatic final X11.Atom XA_MAX_SPACE 
 - 
XA_END_SPACEstatic final X11.Atom XA_END_SPACE 
 - 
XA_SUPERSCRIPT_Xstatic final X11.Atom XA_SUPERSCRIPT_X 
 - 
XA_SUPERSCRIPT_Ystatic final X11.Atom XA_SUPERSCRIPT_Y 
 - 
XA_SUBSCRIPT_Xstatic final X11.Atom XA_SUBSCRIPT_X 
 - 
XA_SUBSCRIPT_Ystatic final X11.Atom XA_SUBSCRIPT_Y 
 - 
XA_UNDERLINE_POSITIONstatic final X11.Atom XA_UNDERLINE_POSITION 
 - 
XA_UNDERLINE_THICKNESSstatic final X11.Atom XA_UNDERLINE_THICKNESS 
 - 
XA_STRIKEOUT_ASCENTstatic final X11.Atom XA_STRIKEOUT_ASCENT 
 - 
XA_STRIKEOUT_DESCENTstatic final X11.Atom XA_STRIKEOUT_DESCENT 
 - 
XA_ITALIC_ANGLEstatic final X11.Atom XA_ITALIC_ANGLE 
 - 
XA_X_HEIGHTstatic final X11.Atom XA_X_HEIGHT 
 - 
XA_QUAD_WIDTHstatic final X11.Atom XA_QUAD_WIDTH 
 - 
XA_WEIGHTstatic final X11.Atom XA_WEIGHT 
 - 
XA_POINT_SIZEstatic final X11.Atom XA_POINT_SIZE 
 - 
XA_RESOLUTIONstatic final X11.Atom XA_RESOLUTION 
 - 
XA_COPYRIGHTstatic final X11.Atom XA_COPYRIGHT 
 - 
XA_NOTICEstatic final X11.Atom XA_NOTICE 
 - 
XA_FONT_NAMEstatic final X11.Atom XA_FONT_NAME 
 - 
XA_FAMILY_NAMEstatic final X11.Atom XA_FAMILY_NAME 
 - 
XA_FULL_NAMEstatic final X11.Atom XA_FULL_NAME 
 - 
XA_CAP_HEIGHTstatic final X11.Atom XA_CAP_HEIGHT 
 - 
XA_WM_CLASSstatic final X11.Atom XA_WM_CLASS 
 - 
XA_WM_TRANSIENT_FORstatic final X11.Atom XA_WM_TRANSIENT_FOR 
 - 
XA_LAST_PREDEFINEDstatic final X11.Atom XA_LAST_PREDEFINED 
 - 
Nonestatic final int None RESERVED RESOURCE AND CONSTANT DEFINITIONS- See Also:
- Constant Field Values
 
 - 
ParentRelativestatic final int ParentRelative - See Also:
- Constant Field Values
 
 - 
CopyFromParentstatic final int CopyFromParent - See Also:
- Constant Field Values
 
 - 
PointerWindowstatic final int PointerWindow - See Also:
- Constant Field Values
 
 - 
InputFocusstatic final int InputFocus - See Also:
- Constant Field Values
 
 - 
PointerRootstatic final int PointerRoot - See Also:
- Constant Field Values
 
 - 
AnyPropertyTypestatic final int AnyPropertyType - See Also:
- Constant Field Values
 
 - 
AnyKeystatic final int AnyKey - See Also:
- Constant Field Values
 
 - 
AnyButtonstatic final int AnyButton - See Also:
- Constant Field Values
 
 - 
AllTemporarystatic final int AllTemporary - See Also:
- Constant Field Values
 
 - 
CurrentTimestatic final int CurrentTime - See Also:
- Constant Field Values
 
 - 
NoSymbolstatic final int NoSymbol - See Also:
- Constant Field Values
 
 - 
NoEventMaskstatic final int NoEventMask EVENT DEFINITIONS- See Also:
- Constant Field Values
 
 - 
KeyPressMaskstatic final int KeyPressMask - See Also:
- Constant Field Values
 
 - 
KeyReleaseMaskstatic final int KeyReleaseMask - See Also:
- Constant Field Values
 
 - 
ButtonPressMaskstatic final int ButtonPressMask - See Also:
- Constant Field Values
 
 - 
ButtonReleaseMaskstatic final int ButtonReleaseMask - See Also:
- Constant Field Values
 
 - 
EnterWindowMaskstatic final int EnterWindowMask - See Also:
- Constant Field Values
 
 - 
LeaveWindowMaskstatic final int LeaveWindowMask - See Also:
- Constant Field Values
 
 - 
PointerMotionMaskstatic final int PointerMotionMask - See Also:
- Constant Field Values
 
 - 
PointerMotionHintMaskstatic final int PointerMotionHintMask - See Also:
- Constant Field Values
 
 - 
Button1MotionMaskstatic final int Button1MotionMask - See Also:
- Constant Field Values
 
 - 
Button2MotionMaskstatic final int Button2MotionMask - See Also:
- Constant Field Values
 
 - 
Button3MotionMaskstatic final int Button3MotionMask - See Also:
- Constant Field Values
 
 - 
Button4MotionMaskstatic final int Button4MotionMask - See Also:
- Constant Field Values
 
 - 
Button5MotionMaskstatic final int Button5MotionMask - See Also:
- Constant Field Values
 
 - 
ButtonMotionMaskstatic final int ButtonMotionMask - See Also:
- Constant Field Values
 
 - 
KeymapStateMaskstatic final int KeymapStateMask - See Also:
- Constant Field Values
 
 - 
ExposureMaskstatic final int ExposureMask - See Also:
- Constant Field Values
 
 - 
VisibilityChangeMaskstatic final int VisibilityChangeMask - See Also:
- Constant Field Values
 
 - 
StructureNotifyMaskstatic final int StructureNotifyMask - See Also:
- Constant Field Values
 
 - 
ResizeRedirectMaskstatic final int ResizeRedirectMask - See Also:
- Constant Field Values
 
 - 
SubstructureNotifyMaskstatic final int SubstructureNotifyMask - See Also:
- Constant Field Values
 
 - 
SubstructureRedirectMaskstatic final int SubstructureRedirectMask - See Also:
- Constant Field Values
 
 - 
FocusChangeMaskstatic final int FocusChangeMask - See Also:
- Constant Field Values
 
 - 
PropertyChangeMaskstatic final int PropertyChangeMask - See Also:
- Constant Field Values
 
 - 
ColormapChangeMaskstatic final int ColormapChangeMask - See Also:
- Constant Field Values
 
 - 
OwnerGrabButtonMaskstatic final int OwnerGrabButtonMask - See Also:
- Constant Field Values
 
 - 
KeyPressstatic final int KeyPress - See Also:
- Constant Field Values
 
 - 
KeyReleasestatic final int KeyRelease - See Also:
- Constant Field Values
 
 - 
ButtonPressstatic final int ButtonPress - See Also:
- Constant Field Values
 
 - 
ButtonReleasestatic final int ButtonRelease - See Also:
- Constant Field Values
 
 - 
MotionNotifystatic final int MotionNotify - See Also:
- Constant Field Values
 
 - 
EnterNotifystatic final int EnterNotify - See Also:
- Constant Field Values
 
 - 
LeaveNotifystatic final int LeaveNotify - See Also:
- Constant Field Values
 
 - 
FocusInstatic final int FocusIn - See Also:
- Constant Field Values
 
 - 
FocusOutstatic final int FocusOut - See Also:
- Constant Field Values
 
 - 
KeymapNotifystatic final int KeymapNotify - See Also:
- Constant Field Values
 
 - 
Exposestatic final int Expose - See Also:
- Constant Field Values
 
 - 
GraphicsExposestatic final int GraphicsExpose - See Also:
- Constant Field Values
 
 - 
NoExposestatic final int NoExpose - See Also:
- Constant Field Values
 
 - 
VisibilityNotifystatic final int VisibilityNotify - See Also:
- Constant Field Values
 
 - 
CreateNotifystatic final int CreateNotify - See Also:
- Constant Field Values
 
 - 
DestroyNotifystatic final int DestroyNotify - See Also:
- Constant Field Values
 
 - 
UnmapNotifystatic final int UnmapNotify - See Also:
- Constant Field Values
 
 - 
MapNotifystatic final int MapNotify - See Also:
- Constant Field Values
 
 - 
MapRequeststatic final int MapRequest - See Also:
- Constant Field Values
 
 - 
ReparentNotifystatic final int ReparentNotify - See Also:
- Constant Field Values
 
 - 
ConfigureNotifystatic final int ConfigureNotify - See Also:
- Constant Field Values
 
 - 
ConfigureRequeststatic final int ConfigureRequest - See Also:
- Constant Field Values
 
 - 
GravityNotifystatic final int GravityNotify - See Also:
- Constant Field Values
 
 - 
ResizeRequeststatic final int ResizeRequest - See Also:
- Constant Field Values
 
 - 
CirculateNotifystatic final int CirculateNotify - See Also:
- Constant Field Values
 
 - 
CirculateRequeststatic final int CirculateRequest - See Also:
- Constant Field Values
 
 - 
PropertyNotifystatic final int PropertyNotify - See Also:
- Constant Field Values
 
 - 
SelectionClearstatic final int SelectionClear - See Also:
- Constant Field Values
 
 - 
SelectionRequeststatic final int SelectionRequest - See Also:
- Constant Field Values
 
 - 
SelectionNotifystatic final int SelectionNotify - See Also:
- Constant Field Values
 
 - 
ColormapNotifystatic final int ColormapNotify - See Also:
- Constant Field Values
 
 - 
ClientMessagestatic final int ClientMessage - See Also:
- Constant Field Values
 
 - 
MappingNotifystatic final int MappingNotify - See Also:
- Constant Field Values
 
 - 
GenericEventstatic final int GenericEvent - See Also:
- Constant Field Values
 
 - 
LASTEventstatic final int LASTEvent - See Also:
- Constant Field Values
 
 - 
ShiftMaskstatic final int ShiftMask - See Also:
- Constant Field Values
 
 - 
LockMaskstatic final int LockMask - See Also:
- Constant Field Values
 
 - 
ControlMaskstatic final int ControlMask - See Also:
- Constant Field Values
 
 - 
Mod1Maskstatic final int Mod1Mask - See Also:
- Constant Field Values
 
 - 
Mod2Maskstatic final int Mod2Mask - See Also:
- Constant Field Values
 
 - 
Mod3Maskstatic final int Mod3Mask - See Also:
- Constant Field Values
 
 - 
Mod4Maskstatic final int Mod4Mask - See Also:
- Constant Field Values
 
 - 
Mod5Maskstatic final int Mod5Mask - See Also:
- Constant Field Values
 
 - 
ShiftMapIndexstatic final int ShiftMapIndex - See Also:
- Constant Field Values
 
 - 
LockMapIndexstatic final int LockMapIndex - See Also:
- Constant Field Values
 
 - 
ControlMapIndexstatic final int ControlMapIndex - See Also:
- Constant Field Values
 
 - 
Mod1MapIndexstatic final int Mod1MapIndex - See Also:
- Constant Field Values
 
 - 
Mod2MapIndexstatic final int Mod2MapIndex - See Also:
- Constant Field Values
 
 - 
Mod3MapIndexstatic final int Mod3MapIndex - See Also:
- Constant Field Values
 
 - 
Mod4MapIndexstatic final int Mod4MapIndex - See Also:
- Constant Field Values
 
 - 
Mod5MapIndexstatic final int Mod5MapIndex - See Also:
- Constant Field Values
 
 - 
Button1Maskstatic final int Button1Mask - See Also:
- Constant Field Values
 
 - 
Button2Maskstatic final int Button2Mask - See Also:
- Constant Field Values
 
 - 
Button3Maskstatic final int Button3Mask - See Also:
- Constant Field Values
 
 - 
Button4Maskstatic final int Button4Mask - See Also:
- Constant Field Values
 
 - 
Button5Maskstatic final int Button5Mask - See Also:
- Constant Field Values
 
 - 
AnyModifierstatic final int AnyModifier - See Also:
- Constant Field Values
 
 - 
Button1static final int Button1 - See Also:
- Constant Field Values
 
 - 
Button2static final int Button2 - See Also:
- Constant Field Values
 
 - 
Button3static final int Button3 - See Also:
- Constant Field Values
 
 - 
Button4static final int Button4 - See Also:
- Constant Field Values
 
 - 
Button5static final int Button5 - See Also:
- Constant Field Values
 
 - 
NotifyNormalstatic final int NotifyNormal - See Also:
- Constant Field Values
 
 - 
NotifyGrabstatic final int NotifyGrab - See Also:
- Constant Field Values
 
 - 
NotifyUngrabstatic final int NotifyUngrab - See Also:
- Constant Field Values
 
 - 
NotifyWhileGrabbedstatic final int NotifyWhileGrabbed - See Also:
- Constant Field Values
 
 - 
NotifyHintstatic final int NotifyHint - See Also:
- Constant Field Values
 
 - 
NotifyAncestorstatic final int NotifyAncestor - See Also:
- Constant Field Values
 
 - 
NotifyVirtualstatic final int NotifyVirtual - See Also:
- Constant Field Values
 
 - 
NotifyInferiorstatic final int NotifyInferior - See Also:
- Constant Field Values
 
 - 
NotifyNonlinearstatic final int NotifyNonlinear - See Also:
- Constant Field Values
 
 - 
NotifyNonlinearVirtualstatic final int NotifyNonlinearVirtual - See Also:
- Constant Field Values
 
 - 
NotifyPointerstatic final int NotifyPointer - See Also:
- Constant Field Values
 
 - 
NotifyPointerRootstatic final int NotifyPointerRoot - See Also:
- Constant Field Values
 
 - 
NotifyDetailNonestatic final int NotifyDetailNone - See Also:
- Constant Field Values
 
 - 
VisibilityUnobscuredstatic final int VisibilityUnobscured - See Also:
- Constant Field Values
 
 - 
VisibilityPartiallyObscuredstatic final int VisibilityPartiallyObscured - See Also:
- Constant Field Values
 
 - 
VisibilityFullyObscuredstatic final int VisibilityFullyObscured - See Also:
- Constant Field Values
 
 - 
PlaceOnTopstatic final int PlaceOnTop - See Also:
- Constant Field Values
 
 - 
PlaceOnBottomstatic final int PlaceOnBottom - See Also:
- Constant Field Values
 
 - 
FamilyInternetstatic final int FamilyInternet - See Also:
- Constant Field Values
 
 - 
FamilyDECnetstatic final int FamilyDECnet - See Also:
- Constant Field Values
 
 - 
FamilyChaosstatic final int FamilyChaos - See Also:
- Constant Field Values
 
 - 
FamilyInternet6static final int FamilyInternet6 - See Also:
- Constant Field Values
 
 - 
FamilyServerInterpretedstatic final int FamilyServerInterpreted - See Also:
- Constant Field Values
 
 - 
PropertyNewValuestatic final int PropertyNewValue - See Also:
- Constant Field Values
 
 - 
PropertyDeletestatic final int PropertyDelete - See Also:
- Constant Field Values
 
 - 
ColormapUninstalledstatic final int ColormapUninstalled - See Also:
- Constant Field Values
 
 - 
ColormapInstalledstatic final int ColormapInstalled - See Also:
- Constant Field Values
 
 - 
GrabModeSyncstatic final int GrabModeSync - See Also:
- Constant Field Values
 
 - 
GrabModeAsyncstatic final int GrabModeAsync - See Also:
- Constant Field Values
 
 - 
GrabSuccessstatic final int GrabSuccess - See Also:
- Constant Field Values
 
 - 
AlreadyGrabbedstatic final int AlreadyGrabbed - See Also:
- Constant Field Values
 
 - 
GrabInvalidTimestatic final int GrabInvalidTime - See Also:
- Constant Field Values
 
 - 
GrabNotViewablestatic final int GrabNotViewable - See Also:
- Constant Field Values
 
 - 
GrabFrozenstatic final int GrabFrozen - See Also:
- Constant Field Values
 
 - 
AsyncPointerstatic final int AsyncPointer - See Also:
- Constant Field Values
 
 - 
SyncPointerstatic final int SyncPointer - See Also:
- Constant Field Values
 
 - 
ReplayPointerstatic final int ReplayPointer - See Also:
- Constant Field Values
 
 - 
AsyncKeyboardstatic final int AsyncKeyboard - See Also:
- Constant Field Values
 
 - 
SyncKeyboardstatic final int SyncKeyboard - See Also:
- Constant Field Values
 
 - 
ReplayKeyboardstatic final int ReplayKeyboard - See Also:
- Constant Field Values
 
 - 
AsyncBothstatic final int AsyncBoth - See Also:
- Constant Field Values
 
 - 
SyncBothstatic final int SyncBoth - See Also:
- Constant Field Values
 
 - 
RevertToNonestatic final int RevertToNone - See Also:
- Constant Field Values
 
 - 
RevertToPointerRootstatic final int RevertToPointerRoot - See Also:
- Constant Field Values
 
 - 
RevertToParentstatic final int RevertToParent - See Also:
- Constant Field Values
 
 - 
Successstatic final int Success ERROR CODES- See Also:
- Constant Field Values
 
 - 
BadRequeststatic final int BadRequest - See Also:
- Constant Field Values
 
 - 
BadValuestatic final int BadValue - See Also:
- Constant Field Values
 
 - 
BadWindowstatic final int BadWindow - See Also:
- Constant Field Values
 
 - 
BadPixmapstatic final int BadPixmap - See Also:
- Constant Field Values
 
 - 
BadAtomstatic final int BadAtom - See Also:
- Constant Field Values
 
 - 
BadCursorstatic final int BadCursor - See Also:
- Constant Field Values
 
 - 
BadFontstatic final int BadFont - See Also:
- Constant Field Values
 
 - 
BadMatchstatic final int BadMatch - See Also:
- Constant Field Values
 
 - 
BadDrawablestatic final int BadDrawable - See Also:
- Constant Field Values
 
 - 
BadAccessstatic final int BadAccess - See Also:
- Constant Field Values
 
 - 
BadAllocstatic final int BadAlloc - See Also:
- Constant Field Values
 
 - 
BadColorstatic final int BadColor - See Also:
- Constant Field Values
 
 - 
BadGCstatic final int BadGC - See Also:
- Constant Field Values
 
 - 
BadIDChoicestatic final int BadIDChoice - See Also:
- Constant Field Values
 
 - 
BadNamestatic final int BadName - See Also:
- Constant Field Values
 
 - 
BadLengthstatic final int BadLength - See Also:
- Constant Field Values
 
 - 
BadImplementationstatic final int BadImplementation - See Also:
- Constant Field Values
 
 - 
FirstExtensionErrorstatic final int FirstExtensionError - See Also:
- Constant Field Values
 
 - 
LastExtensionErrorstatic final int LastExtensionError - See Also:
- Constant Field Values
 
 - 
InputOutputstatic final int InputOutput WINDOW DEFINITIONS- See Also:
- Constant Field Values
 
 - 
InputOnlystatic final int InputOnly - See Also:
- Constant Field Values
 
 - 
CWBackPixmapstatic final int CWBackPixmap - See Also:
- Constant Field Values
 
 - 
CWBackPixelstatic final int CWBackPixel - See Also:
- Constant Field Values
 
 - 
CWBorderPixmapstatic final int CWBorderPixmap - See Also:
- Constant Field Values
 
 - 
CWBorderPixelstatic final int CWBorderPixel - See Also:
- Constant Field Values
 
 - 
CWBitGravitystatic final int CWBitGravity - See Also:
- Constant Field Values
 
 - 
CWWinGravitystatic final int CWWinGravity - See Also:
- Constant Field Values
 
 - 
CWBackingStorestatic final int CWBackingStore - See Also:
- Constant Field Values
 
 - 
CWBackingPlanesstatic final int CWBackingPlanes - See Also:
- Constant Field Values
 
 - 
CWBackingPixelstatic final int CWBackingPixel - See Also:
- Constant Field Values
 
 - 
CWOverrideRedirectstatic final int CWOverrideRedirect - See Also:
- Constant Field Values
 
 - 
CWSaveUnderstatic final int CWSaveUnder - See Also:
- Constant Field Values
 
 - 
CWEventMaskstatic final int CWEventMask - See Also:
- Constant Field Values
 
 - 
CWDontPropagatestatic final int CWDontPropagate - See Also:
- Constant Field Values
 
 - 
CWColormapstatic final int CWColormap - See Also:
- Constant Field Values
 
 - 
CWCursorstatic final int CWCursor - See Also:
- Constant Field Values
 
 - 
CWXstatic final int CWX - See Also:
- Constant Field Values
 
 - 
CWYstatic final int CWY - See Also:
- Constant Field Values
 
 - 
CWWidthstatic final int CWWidth - See Also:
- Constant Field Values
 
 - 
CWHeightstatic final int CWHeight - See Also:
- Constant Field Values
 
 - 
CWBorderWidthstatic final int CWBorderWidth - See Also:
- Constant Field Values
 
 - 
CWSiblingstatic final int CWSibling - See Also:
- Constant Field Values
 
 - 
CWStackModestatic final int CWStackMode - See Also:
- Constant Field Values
 
 - 
ForgetGravitystatic final int ForgetGravity - See Also:
- Constant Field Values
 
 - 
NorthWestGravitystatic final int NorthWestGravity - See Also:
- Constant Field Values
 
 - 
NorthGravitystatic final int NorthGravity - See Also:
- Constant Field Values
 
 - 
NorthEastGravitystatic final int NorthEastGravity - See Also:
- Constant Field Values
 
 - 
WestGravitystatic final int WestGravity - See Also:
- Constant Field Values
 
 - 
CenterGravitystatic final int CenterGravity - See Also:
- Constant Field Values
 
 - 
EastGravitystatic final int EastGravity - See Also:
- Constant Field Values
 
 - 
SouthWestGravitystatic final int SouthWestGravity - See Also:
- Constant Field Values
 
 - 
SouthGravitystatic final int SouthGravity - See Also:
- Constant Field Values
 
 - 
SouthEastGravitystatic final int SouthEastGravity - See Also:
- Constant Field Values
 
 - 
StaticGravitystatic final int StaticGravity - See Also:
- Constant Field Values
 
 - 
UnmapGravitystatic final int UnmapGravity - See Also:
- Constant Field Values
 
 - 
NotUsefulstatic final int NotUseful - See Also:
- Constant Field Values
 
 - 
WhenMappedstatic final int WhenMapped - See Also:
- Constant Field Values
 
 - 
Alwaysstatic final int Always - See Also:
- Constant Field Values
 
 - 
IsUnmappedstatic final int IsUnmapped - See Also:
- Constant Field Values
 
 - 
IsUnviewablestatic final int IsUnviewable - See Also:
- Constant Field Values
 
 - 
IsViewablestatic final int IsViewable - See Also:
- Constant Field Values
 
 - 
SetModeInsertstatic final int SetModeInsert - See Also:
- Constant Field Values
 
 - 
SetModeDeletestatic final int SetModeDelete - See Also:
- Constant Field Values
 
 - 
DestroyAllstatic final int DestroyAll - See Also:
- Constant Field Values
 
 - 
RetainPermanentstatic final int RetainPermanent - See Also:
- Constant Field Values
 
 - 
RetainTemporarystatic final int RetainTemporary - See Also:
- Constant Field Values
 
 - 
Abovestatic final int Above - See Also:
- Constant Field Values
 
 - 
Belowstatic final int Below - See Also:
- Constant Field Values
 
 - 
TopIfstatic final int TopIf - See Also:
- Constant Field Values
 
 - 
BottomIfstatic final int BottomIf - See Also:
- Constant Field Values
 
 - 
Oppositestatic final int Opposite - See Also:
- Constant Field Values
 
 - 
RaiseLoweststatic final int RaiseLowest - See Also:
- Constant Field Values
 
 - 
LowerHigheststatic final int LowerHighest - See Also:
- Constant Field Values
 
 - 
PropModeReplacestatic final int PropModeReplace - See Also:
- Constant Field Values
 
 - 
PropModePrependstatic final int PropModePrepend - See Also:
- Constant Field Values
 
 - 
PropModeAppendstatic final int PropModeAppend - See Also:
- Constant Field Values
 
 - 
GXclearstatic final int GXclear GRAPHICS DEFINITIONS- See Also:
- Constant Field Values
 
 - 
GXandstatic final int GXand - See Also:
- Constant Field Values
 
 - 
GXandReversestatic final int GXandReverse - See Also:
- Constant Field Values
 
 - 
GXcopystatic final int GXcopy - See Also:
- Constant Field Values
 
 - 
GXandInvertedstatic final int GXandInverted - See Also:
- Constant Field Values
 
 - 
GXnoopstatic final int GXnoop - See Also:
- Constant Field Values
 
 - 
GXxorstatic final int GXxor - See Also:
- Constant Field Values
 
 - 
GXorstatic final int GXor - See Also:
- Constant Field Values
 
 - 
GXnorstatic final int GXnor - See Also:
- Constant Field Values
 
 - 
GXequivstatic final int GXequiv - See Also:
- Constant Field Values
 
 - 
GXinvertstatic final int GXinvert - See Also:
- Constant Field Values
 
 - 
GXorReversestatic final int GXorReverse - See Also:
- Constant Field Values
 
 - 
GXcopyInvertedstatic final int GXcopyInverted - See Also:
- Constant Field Values
 
 - 
GXorInvertedstatic final int GXorInverted - See Also:
- Constant Field Values
 
 - 
GXnandstatic final int GXnand - See Also:
- Constant Field Values
 
 - 
GXsetstatic final int GXset - See Also:
- Constant Field Values
 
 - 
LineSolidstatic final int LineSolid - See Also:
- Constant Field Values
 
 - 
LineOnOffDashstatic final int LineOnOffDash - See Also:
- Constant Field Values
 
 - 
LineDoubleDashstatic final int LineDoubleDash - See Also:
- Constant Field Values
 
 - 
CapNotLaststatic final int CapNotLast - See Also:
- Constant Field Values
 
 - 
CapButtstatic final int CapButt - See Also:
- Constant Field Values
 
 - 
CapRoundstatic final int CapRound - See Also:
- Constant Field Values
 
 - 
CapProjectingstatic final int CapProjecting - See Also:
- Constant Field Values
 
 - 
JoinMiterstatic final int JoinMiter - See Also:
- Constant Field Values
 
 - 
JoinRoundstatic final int JoinRound - See Also:
- Constant Field Values
 
 - 
JoinBevelstatic final int JoinBevel - See Also:
- Constant Field Values
 
 - 
FillSolidstatic final int FillSolid - See Also:
- Constant Field Values
 
 - 
FillTiledstatic final int FillTiled - See Also:
- Constant Field Values
 
 - 
FillStippledstatic final int FillStippled - See Also:
- Constant Field Values
 
 - 
FillOpaqueStippledstatic final int FillOpaqueStippled - See Also:
- Constant Field Values
 
 - 
EvenOddRulestatic final int EvenOddRule - See Also:
- Constant Field Values
 
 - 
WindingRulestatic final int WindingRule - See Also:
- Constant Field Values
 
 - 
ClipByChildrenstatic final int ClipByChildren - See Also:
- Constant Field Values
 
 - 
IncludeInferiorsstatic final int IncludeInferiors - See Also:
- Constant Field Values
 
 - 
Unsortedstatic final int Unsorted - See Also:
- Constant Field Values
 
 - 
YSortedstatic final int YSorted - See Also:
- Constant Field Values
 
 - 
YXSortedstatic final int YXSorted - See Also:
- Constant Field Values
 
 - 
YXBandedstatic final int YXBanded - See Also:
- Constant Field Values
 
 - 
CoordModeOriginstatic final int CoordModeOrigin - See Also:
- Constant Field Values
 
 - 
CoordModePreviousstatic final int CoordModePrevious - See Also:
- Constant Field Values
 
 - 
Complexstatic final int Complex - See Also:
- Constant Field Values
 
 - 
Nonconvexstatic final int Nonconvex - See Also:
- Constant Field Values
 
 - 
Convexstatic final int Convex - See Also:
- Constant Field Values
 
 - 
ArcChordstatic final int ArcChord - See Also:
- Constant Field Values
 
 - 
ArcPieSlicestatic final int ArcPieSlice - See Also:
- Constant Field Values
 
 - 
GCFunctionstatic final int GCFunction - See Also:
- Constant Field Values
 
 - 
GCPlaneMaskstatic final int GCPlaneMask - See Also:
- Constant Field Values
 
 - 
GCForegroundstatic final int GCForeground - See Also:
- Constant Field Values
 
 - 
GCBackgroundstatic final int GCBackground - See Also:
- Constant Field Values
 
 - 
GCLineWidthstatic final int GCLineWidth - See Also:
- Constant Field Values
 
 - 
GCLineStylestatic final int GCLineStyle - See Also:
- Constant Field Values
 
 - 
GCCapStylestatic final int GCCapStyle - See Also:
- Constant Field Values
 
 - 
GCJoinStylestatic final int GCJoinStyle - See Also:
- Constant Field Values
 
 - 
GCFillStylestatic final int GCFillStyle - See Also:
- Constant Field Values
 
 - 
GCFillRulestatic final int GCFillRule - See Also:
- Constant Field Values
 
 - 
GCTilestatic final int GCTile - See Also:
- Constant Field Values
 
 - 
GCStipplestatic final int GCStipple - See Also:
- Constant Field Values
 
 - 
GCTileStipXOriginstatic final int GCTileStipXOrigin - See Also:
- Constant Field Values
 
 - 
GCTileStipYOriginstatic final int GCTileStipYOrigin - See Also:
- Constant Field Values
 
 - 
GCFontstatic final int GCFont - See Also:
- Constant Field Values
 
 - 
GCSubwindowModestatic final int GCSubwindowMode - See Also:
- Constant Field Values
 
 - 
GCGraphicsExposuresstatic final int GCGraphicsExposures - See Also:
- Constant Field Values
 
 - 
GCClipXOriginstatic final int GCClipXOrigin - See Also:
- Constant Field Values
 
 - 
GCClipYOriginstatic final int GCClipYOrigin - See Also:
- Constant Field Values
 
 - 
GCClipMaskstatic final int GCClipMask - See Also:
- Constant Field Values
 
 - 
GCDashOffsetstatic final int GCDashOffset - See Also:
- Constant Field Values
 
 - 
GCDashListstatic final int GCDashList - See Also:
- Constant Field Values
 
 - 
GCArcModestatic final int GCArcMode - See Also:
- Constant Field Values
 
 - 
GCLastBitstatic final int GCLastBit - See Also:
- Constant Field Values
 
 - 
FontLeftToRightstatic final int FontLeftToRight FONTS- See Also:
- Constant Field Values
 
 - 
FontRightToLeftstatic final int FontRightToLeft - See Also:
- Constant Field Values
 
 - 
FontChangestatic final int FontChange - See Also:
- Constant Field Values
 
 - 
XYBitmapstatic final int XYBitmap IMAGING- See Also:
- Constant Field Values
 
 - 
XYPixmapstatic final int XYPixmap - See Also:
- Constant Field Values
 
 - 
ZPixmapstatic final int ZPixmap - See Also:
- Constant Field Values
 
 - 
AllocNonestatic final int AllocNone COLOR MAP STUFF- See Also:
- Constant Field Values
 
 - 
AllocAllstatic final int AllocAll - See Also:
- Constant Field Values
 
 - 
DoRedstatic final int DoRed - See Also:
- Constant Field Values
 
 - 
DoGreenstatic final int DoGreen - See Also:
- Constant Field Values
 
 - 
DoBluestatic final int DoBlue - See Also:
- Constant Field Values
 
 - 
CursorShapestatic final int CursorShape CURSOR STUFF- See Also:
- Constant Field Values
 
 - 
TileShapestatic final int TileShape - See Also:
- Constant Field Values
 
 - 
StippleShapestatic final int StippleShape - See Also:
- Constant Field Values
 
 - 
AutoRepeatModeOffstatic final int AutoRepeatModeOff KEYBOARD/POINTER STUFF- See Also:
- Constant Field Values
 
 - 
AutoRepeatModeOnstatic final int AutoRepeatModeOn - See Also:
- Constant Field Values
 
 - 
AutoRepeatModeDefaultstatic final int AutoRepeatModeDefault - See Also:
- Constant Field Values
 
 - 
LedModeOffstatic final int LedModeOff - See Also:
- Constant Field Values
 
 - 
LedModeOnstatic final int LedModeOn - See Also:
- Constant Field Values
 
 - 
KBKeyClickPercentstatic final int KBKeyClickPercent - See Also:
- Constant Field Values
 
 - 
KBBellPercentstatic final int KBBellPercent - See Also:
- Constant Field Values
 
 - 
KBBellPitchstatic final int KBBellPitch - See Also:
- Constant Field Values
 
 - 
KBBellDurationstatic final int KBBellDuration - See Also:
- Constant Field Values
 
 - 
KBLedstatic final int KBLed - See Also:
- Constant Field Values
 
 - 
KBLedModestatic final int KBLedMode - See Also:
- Constant Field Values
 
 - 
KBKeystatic final int KBKey - See Also:
- Constant Field Values
 
 - 
KBAutoRepeatModestatic final int KBAutoRepeatMode - See Also:
- Constant Field Values
 
 - 
MappingSuccessstatic final int MappingSuccess - See Also:
- Constant Field Values
 
 - 
MappingBusystatic final int MappingBusy - See Also:
- Constant Field Values
 
 - 
MappingFailedstatic final int MappingFailed - See Also:
- Constant Field Values
 
 - 
MappingModifierstatic final int MappingModifier - See Also:
- Constant Field Values
 
 - 
MappingKeyboardstatic final int MappingKeyboard - See Also:
- Constant Field Values
 
 - 
MappingPointerstatic final int MappingPointer - See Also:
- Constant Field Values
 
 - 
DontPreferBlankingstatic final int DontPreferBlanking SCREEN SAVER STUFF- See Also:
- Constant Field Values
 
 - 
PreferBlankingstatic final int PreferBlanking - See Also:
- Constant Field Values
 
 - 
DefaultBlankingstatic final int DefaultBlanking - See Also:
- Constant Field Values
 
 - 
DisableScreenSaverstatic final int DisableScreenSaver - See Also:
- Constant Field Values
 
 - 
DisableScreenIntervalstatic final int DisableScreenInterval - See Also:
- Constant Field Values
 
 - 
DontAllowExposuresstatic final int DontAllowExposures - See Also:
- Constant Field Values
 
 - 
AllowExposuresstatic final int AllowExposures - See Also:
- Constant Field Values
 
 - 
DefaultExposuresstatic final int DefaultExposures - See Also:
- Constant Field Values
 
 - 
ScreenSaverResetstatic final int ScreenSaverReset - See Also:
- Constant Field Values
 
 - 
ScreenSaverActivestatic final int ScreenSaverActive - See Also:
- Constant Field Values
 
 - 
HostInsertstatic final int HostInsert HOSTS AND CONNECTIONS- See Also:
- Constant Field Values
 
 - 
HostDeletestatic final int HostDelete - See Also:
- Constant Field Values
 
 - 
EnableAccessstatic final int EnableAccess - See Also:
- Constant Field Values
 
 - 
DisableAccessstatic final int DisableAccess - See Also:
- Constant Field Values
 
 - 
StaticGraystatic final int StaticGray - See Also:
- Constant Field Values
 
 - 
GrayScalestatic final int GrayScale - See Also:
- Constant Field Values
 
 - 
StaticColorstatic final int StaticColor - See Also:
- Constant Field Values
 
 - 
PseudoColorstatic final int PseudoColor - See Also:
- Constant Field Values
 
 - 
TrueColorstatic final int TrueColor - See Also:
- Constant Field Values
 
 - 
DirectColorstatic final int DirectColor - See Also:
- Constant Field Values
 
 - 
LSBFirststatic final int LSBFirst - See Also:
- Constant Field Values
 
 - 
MSBFirststatic final int MSBFirst - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
XQueryExtensionboolean XQueryExtension(X11.Display display, java.lang.String name, IntByReference major_opcode_return, IntByReference first_event_return, IntByReference first_error_return) The XQueryExtension function determines if the named extension is present.- Parameters:
- display- Specifies the connection to the X server.
- name- Specifies the extension name.
- major_opcode_return- Returns the major opcode.
- first_event_return- Returns the first event code, if any.
- first_error_return- Returns the first error code, if any.
- Returns:
- if present
 
 - 
XOpenDisplayX11.Display XOpenDisplay(java.lang.String name) 
 - 
XGetErrorTextint XGetErrorText(X11.Display display, int code, byte[] buffer, int len) 
 - 
XDefaultScreenint XDefaultScreen(X11.Display display) 
 - 
DefaultScreenOfDisplayX11.Screen DefaultScreenOfDisplay(X11.Display display) 
 - 
XDefaultVisualX11.Visual XDefaultVisual(X11.Display display, int screen) 
 - 
XDefaultColormapX11.Colormap XDefaultColormap(X11.Display display, int screen) 
 - 
XDisplayWidthint XDisplayWidth(X11.Display display, int screen) 
 - 
XDisplayHeightint XDisplayHeight(X11.Display display, int screen) 
 - 
XDefaultRootWindowX11.Window XDefaultRootWindow(X11.Display display) 
 - 
XRootWindowX11.Window XRootWindow(X11.Display display, int screen) 
 - 
XAllocNamedColorint XAllocNamedColor(X11.Display display, int colormap, java.lang.String color_name, Pointer screen_def_return, Pointer exact_def_return) 
 - 
XAllocSizeHintsX11.XSizeHints XAllocSizeHints() 
 - 
XSetWMPropertiesvoid XSetWMProperties(X11.Display display, X11.Window window, java.lang.String window_name, java.lang.String icon_name, java.lang.String[] argv, int argc, X11.XSizeHints normal_hints, Pointer wm_hints, Pointer class_hints) 
 - 
XSetWMProtocolsint XSetWMProtocols(X11.Display display, X11.Window window, X11.Atom[] atom, int count) 
 - 
XGetWMProtocolsint XGetWMProtocols(X11.Display display, X11.Window w, PointerByReference protocols_return, IntByReference count_return) 
 - 
XFreeint XFree(Pointer data) 
 - 
XCreateSimpleWindowX11.Window XCreateSimpleWindow(X11.Display display, X11.Window parent, int x, int y, int width, int height, int border_width, int border, int background) 
 - 
XCreateBitmapFromDataX11.Pixmap XCreateBitmapFromData(X11.Display display, X11.Window window, Pointer data, int width, int height) 
 - 
XMapWindowint XMapWindow(X11.Display display, X11.Window window) 
 - 
XMapRaisedint XMapRaised(X11.Display display, X11.Window window) 
 - 
XMapSubwindowsint XMapSubwindows(X11.Display display, X11.Window window) 
 - 
XFlushint 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.- Parameters:
- display- target Display
- Returns:
- status
 
 - 
XSyncint 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.- Parameters:
- display- target Display
- discard- whether to discard events
- Returns:
- status
 
 - 
XEventsQueuedint 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.- Parameters:
- display- target Display
- mode- QueuedAlready, QueuedAfterFlush, or QueuedAfterReading
- Returns:
- status
 
 - 
XPendingint 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.- Parameters:
- display- target Display
- Returns:
- status
 
 - 
XUnmapWindowint XUnmapWindow(X11.Display display, X11.Window window) 
 - 
XDestroyWindowint XDestroyWindow(X11.Display display, X11.Window window) 
 - 
XCloseDisplayint XCloseDisplay(X11.Display display) 
 - 
XClearWindowint XClearWindow(X11.Display display, X11.Window window) 
 - 
XClearAreaint XClearArea(X11.Display display, X11.Window window, int x, int y, int w, int h, int exposures) 
 - 
XCreatePixmapX11.Pixmap XCreatePixmap(X11.Display display, X11.Drawable drawable, int width, int height, int depth) 
 - 
XFreePixmapint XFreePixmap(X11.Display display, X11.Pixmap pixmap) 
 - 
XCreateGCX11.GC XCreateGC(X11.Display display, X11.Drawable drawable, NativeLong mask, X11.XGCValues values) 
 - 
XSetFillRuleint XSetFillRule(X11.Display display, X11.GC gc, int fill_rule) 
 - 
XFreeGCint XFreeGC(X11.Display display, X11.GC gc) 
 - 
XDrawPointint XDrawPoint(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y) 
 - 
XDrawPointsint XDrawPoints(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int mode) 
 - 
XFillRectangleint XFillRectangle(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height) 
 - 
XFillRectanglesint XFillRectangles(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XRectangle[] rectangles, int nrectangles) 
 - 
XSetForegroundint XSetForeground(X11.Display display, X11.GC gc, NativeLong color) 
 - 
XSetBackgroundint XSetBackground(X11.Display display, X11.GC gc, NativeLong color) 
 - 
XFillArcint XFillArc(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height, int angle1, int angle2) 
 - 
XFillPolygonint XFillPolygon(X11.Display dpy, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int shape, int mode) 
 - 
XQueryTreeint XQueryTree(X11.Display display, X11.Window window, X11.WindowByReference root, X11.WindowByReference parent, PointerByReference children, IntByReference childCount) 
 - 
XQueryPointerboolean 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) 
 - 
XGetWindowAttributesint XGetWindowAttributes(X11.Display display, X11.Window window, X11.XWindowAttributes attributes) 
 - 
XChangeWindowAttributesint XChangeWindowAttributes(X11.Display display, X11.Window window, NativeLong valuemask, X11.XSetWindowAttributes attributes) 
 - 
XGetGeometryint XGetGeometry(X11.Display display, X11.Drawable d, X11.WindowByReference w, IntByReference x, IntByReference y, IntByReference width, IntByReference heigth, IntByReference border_width, IntByReference depth) 
 - 
XTranslateCoordinatesboolean 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) 
 - 
XSelectInputint XSelectInput(X11.Display display, X11.Window window, NativeLong eventMask) 
 - 
XSendEventint XSendEvent(X11.Display display, X11.Window w, int propagate, NativeLong event_mask, X11.XEvent event_send) 
 - 
XNextEventint XNextEvent(X11.Display display, X11.XEvent event_return) 
 - 
XPeekEventint XPeekEvent(X11.Display display, X11.XEvent event_return) 
 - 
XWindowEventint XWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return) 
 - 
XCheckWindowEventboolean XCheckWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return) 
 - 
XMaskEventint XMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return) 
 - 
XCheckMaskEventboolean XCheckMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return) 
 - 
XCheckTypedEventboolean XCheckTypedEvent(X11.Display display, int event_type, X11.XEvent event_return) 
 - 
XCheckTypedWindowEventboolean XCheckTypedWindowEvent(X11.Display display, X11.Window w, int event_type, X11.XEvent event_return) 
 - 
XGetEventDataboolean XGetEventData(X11.Display display, X11.XGenericEventCookie cookie) 
 - 
XFreeEventDatavoid XFreeEventData(X11.Display display, X11.XGenericEventCookie cookie) 
 - 
XGetWMHintsX11.XWMHints XGetWMHints(X11.Display display, X11.Window window) Returns anX11.XWMHintswhich must be freed byXFree(com.sun.jna.Pointer).- Parameters:
- display- target Display
- window- target Window
- Returns:
- XWMHints structure for the requested window
 
 - 
XGetWMNameint XGetWMName(X11.Display display, X11.Window window, X11.XTextProperty text_property_return) 
 - 
XGetVisualInfoX11.XVisualInfo XGetVisualInfo(X11.Display display, NativeLong vinfo_mask, X11.XVisualInfo vinfo_template, IntByReference nitems_return) Returns an array ofX11.XVisualInfowhich must be freed byXFree(com.sun.jna.Pointer). UsetoArray(nitems_return.getValue()to obtain the array.- Parameters:
- display- target Display
- vinfo_mask- mask of data to retrieve
- vinfo_template- template struct to use as basis for returned data
- nitems_return- number size of returned array
- Returns:
- returned array
 
 - 
XCreateColormapX11.Colormap XCreateColormap(X11.Display display, X11.Window w, X11.Visual visual, int alloc) 
 - 
XGetWindowPropertyint 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) 
 - 
XChangePropertyint XChangeProperty(X11.Display display, X11.Window w, X11.Atom property, X11.Atom type, int format, int mode, Pointer data, int nelements) 
 - 
XDeletePropertyint XDeleteProperty(X11.Display display, X11.Window w, X11.Atom property) 
 - 
XInternAtomX11.Atom XInternAtom(X11.Display display, java.lang.String name, boolean only_if_exists) 
 - 
XGetAtomNamejava.lang.String XGetAtomName(X11.Display display, X11.Atom atom) 
 - 
XCopyAreaint 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) 
 - 
XCreateImageX11.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) 
 - 
XPutImageint 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) 
 - 
XDestroyImageint XDestroyImage(X11.XImage image) 
 - 
XSetErrorHandlerX11.XErrorHandler XSetErrorHandler(X11.XErrorHandler handler) Installs an error handler- Parameters:
- handler- Specifies the program's supplied error handler
- Returns:
- The previous error handler
 
 - 
XKeysymToStringjava.lang.String XKeysymToString(X11.KeySym keysym) 
 - 
XStringToKeysymX11.KeySym XStringToKeysym(java.lang.String string) 
 - 
XKeysymToKeycodebyte XKeysymToKeycode(X11.Display display, X11.KeySym keysym) 
 - 
XKeycodeToKeysymX11.KeySym XKeycodeToKeysym(X11.Display display, byte keycode, int index) 
 - 
XGrabKeyint XGrabKey(X11.Display display, int keyCode, int modifiers, X11.Window grab_window, int ownerEvents, int pointerMode, int keyBoardMode) Establishes a passive grab on the keyboard- Parameters:
- display- Specifies the connection to the X server.
- keyCode- Specifies the KeyCode or- AnyKey.
- modifiers- Specifies the set of keymasks or- AnyModifier. The mask is the bitwise inclusive OR of the valid keymask bits.
- grab_window- Specifies the grab window.
- ownerEvents- Specifies a Boolean value that indicates whether the keyboard events are to be reported as usual.
- pointerMode- Specifies further processing of pointer events. You can pass- GrabModeSyncor- GrabModeAsync.
- keyBoardMode- Specifies further processing of keyboard events. You can pass- GrabModeSyncor- GrabModeAsync.
- Returns:
- nothing
 
 - 
XUngrabKeyint XUngrabKey(X11.Display display, int keyCode, int modifiers, X11.Window grab_window) The XUngrabKey() function releases the key combination on the specified window if it was grabbed by this client.- Parameters:
- display- Specifies the connection to the X server.
- keyCode- Specifies the KeyCode or- AnyKey.
- modifiers- Specifies the set of keymasks or- AnyModifier. The mask is the bitwise inclusive OR of the valid keymask bits
- grab_window- Specifies the grab window.
- Returns:
- nothing
 
 - 
XGrabKeyboardint XGrabKeyboard(X11.Display display, X11.Window grab_window, int owner_events, int pointer_mode, int keyboard_mode, NativeLong time) Actively grabs control of the keyboard and generates FocusIn and FocusOut events- Parameters:
- display- Specifies the connection to the X server.
- grab_window- Specifies the grab window.
- owner_events- Specifies a Boolean value that indicates whether the keyboard events are to be reported as usual.
- pointer_mode- Specifies further processing of pointer events. You can pass GrabModeSync or GrabModeAsync.
- keyboard_mode- Specifies further processing of keyboard events. You can pass GrabModeSync or GrabModeAsync.
- time- Specifies the time. You can pass either a timestamp or CurrentTime.
- Returns:
- nothing
 
 - 
XUngrabKeyboardint XUngrabKeyboard(X11.Display display, NativeLong time) Releases the keyboard and any queued events if this client has it actively grabbed from either XGrabKeyboard() or XGrabKey().- Parameters:
- display- Specifies the connection to the X server.
- time- Specifies the time. You can pass either a timestamp or CurrentTime.
- Returns:
- nothing
 
 - 
XFetchNameint XFetchName(X11.Display display, X11.Window window, PointerByReference window_name_return) The XFetchName() function returns the name of the specified window. If it succeeds, it returns a nonzero status; otherwise, no name has been set for the window, and it returns zero. If the WM_NAME property has not been set for this window, XFetchName() sets window_name_return to NULL. If the data returned by the server is in the Latin Portable Character Encoding, then the returned string is in the Host Portable Character Encoding. Otherwise, the result is implementation dependent. When finished with it, a client must free the window name string using XFree().- Parameters:
- display- Specifies the connection to the X server.
- window- Specifies the window.
- window_name_return- Returns the window name, which is a null-terminated string.
- Returns:
- Integer. Nonzero = success, zero = no name has been set.
 
 - 
XChangeKeyboardMappingint 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.- Parameters:
- display- target Display
- first_keycode- first keycode
- keysyms_per_keycode- number of syms per keycode
- keysyms- array of KeySym
- num_codes- number of keycodes to be changed
- Returns:
- status
 
 - 
XGetKeyboardMappingX11.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.- Parameters:
- display- target Display
- first_keycode- first keycode to be changed or returned
- keycode_count- how many
- keysyms_per_keycode_return- number of syms per keycode
- Returns:
- KeySym for the requested code
 
 - 
XDisplayKeycodesint 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.- Parameters:
- display- target Display
- min_keycodes_return- smallest keycode
- max_keycodes_return- largest keycode
- Returns:
- status
 
 - 
XSetModifierMappingint 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.- Parameters:
- display- target Display
- modmap- modifier specification
- Returns:
- status
 
 - 
XGetModifierMappingX11.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.- Parameters:
- display- target Display
- Returns:
- modifier specification
 
 - 
XNewModifiermapX11.XModifierKeymapRef XNewModifiermap(int max_keys_per_mod) Returns a pointer to XModifierKeymap structure for later use.- Parameters:
- max_keys_per_mod- number of keys to include in the mapping
- Returns:
- modifier specification struct
 
 - 
XInsertModifiermapEntryX11.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).- Parameters:
- modmap- modifier map
- keycode_entry- keycode entry
- modifier- modifier
- Returns:
- modifier specification struct
 
 - 
XDeleteModifiermapEntryX11.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.- Parameters:
- modmap- modifier map
- keycode_entry- keycode entry
- modifier- modifier
- Returns:
- modifier specification struct
 
 - 
XFreeModifiermapint XFreeModifiermap(X11.XModifierKeymapRef modmap) Frees the specified XModifierKeymap structure.- Parameters:
- modmap- modifier map to be freed
- Returns:
- status
 
 - 
XChangeKeyboardControlint 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
- values- control ref values
- Returns:
- status
 
 - 
XGetKeyboardControlint XGetKeyboardControl(X11.Display display, X11.XKeyboardStateRef values_return) Returns the current control values for the keyboard to the XKeyboardState structure.- Parameters:
- display- display
- values_return- keyboard state structure
- Returns:
- status
 
 - 
XAutoRepeatOnint XAutoRepeatOn(X11.Display display) Turns on auto-repeat for the keyboard on the specified display.- Parameters:
- display- display
- Returns:
- status
 
 - 
XAutoRepeatOffint XAutoRepeatOff(X11.Display display) Turns off auto-repeat for the keyboard on the specified display.- Parameters:
- display- display
- Returns:
- status
 
 - 
XBellint 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.- Parameters:
- display- display
- percent- value to set
- Returns:
- status
 
 - 
XQueryKeymapint 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.- Parameters:
- display- display
- keys_return- keymap
- Returns:
- status
 
 
- 
 
-