X11 client-side library. High level API.
API changes
- Display is pointer
- type attribute name has been renamed to typ
Example code
You can also use low level API. Use low level API at your own risk.
Check libx11 module.
import pkg/dynlibx11 proc main() = # Initialize X11 library. This must be the very first thing to do. if not open_x11_library(): echo "Failed to open X11 library: ", last_x11_error() quit QuitFailure defer: close_x11_library() # Initialize the display. let display = open_display() if display == nil: echo "Can't connect to X server ", display_name() quit QuitFailure defer: display.close let screen = default_screen display let root = root_window(display, screen) let white = white_pixel(display, screen) let black = black_pixel(display, screen) # Create the window. let window = create_simple_window(display, root, 0, 0, 640, 480, 0, white, black) defer: destroy(display, window) map(display, window) select_input(display, window, ButtonPressMask or ExposureMask or KeyPressMask) var event: XEvent # Event loop. while true: next_event(display, event) case event.typ of Expose: echo "Expose event" of ButtonPress: echo "Button pressed" of KeyPress: echo "Key pressed" else: discard when isMainModule: main()
Procs
proc alloc_class_hint(): ptr XClassHint {....raises: [], tags: [RootEffect], forbids: [].}
- XAllocClassHint.
proc alloc_color(display: Display; colormap: Colormap; screen_in_out: var XColor): bool {. ...raises: [], tags: [RootEffect], forbids: [].}
- XAllocColor.
proc auto_repeat(display: Display; on: bool): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XAutoRepeatOff, XAutoRepeatOn.
proc black_pixel(display: Display; screen_number: int): culong {....raises: [], tags: [RootEffect], forbids: [].}
- XBlackPixel.
proc black_pixel(screen: ptr Screen): culong {....raises: [], tags: [RootEffect], forbids: [].}
- XBlackPixelOfScreen.
proc black_pixel_of_screen(screen: ptr Screen): culong {....raises: [], tags: [RootEffect], forbids: [].}
- Alias of XBlackPixelOfScreen.
proc change_property(display: Display; window: Window; property, typ: Atom; format: int; mode: int; data: pointer; nelements: int): bool {. ...raises: [], tags: [RootEffect], forbids: [].}
- XChangeProperty.
proc change_property(display: Display; window: Window; property, typ: Atom; format: int; mode: int; data: string): bool {....raises: [], tags: [RootEffect], forbids: [].}
- XChangeProperty.
proc clear_window(display: Display; window: Window): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XClearWindow.
proc create_pixmap(display: Display; drawable: Drawable; width, height: uint; depth: uint): Pixmap {....raises: [], tags: [RootEffect], forbids: [].}
- XCreatePixmap.
proc create_simple_window(display: Display; parent: Window; x, y: int; width, height: uint; border_width: uint; border: culong; background: culong): Window {. ...raises: [], tags: [RootEffect], forbids: [].}
- XCreateSimpleWindow.
proc create_window(display: Display; parent: Window; x, y: int; width, height: cuint; border_width: cuint; depth: cint; class: WindowClass = CopyFromParent; visual: VisualPtr = nil; valuemask: WindowAttributeMask = WindowAttributeMask 0; attributes: ptr XSetWindowAttributes = nil): Window {. ...raises: [], tags: [RootEffect], forbids: [].}
- XCreateWindow.
proc default_colormap(display: Display; screen_number: int): Colormap {. ...raises: [], tags: [RootEffect], forbids: [].}
- XDefaultColormap.
proc default_depth(display: Display; screen_number: int): int {....raises: [], tags: [RootEffect], forbids: [].}
proc default_root_window(display: Display): Window {....raises: [], tags: [RootEffect], forbids: [].}
- XDefaultRootWindow.
proc default_screen(display: Display): int {....raises: [], tags: [RootEffect], forbids: [].}
proc default_visual(display: Display; screen_number: int): VisualPtr {. ...raises: [], tags: [RootEffect], forbids: [].}
- XDefaultVisual.
proc display_name(display_name: string = ""): string {....raises: [], tags: [RootEffect], forbids: [].}
- XDisplayName
proc draw_point(display: Display; drawable: Drawable; gc: GC; x: int; y: int): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
proc draw_segments(display: Display; drawable: Drawable; gc: GC; segments: openArray[XSegment]; nsegments: int): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XDrawSegments
proc draw_string(display: Display; drawable: Drawable; gc: GC; x, y: int; str: string): bool {....raises: [], tags: [RootEffect], forbids: [].}
- XDrawString.
proc fill_rectangle(display: Display; drawable: Drawable; gc: GC; x, y: int; width, height: uint): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XFillRectangle.
proc free(data: ptr XClassHint): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XFree.
proc free(display: Display; colormap: Colormap): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XFreeColormap.
proc free(display: Display; font_struct: ptr XFontStruct): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XFreeFont.
proc get_error_database_text(display: Display; name: cstring; message: cstring; default_string: cstring; buffer_return: ptr char; length: cint): bool {....raises: [], tags: [RootEffect], forbids: [].}
- XGetErrorDatabaseText.
proc get_error_text(display: Display; code: int): string {....raises: [], tags: [RootEffect], forbids: [].}
proc get_error_text(display: Display; event: ptr XErrorEvent): string {. ...raises: [], tags: [RootEffect], forbids: [].}
proc height_of_screen(screen: ptr Screen): int {....raises: [], tags: [RootEffect], forbids: [].}
proc intern_atom(display: Display; atom_name: string; only_if_exists: bool = false): Atom {....raises: [], tags: [RootEffect], forbids: [].}
- XInternAtom.
proc keysym_to_keycode(display: Display; keysym: KeySym): KeyCode {....raises: [], tags: [RootEffect], forbids: [].}
- XKeysymToKeycode.
proc load_query_font(display: Display; name: string): ptr XFontStruct {. ...raises: [], tags: [RootEffect], forbids: [].}
- XLoadQueryFont.
proc map_raised(display: Display; window: Window): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XMapRaised.
proc next_event(display: Display; event_return: var XEvent): int {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
proc open_display(display_name: string = ""): Display {....raises: [], tags: [RootEffect], forbids: [].}
-
Connect to X server.Note: This proc sets own error and IO error handlers before connecting.
XOpenDisplay.
proc protocol_revision(display: Display): int {....raises: [], tags: [RootEffect], forbids: [].}
proc protocol_version(display: Display): int {....raises: [], tags: [RootEffect], forbids: [].}
proc resize_window(display: Display; window: Window; width, height: uint): bool {. ...raises: [], tags: [RootEffect], forbids: [].}
- XResizeWindow.
proc root_window(display: Display; screen_number: int): Window {....raises: [], tags: [RootEffect], forbids: [].}
- XRootWindow.
proc select_input(display: Display; window: Window; event_mask: EventMask): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XSelectInput.
proc send_event(display: Display; window: Window; propagate: bool; event_mask: EventMask; event_send: var XEvent): bool {. ...raises: [], tags: [RootEffect], forbids: [].}
- XSendEvent.
proc set_background(display: Display; gc: GC; background: culong): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XSetBackground.
proc set_class_hint(display: Display; window: Window; class_hints: ptr XClassHint): bool {....raises: [], tags: [RootEffect], forbids: [].}
proc set_error_handler(handler: XErrorHandler): XErrorHandler {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
proc set_foreground(display: Display; gc: GC; foreground: culong): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XSetForeground.
proc set_icon_name(display: Display; window: Window; name: string): bool {. ...raises: [], tags: [RootEffect], forbids: [].}
- XSetIconName.
proc set_io_error_handler(handler: XIOErrorHandler): XIOErrorHandler {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
proc set_window_border(display: Display; window: Window; border_pixel: culong): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XSetWindowBorder
proc set_window_border_width(display: Display; window: Window; width: uint): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XSetWindowBorderWidth.
proc set_wm_protocols(display: Display; window: Window; protocols: Atom; count: int): bool {.discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XSetWMProtocols.
proc store_name(display: Display; window: Window; name: string): bool {. discardable, ...raises: [], tags: [RootEffect], forbids: [].}
- XStoreName.
proc synchronize(display: Display; onoff: bool): bool {....raises: [], tags: [RootEffect], forbids: [].}
- XSynchronize.
proc vendor_release(display: Display): int {....raises: [], tags: [RootEffect], forbids: [].}
proc white_pixel(display: Display; screen_number: int): culong {....raises: [], tags: [RootEffect], forbids: [].}
- XWhitePixel.
proc white_pixel(screen: ptr Screen): culong {....raises: [], tags: [RootEffect], forbids: [].}
- XWhitePixelOfScreen.
proc white_pixel_of_screen(screen: ptr Screen): culong {....raises: [], tags: [RootEffect], forbids: [].}
- Alias of white_pixel.
proc width_of_screen(screen: ptr Screen): int {....raises: [], tags: [RootEffect], forbids: [].}
proc x11_available(unload: bool = true): bool {....raises: [], tags: [], forbids: [].}
- Check whether X11 client library is available.
proc x11_usable(unload: bool = true; width: uint = 800; height: uint = 600): bool {. ...raises: [], tags: [RootEffect], forbids: [].}
- Check whether X11 client library is available and XXX.
Exports
-
==, ==, ==, ==, ==, ==, ==, ==, or, or, or, or, or, or, IfEventCallback, open_x11_library, close_x11_library, last_x11_error, XA_BITMAP, XA_CUT_BUFFER4, XA_LAST_PREDEFINED, XA_INTEGER, XA_NORM_SPACE, XA_RESOLUTION, XA_POINT, XA_END_SPACE, XA_PIXMAP, XA_ARC, XA_STRING, XA_FONT, XA_UNDERLINE_THICKNESS, XA_CAP_HEIGHT, XA_RECTANGLE, XA_RGB_GRAY_MAP, XA_CUT_BUFFER2, XA_SECONDARY, XA_X_HEIGHT, XA_FONT_NAME, XA_WM_ICON_NAME, XA_CUT_BUFFER3, XA_WM_HINTS, XA_SUPERSCRIPT_X, XA_ATOM, XA_SUBSCRIPT_Y, XA_WM_COMMAND, XA_WM_NAME, XA_WM_NORMAL_HINTS, XA_COLORMAP, XA_WM_ZOOM_HINTS, XA_FAMILY_NAME, XA_RGB_GREEN_MAP, XA_RGB_COLOR_MAP, XA_CUT_BUFFER7, XA_RGB_BLUE_MAP, XA_VISUALID, XA_SUBSCRIPT_X, XA_WM_SIZE_HINTS, XA_CURSOR, XA_MIN_SPACE, XA_CUT_BUFFER0, XA_WM_CLIENT_MACHINE, XA_CUT_BUFFER1, XA_RGB_RED_MAP, XA_SUPERSCRIPT_Y, XA_POINT_SIZE, XA_WEIGHT, XA_RGB_BEST_MAP, XA_CUT_BUFFER6, XA_DRAWABLE, XA_WM_TRANSIENT_FOR, XA_CUT_BUFFER5, XA_WM_CLASS, XA_PRIMARY, XA_COPYRIGHT, XA_UNDERLINE_POSITION, XA_MAX_SPACE, XA_RGB_DEFAULT_MAP, XA_RESOURCE_MANAGER, XA_NOTICE, XA_STRIKEOUT_ASCENT, XA_QUAD_WIDTH, XA_CARDINAL, XA_STRIKEOUT_DESCENT, XA_WM_ICON_SIZE, XA_ITALIC_ANGLE, XA_WINDOW, XA_FULL_NAME, NotifyNormal, PointerMotionMask, GravityNotify, AutoRepeatModeDefault, XSegment, BadAtom, SubstructureNotifyMask, XNContextualDrawing, ColormapChangeMask, Colormap, EnterNotify, Complex, XFontStruct, ==, Opposite, XIMPreeditStateNotifyCallbackStruct, Button1MotionMask, ConfigureRequest, Button1Mask, WhenMapped, ColormapInstalled, XIMPreeditDisable, Time, KeySym, XYPixmap, $, VisualID, NotifyHint, XIM, XNBackgroundPixmap, GrabFrozen, GCTile, NotifyUngrab, DontAllowExposures, LedModeOn, RetainPermanent, XICProc, XNRequiredCharSet, NorthGravity, XID, BottomIf, XSetWindowAttributes, DoGreen, XIMStatusDrawCallbackStructDataUnion, ButtonRelease, CapButt, XKeyReleasedEvent, XIMCallback, XIMHotKeyStateON, XNForeground, XTimeCoord, PropertyDelete, GXequiv, ==, $, XNSeparatorofNestedList, GCTileStipYOrigin, AllocAll, XGenericEvent, BadAlloc, XIMStyle, XIMCaretStyle, PropertyNewValue, XNPreeditDoneCallback, ==, GCJoinStyle, CWEventMask, ==, Mod5MapIndex, XIMStatusArea, XIMStatusDataType, XColormapEvent, LockMask, WestGravity, BadPixmap, XNMissingCharSet, ControlMapIndex, XPropertyEvent, SubstructureRedirectMask, XEnterWindowEvent, XNStringConversion, GXor, XIMStringConversionPosition, PreferBlanking, GCClipXOrigin, repr, XFocusChangeEvent, GCPlaneMask, XEDataObject, XIMReverse, GraphicsExpose, XResizeRequestEvent, StructureNotifyMask, XNColormap, GCTileStipXOrigin, YXBanded, XTextItem, LowerHighest, XMappingEvent, GXorInverted, XIMHotKeyTrigger, Convex, KeyCode, XKeymapEvent, PlaceOnTop, XNPreeditCaretCallback, XIC, XButtonPressedEvent, NotifyGrab, XYBitmap, XErrorHandler, GCClipMask, XKeyEvent, XOC, XNOMAutomatic, CoordModeOrigin, XNPreeditState, KeymapStateMask, XIMPreserveState, EastGravity, XIMStringConversionLeftEdge, GCCapStyle, PropModeAppend, KBKey, XDestroyWindowEvent, NorthWestGravity, PropModeReplace, Depth, ButtonPress, Font, UnmapGravity, XIMText, Atom, BadLength, Button5, wchar_t, Expose, NotifyNonlinear, XIMProc, XIMPreeditDrawCallbackStruct, CreateNotify, AnyModifier, VisibilityChangeMask, TrueColor, repr, FontChange, TopIf, XNArea, ControlMask, GXclear, CoordModePrevious, XCirculateRequestEvent, GrabNotViewable, XIMStringConversionWrapped, CWBitGravity, or, PointerRoot, XKeyboardState, XNStatusAttributes, PointerWindow, repr, CWBorderPixel, CWBackPixmap, XGraphicsExposeEvent, CapProjecting, XwcTextItem, XNVaNestedList, BadIDChoice, XNQueryInputStyle, Mod4MapIndex, VisibilityUnobscured, SyncPointer, XIDProc, XIOErrorHandler, XGCValues, XOMCharSetList, ArcChord, Bool, GContext, BadMatch, Mod3MapIndex, SelectionNotify, XButtonEvent, XNBaseFontName, $, ReplayKeyboard, BadFont, Button3, XPoint, WindowClass, NotifyDetailNone, Mask, FocusOut, LineDoubleDash, XIMFeedback, NoExpose, IsUnviewable, CurrentTime, AlreadyGrabbed, SelectionRequest, XWindowAttributes, MappingKeyboard, ColormapUninstalled, XIMPreeditPosition, RetainTemporary, CWOverrideRedirect, FillTiled, FamilyInternet6, SelectionClear, BadGC, KBBellPercent, ReplayPointer, LedModeOff, KBKeyClickPercent, XSelectionEvent, XFontSet, Mod2Mask, XGravityEvent, NotifyWhileGrabbed, False, XNBackground, CirculateRequest, QueuedAlready, NotifyPointerRoot, XIMPreeditArea, ==, XIMCaretDirection, XSelectionClearEvent, GCFunction, XConfigureRequestEvent, AllowExposures, DefaultExposures, AllPlanes, GXcopyInverted, ClipByChildren, StaticGray, Unsorted, GCGraphicsExposures, XIMHotKeyTriggers, ClientMessage, XMapEvent, XErrorEvent, CirculateNotify, Mod2MapIndex, XNCursor, PointerMotionHintMask, XReparentEvent, GCDashList, Display, CenterGravity, XIMStringConversionTopEdge, YSorted, KeyMask, XNAreaNeeded, XNPreeditStateNotifyCallback, MotionNotify, XNPreeditAttributes, XIMHighlight, XNStatusStartCallback, None, MappingNotify, StaticColor, XKeyboardControl, GXorReverse, LeaveNotify, GXandInverted, Mod4Mask, BadValue, XIMHotKeyState, ==, BadCursor, repr, IsUnmapped, XNHotKey, XIMStringConversionFeedback, RevertToNone, XIMSecondary, Button4, KBLed, GXand, XHostAddress, DisableScreenSaver, GXcopy, XIMPreeditNothing, GrabSuccess, or, GCDashOffset, Cursor, XNHotKeyState, AllocNone, XmbTextItem, GCForeground, CWStackMode, LineOnOffDash, XIMPreeditState, XIMStringConversionRetrieval, YXSorted, ScreenSaverReset, or, KeyRelease, LastExtensionError, MappingModifier, XFocusOutEvent, XVaNestedList, XBufferOverflow, GrabModeSync, GXandReverse, GXnor, GrabInvalidTime, Below, XArc, XCharStruct, FamilyChaos, FamilyDECnet, GXxor, FirstExtensionError, VisibilityNotify, GrayScale, XServerInterpretedAddress, AsyncBoth, XIMTextStringUnion, XIMPreeditNone, Button3Mask, JoinRound, XNQueryIMValuesList, NotUseful, XClientMessageEvent, QueuedAfterFlush, Mod3Mask, XExtData, AnyPropertyType, XNDestroyCallback, XIMPrimary, ==, XNResourceName, XFocusInEvent, XIMStringConversionLine, SouthWestGravity, True, FamilyServerInterpreted, DestroyNotify, from_x11_bool, IncludeInferiors, Button1, GXset, MapNotify, WindowAttributeMask, CWBackingPlanes, CWSibling, XNPreeditDrawCallback, AnyButton, GCBackground, Mod1MapIndex, Button2Mask, CWBackingPixel, XOMOrientation, LockMapIndex, XIMInitialState, ClientMessageEventData, IsViewable, ConfigureNotify, Button3MotionMask, Success, XIMStringConversionChar, XIMUnderline, XIMStringConversionBottomEdge, XIMStatusCallbacks, BadRequest, DisableScreenInterval, DirectColor, NorthEastGravity, XCrossingEvent, AutoRepeatModeOff, XNPreeditStartCallback, DontPreferBlanking, XLookupNone, FillStippled, Nonconvex, XIMStringConversionOperation, GCFillRule, FontRightToLeft, XIMVisibleToBackword, ResizeRedirectMask, Button2MotionMask, KBLedMode, NotifyNonlinearVirtual, PropertyNotify, Drawable, SetModeInsert, KBBellDuration, CWBackPixel, XNoExposeEvent, GXnoop, XSelectionRequestEvent, ButtonReleaseMask, ScreenSaverActive, PropertyChangeMask, XIMStringConversionText, GrabModeAsync, RaiseLowest, XIMStringConversionType, FillSolid, CapRound, XColor, GCFont, Mod1Mask, AnyKey, XAnyEvent, XNStringConversionCallback, EnterWindowMask, XFontSetExtents, XIMStringConversionSubstitution, XIMStringConversionConcealed, XMapRequestEvent, XGenericEventCookie, UnmapNotify, XLookupKeySym, KBBellPitch, XNStatusDrawCallback, KeymapNotify, GCArcMode, MapRequest, ReparentNotify, ColormapNotify, XEvent, XNFilterEvents, Button5MotionMask, XExposeEvent, XModifierKeymap, XKeyPressedEvent, HostDelete, CWX, SyncKeyboard, XLookupBoth, TileShape, XCreateWindowEvent, CWColormap, FillOpaqueStippled, XNDefaultString, Button2, SouthEastGravity, DestroyAll, MappingPointer, XIMPreeditEnable, FontLeftToRight, AutoRepeatModeOn, XNStdColormap, MSBFirst, Mod5Mask, CWWidth, XNGeometryCallback, XIMTertiary, XImage, XIMStatusNone, KeyReleaseMask, XICCallback, CWCursor, XNInputStyle, GC, CapNotLast, Button4Mask, GXnand, Always, CWBorderWidth, JoinBevel, NotifyPointer, AsyncKeyboard, ForgetGravity, OwnerGrabButtonMask, ScreenFormat, LineSolid, XIMVisibleToForward, CWY, Visual, KBAutoRepeatMode, XIMValuesList, NotifyVirtual, CursorShape, XNOrientation, XTextItem16, to_x11_bool, XNQueryOrientation, NoSymbol, ResizeRequest, XIMPreeditCallbacks, XFontProp, CWHeight, XIOErrorExitHandler, PlaceOnBottom, EventMask, BadAccess, Status, XLeaveWindowEvent, SouthGravity, KeyPress, XIMStatusDrawCallbackStruct, XNFontInfo, RevertToPointerRoot, XNQueryICValuesList, XPixmapFormatValues, Window, XNStatusDoneCallback, NotifyInferior, BadName, PseudoColor, XNFocusWindow, MappingFailed, MappingSuccess, XPointerMovedEvent, XIMStringConversionWord, ==, XChar2b, GCLineWidth, XConfigureEvent, CWBackingStore, ButtonMask, XIMResetState, XMotionEvent, ExposureMask, GCFillStyle, GenericEvent, BadDrawable, AllTemporary, Button5Mask, XlibSpecificationRelease, RevertToParent, DoBlue, XIMStyles, InputFocus, JoinMiter, AsyncPointer, XIMStringConversionCallbackStruct, XWindowChanges, CWBorderPixmap, VisibilityFullyObscured, CWSaveUnder, StippleShape, DisableAccess, ShiftMapIndex, CWDontPropagate, XNFontSet, XNLineSpace, GCClipYOrigin, GCSubwindowMode, EvenOddRule, XNDirectionalDependentDrawing, WindingRule, BadColor, XPointer, MappingBusy, NotifyAncestor, VisibilityPartiallyObscured, GCStipple, ButtonPressMask, SetModeDelete, XOrientation, XNClientWindow, Pixmap, EnableAccess, XIMPreeditUnKnown, XIMVisibleToCenter, XNSpotLocation, BadImplementation, XIMPreeditCaretCallbackStruct, XIMStatusNothing, KeyPressMask, VisualPtr, FocusIn, XNResetState, ParentRelative, FocusChangeMask, LSBFirst, XCirculateEvent, Above, GXinvert, NoEventMask, XNR6PreeditCallback, PropModePrepend, XExtCodes, XUnmapEvent, XOMFontInfo, Screen, $, ArcPieSlice, XOM, QueuedAfterReading, or, DefaultBlanking, SyncBoth, ConfigureWindowMask, XIMHotKeyStateOFF, LeaveWindowMask, ShiftMask, XButtonReleasedEvent, FamilyInternet, CWWinGravity, DoRed, XRectangle, XLookupChars, XIMStringConversionBuffer, ButtonMotionMask, Button4MotionMask, XVisibilityEvent, GCLineStyle, BadWindow, XNVisiblePosition, HostInsert, XIMStringConversionRightEdge, ZPixmap, XIMStringConversionTextStringUnion, StaticGravity, XNResourceClass, XrmValuePtr, XrmHashTable, XrmRepresentation, init, XrmHashBucket, XrmEnumOneLevel, XrmOptionKind, XrmClass, XrmDatabase, XrmQuarkList, NULLSTRING, NULLQUARK, XrmQuark, XrmName, XrmOptionDescList, XrmBinding, XrmValue, XrmString, XrmBindingList, XrmEnumAllLevels, XrmOptionDescRec, XrmNameList, XrmClassList, IsKeypadKey, VisualNoMask, IconPixmapHint, IsCursorKey, IconMaskHint, VisualGreenMaskMask, XCSUCCESS, XConverterNotFound, XValue, IsModifierKey, IconicState, XClassHint, XCNOMEM, PSize, VisualClassMask, BitmapFileInvalid, VisualBlueMaskMask, BitmapOpenFailed, AllHints, XSizeHints, VisualColormapSizeMask, XCNOENT, XContext, XNegative, USSize, XLocaleNotSupported, XComposeStatus, RectangleIn, PResizeInc, IsMiscFunctionKey, NormalState, Region, RectanglePart, PAspect, VisualDepthMask, IconPositionHint, IsFunctionKey, IconWindowHint, InputHint, WMHintsFlags, XICCEncodingStyle, or, or, VisualBitsPerRGBMask, SizeHintsFlags, StateHint, RectangleOut, YValue, XNoMemory, YNegative, VisualScreenMask, ReleaseByFreeingColormap, WithdrawnState, HeightValue, USPosition, NoValue, IsPrivateKeypadKey, WidthValue, XWMHints, AllValues, PMinSize, XStandardColormap, VisualIDMask, PAllHints, XTextProperty, BitmapSuccess, VisualAllMask, VisualRedMaskMask, WindowGroupHint, PWinGravity, IsPFKey, PMaxSize, PBaseSize, XIconSize, XVisualInfo, XUrgencyHint, BitmapNoMemory, SizeHintsAspect, PPosition