semicongine/thirdparty/x11/xutil

Search:
Group by:

Types

CPoint {.final.} = object
  x*: cint
  y*: cint
PRegion = ptr Region
XClassHint {.final.} = object
  res_name*: cstring
  res_class*: cstring
XComposeStatus {.final.} = object
  compose_ptr*: XPointer
  chars_matched*: cint
XContext = cint
XICCEncodingStyle = enum
  XStringStyle, XCompoundTextStyle, XTextStyle, XStdICCTextStyle,
  XUTF8StringStyle
XIconSize {.final.} = object
  min_width*, min_height*: cint
  max_width*, max_height*: cint
  width_inc*, height_inc*: cint
XRegion {.final.} = object
XSizeHints {.final.} = object
  flags*: clong
  x*, y*: cint
  width*, height*: cint
  min_width*, min_height*: cint
  max_width*, max_height*: cint
  width_inc*, height_inc*: cint
  min_aspect*, max_aspect*: CPoint
  base_width*, base_height*: cint
  win_gravity*: cint
XStandardColormap {.final.} = object
  colormap*: Colormap
  red_max*: culong
  red_mult*: culong
  green_max*: culong
  green_mult*: culong
  blue_max*: culong
  blue_mult*: culong
  base_pixel*: culong
  visualid*: VisualID
  killid*: XID
XTextProperty {.final.} = object
  value*: Pcuchar
  encoding*: Atom
  format*: cint
  nitems*: culong
XVisualInfo {.final.} = object
  visual*: PVisual
  visualid*: VisualID
  screen*: cint
  depth*: cint
  class*: cint
  red_mask*: culong
  green_mask*: culong
  blue_mask*: culong
  colormap_size*: cint
  bits_per_rgb*: cint
XWMHints {.final.} = object
  flags*: clong
  input*: XBool
  initial_state*: cint
  icon_pixmap*: Pixmap
  icon_window*: Window
  icon_x*, icon_y*: cint
  icon_mask*: Pixmap
  window_group*: XID

Consts

AllHints = 127
AllValues = 0x0000000F
HeightValue = 0x00000008
InputHint = 1
NoValue = 0x00000000
PAllHints = 252
PAspect = 128
PBaseSize = 256
PMaxSize = 32
PMinSize = 16
PPosition = 4
PResizeInc = 64
PSize = 8
PWinGravity = 512
StateHint = 2
USSize = 2
VisualAllMask = 0x000001FF
VisualBitsPerRGBMask = 0x00000100
VisualBlueMaskMask = 0x00000040
VisualClassMask = 0x00000008
VisualColormapSizeMask = 0x00000080
VisualDepthMask = 0x00000004
VisualGreenMaskMask = 0x00000020
VisualIDMask = 0x00000001
VisualNoMask = 0x00000000
VisualRedMaskMask = 0x00000010
VisualScreenMask = 0x00000002
WidthValue = 0x00000004
XCNOENT = 2
XCNOMEM = 1
XCSUCCESS = 0
XNegative = 0x00000010
XNoMemory = -1
XUrgencyHint = 256
XValue = 0x00000001
YNegative = 0x00000020
YValue = 0x00000002
ZoomState = 2

Procs

proc IsCursorKey(keysym: KeySym): bool {....raises: [], tags: [], forbids: [].}
proc IsFunctionKey(keysym: KeySym): bool {....raises: [], tags: [], forbids: [].}
proc IsKeypadKey(keysym: KeySym): bool {....raises: [], tags: [], forbids: [].}
proc IsMiscFunctionKey(keysym: KeySym): bool {....raises: [], tags: [], forbids: [].}
proc IsModifierKey(keysym: KeySym): bool {....raises: [], tags: [], forbids: [].}
proc IsPFKey(keysym: KeySym): bool {....raises: [], tags: [], forbids: [].}
proc IsPrivateKeypadKey(keysym: KeySym): bool {....raises: [], tags: [],
    forbids: [].}
proc XAddPixel(ximage: PXImage; value: clong): cint {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
proc XAllocClassHint(): PXClassHint {.cdecl, dynlib: libX11, importc,
                                      ...raises: [], tags: [], forbids: [].}
proc XAllocIconSize(): PXIconSize {.cdecl, dynlib: libX11, importc, ...raises: [],
                                    tags: [], forbids: [].}
proc XAllocSizeHints(): PXSizeHints {.cdecl, dynlib: libX11, importc,
                                      ...raises: [], tags: [], forbids: [].}
proc XAllocStandardColormap(): PXStandardColormap {.cdecl, dynlib: libX11,
    importc, ...raises: [], tags: [], forbids: [].}
proc XAllocWMHints(): PXWMHints {.cdecl, dynlib: libX11, importc, ...raises: [],
                                  tags: [], forbids: [].}
proc XClipBox(para1: Region; para2: PXRectangle): cint {.cdecl, dynlib: libX11,
    importc, ...raises: [], tags: [], forbids: [].}
proc XConvertCase(para1: KeySym; para2: PKeySym; para3: PKeySym) {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XCreateRegion(): Region {.cdecl, dynlib: libX11, importc, ...raises: [],
                               tags: [], forbids: [].}
proc XDefaultString(): cstring {.cdecl, dynlib: libX11, importc, ...raises: [],
                                 tags: [], forbids: [].}
proc XDeleteContext(para1: PDisplay; para2: XID; para3: XContext): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XDestroyImage(ximage: PXImage): cint {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
proc XDestroyRegion(para1: Region): cint {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XEmptyRegion(para1: Region): cint {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XEqualRegion(para1: Region; para2: Region): cint {.cdecl, dynlib: libX11,
    importc, ...raises: [], tags: [], forbids: [].}
proc XFindContext(para1: PDisplay; para2: XID; para3: XContext; para4: PXPointer): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetClassHint(para1: PDisplay; para2: Window; para3: PXClassHint): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetIconSizes(para1: PDisplay; para2: Window; para3: PPXIconSize;
                   para4: Pcint): Status {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XGetNormalHints(para1: PDisplay; para2: Window; para3: PXSizeHints): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetPixel(ximage: PXImage; x, y: cint): culong {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
proc XGetRGBColormaps(para1: PDisplay; para2: Window;
                      para3: PPXStandardColormap; para4: Pcint; para5: Atom): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetSizeHints(para1: PDisplay; para2: Window; para3: PXSizeHints;
                   para4: Atom): Status {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XGetStandardColormap(para1: PDisplay; para2: Window;
                          para3: PXStandardColormap; para4: Atom): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetTextProperty(para1: PDisplay; para2: Window; para3: PXTextProperty;
                      para4: Atom): Status {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XGetVisualInfo(para1: PDisplay; para2: clong; para3: PXVisualInfo;
                    para4: Pcint): PXVisualInfo {.cdecl, dynlib: libX11,
    importc, ...raises: [], tags: [], forbids: [].}
proc XGetWMClientMachine(para1: PDisplay; para2: Window; para3: PXTextProperty): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetWMHints(para1: PDisplay; para2: Window): PXWMHints {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetWMIconName(para1: PDisplay; para2: Window; para3: PXTextProperty): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetWMName(para1: PDisplay; para2: Window; para3: PXTextProperty): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetWMNormalHints(para1: PDisplay; para2: Window; para3: PXSizeHints;
                       para4: ptr int): Status {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XGetWMSizeHints(para1: PDisplay; para2: Window; para3: PXSizeHints;
                     para4: ptr int; para5: Atom): Status {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XGetZoomHints(para1: PDisplay; para2: Window; para3: PXSizeHints): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XIntersectRegion(para1: Region; para2: Region; para3: Region): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XLookupString(para1: PXKeyEvent; para2: cstring; para3: cint;
                   para4: PKeySym; para5: PXComposeStatus): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XMatchVisualInfo(para1: PDisplay; para2: cint; para3: cint; para4: cint;
                      para5: PXVisualInfo): Status {.cdecl, dynlib: libX11,
    importc, ...raises: [], tags: [], forbids: [].}
proc XmbSetWMProperties(para1: PDisplay; para2: Window; para3: cstring;
                        para4: cstring; para5: PPChar; para6: cint;
                        para7: PXSizeHints; para8: PXWMHints; para9: PXClassHint) {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbTextListToTextProperty(para1: PDisplay; para2: PPChar; para3: cint;
                               para4: XICCEncodingStyle; para5: PXTextProperty): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XmbTextPropertyToTextList(para1: PDisplay; para2: PXTextProperty;
                               para3: PPPChar; para4: Pcint): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XOffsetRegion(para1: Region; para2: cint; para3: cint): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XPointInRegion(para1: Region; para2: cint; para3: cint): XBool {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XPolygonRegion(para1: PXPoint; para2: cint; para3: cint): Region {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XPutPixel(ximage: PXImage; x, y: cint; pixel: culong): cint {.
    ...raises: [Exception], tags: [RootEffect], forbids: [].}
proc XRectInRegion(para1: Region; para2: cint; para3: cint; para4: cuint;
                   para5: cuint): cint {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XSaveContext(para1: PDisplay; para2: XID; para3: XContext; para4: cstring): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetClassHint(para1: PDisplay; para2: Window; para3: PXClassHint): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetIconSizes(para1: PDisplay; para2: Window; para3: PXIconSize;
                   para4: cint): cint {.cdecl, dynlib: libX11, importc,
                                        ...raises: [], tags: [], forbids: [].}
proc XSetNormalHints(para1: PDisplay; para2: Window; para3: PXSizeHints): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetRegion(para1: PDisplay; para2: GC; para3: Region): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetRGBColormaps(para1: PDisplay; para2: Window; para3: PXStandardColormap;
                      para4: cint; para5: Atom) {.cdecl, dynlib: libX11,
    importc, ...raises: [], tags: [], forbids: [].}
proc XSetSizeHints(para1: PDisplay; para2: Window; para3: PXSizeHints;
                   para4: Atom): cint {.cdecl, dynlib: libX11, importc,
                                        ...raises: [], tags: [], forbids: [].}
proc XSetStandardColormap(para1: PDisplay; para2: Window;
                          para3: PXStandardColormap; para4: Atom) {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetStandardProperties(para1: PDisplay; para2: Window; para3: cstring;
                            para4: cstring; para5: Pixmap; para6: PPChar;
                            para7: cint; para8: PXSizeHints): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetTextProperty(para1: PDisplay; para2: Window; para3: PXTextProperty;
                      para4: Atom) {.cdecl, dynlib: libX11, importc, ...raises: [],
                                     tags: [], forbids: [].}
proc XSetWMClientMachine(para1: PDisplay; para2: Window; para3: PXTextProperty) {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMHints(para1: PDisplay; para2: Window; para3: PXWMHints): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMIconName(para1: PDisplay; para2: Window; para3: PXTextProperty) {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMName(para1: PDisplay; para2: Window; para3: PXTextProperty) {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMNormalHints(para1: PDisplay; para2: Window; para3: PXSizeHints) {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMProperties(para1: PDisplay; para2: Window; para3: PXTextProperty;
                      para4: PXTextProperty; para5: PPChar; para6: cint;
                      para7: PXSizeHints; para8: PXWMHints; para9: PXClassHint) {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSetWMSizeHints(para1: PDisplay; para2: Window; para3: PXSizeHints;
                     para4: Atom) {.cdecl, dynlib: libX11, importc, ...raises: [],
                                    tags: [], forbids: [].}
proc XSetZoomHints(para1: PDisplay; para2: Window; para3: PXSizeHints): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XShrinkRegion(para1: Region; para2: cint; para3: cint): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XStringListToTextProperty(para1: PPChar; para2: cint; para3: PXTextProperty): Status {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XSubImage(ximage: PXImage; x, y: cint; width, height: cuint): PXImage {.
    ...raises: [Exception], tags: [RootEffect], forbids: [].}
proc XSubtractRegion(para1: Region; para2: Region; para3: Region): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XTextPropertyToStringList(para1: PXTextProperty; para2: PPPChar;
                               para3: Pcint): Status {.cdecl, dynlib: libX11,
    importc, ...raises: [], tags: [], forbids: [].}
proc XUnionRectWithRegion(para1: PXRectangle; para2: Region; para3: Region): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XUnionRegion(para1: Region; para2: Region; para3: Region): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8SetWMProperties(para1: PDisplay; para2: Window; para3: cstring;
                          para4: cstring; para5: PPChar; para6: cint;
                          para7: PXSizeHints; para8: PXWMHints;
                          para9: PXClassHint) {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc Xutf8TextListToTextProperty(para1: PDisplay; para2: PPChar; para3: cint;
                                 para4: XICCEncodingStyle; para5: PXTextProperty): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc Xutf8TextPropertyToTextList(para1: PDisplay; para2: PXTextProperty;
                                 para3: PPPChar; para4: Pcint): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcFreeStringList(para1: ptr ptr int16) {.cdecl, dynlib: libX11, importc,
    ...raises: [], tags: [], forbids: [].}
proc XwcTextListToTextProperty(para1: PDisplay; para2: ptr ptr int16;
                               para3: cint; para4: XICCEncodingStyle;
                               para5: PXTextProperty): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XwcTextPropertyToTextList(para1: PDisplay; para2: PXTextProperty;
                               para3: ptr ptr ptr int16; para4: Pcint): cint {.
    cdecl, dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XWMGeometry(para1: PDisplay; para2: cint; para3: cstring; para4: cstring;
                 para5: cuint; para6: PXSizeHints; para7: Pcint; para8: Pcint;
                 para9: Pcint; para10: Pcint; para11: Pcint): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}
proc XXorRegion(para1: Region; para2: Region; para3: Region): cint {.cdecl,
    dynlib: libX11, importc, ...raises: [], tags: [], forbids: [].}