Modifier and Type | Interface and Description |
---|---|
static class |
X11.Atom |
static class |
X11.AtomByReference |
static class |
X11.Colormap |
static class |
X11.Cursor |
static class |
X11.Display |
static class |
X11.Drawable |
static class |
X11.Font |
static class |
X11.GC |
static class |
X11.KeySym |
static class |
X11.Pixmap |
static class |
X11.Screen |
static class |
X11.Visual |
static class |
X11.VisualID |
static class |
X11.Window |
static class |
X11.WindowByReference |
static class |
X11.XAnyEvent |
static class |
X11.XButtonEvent |
static class |
X11.XButtonPressedEvent |
static class |
X11.XButtonReleasedEvent |
static class |
X11.XCirculateEvent |
static class |
X11.XCirculateRequestEvent |
static class |
X11.XClientMessageEvent |
static class |
X11.XColormapEvent |
static class |
X11.XConfigureEvent |
static class |
X11.XConfigureRequestEvent |
static class |
X11.XCreateWindowEvent |
static class |
X11.XCrossingEvent |
static class |
X11.XDestroyWindowEvent |
static class |
X11.XDeviceByReference |
static class |
X11.XEnterWindowEvent |
static class |
X11.XErrorEvent |
static interface |
X11.XErrorHandler |
static class |
X11.XEvent
DEFINITIONS OF SPECIFIC EVENTS
|
static interface |
X11.Xevie
Definition of the Xevie library.
|
static class |
X11.XExposeEvent |
static interface |
X11.Xext
Definition (incomplete) of the Xext library.
|
static class |
X11.XFocusChangeEvent |
static class |
X11.XFocusInEvent |
static class |
X11.XFocusOutEvent |
static class |
X11.XGCValues |
static class |
X11.XGraphicsExposeEvent |
static class |
X11.XGravityEvent |
static class |
X11.XID |
static class |
X11.XImage |
static class |
X11.XInputClassInfoByReference |
static class |
X11.XKeyboardControlRef |
static class |
X11.XKeyboardStateRef |
static class |
X11.XKeyEvent |
static class |
X11.XKeymapEvent |
static class |
X11.XLeaveWindowEvent |
static class |
X11.XMapEvent |
static class |
X11.XMappingEvent |
static class |
X11.XMapRequestEvent |
static class |
X11.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 class |
X11.XMotionEvent |
static class |
X11.XNoExposeEvent |
static class |
X11.XPoint |
static class |
X11.XPointerMovedEvent |
static class |
X11.XPropertyEvent |
static class |
X11.XRectangle |
static interface |
X11.Xrender
Definition (incomplete) of the Xrender library.
|
static class |
X11.XReparentEvent |
static class |
X11.XResizeRequestEvent |
static class |
X11.XSelectionClearEvent |
static class |
X11.XSelectionEvent |
static class |
X11.XSelectionRequestEvent |
static class |
X11.XSetWindowAttributes |
static class |
X11.XSizeHints |
static interface |
X11.XTest
Definition of the XTest library.
|
static class |
X11.XTextProperty |
static class |
X11.XUnmapEvent |
static class |
X11.XVisibilityEvent |
static class |
X11.XVisualInfo |
static class |
X11.XWindowAttributes |
static class |
X11.XWMHints |
Library.Handler
OPTION_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
Modifier and Type | Method and Description |
---|---|
X11.Screen |
DefaultScreenOfDisplay(X11.Display display) |
int |
XAllocNamedColor(X11.Display display,
int colormap,
java.lang.String color_name,
Pointer screen_def_return,
Pointer exact_def_return) |
X11.XSizeHints |
XAllocSizeHints() |
int |
XAutoRepeatOff(X11.Display display)
Turns off auto-repeat for the keyboard on the specified display.
|
int |
XAutoRepeatOn(X11.Display display)
Turns on auto-repeat for the keyboard on the specified display.
|
int |
XBell(X11.Display display,
int percent)
Rings the bell on the keyboard on the specified display, if
possible.
|
int |
XChangeKeyboardControl(X11.Display display,
NativeLong value_mask,
X11.XKeyboardControlRef values)
Changes the keyboard control state.
|
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.
|
int |
XChangeProperty(X11.Display display,
X11.Window w,
X11.Atom property,
X11.Atom type,
int format,
int mode,
Pointer data,
int nelements) |
int |
XChangeWindowAttributes(X11.Display display,
X11.Window window,
NativeLong valuemask,
X11.XSetWindowAttributes attributes) |
boolean |
XCheckMaskEvent(X11.Display display,
NativeLong event_mask,
X11.XEvent event_return) |
boolean |
XCheckTypedEvent(X11.Display display,
int event_type,
X11.XEvent event_return) |
boolean |
XCheckTypedWindowEvent(X11.Display display,
X11.Window w,
int event_type,
X11.XEvent event_return) |
boolean |
XCheckWindowEvent(X11.Display display,
X11.Window w,
NativeLong event_mask,
X11.XEvent event_return) |
int |
XClearArea(X11.Display display,
X11.Window window,
int x,
int y,
int w,
int h,
int exposures) |
int |
XClearWindow(X11.Display display,
X11.Window window) |
int |
XCloseDisplay(X11.Display display) |
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) |
X11.Pixmap |
XCreateBitmapFromData(X11.Display display,
X11.Window window,
Pointer data,
int width,
int height) |
X11.Colormap |
XCreateColormap(X11.Display display,
X11.Window w,
X11.Visual visual,
int alloc) |
X11.GC |
XCreateGC(X11.Display display,
X11.Drawable drawable,
NativeLong mask,
X11.XGCValues values) |
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) |
X11.Pixmap |
XCreatePixmap(X11.Display display,
X11.Drawable drawable,
int width,
int height,
int depth) |
X11.Window |
XCreateSimpleWindow(X11.Display display,
X11.Window parent,
int x,
int y,
int width,
int height,
int border_width,
int border,
int background) |
X11.Colormap |
XDefaultColormap(X11.Display display,
int screen) |
X11.Window |
XDefaultRootWindow(X11.Display display) |
int |
XDefaultScreen(X11.Display display) |
X11.Visual |
XDefaultVisual(X11.Display display,
int screen) |
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.
|
int |
XDeleteProperty(X11.Display display,
X11.Window w,
X11.Atom property) |
int |
XDestroyImage(X11.XImage image) |
int |
XDestroyWindow(X11.Display display,
X11.Window window) |
int |
XDisplayHeight(X11.Display display,
int screen) |
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.
|
int |
XDisplayWidth(X11.Display display,
int screen) |
int |
XDrawPoint(X11.Display display,
X11.Drawable drawable,
X11.GC gc,
int x,
int y) |
int |
XDrawPoints(X11.Display display,
X11.Drawable drawable,
X11.GC gc,
X11.XPoint[] points,
int npoints,
int mode) |
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).
|
int |
XFetchName(X11.Display display,
X11.Window window,
PointerByReference window_name_return)
The XFetchName() function returns the name of the specified window.
|
int |
XFillArc(X11.Display display,
X11.Drawable drawable,
X11.GC gc,
int x,
int y,
int width,
int height,
int angle1,
int angle2) |
int |
XFillPolygon(X11.Display dpy,
X11.Drawable drawable,
X11.GC gc,
X11.XPoint[] points,
int npoints,
int shape,
int mode) |
int |
XFillRectangle(X11.Display display,
X11.Drawable drawable,
X11.GC gc,
int x,
int y,
int width,
int height) |
int |
XFillRectangles(X11.Display display,
X11.Drawable drawable,
X11.GC gc,
X11.XRectangle[] rectangles,
int nrectangles) |
int |
XFlush(X11.Display display)
Flushes the output buffer.
|
int |
XFree(Pointer data) |
int |
XFreeGC(X11.Display display,
X11.GC gc) |
int |
XFreeModifiermap(X11.XModifierKeymapRef modmap)
Frees the specified XModifierKeymap structure.
|
int |
XFreePixmap(X11.Display display,
X11.Pixmap pixmap) |
java.lang.String |
XGetAtomName(X11.Display display,
X11.Atom atom) |
int |
XGetErrorText(X11.Display display,
int code,
byte[] buffer,
int len) |
int |
XGetGeometry(X11.Display display,
X11.Drawable d,
X11.WindowByReference w,
IntByReference x,
IntByReference y,
IntByReference width,
IntByReference heigth,
IntByReference border_width,
IntByReference depth) |
int |
XGetKeyboardControl(X11.Display display,
X11.XKeyboardStateRef values_return)
Returns the current control values for the keyboard to the
XKeyboardState structure.
|
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.
|
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.
|
X11.XVisualInfo |
XGetVisualInfo(X11.Display display,
NativeLong vinfo_mask,
X11.XVisualInfo vinfo_template,
IntByReference nitems_return)
Returns an array of
X11.XVisualInfo which must be freed by XFree(com.sun.jna.Pointer) . |
int |
XGetWindowAttributes(X11.Display display,
X11.Window window,
X11.XWindowAttributes attributes) |
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) |
X11.XWMHints |
XGetWMHints(X11.Display display,
X11.Window window)
Returns an
X11.XWMHints which must be freed by XFree(com.sun.jna.Pointer) . |
int |
XGetWMName(X11.Display display,
X11.Window window,
X11.XTextProperty text_property_return) |
int |
XGetWMProtocols(X11.Display display,
X11.Window w,
PointerByReference protocols_return,
IntByReference count_return) |
int |
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
|
int |
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
|
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).
|
X11.Atom |
XInternAtom(X11.Display display,
java.lang.String name,
boolean only_if_exists) |
X11.KeySym |
XKeycodeToKeysym(X11.Display display,
byte keycode,
int index) |
byte |
XKeysymToKeycode(X11.Display display,
X11.KeySym keysym) |
java.lang.String |
XKeysymToString(X11.KeySym keysym) |
int |
XMapRaised(X11.Display display,
X11.Window window) |
int |
XMapSubwindows(X11.Display display,
X11.Window window) |
int |
XMapWindow(X11.Display display,
X11.Window window) |
int |
XMaskEvent(X11.Display display,
NativeLong event_mask,
X11.XEvent event_return) |
X11.XModifierKeymapRef |
XNewModifiermap(int max_keys_per_mod)
Returns a pointer to XModifierKeymap structure for later use.
|
int |
XNextEvent(X11.Display display,
X11.XEvent event_return) |
X11.Display |
XOpenDisplay(java.lang.String name) |
int |
XPeekEvent(X11.Display display,
X11.XEvent event_return) |
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.
|
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) |
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.
|
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) |
int |
XQueryTree(X11.Display display,
X11.Window window,
X11.WindowByReference root,
X11.WindowByReference parent,
PointerByReference children,
IntByReference childCount) |
X11.Window |
XRootWindow(X11.Display display,
int screen) |
int |
XSelectInput(X11.Display display,
X11.Window window,
NativeLong eventMask) |
int |
XSendEvent(X11.Display display,
X11.Window w,
int propagate,
NativeLong event_mask,
X11.XEvent event_send) |
int |
XSetBackground(X11.Display display,
X11.GC gc,
NativeLong color) |
X11.XErrorHandler |
XSetErrorHandler(X11.XErrorHandler handler)
Installs an error handler
|
int |
XSetFillRule(X11.Display display,
X11.GC gc,
int fill_rule) |
int |
XSetForeground(X11.Display display,
X11.GC gc,
NativeLong color) |
int |
XSetModifierMapping(X11.Display display,
X11.XModifierKeymapRef modmap)
Specifies the KeyCodes of the keys (if any) that are to be used as
modifiers.
|
void |
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) |
int |
XSetWMProtocols(X11.Display display,
X11.Window window,
X11.Atom[] atom,
int count) |
X11.KeySym |
XStringToKeysym(java.lang.String string) |
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.
|
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) |
int |
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.
|
int |
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().
|
int |
XUnmapWindow(X11.Display display,
X11.Window window) |
int |
XWindowEvent(X11.Display display,
X11.Window w,
NativeLong event_mask,
X11.XEvent event_return) |
static final X11 INSTANCE
static final int XK_0
static final int XK_9
static final int XK_A
static final int XK_Z
static final int XK_a
static final int XK_z
static final int XK_Shift_L
static final int XK_Shift_R
static final int XK_Control_L
static final int XK_Control_R
static final int XK_CapsLock
static final int XK_ShiftLock
static final int XK_Meta_L
static final int XK_Meta_R
static final int XK_Alt_L
static final int XK_Alt_R
static final int VisualNoMask
static final int VisualIDMask
static final int VisualScreenMask
static final int VisualDepthMask
static final int VisualClassMask
static final int VisualRedMaskMask
static final int VisualGreenMaskMask
static final int VisualBlueMaskMask
static final int VisualColormapSizeMask
static final int VisualBitsPerRGBMask
static final int VisualAllMask
static final X11.Atom XA_PRIMARY
static final X11.Atom XA_SECONDARY
static final X11.Atom XA_ARC
static final X11.Atom XA_ATOM
static final X11.Atom XA_BITMAP
static final X11.Atom XA_CARDINAL
static final X11.Atom XA_COLORMAP
static final X11.Atom XA_CURSOR
static final X11.Atom XA_CUT_BUFFER0
static final X11.Atom XA_CUT_BUFFER1
static final X11.Atom XA_CUT_BUFFER2
static final X11.Atom XA_CUT_BUFFER3
static final X11.Atom XA_CUT_BUFFER4
static final X11.Atom XA_CUT_BUFFER5
static final X11.Atom XA_CUT_BUFFER6
static final X11.Atom XA_CUT_BUFFER7
static final X11.Atom XA_DRAWABLE
static final X11.Atom XA_FONT
static final X11.Atom XA_INTEGER
static final X11.Atom XA_PIXMAP
static final X11.Atom XA_POINT
static final X11.Atom XA_RECTANGLE
static final X11.Atom XA_RESOURCE_MANAGER
static final X11.Atom XA_RGB_COLOR_MAP
static final X11.Atom XA_RGB_BEST_MAP
static final X11.Atom XA_RGB_BLUE_MAP
static final X11.Atom XA_RGB_DEFAULT_MAP
static final X11.Atom XA_RGB_GRAY_MAP
static final X11.Atom XA_RGB_GREEN_MAP
static final X11.Atom XA_RGB_RED_MAP
static final X11.Atom XA_STRING
static final X11.Atom XA_VISUALID
static final X11.Atom XA_WINDOW
static final X11.Atom XA_WM_COMMAND
static final X11.Atom XA_WM_HINTS
static final X11.Atom XA_WM_CLIENT_MACHINE
static final X11.Atom XA_WM_ICON_NAME
static final X11.Atom XA_WM_ICON_SIZE
static final X11.Atom XA_WM_NAME
static final X11.Atom XA_WM_NORMAL_HINTS
static final X11.Atom XA_WM_SIZE_HINTS
static final X11.Atom XA_WM_ZOOM_HINTS
static final X11.Atom XA_MIN_SPACE
static final X11.Atom XA_NORM_SPACE
static final X11.Atom XA_MAX_SPACE
static final X11.Atom XA_END_SPACE
static final X11.Atom XA_SUPERSCRIPT_X
static final X11.Atom XA_SUPERSCRIPT_Y
static final X11.Atom XA_SUBSCRIPT_X
static final X11.Atom XA_SUBSCRIPT_Y
static final X11.Atom XA_UNDERLINE_POSITION
static final X11.Atom XA_UNDERLINE_THICKNESS
static final X11.Atom XA_STRIKEOUT_ASCENT
static final X11.Atom XA_STRIKEOUT_DESCENT
static final X11.Atom XA_ITALIC_ANGLE
static final X11.Atom XA_X_HEIGHT
static final X11.Atom XA_QUAD_WIDTH
static final X11.Atom XA_WEIGHT
static final X11.Atom XA_POINT_SIZE
static final X11.Atom XA_RESOLUTION
static final X11.Atom XA_COPYRIGHT
static final X11.Atom XA_NOTICE
static final X11.Atom XA_FONT_NAME
static final X11.Atom XA_FAMILY_NAME
static final X11.Atom XA_FULL_NAME
static final X11.Atom XA_CAP_HEIGHT
static final X11.Atom XA_WM_CLASS
static final X11.Atom XA_WM_TRANSIENT_FOR
static final X11.Atom XA_LAST_PREDEFINED
static final int None
static final int ParentRelative
static final int CopyFromParent
static final int PointerWindow
static final int InputFocus
static final int PointerRoot
static final int AnyPropertyType
static final int AnyKey
static final int AnyButton
static final int AllTemporary
static final int CurrentTime
static final int NoSymbol
static final int NoEventMask
static final int KeyPressMask
static final int KeyReleaseMask
static final int ButtonPressMask
static final int ButtonReleaseMask
static final int EnterWindowMask
static final int LeaveWindowMask
static final int PointerMotionMask
static final int PointerMotionHintMask
static final int Button1MotionMask
static final int Button2MotionMask
static final int Button3MotionMask
static final int Button4MotionMask
static final int Button5MotionMask
static final int ButtonMotionMask
static final int KeymapStateMask
static final int ExposureMask
static final int VisibilityChangeMask
static final int StructureNotifyMask
static final int ResizeRedirectMask
static final int SubstructureNotifyMask
static final int SubstructureRedirectMask
static final int FocusChangeMask
static final int PropertyChangeMask
static final int ColormapChangeMask
static final int OwnerGrabButtonMask
static final int KeyPress
static final int KeyRelease
static final int ButtonPress
static final int ButtonRelease
static final int MotionNotify
static final int EnterNotify
static final int LeaveNotify
static final int FocusIn
static final int FocusOut
static final int KeymapNotify
static final int Expose
static final int GraphicsExpose
static final int NoExpose
static final int VisibilityNotify
static final int CreateNotify
static final int DestroyNotify
static final int UnmapNotify
static final int MapNotify
static final int MapRequest
static final int ReparentNotify
static final int ConfigureNotify
static final int ConfigureRequest
static final int GravityNotify
static final int ResizeRequest
static final int CirculateNotify
static final int CirculateRequest
static final int PropertyNotify
static final int SelectionClear
static final int SelectionRequest
static final int SelectionNotify
static final int ColormapNotify
static final int ClientMessage
static final int MappingNotify
static final int LASTEvent
static final int ShiftMask
static final int LockMask
static final int ControlMask
static final int Mod1Mask
static final int Mod2Mask
static final int Mod3Mask
static final int Mod4Mask
static final int Mod5Mask
static final int ShiftMapIndex
static final int LockMapIndex
static final int ControlMapIndex
static final int Mod1MapIndex
static final int Mod2MapIndex
static final int Mod3MapIndex
static final int Mod4MapIndex
static final int Mod5MapIndex
static final int Button1Mask
static final int Button2Mask
static final int Button3Mask
static final int Button4Mask
static final int Button5Mask
static final int AnyModifier
static final int Button1
static final int Button2
static final int Button3
static final int Button4
static final int Button5
static final int NotifyNormal
static final int NotifyGrab
static final int NotifyUngrab
static final int NotifyWhileGrabbed
static final int NotifyHint
static final int NotifyAncestor
static final int NotifyVirtual
static final int NotifyInferior
static final int NotifyNonlinear
static final int NotifyNonlinearVirtual
static final int NotifyPointer
static final int NotifyPointerRoot
static final int NotifyDetailNone
static final int VisibilityUnobscured
static final int VisibilityPartiallyObscured
static final int VisibilityFullyObscured
static final int PlaceOnTop
static final int PlaceOnBottom
static final int FamilyInternet
static final int FamilyDECnet
static final int FamilyChaos
static final int FamilyInternet6
static final int FamilyServerInterpreted
static final int PropertyNewValue
static final int PropertyDelete
static final int ColormapUninstalled
static final int ColormapInstalled
static final int GrabModeSync
static final int GrabModeAsync
static final int GrabSuccess
static final int AlreadyGrabbed
static final int GrabInvalidTime
static final int GrabNotViewable
static final int GrabFrozen
static final int AsyncPointer
static final int SyncPointer
static final int ReplayPointer
static final int AsyncKeyboard
static final int SyncKeyboard
static final int ReplayKeyboard
static final int AsyncBoth
static final int SyncBoth
static final int RevertToNone
static final int RevertToPointerRoot
static final int RevertToParent
static final int Success
static final int BadRequest
static final int BadValue
static final int BadWindow
static final int BadPixmap
static final int BadAtom
static final int BadCursor
static final int BadFont
static final int BadMatch
static final int BadDrawable
static final int BadAccess
static final int BadAlloc
static final int BadColor
static final int BadGC
static final int BadIDChoice
static final int BadName
static final int BadLength
static final int BadImplementation
static final int FirstExtensionError
static final int LastExtensionError
static final int InputOutput
static final int InputOnly
static final int CWBackPixmap
static final int CWBackPixel
static final int CWBorderPixmap
static final int CWBorderPixel
static final int CWBitGravity
static final int CWWinGravity
static final int CWBackingStore
static final int CWBackingPlanes
static final int CWBackingPixel
static final int CWOverrideRedirect
static final int CWSaveUnder
static final int CWEventMask
static final int CWDontPropagate
static final int CWColormap
static final int CWCursor
static final int CWX
static final int CWY
static final int CWWidth
static final int CWHeight
static final int CWBorderWidth
static final int CWSibling
static final int CWStackMode
static final int ForgetGravity
static final int NorthWestGravity
static final int NorthGravity
static final int NorthEastGravity
static final int WestGravity
static final int CenterGravity
static final int EastGravity
static final int SouthWestGravity
static final int SouthGravity
static final int SouthEastGravity
static final int StaticGravity
static final int UnmapGravity
static final int NotUseful
static final int WhenMapped
static final int Always
static final int IsUnmapped
static final int IsUnviewable
static final int IsViewable
static final int SetModeInsert
static final int SetModeDelete
static final int DestroyAll
static final int RetainPermanent
static final int RetainTemporary
static final int Above
static final int Below
static final int TopIf
static final int BottomIf
static final int Opposite
static final int RaiseLowest
static final int LowerHighest
static final int PropModeReplace
static final int PropModePrepend
static final int PropModeAppend
static final int GXclear
static final int GXand
static final int GXandReverse
static final int GXcopy
static final int GXandInverted
static final int GXnoop
static final int GXxor
static final int GXor
static final int GXnor
static final int GXequiv
static final int GXinvert
static final int GXorReverse
static final int GXcopyInverted
static final int GXorInverted
static final int GXnand
static final int GXset
static final int LineSolid
static final int LineOnOffDash
static final int LineDoubleDash
static final int CapNotLast
static final int CapButt
static final int CapRound
static final int CapProjecting
static final int JoinMiter
static final int JoinRound
static final int JoinBevel
static final int FillSolid
static final int FillTiled
static final int FillStippled
static final int FillOpaqueStippled
static final int EvenOddRule
static final int WindingRule
static final int ClipByChildren
static final int IncludeInferiors
static final int Unsorted
static final int YSorted
static final int YXSorted
static final int YXBanded
static final int CoordModeOrigin
static final int CoordModePrevious
static final int Complex
static final int Nonconvex
static final int Convex
static final int ArcChord
static final int ArcPieSlice
static final int GCFunction
static final int GCPlaneMask
static final int GCForeground
static final int GCBackground
static final int GCLineWidth
static final int GCLineStyle
static final int GCCapStyle
static final int GCJoinStyle
static final int GCFillStyle
static final int GCFillRule
static final int GCTile
static final int GCStipple
static final int GCTileStipXOrigin
static final int GCTileStipYOrigin
static final int GCFont
static final int GCSubwindowMode
static final int GCGraphicsExposures
static final int GCClipXOrigin
static final int GCClipYOrigin
static final int GCClipMask
static final int GCDashOffset
static final int GCDashList
static final int GCArcMode
static final int GCLastBit
static final int FontLeftToRight
static final int FontRightToLeft
static final int FontChange
static final int XYBitmap
static final int XYPixmap
static final int ZPixmap
static final int AllocNone
static final int AllocAll
static final int DoRed
static final int DoGreen
static final int DoBlue
static final int CursorShape
static final int TileShape
static final int StippleShape
static final int AutoRepeatModeOff
static final int AutoRepeatModeOn
static final int AutoRepeatModeDefault
static final int LedModeOff
static final int LedModeOn
static final int KBKeyClickPercent
static final int KBBellPercent
static final int KBBellPitch
static final int KBBellDuration
static final int KBLed
static final int KBLedMode
static final int KBKey
static final int KBAutoRepeatMode
static final int MappingSuccess
static final int MappingBusy
static final int MappingFailed
static final int MappingModifier
static final int MappingKeyboard
static final int MappingPointer
static final int DontPreferBlanking
static final int PreferBlanking
static final int DefaultBlanking
static final int DisableScreenSaver
static final int DisableScreenInterval
static final int DontAllowExposures
static final int AllowExposures
static final int DefaultExposures
static final int ScreenSaverReset
static final int ScreenSaverActive
static final int HostInsert
static final int HostDelete
static final int EnableAccess
static final int DisableAccess
static final int StaticGray
static final int GrayScale
static final int StaticColor
static final int PseudoColor
static final int TrueColor
static final int DirectColor
static final int LSBFirst
static final int MSBFirst
X11.Display XOpenDisplay(java.lang.String name)
int XGetErrorText(X11.Display display, int code, byte[] buffer, int len)
int XDefaultScreen(X11.Display display)
X11.Screen DefaultScreenOfDisplay(X11.Display display)
X11.Visual XDefaultVisual(X11.Display display, int screen)
X11.Colormap XDefaultColormap(X11.Display display, int screen)
int XDisplayWidth(X11.Display display, int screen)
int XDisplayHeight(X11.Display display, int screen)
X11.Window XDefaultRootWindow(X11.Display display)
X11.Window XRootWindow(X11.Display display, int screen)
int XAllocNamedColor(X11.Display display, int colormap, java.lang.String color_name, Pointer screen_def_return, Pointer exact_def_return)
X11.XSizeHints XAllocSizeHints()
void 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)
int XSetWMProtocols(X11.Display display, X11.Window window, X11.Atom[] atom, int count)
int XGetWMProtocols(X11.Display display, X11.Window w, PointerByReference protocols_return, IntByReference count_return)
int XFree(Pointer data)
X11.Window XCreateSimpleWindow(X11.Display display, X11.Window parent, int x, int y, int width, int height, int border_width, int border, int background)
X11.Pixmap XCreateBitmapFromData(X11.Display display, X11.Window window, Pointer data, int width, int height)
int XMapWindow(X11.Display display, X11.Window window)
int XMapRaised(X11.Display display, X11.Window window)
int XMapSubwindows(X11.Display display, X11.Window window)
int XFlush(X11.Display display)
display
- target Displayint 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.display
- target Displaydiscard
- whether to discard eventsint 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.display
- target Displaymode
- QueuedAlready, QueuedAfterFlush, or QueuedAfterReadingint XPending(X11.Display display)
display
- target Displayint XUnmapWindow(X11.Display display, X11.Window window)
int XDestroyWindow(X11.Display display, X11.Window window)
int XCloseDisplay(X11.Display display)
int XClearWindow(X11.Display display, X11.Window window)
int XClearArea(X11.Display display, X11.Window window, int x, int y, int w, int h, int exposures)
X11.Pixmap XCreatePixmap(X11.Display display, X11.Drawable drawable, int width, int height, int depth)
int XFreePixmap(X11.Display display, X11.Pixmap pixmap)
X11.GC XCreateGC(X11.Display display, X11.Drawable drawable, NativeLong mask, X11.XGCValues values)
int XSetFillRule(X11.Display display, X11.GC gc, int fill_rule)
int XFreeGC(X11.Display display, X11.GC gc)
int XDrawPoint(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y)
int XDrawPoints(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int mode)
int XFillRectangle(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height)
int XFillRectangles(X11.Display display, X11.Drawable drawable, X11.GC gc, X11.XRectangle[] rectangles, int nrectangles)
int XSetForeground(X11.Display display, X11.GC gc, NativeLong color)
int XSetBackground(X11.Display display, X11.GC gc, NativeLong color)
int XFillArc(X11.Display display, X11.Drawable drawable, X11.GC gc, int x, int y, int width, int height, int angle1, int angle2)
int XFillPolygon(X11.Display dpy, X11.Drawable drawable, X11.GC gc, X11.XPoint[] points, int npoints, int shape, int mode)
int XQueryTree(X11.Display display, X11.Window window, X11.WindowByReference root, X11.WindowByReference parent, PointerByReference children, IntByReference childCount)
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)
int XGetWindowAttributes(X11.Display display, X11.Window window, X11.XWindowAttributes attributes)
int XChangeWindowAttributes(X11.Display display, X11.Window window, NativeLong valuemask, X11.XSetWindowAttributes attributes)
int XGetGeometry(X11.Display display, X11.Drawable d, X11.WindowByReference w, IntByReference x, IntByReference y, IntByReference width, IntByReference heigth, IntByReference border_width, IntByReference depth)
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)
int XSelectInput(X11.Display display, X11.Window window, NativeLong eventMask)
int XSendEvent(X11.Display display, X11.Window w, int propagate, NativeLong event_mask, X11.XEvent event_send)
int XNextEvent(X11.Display display, X11.XEvent event_return)
int XPeekEvent(X11.Display display, X11.XEvent event_return)
int XWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return)
boolean XCheckWindowEvent(X11.Display display, X11.Window w, NativeLong event_mask, X11.XEvent event_return)
int XMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return)
boolean XCheckMaskEvent(X11.Display display, NativeLong event_mask, X11.XEvent event_return)
boolean XCheckTypedEvent(X11.Display display, int event_type, X11.XEvent event_return)
boolean XCheckTypedWindowEvent(X11.Display display, X11.Window w, int event_type, X11.XEvent event_return)
X11.XWMHints XGetWMHints(X11.Display display, X11.Window window)
X11.XWMHints
which must be freed by XFree(com.sun.jna.Pointer)
.display
- target Displaywindow
- target Windowint XGetWMName(X11.Display display, X11.Window window, X11.XTextProperty text_property_return)
X11.XVisualInfo XGetVisualInfo(X11.Display display, NativeLong vinfo_mask, X11.XVisualInfo vinfo_template, IntByReference nitems_return)
X11.XVisualInfo
which must be freed by XFree(com.sun.jna.Pointer)
.
Use toArray(nitems_return.getValue()
to obtain the array.display
- target Displayvinfo_mask
- mask of data to retrievevinfo_template
- template struct to use as basis for returned datanitems_return
- number size of returned arrayX11.Colormap XCreateColormap(X11.Display display, X11.Window w, X11.Visual visual, int alloc)
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)
int XChangeProperty(X11.Display display, X11.Window w, X11.Atom property, X11.Atom type, int format, int mode, Pointer data, int nelements)
int XDeleteProperty(X11.Display display, X11.Window w, X11.Atom property)
X11.Atom XInternAtom(X11.Display display, java.lang.String name, boolean only_if_exists)
java.lang.String XGetAtomName(X11.Display display, X11.Atom atom)
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)
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)
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)
int XDestroyImage(X11.XImage image)
X11.XErrorHandler XSetErrorHandler(X11.XErrorHandler handler)
handler
- Specifies the program's supplied error handlerjava.lang.String XKeysymToString(X11.KeySym keysym)
X11.KeySym XStringToKeysym(java.lang.String string)
byte XKeysymToKeycode(X11.Display display, X11.KeySym keysym)
X11.KeySym XKeycodeToKeysym(X11.Display display, byte keycode, int index)
int XGrabKey(X11.Display display, int keyCode, int modifiers, X11.Window grab_window, int ownerEvents, int pointerMode, int keyBoardMode)
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 GrabModeSync
or GrabModeAsync
.keyBoardMode
- Specifies further processing of keyboard events. You can pass GrabModeSync
or GrabModeAsync
.int XUngrabKey(X11.Display display, int keyCode, int modifiers, X11.Window grab_window)
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 bitsgrab_window
- Specifies the grab window.int XGrabKeyboard(X11.Display display, X11.Window grab_window, int owner_events, int pointer_mode, int keyboard_mode, NativeLong time)
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.int XUngrabKeyboard(X11.Display display, NativeLong time)
display
- Specifies the connection to the X server.time
- Specifies the time. You can pass either a timestamp or CurrentTime.int XFetchName(X11.Display display, X11.Window window, PointerByReference window_name_return)
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.int XChangeKeyboardMapping(X11.Display display, int first_keycode, int keysyms_per_keycode, X11.KeySym[] keysyms, int num_codes)
display
- target Displayfirst_keycode
- first keycodekeysyms_per_keycode
- number of syms per keycodekeysyms
- array of KeySymnum_codes
- number of keycodes to be changedX11.KeySym XGetKeyboardMapping(X11.Display display, byte first_keycode, int keycode_count, IntByReference keysyms_per_keycode_return)
display
- target Displayfirst_keycode
- first keycode to be changed or returnedkeycode_count
- how manykeysyms_per_keycode_return
- number of syms per keycodeint XDisplayKeycodes(X11.Display display, IntByReference min_keycodes_return, IntByReference max_keycodes_return)
display
- target Displaymin_keycodes_return
- smallest keycodemax_keycodes_return
- largest keycodeint XSetModifierMapping(X11.Display display, X11.XModifierKeymapRef modmap)
display
- target Displaymodmap
- modifier specificationX11.XModifierKeymapRef XGetModifierMapping(X11.Display display)
display
- target DisplayX11.XModifierKeymapRef XNewModifiermap(int max_keys_per_mod)
max_keys_per_mod
- number of keys to include in the mappingX11.XModifierKeymapRef XInsertModifiermapEntry(X11.XModifierKeymapRef modmap, byte keycode_entry, int modifier)
modmap
- modifier mapkeycode_entry
- keycode entrymodifier
- modifierX11.XModifierKeymapRef XDeleteModifiermapEntry(X11.XModifierKeymapRef modmap, byte keycode_entry, int modifier)
modmap
- modifier mapkeycode_entry
- keycode entrymodifier
- modifierint XFreeModifiermap(X11.XModifierKeymapRef modmap)
modmap
- modifier map to be freedint XChangeKeyboardControl(X11.Display display, NativeLong value_mask, X11.XKeyboardControlRef values)
display
- displayvalue_mask
- disjunction of KBKeyClickPercent, KBBellPercent, KBBellPitch, KBBellDuration, KBLed, KBLedMode, KBKey, KBAutoRepeatModevalues
- control ref valuesint XGetKeyboardControl(X11.Display display, X11.XKeyboardStateRef values_return)
display
- displayvalues_return
- keyboard state structureint XAutoRepeatOn(X11.Display display)
display
- displayint XAutoRepeatOff(X11.Display display)
display
- displayint XBell(X11.Display display, int percent)
display
- displaypercent
- value to setint XQueryKeymap(X11.Display display, byte[] keys_return)
display
- displaykeys_return
- keymap