12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFTGlyph imageGrabAn image of a glyph, as obtained from a glyph representation displayed on a presentationsurface. (ISO/IEC/DIS 9541-1)Keyboard keys, the keyboard, pointer buttons, the pointer, and the server can be grabbed forexclusive use by a client. In general, these facilities are not intended to be used by normalapplications but are intended for various input and window managers to implement variousstyles of user interfaces.Graphics contextGravityGrayScaleVarious information for graphics output is stored in a graphics context (GC), such as foregroundpixel, background pixel, line width, clipping region, and so on. Agraphics contextcan only be used with drawables that have the same root and the same depth as the graphicscontext.The contents of windows and windows themselves have a gravity, which determines howthe contents move when a window isresized. See Bit gravity and Window gravity.GrayScale can be viewed as a degenerate case of PseudoColor, inwhich the red, green,and blue values in any given colormap entry are equal and thus, produce shades of gray.The gray values can be changed dynamically.Host Portable Character EncodingHotspotIdentifierInferiorsThe encoding of the X Portable Character Set on the host. The encoding itself is notdefined by this standard, but the encoding must be the same in all locales supported by <strong>Xlib</strong>on the host. If a string is said to be in the Host Portable Character Encoding, then it onlycontains characters from the X Portable Character Set, in the host encoding.Acursor has an associated hotspot, which defines the point in the cursor corresponding tothe coordinates reported for the pointer.An identifier is a unique value associated with a resource that clients use to name thatresource. The identifier can be used over any connection to name the resource.The inferiors of a window are all of the subwindows nested below it: the children, the children’schildren, and so on.Input focusThe input focus is usually a window defining the scope for processing of keyboard input. Ifagenerated keyboard event usually would be reported to this window orone of its inferiors,the event is reported as usual. Otherwise, the event is reported with respect to the focuswindow. The input focus also can be set such that all keyboard events are discarded andsuch that the focus window isdynamically taken to be the root window ofwhatever screenthe pointer is on at each keyboard event.479

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!