X11-1.9: A binding to the X11 graphics library

Copyright | (c) Alastair Reid 1999-2003
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | libraries@haskell.org
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell98

Graphics.X11.Types

Contents

- Enumeration types
  - Key symbols
  - Event masks
  - Event types
  - Modifiers
  - Key masks
  - Button masks
  - Buttons
  - Notify modes
  - Notify details
  - Visibility
  - Place of window
  - Protocols
  - Property notification
  - Colormap notification
  - Grab modes
  - Grab status
  - Allow events
  - Focus modes
  - Error codes
  - Return status
  - WindowClass
  - Attribute masks
  - Close down modes
  - QueryBestSize classes
  - Graphics functions
  - Line styles
  - Cap styles
  - Join styles
  - Fill styles
  - Fill rules
  - Subwindow modes
  - Coordinate modes
  - Polygon shapes
  - Arc modes
  - GC masks
  - Circulation direction
  - Byte order
  - ColormapAlloc
  - Mapping requests
  - ChangeSaveSetMode
  - Bit gravity
  - Window gravity
  - Backing store
  - Font direction
  - Image format
  - Reflection and Rotation

Description

A collection of type declarations for interfacing with X11.

Synopsis

- type XID = Word64
- type Mask = Word64
- type Atom = Word64
- type VisualID = Word64
- type Time = Word64
- type Window = XID
- type Drawable = XID
- type Font = XID
- type Pixmap = XID
- type Cursor = XID
- type Colormap = XID
- type GContext = XID
- type KeyCode = Word8
- type SizeID = Word16
- type SubpixelOrder = Word16
- type Connection = Word16
- type RROutput = Word64
- type RRCrtc = Word64
- type RRMode = Word64
- type XRRModeFlags = Word64
- type KeySym = XID
- xK_VoidSymbol :: KeySym
- xK_BackSpace :: KeySym
- xK_Tab :: KeySym
- xK_Linefeed :: KeySym
- xK_Clear :: KeySym
- xK_Return :: KeySym
- xK_Pause :: KeySym
- xK_Scroll_Lock :: KeySym
- xK_Sys_Req :: KeySym
- xK_Escape :: KeySym
- xK_Delete :: KeySym
- xK_Multi_key :: KeySym
- xK_Codeinput :: KeySym
- xK_SingleCandidate :: KeySym
- xK_MultipleCandidate :: KeySym
- xK_PreviousCandidate :: KeySym
- xK_Home :: KeySym
- xK_Left :: KeySym
- xK_Up :: KeySym
- xK_Right :: KeySym
- xK_Down :: KeySym
- xK_Prior :: KeySym
- xK_Page_Up :: KeySym
- xK_Next :: KeySym
- xK_Page_Down :: KeySym
- xK_End :: KeySym
- xK_Begin :: KeySym
- xK_Select :: KeySym
- xK_Print :: KeySym
- xK_Execute :: KeySym
- xK_Insert :: KeySym
- xK_Undo :: KeySym
- xK_Redo :: KeySym
- xK_Menu :: KeySym
- xK_Find :: KeySym
- xK_Cancel :: KeySym
- xK_Help :: KeySym
- xK_Break :: KeySym
- xK_Mode_switch :: KeySym
- xK_script_switch :: KeySym
- xK_Num_Lock :: KeySym
- xK_KP_Space :: KeySym
- xK_KP_Tab :: KeySym
- xK_KP_Enter :: KeySym
- xK_KP_F1 :: KeySym
- xK_KP_F2 :: KeySym
- xK_KP_F3 :: KeySym
- xK_KP_F4 :: KeySym
- xK_KP_Home :: KeySym
- xK_KP_Left :: KeySym
- xK_KP_Up :: KeySym
- xK_KP_Right :: KeySym
- xK_KP_Down :: KeySym
- xK_KP_Prior :: KeySym
- xK_KP_Page_Up :: KeySym
- xK_KP_Next :: KeySym
- xK_KP_Page_Down :: KeySym
- xK_KP_End :: KeySym
- xK_KP_Begin :: KeySym
- xK_KP_Insert :: KeySym
- xK_KP_Delete :: KeySym
- xK_KP_Equal :: KeySym
- xK_KP_Multiply :: KeySym
- xK_KP_Add :: KeySym
- xK_KP_Separator :: KeySym
- xK_KP_Subtract :: KeySym
- xK_KP_Decimal :: KeySym
- xK_KP_Divide :: KeySym
- xK_KP_0 :: KeySym
- xK_KP_1 :: KeySym
- xK_KP_2 :: KeySym
- xK_KP_3 :: KeySym
- xK_KP_4 :: KeySym
- xK_KP_5 :: KeySym
- xK_KP_6 :: KeySym
- xK_KP_7 :: KeySym
- xK_KP_8 :: KeySym
- xK_KP_9 :: KeySym
- xK_F1 :: KeySym
- xK_F2 :: KeySym
- xK_F3 :: KeySym
- xK_F4 :: KeySym
- xK_F5 :: KeySym
- xK_F6 :: KeySym
- xK_F7 :: KeySym
- xK_F8 :: KeySym
- xK_F9 :: KeySym
- xK_F10 :: KeySym
- xK_F11 :: KeySym
- xK_L1 :: KeySym
- xK_F12 :: KeySym
- xK_L2 :: KeySym
- xK_F13 :: KeySym
- xK_L3 :: KeySym
- xK_F14 :: KeySym
- xK_L4 :: KeySym
- xK_F15 :: KeySym
- xK_L5 :: KeySym
- xK_F16 :: KeySym
- xK_L6 :: KeySym
- xK_F17 :: KeySym
- xK_L7 :: KeySym
- xK_F18 :: KeySym
- xK_L8 :: KeySym
- xK_F19 :: KeySym
- xK_L9 :: KeySym
- xK_F20 :: KeySym
- xK_L10 :: KeySym
- xK_F21 :: KeySym
- xK_R1 :: KeySym
- xK_F22 :: KeySym
- xK_R2 :: KeySym
- xK_F23 :: KeySym
- xK_R3 :: KeySym
- xK_F24 :: KeySym
- xK_R4 :: KeySym
- xK_F25 :: KeySym
- xK_R5 :: KeySym
- xK_F26 :: KeySym
- xK_R6 :: KeySym
- xK_F27 :: KeySym
- xK_R7 :: KeySym
- xK_F28 :: KeySym
- xK_R8 :: KeySym
- xK_F29 :: KeySym
- xK_R9 :: KeySym
- xK_F30 :: KeySym
- xK_R10 :: KeySym
- xK_F31 :: KeySym
- xK_R11 :: KeySym
- xK_F32 :: KeySym
- xK_R12 :: KeySym
- xK_F33 :: KeySym
- xK_R13 :: KeySym
- xK_F34 :: KeySym
- xK_R14 :: KeySym
- xK_F35 :: KeySym
- xK_R15 :: KeySym
- xK_Shift_L :: KeySym
- xK_Shift_R :: KeySym
- xK_Control_L :: KeySym
- xK_Control_R :: KeySym
- xK_Caps_Lock :: KeySym
- xK_Shift_Lock :: KeySym
- xK_Meta_L :: KeySym
- xK_Meta_R :: KeySym
- xK_Alt_L :: KeySym
- xK_Alt_R :: KeySym
- xK_Super_L :: KeySym
- xK_Super_R :: KeySym
- xK_Hyper_L :: KeySym
- xK_Hyper_R :: KeySym
- xK_space :: KeySym
- xK_exclam :: KeySym
- xK_quotedbl :: KeySym
- xK_numbersign :: KeySym
- xK_dollar :: KeySym
- xK_percent :: KeySym
- xK_ampersand :: KeySym
- xK_apostrophe :: KeySym
- xK_quoteright :: KeySym
- xK_parenleft :: KeySym
- xK_parenright :: KeySym
- xK_asterisk :: KeySym
- xK_plus :: KeySym
- xK_comma :: KeySym
- xK_minus :: KeySym
- xK_period :: KeySym
- xK_slash :: KeySym
- xK_0 :: KeySym
- xK_1 :: KeySym
- xK_2 :: KeySym
- xK_3 :: KeySym
- xK_4 :: KeySym
- xK_5 :: KeySym
- xK_6 :: KeySym
- xK_7 :: KeySym
- xK_8 :: KeySym
- xK_9 :: KeySym
- xK_colon :: KeySym
- xK_semicolon :: KeySym
- xK_less :: KeySym
- xK_equal :: KeySym
- xK_greater :: KeySym
- xK_question :: KeySym
- xK_at :: KeySym
- xK_A :: KeySym
- xK_B :: KeySym
- xK_C :: KeySym
- xK_D :: KeySym
- xK_E :: KeySym
- xK_F :: KeySym
- xK_G :: KeySym
- xK_H :: KeySym
- xK_I :: KeySym
- xK_J :: KeySym
- xK_K :: KeySym
- xK_L :: KeySym
- xK_M :: KeySym
- xK_N :: KeySym
- xK_O :: KeySym
- xK_P :: KeySym
- xK_Q :: KeySym
- xK_R :: KeySym
- xK_S :: KeySym
- xK_T :: KeySym
- xK_U :: KeySym
- xK_V :: KeySym
- xK_W :: KeySym
- xK_X :: KeySym
- xK_Y :: KeySym
- xK_Z :: KeySym
- xK_bracketleft :: KeySym
- xK_backslash :: KeySym
- xK_bracketright :: KeySym
- xK_asciicircum :: KeySym
- xK_underscore :: KeySym
- xK_grave :: KeySym
- xK_quoteleft :: KeySym
- xK_a :: KeySym
- xK_b :: KeySym
- xK_c :: KeySym
- xK_d :: KeySym
- xK_e :: KeySym
- xK_f :: KeySym
- xK_g :: KeySym
- xK_h :: KeySym
- xK_i :: KeySym
- xK_j :: KeySym
- xK_k :: KeySym
- xK_l :: KeySym
- xK_m :: KeySym
- xK_n :: KeySym
- xK_o :: KeySym
- xK_p :: KeySym
- xK_q :: KeySym
- xK_r :: KeySym
- xK_s :: KeySym
- xK_t :: KeySym
- xK_u :: KeySym
- xK_v :: KeySym
- xK_w :: KeySym
- xK_x :: KeySym
- xK_y :: KeySym
- xK_z :: KeySym
- xK_braceleft :: KeySym
- xK_bar :: KeySym
- xK_braceright :: KeySym
- xK_asciitilde :: KeySym
- xK_nobreakspace :: KeySym
- xK_exclamdown :: KeySym
- xK_cent :: KeySym
- xK_sterling :: KeySym
- xK_currency :: KeySym
- xK_yen :: KeySym
- xK_brokenbar :: KeySym
- xK_section :: KeySym
- xK_diaeresis :: KeySym
- xK_copyright :: KeySym
- xK_ordfeminine :: KeySym
- xK_guillemotleft :: KeySym
- xK_notsign :: KeySym
- xK_hyphen :: KeySym
- xK_registered :: KeySym
- xK_macron :: KeySym
- xK_degree :: KeySym
- xK_plusminus :: KeySym
- xK_twosuperior :: KeySym
- xK_threesuperior :: KeySym
- xK_acute :: KeySym
- xK_mu :: KeySym
- xK_paragraph :: KeySym
- xK_periodcentered :: KeySym
- xK_cedilla :: KeySym
- xK_onesuperior :: KeySym
- xK_masculine :: KeySym
- xK_guillemotright :: KeySym
- xK_onequarter :: KeySym
- xK_onehalf :: KeySym
- xK_threequarters :: KeySym
- xK_questiondown :: KeySym
- xK_Agrave :: KeySym
- xK_Aacute :: KeySym
- xK_Acircumflex :: KeySym
- xK_Atilde :: KeySym
- xK_Adiaeresis :: KeySym
- xK_Aring :: KeySym
- xK_AE :: KeySym
- xK_Ccedilla :: KeySym
- xK_Egrave :: KeySym
- xK_Eacute :: KeySym
- xK_Ecircumflex :: KeySym
- xK_Ediaeresis :: KeySym
- xK_Igrave :: KeySym
- xK_Iacute :: KeySym
- xK_Icircumflex :: KeySym
- xK_Idiaeresis :: KeySym
- xK_ETH :: KeySym
- xK_Eth :: KeySym
- xK_Ntilde :: KeySym
- xK_Ograve :: KeySym
- xK_Oacute :: KeySym
- xK_Ocircumflex :: KeySym
- xK_Otilde :: KeySym
- xK_Odiaeresis :: KeySym
- xK_multiply :: KeySym
- xK_Ooblique :: KeySym
- xK_Ugrave :: KeySym
- xK_Uacute :: KeySym
- xK_Ucircumflex :: KeySym
- xK_Udiaeresis :: KeySym
- xK_Yacute :: KeySym
- xK_THORN :: KeySym
- xK_Thorn :: KeySym
- xK_ssharp :: KeySym
- xK_agrave :: KeySym
- xK_aacute :: KeySym
- xK_acircumflex :: KeySym
- xK_atilde :: KeySym
- xK_adiaeresis :: KeySym
- xK_aring :: KeySym
- xK_ae :: KeySym
- xK_ccedilla :: KeySym
- xK_egrave :: KeySym
- xK_eacute :: KeySym
- xK_ecircumflex :: KeySym
- xK_ediaeresis :: KeySym
- xK_igrave :: KeySym
- xK_iacute :: KeySym
- xK_icircumflex :: KeySym
- xK_idiaeresis :: KeySym
- xK_eth :: KeySym
- xK_ntilde :: KeySym
- xK_ograve :: KeySym
- xK_oacute :: KeySym
- xK_ocircumflex :: KeySym
- xK_otilde :: KeySym
- xK_odiaeresis :: KeySym
- xK_division :: KeySym
- xK_oslash :: KeySym
- xK_ugrave :: KeySym
- xK_uacute :: KeySym
- xK_ucircumflex :: KeySym
- xK_udiaeresis :: KeySym
- xK_yacute :: KeySym
- xK_thorn :: KeySym
- xK_ydiaeresis :: KeySym
- type EventMask = Mask
- noEventMask :: EventMask
- keyPressMask :: EventMask
- keyReleaseMask :: EventMask
- buttonPressMask :: EventMask
- buttonReleaseMask :: EventMask
- enterWindowMask :: EventMask
- leaveWindowMask :: EventMask
- pointerMotionMask :: EventMask
- pointerMotionHintMask :: EventMask
- button1MotionMask :: EventMask
- button2MotionMask :: EventMask
- button3MotionMask :: EventMask
- button4MotionMask :: EventMask
- button5MotionMask :: EventMask
- buttonMotionMask :: EventMask
- keymapStateMask :: EventMask
- exposureMask :: EventMask
- visibilityChangeMask :: EventMask
- structureNotifyMask :: EventMask
- resizeRedirectMask :: EventMask
- substructureNotifyMask :: EventMask
- substructureRedirectMask :: EventMask
- focusChangeMask :: EventMask
- propertyChangeMask :: EventMask
- colormapChangeMask :: EventMask
- ownerGrabButtonMask :: EventMask
- rrScreenChangeNotifyMask :: EventMask
- rrCrtcChangeNotifyMask :: EventMask
- rrOutputChangeNotifyMask :: EventMask
- rrOutputPropertyNotifyMask :: EventMask
- screenSaverCycleMask :: EventMask
- screenSaverNotifyMask :: EventMask
- type EventType = Word32
- keyPress :: EventType
- keyRelease :: EventType
- buttonPress :: EventType
- buttonRelease :: EventType
- motionNotify :: EventType
- enterNotify :: EventType
- leaveNotify :: EventType
- focusIn :: EventType
- focusOut :: EventType
- keymapNotify :: EventType
- expose :: EventType
- graphicsExpose :: EventType
- noExpose :: EventType
- visibilityNotify :: EventType
- createNotify :: EventType
- destroyNotify :: EventType
- unmapNotify :: EventType
- mapNotify :: EventType
- mapRequest :: EventType
- reparentNotify :: EventType
- configureNotify :: EventType
- configureRequest :: EventType
- gravityNotify :: EventType
- resizeRequest :: EventType
- circulateNotify :: EventType
- circulateRequest :: EventType
- propertyNotify :: EventType
- selectionClear :: EventType
- selectionRequest :: EventType
- selectionNotify :: EventType
- colormapNotify :: EventType
- clientMessage :: EventType
- mappingNotify :: EventType
- rrScreenChangeNotify :: EventType
- rrNotify :: EventType
- rrNotifyCrtcChange :: EventType
- rrNotifyOutputChange :: EventType
- rrNotifyOutputProperty :: EventType
- lASTEvent :: EventType
- screenSaverNotify :: EventType
- type Modifier = CUInt
- shiftMapIndex :: Modifier
- lockMapIndex :: Modifier
- controlMapIndex :: Modifier
- mod1MapIndex :: Modifier
- mod2MapIndex :: Modifier
- mod3MapIndex :: Modifier
- mod4MapIndex :: Modifier
- mod5MapIndex :: Modifier
- anyModifier :: Modifier
- type KeyMask = Modifier
- noModMask :: KeyMask
- shiftMask :: KeyMask
- lockMask :: KeyMask
- controlMask :: KeyMask
- mod1Mask :: KeyMask
- mod2Mask :: KeyMask
- mod3Mask :: KeyMask
- mod4Mask :: KeyMask
- mod5Mask :: KeyMask
- type ButtonMask = Modifier
- button1Mask :: ButtonMask
- button2Mask :: ButtonMask
- button3Mask :: ButtonMask
- button4Mask :: ButtonMask
- button5Mask :: ButtonMask
- type Button = Word32
- button1 :: Button
- button2 :: Button
- button3 :: Button
- button4 :: Button
- button5 :: Button
- type NotifyMode = CInt
- notifyNormal :: NotifyMode
- notifyGrab :: NotifyMode
- notifyUngrab :: NotifyMode
- notifyWhileGrabbed :: NotifyMode
- notifyHint :: NotifyMode
- type NotifyDetail = CInt
- notifyAncestor :: NotifyDetail
- notifyVirtual :: NotifyDetail
- notifyInferior :: NotifyDetail
- notifyNonlinear :: NotifyDetail
- notifyNonlinearVirtual :: NotifyDetail
- notifyPointer :: NotifyDetail
- notifyPointerRoot :: NotifyDetail
- notifyDetailNone :: NotifyDetail
- type Visibility = CInt
- visibilityUnobscured :: Visibility
- visibilityPartiallyObscured :: Visibility
- visibilityFullyObscured :: Visibility
- type Place = CInt
- placeOnTop :: Place
- placeOnBottom :: Place
- type Protocol = CInt
- familyInternet :: Protocol
- familyDECnet :: Protocol
- familyChaos :: Protocol
- type PropertyNotification = CInt
- propertyNewValue :: PropertyNotification
- propertyDelete :: PropertyNotification
- type ColormapNotification = CInt
- colormapUninstalled :: ColormapNotification
- colormapInstalled :: ColormapNotification
- type GrabMode = CInt
- grabModeSync :: GrabMode
- grabModeAsync :: GrabMode
- type GrabStatus = CInt
- grabSuccess :: GrabStatus
- alreadyGrabbed :: GrabStatus
- grabInvalidTime :: GrabStatus
- grabNotViewable :: GrabStatus
- grabFrozen :: GrabStatus
- type AllowEvents = CInt
- asyncPointer :: AllowEvents
- syncPointer :: AllowEvents
- replayPointer :: AllowEvents
- asyncKeyboard :: AllowEvents
- syncKeyboard :: AllowEvents
- replayKeyboard :: AllowEvents
- asyncBoth :: AllowEvents
- syncBoth :: AllowEvents
- type FocusMode = CInt
- revertToNone :: FocusMode
- revertToPointerRoot :: FocusMode
- revertToParent :: FocusMode
- type ErrorCode = CInt
- success :: ErrorCode
- badRequest :: ErrorCode
- badValue :: ErrorCode
- badWindow :: ErrorCode
- badPixmap :: ErrorCode
- badAtom :: ErrorCode
- badCursor :: ErrorCode
- badFont :: ErrorCode
- badMatch :: ErrorCode
- badDrawable :: ErrorCode
- badAccess :: ErrorCode
- badAlloc :: ErrorCode
- badColor :: ErrorCode
- badGC :: ErrorCode
- badIDChoice :: ErrorCode
- badName :: ErrorCode
- badLength :: ErrorCode
- badImplementation :: ErrorCode
- firstExtensionError :: ErrorCode
- lastExtensionError :: ErrorCode
- type Status = CInt
- throwIfZero :: String -> IO Status -> IO ()
- type WindowClass = CInt
- copyFromParent :: WindowClass
- inputOutput :: WindowClass
- inputOnly :: WindowClass
- type AttributeMask = Mask
- cWBackPixmap :: AttributeMask
- cWBackPixel :: AttributeMask
- cWBorderPixmap :: AttributeMask
- cWBorderPixel :: AttributeMask
- cWBitGravity :: AttributeMask
- cWWinGravity :: AttributeMask
- cWBackingStore :: AttributeMask
- cWBackingPlanes :: AttributeMask
- cWBackingPixel :: AttributeMask
- cWOverrideRedirect :: AttributeMask
- cWSaveUnder :: AttributeMask
- cWEventMask :: AttributeMask
- cWDontPropagate :: AttributeMask
- cWColormap :: AttributeMask
- cWCursor :: AttributeMask
- type CloseDownMode = CInt
- destroyAll :: CloseDownMode
- retainPermanent :: CloseDownMode
- retainTemporary :: CloseDownMode
- type QueryBestSizeClass = CInt
- cursorShape :: QueryBestSizeClass
- tileShape :: QueryBestSizeClass
- stippleShape :: QueryBestSizeClass
- type GXFunction = CInt
- gXclear :: GXFunction
- gXand :: GXFunction
- gXandReverse :: GXFunction
- gXcopy :: GXFunction
- gXandInverted :: GXFunction
- gXnoop :: GXFunction
- gXxor :: GXFunction
- gXor :: GXFunction
- gXnor :: GXFunction
- gXequiv :: GXFunction
- gXinvert :: GXFunction
- gXorReverse :: GXFunction
- gXcopyInverted :: GXFunction
- gXorInverted :: GXFunction
- gXnand :: GXFunction
- gXset :: GXFunction
- type LineStyle = CInt
- lineSolid :: LineStyle
- lineOnOffDash :: LineStyle
- lineDoubleDash :: LineStyle
- type CapStyle = CInt
- capNotLast :: CapStyle
- capButt :: CapStyle
- capRound :: CapStyle
- capProjecting :: CapStyle
- type JoinStyle = CInt
- joinMiter :: JoinStyle
- joinRound :: JoinStyle
- joinBevel :: JoinStyle
- type FillStyle = CInt
- fillSolid :: FillStyle
- fillTiled :: FillStyle
- fillStippled :: FillStyle
- fillOpaqueStippled :: FillStyle
- type FillRule = CInt
- evenOddRule :: FillRule
- windingRule :: FillRule
- type SubWindowMode = CInt
- clipByChildren :: SubWindowMode
- includeInferiors :: SubWindowMode
- type CoordinateMode = CInt
- coordModeOrigin :: CoordinateMode
- coordModePrevious :: CoordinateMode
- type PolygonShape = CInt
- complex :: PolygonShape
- nonconvex :: PolygonShape
- convex :: PolygonShape
- type ArcMode = CInt
- arcChord :: ArcMode
- arcPieSlice :: ArcMode
- type GCMask = CInt
- gCFunction :: GCMask
- gCPlaneMask :: GCMask
- gCForeground :: GCMask
- gCBackground :: GCMask
- gCLineWidth :: GCMask
- gCLineStyle :: GCMask
- gCCapStyle :: GCMask
- gCJoinStyle :: GCMask
- gCFillStyle :: GCMask
- gCFillRule :: GCMask
- gCTile :: GCMask
- gCStipple :: GCMask
- gCTileStipXOrigin :: GCMask
- gCTileStipYOrigin :: GCMask
- gCFont :: GCMask
- gCSubwindowMode :: GCMask
- gCGraphicsExposures :: GCMask
- gCClipXOrigin :: GCMask
- gCClipYOrigin :: GCMask
- gCClipMask :: GCMask
- gCDashOffset :: GCMask
- gCDashList :: GCMask
- gCArcMode :: GCMask
- gCLastBit :: GCMask
- type CirculationDirection = CInt
- raiseLowest :: CirculationDirection
- lowerHighest :: CirculationDirection
- type ByteOrder = CInt
- lSBFirst :: ByteOrder
- mSBFirst :: ByteOrder
- type ColormapAlloc = CInt
- allocNone :: ColormapAlloc
- allocAll :: ColormapAlloc
- type MappingRequest = CInt
- mappingModifier :: MappingRequest
- mappingKeyboard :: MappingRequest
- mappingPointer :: MappingRequest
- type ChangeSaveSetMode = CInt
- setModeInsert :: ChangeSaveSetMode
- setModeDelete :: ChangeSaveSetMode
- type BitGravity = CInt
- forgetGravity :: BitGravity
- northWestGravity :: BitGravity
- northGravity :: BitGravity
- northEastGravity :: BitGravity
- westGravity :: BitGravity
- centerGravity :: BitGravity
- eastGravity :: BitGravity
- southWestGravity :: BitGravity
- southGravity :: BitGravity
- southEastGravity :: BitGravity
- staticGravity :: BitGravity
- type WindowGravity = CInt
- unmapGravity :: WindowGravity
- type BackingStore = CInt
- notUseful :: BackingStore
- whenMapped :: BackingStore
- always :: BackingStore
- doRed :: Word8
- doGreen :: Word8
- doBlue :: Word8
- type FontDirection = CInt
- fontLeftToRight :: FontDirection
- fontRightToLeft :: FontDirection
- type ImageFormat = CInt
- xyBitmap :: ImageFormat
- xyPixmap :: ImageFormat
- zPixmap :: ImageFormat
- type Rotation = Word16
- type Reflection = Word16
- xRR_Rotate_0 :: Rotation
- xRR_Rotate_90 :: Rotation
- xRR_Rotate_180 :: Rotation
- xRR_Rotate_270 :: Rotation
- xRR_Reflect_X :: Reflection
- xRR_Reflect_Y :: Reflection
- xRR_Connected :: Connection
- xRR_Disconnected :: Connection
- xRR_UnknownConnection :: Connection

# Documentation

type XID = Word64 Source #

type Mask = Word64 Source #

type Atom = Word64 Source #

type VisualID = Word64 Source #

type Time = Word64 Source #

type Window = XID Source #

type Drawable = XID Source #

type Font = XID Source #

type Pixmap = XID Source #

type Cursor = XID Source #

type Colormap = XID Source #

type GContext = XID Source #

type KeyCode = Word8 Source #

type SizeID = Word16 Source #

type SubpixelOrder = Word16 Source #

type Connection = Word16 Source #

type RROutput = Word64 Source #

type RRCrtc = Word64 Source #

type RRMode = Word64 Source #

type XRRModeFlags = Word64 Source #

# Enumeration types

These types were introduced to make function types clearer. Note that the types are synonyms for `Int`, so no extra typesafety was obtained.

## Key symbols

type KeySym = XID Source #

xK_VoidSymbol :: KeySym Source #

xK_BackSpace :: KeySym Source #

xK_Tab :: KeySym Source #

xK_Linefeed :: KeySym Source #

xK_Clear :: KeySym Source #

xK_Return :: KeySym Source #

xK_Pause :: KeySym Source #

xK_Scroll_Lock :: KeySym Source #

xK_Sys_Req :: KeySym Source #

xK_Escape :: KeySym Source #

xK_Delete :: KeySym Source #

xK_Multi_key :: KeySym Source #

xK_Codeinput :: KeySym Source #

xK_SingleCandidate :: KeySym Source #

xK_MultipleCandidate :: KeySym Source #

xK_PreviousCandidate :: KeySym Source #

xK_Home :: KeySym Source #

xK_Left :: KeySym Source #

xK_Up :: KeySym Source #

xK_Right :: KeySym Source #

xK_Down :: KeySym Source #

xK_Prior :: KeySym Source #

xK_Page_Up :: KeySym Source #

xK_Next :: KeySym Source #

xK_Page_Down :: KeySym Source #

xK_End :: KeySym Source #

xK_Begin :: KeySym Source #

xK_Select :: KeySym Source #

xK_Print :: KeySym Source #

xK_Execute :: KeySym Source #

xK_Insert :: KeySym Source #

xK_Undo :: KeySym Source #

xK_Redo :: KeySym Source #

xK_Menu :: KeySym Source #

xK_Find :: KeySym Source #

xK_Cancel :: KeySym Source #

xK_Help :: KeySym Source #

xK_Break :: KeySym Source #

xK_Mode_switch :: KeySym Source #

xK_script_switch :: KeySym Source #

xK_Num_Lock :: KeySym Source #

xK_KP_Space :: KeySym Source #

xK_KP_Tab :: KeySym Source #

xK_KP_Enter :: KeySym Source #

xK_KP_F1 :: KeySym Source #

xK_KP_F2 :: KeySym Source #

xK_KP_F3 :: KeySym Source #

xK_KP_F4 :: KeySym Source #

xK_KP_Home :: KeySym Source #

xK_KP_Left :: KeySym Source #

xK_KP_Up :: KeySym Source #

xK_KP_Right :: KeySym Source #

xK_KP_Down :: KeySym Source #

xK_KP_Prior :: KeySym Source #

xK_KP_Page_Up :: KeySym Source #

xK_KP_Next :: KeySym Source #

xK_KP_Page_Down :: KeySym Source #

xK_KP_End :: KeySym Source #

xK_KP_Begin :: KeySym Source #

xK_KP_Insert :: KeySym Source #

xK_KP_Delete :: KeySym Source #

xK_KP_Equal :: KeySym Source #

xK_KP_Multiply :: KeySym Source #

xK_KP_Add :: KeySym Source #

xK_KP_Separator :: KeySym Source #

xK_KP_Subtract :: KeySym Source #

xK_KP_Decimal :: KeySym Source #

xK_KP_Divide :: KeySym Source #

xK_KP_0 :: KeySym Source #

xK_KP_1 :: KeySym Source #

xK_KP_2 :: KeySym Source #

xK_KP_3 :: KeySym Source #

xK_KP_4 :: KeySym Source #

xK_KP_5 :: KeySym Source #

xK_KP_6 :: KeySym Source #

xK_KP_7 :: KeySym Source #

xK_KP_8 :: KeySym Source #

xK_KP_9 :: KeySym Source #

xK_F1 :: KeySym Source #

xK_F2 :: KeySym Source #

xK_F3 :: KeySym Source #

xK_F4 :: KeySym Source #

xK_F5 :: KeySym Source #

xK_F6 :: KeySym Source #

xK_F7 :: KeySym Source #

xK_F8 :: KeySym Source #

xK_F9 :: KeySym Source #

xK_F10 :: KeySym Source #

xK_F11 :: KeySym Source #

xK_L1 :: KeySym Source #

xK_F12 :: KeySym Source #

xK_L2 :: KeySym Source #

xK_F13 :: KeySym Source #

xK_L3 :: KeySym Source #

xK_F14 :: KeySym Source #

xK_L4 :: KeySym Source #

xK_F15 :: KeySym Source #

xK_L5 :: KeySym Source #

xK_F16 :: KeySym Source #

xK_L6 :: KeySym Source #

xK_F17 :: KeySym Source #

xK_L7 :: KeySym Source #

xK_F18 :: KeySym Source #

xK_L8 :: KeySym Source #

xK_F19 :: KeySym Source #

xK_L9 :: KeySym Source #

xK_F20 :: KeySym Source #

xK_L10 :: KeySym Source #

xK_F21 :: KeySym Source #

xK_R1 :: KeySym Source #

xK_F22 :: KeySym Source #

xK_R2 :: KeySym Source #

xK_F23 :: KeySym Source #

xK_R3 :: KeySym Source #

xK_F24 :: KeySym Source #

xK_R4 :: KeySym Source #

xK_F25 :: KeySym Source #

xK_R5 :: KeySym Source #

xK_F26 :: KeySym Source #

xK_R6 :: KeySym Source #

xK_F27 :: KeySym Source #

xK_R7 :: KeySym Source #

xK_F28 :: KeySym Source #

xK_R8 :: KeySym Source #

xK_F29 :: KeySym Source #

xK_R9 :: KeySym Source #

xK_F30 :: KeySym Source #

xK_R10 :: KeySym Source #

xK_F31 :: KeySym Source #

xK_R11 :: KeySym Source #

xK_F32 :: KeySym Source #

xK_R12 :: KeySym Source #

xK_F33 :: KeySym Source #

xK_R13 :: KeySym Source #

xK_F34 :: KeySym Source #

xK_R14 :: KeySym Source #

xK_F35 :: KeySym Source #

xK_R15 :: KeySym Source #

xK_Shift_L :: KeySym Source #

xK_Shift_R :: KeySym Source #

xK_Control_L :: KeySym Source #

xK_Control_R :: KeySym Source #

xK_Caps_Lock :: KeySym Source #

xK_Shift_Lock :: KeySym Source #

xK_Meta_L :: KeySym Source #

xK_Meta_R :: KeySym Source #

xK_Alt_L :: KeySym Source #

xK_Alt_R :: KeySym Source #

xK_Super_L :: KeySym Source #

xK_Super_R :: KeySym Source #

xK_Hyper_L :: KeySym Source #

xK_Hyper_R :: KeySym Source #

xK_space :: KeySym Source #

xK_exclam :: KeySym Source #

xK_quotedbl :: KeySym Source #

xK_numbersign :: KeySym Source #

xK_dollar :: KeySym Source #

xK_percent :: KeySym Source #

xK_ampersand :: KeySym Source #

xK_apostrophe :: KeySym Source #

xK_quoteright :: KeySym Source #

xK_parenleft :: KeySym Source #

xK_parenright :: KeySym Source #

xK_asterisk :: KeySym Source #

xK_plus :: KeySym Source #

xK_comma :: KeySym Source #

xK_minus :: KeySym Source #

xK_period :: KeySym Source #

xK_slash :: KeySym Source #

xK_0 :: KeySym Source #

xK_1 :: KeySym Source #

xK_2 :: KeySym Source #

xK_3 :: KeySym Source #

xK_4 :: KeySym Source #

xK_5 :: KeySym Source #

xK_6 :: KeySym Source #

xK_7 :: KeySym Source #

xK_8 :: KeySym Source #

xK_9 :: KeySym Source #

xK_colon :: KeySym Source #

xK_semicolon :: KeySym Source #

xK_less :: KeySym Source #

xK_equal :: KeySym Source #

xK_greater :: KeySym Source #

xK_question :: KeySym Source #

xK_at :: KeySym Source #

xK_A :: KeySym Source #

xK_B :: KeySym Source #

xK_C :: KeySym Source #

xK_D :: KeySym Source #

xK_E :: KeySym Source #

xK_F :: KeySym Source #

xK_G :: KeySym Source #

xK_H :: KeySym Source #

xK_I :: KeySym Source #

xK_J :: KeySym Source #

xK_K :: KeySym Source #

xK_L :: KeySym Source #

xK_M :: KeySym Source #

xK_N :: KeySym Source #

xK_O :: KeySym Source #

xK_P :: KeySym Source #

xK_Q :: KeySym Source #

xK_R :: KeySym Source #

xK_S :: KeySym Source #

xK_T :: KeySym Source #

xK_U :: KeySym Source #

xK_V :: KeySym Source #

xK_W :: KeySym Source #

xK_X :: KeySym Source #

xK_Y :: KeySym Source #

xK_Z :: KeySym Source #

xK_bracketleft :: KeySym Source #

xK_backslash :: KeySym Source #

xK_bracketright :: KeySym Source #

xK_asciicircum :: KeySym Source #

xK_underscore :: KeySym Source #

xK_grave :: KeySym Source #

xK_quoteleft :: KeySym Source #

xK_a :: KeySym Source #

xK_b :: KeySym Source #

xK_c :: KeySym Source #

xK_d :: KeySym Source #

xK_e :: KeySym Source #

xK_f :: KeySym Source #

xK_g :: KeySym Source #

xK_h :: KeySym Source #

xK_i :: KeySym Source #

xK_j :: KeySym Source #

xK_k :: KeySym Source #

xK_l :: KeySym Source #

xK_m :: KeySym Source #

xK_n :: KeySym Source #

xK_o :: KeySym Source #

xK_p :: KeySym Source #

xK_q :: KeySym Source #

xK_r :: KeySym Source #

xK_s :: KeySym Source #

xK_t :: KeySym Source #

xK_u :: KeySym Source #

xK_v :: KeySym Source #

xK_w :: KeySym Source #

xK_x :: KeySym Source #

xK_y :: KeySym Source #

xK_z :: KeySym Source #

xK_braceleft :: KeySym Source #

xK_bar :: KeySym Source #

xK_braceright :: KeySym Source #

xK_asciitilde :: KeySym Source #

xK_nobreakspace :: KeySym Source #

xK_exclamdown :: KeySym Source #

xK_cent :: KeySym Source #

xK_sterling :: KeySym Source #

xK_currency :: KeySym Source #

xK_yen :: KeySym Source #

xK_brokenbar :: KeySym Source #

xK_section :: KeySym Source #

xK_diaeresis :: KeySym Source #

xK_copyright :: KeySym Source #

xK_ordfeminine :: KeySym Source #

xK_guillemotleft :: KeySym Source #

xK_notsign :: KeySym Source #

xK_hyphen :: KeySym Source #

xK_registered :: KeySym Source #

xK_macron :: KeySym Source #

xK_degree :: KeySym Source #

xK_plusminus :: KeySym Source #

xK_twosuperior :: KeySym Source #

xK_threesuperior :: KeySym Source #

xK_acute :: KeySym Source #

xK_mu :: KeySym Source #

xK_paragraph :: KeySym Source #

xK_periodcentered :: KeySym Source #

xK_cedilla :: KeySym Source #

xK_onesuperior :: KeySym Source #

xK_masculine :: KeySym Source #

xK_guillemotright :: KeySym Source #

xK_onequarter :: KeySym Source #

xK_onehalf :: KeySym Source #

xK_threequarters :: KeySym Source #

xK_questiondown :: KeySym Source #

xK_Agrave :: KeySym Source #

xK_Aacute :: KeySym Source #

xK_Acircumflex :: KeySym Source #

xK_Atilde :: KeySym Source #

xK_Adiaeresis :: KeySym Source #

xK_Aring :: KeySym Source #

xK_AE :: KeySym Source #

xK_Ccedilla :: KeySym Source #

xK_Egrave :: KeySym Source #

xK_Eacute :: KeySym Source #

xK_Ecircumflex :: KeySym Source #

xK_Ediaeresis :: KeySym Source #

xK_Igrave :: KeySym Source #

xK_Iacute :: KeySym Source #

xK_Icircumflex :: KeySym Source #

xK_Idiaeresis :: KeySym Source #

xK_ETH :: KeySym Source #

xK_Eth :: KeySym Source #

xK_Ntilde :: KeySym Source #

xK_Ograve :: KeySym Source #

xK_Oacute :: KeySym Source #

xK_Ocircumflex :: KeySym Source #

xK_Otilde :: KeySym Source #

xK_Odiaeresis :: KeySym Source #

xK_multiply :: KeySym Source #

xK_Ooblique :: KeySym Source #

xK_Ugrave :: KeySym Source #

xK_Uacute :: KeySym Source #

xK_Ucircumflex :: KeySym Source #

xK_Udiaeresis :: KeySym Source #

xK_Yacute :: KeySym Source #

xK_THORN :: KeySym Source #

xK_Thorn :: KeySym Source #

xK_ssharp :: KeySym Source #

xK_agrave :: KeySym Source #

xK_aacute :: KeySym Source #

xK_acircumflex :: KeySym Source #

xK_atilde :: KeySym Source #

xK_adiaeresis :: KeySym Source #

xK_aring :: KeySym Source #

xK_ae :: KeySym Source #

xK_ccedilla :: KeySym Source #

xK_egrave :: KeySym Source #

xK_eacute :: KeySym Source #

xK_ecircumflex :: KeySym Source #

xK_ediaeresis :: KeySym Source #

xK_igrave :: KeySym Source #

xK_iacute :: KeySym Source #

xK_icircumflex :: KeySym Source #

xK_idiaeresis :: KeySym Source #

xK_eth :: KeySym Source #

xK_ntilde :: KeySym Source #

xK_ograve :: KeySym Source #

xK_oacute :: KeySym Source #

xK_ocircumflex :: KeySym Source #

xK_otilde :: KeySym Source #

xK_odiaeresis :: KeySym Source #

xK_division :: KeySym Source #

xK_oslash :: KeySym Source #

xK_ugrave :: KeySym Source #

xK_uacute :: KeySym Source #

xK_ucircumflex :: KeySym Source #

xK_udiaeresis :: KeySym Source #

xK_yacute :: KeySym Source #

xK_thorn :: KeySym Source #

xK_ydiaeresis :: KeySym Source #

## Event masks

type EventMask = Mask Source #

noEventMask :: EventMask Source #

keyPressMask :: EventMask Source #

keyReleaseMask :: EventMask Source #

buttonPressMask :: EventMask Source #

buttonReleaseMask :: EventMask Source #

enterWindowMask :: EventMask Source #

leaveWindowMask :: EventMask Source #

pointerMotionMask :: EventMask Source #

pointerMotionHintMask :: EventMask Source #

button1MotionMask :: EventMask Source #

button2MotionMask :: EventMask Source #

button3MotionMask :: EventMask Source #

button4MotionMask :: EventMask Source #

button5MotionMask :: EventMask Source #

buttonMotionMask :: EventMask Source #

keymapStateMask :: EventMask Source #

exposureMask :: EventMask Source #

visibilityChangeMask :: EventMask Source #

structureNotifyMask :: EventMask Source #

resizeRedirectMask :: EventMask Source #

substructureNotifyMask :: EventMask Source #

substructureRedirectMask :: EventMask Source #

focusChangeMask :: EventMask Source #

propertyChangeMask :: EventMask Source #

colormapChangeMask :: EventMask Source #

ownerGrabButtonMask :: EventMask Source #

rrScreenChangeNotifyMask :: EventMask Source #

rrCrtcChangeNotifyMask :: EventMask Source #

rrOutputChangeNotifyMask :: EventMask Source #

rrOutputPropertyNotifyMask :: EventMask Source #

screenSaverCycleMask :: EventMask Source #

screenSaverNotifyMask :: EventMask Source #

## Event types

type EventType = Word32 Source #

keyPress :: EventType Source #

keyRelease :: EventType Source #

buttonPress :: EventType Source #

buttonRelease :: EventType Source #

motionNotify :: EventType Source #

enterNotify :: EventType Source #

leaveNotify :: EventType Source #

focusIn :: EventType Source #

focusOut :: EventType Source #

keymapNotify :: EventType Source #

expose :: EventType Source #

graphicsExpose :: EventType Source #

noExpose :: EventType Source #

visibilityNotify :: EventType Source #

createNotify :: EventType Source #

destroyNotify :: EventType Source #

unmapNotify :: EventType Source #

mapNotify :: EventType Source #

mapRequest :: EventType Source #

reparentNotify :: EventType Source #

configureNotify :: EventType Source #

configureRequest :: EventType Source #

gravityNotify :: EventType Source #

resizeRequest :: EventType Source #

circulateNotify :: EventType Source #

circulateRequest :: EventType Source #

propertyNotify :: EventType Source #

selectionClear :: EventType Source #

selectionRequest :: EventType Source #

selectionNotify :: EventType Source #

colormapNotify :: EventType Source #

clientMessage :: EventType Source #

mappingNotify :: EventType Source #

rrScreenChangeNotify :: EventType Source #

rrNotify :: EventType Source #

rrNotifyCrtcChange :: EventType Source #

rrNotifyOutputChange :: EventType Source #

rrNotifyOutputProperty :: EventType Source #

lASTEvent :: EventType Source #

screenSaverNotify :: EventType Source #

## Modifiers

type Modifier = CUInt Source #

shiftMapIndex :: Modifier Source #

lockMapIndex :: Modifier Source #

controlMapIndex :: Modifier Source #

mod1MapIndex :: Modifier Source #

mod2MapIndex :: Modifier Source #

mod3MapIndex :: Modifier Source #

mod4MapIndex :: Modifier Source #

mod5MapIndex :: Modifier Source #

anyModifier :: Modifier Source #

## Key masks

type KeyMask = Modifier Source #

noModMask :: KeyMask Source #

shiftMask :: KeyMask Source #

lockMask :: KeyMask Source #

controlMask :: KeyMask Source #

mod1Mask :: KeyMask Source #

mod2Mask :: KeyMask Source #

mod3Mask :: KeyMask Source #

mod4Mask :: KeyMask Source #

mod5Mask :: KeyMask Source #

## Button masks

type ButtonMask = Modifier Source #

button1Mask :: ButtonMask Source #

button2Mask :: ButtonMask Source #

button3Mask :: ButtonMask Source #

button4Mask :: ButtonMask Source #

button5Mask :: ButtonMask Source #

## Buttons

type Button = Word32 Source #

button1 :: Button Source #

button2 :: Button Source #

button3 :: Button Source #

button4 :: Button Source #

button5 :: Button Source #

## Notify modes

type NotifyMode = CInt Source #

notifyNormal :: NotifyMode Source #

notifyGrab :: NotifyMode Source #

notifyUngrab :: NotifyMode Source #

notifyWhileGrabbed :: NotifyMode Source #

notifyHint :: NotifyMode Source #

## Notify details

type NotifyDetail = CInt Source #

notifyAncestor :: NotifyDetail Source #

notifyVirtual :: NotifyDetail Source #

notifyInferior :: NotifyDetail Source #

notifyNonlinear :: NotifyDetail Source #

notifyNonlinearVirtual :: NotifyDetail Source #

notifyPointer :: NotifyDetail Source #

notifyPointerRoot :: NotifyDetail Source #

notifyDetailNone :: NotifyDetail Source #

## Visibility

type Visibility = CInt Source #

visibilityUnobscured :: Visibility Source #

visibilityPartiallyObscured :: Visibility Source #

visibilityFullyObscured :: Visibility Source #

## Place of window

type Place = CInt Source #

Place of window relative to siblings (used in Circulation requests or events)

placeOnTop :: Place Source #

placeOnBottom :: Place Source #

## Protocols

type Protocol = CInt Source #

familyInternet :: Protocol Source #

familyDECnet :: Protocol Source #

familyChaos :: Protocol Source #

## Property notification

type PropertyNotification = CInt Source #

propertyNewValue :: PropertyNotification Source #

propertyDelete :: PropertyNotification Source #

## Colormap notification

type ColormapNotification = CInt Source #

colormapUninstalled :: ColormapNotification Source #

colormapInstalled :: ColormapNotification Source #

## Grab modes

type GrabMode = CInt Source #

grabModeSync :: GrabMode Source #

grabModeAsync :: GrabMode Source #

## Grab status

type GrabStatus = CInt Source #

grabSuccess :: GrabStatus Source #

alreadyGrabbed :: GrabStatus Source #

grabInvalidTime :: GrabStatus Source #

grabNotViewable :: GrabStatus Source #

grabFrozen :: GrabStatus Source #

## Allow events

type AllowEvents = CInt Source #

asyncPointer :: AllowEvents Source #

syncPointer :: AllowEvents Source #

replayPointer :: AllowEvents Source #

asyncKeyboard :: AllowEvents Source #

syncKeyboard :: AllowEvents Source #

replayKeyboard :: AllowEvents Source #

asyncBoth :: AllowEvents Source #

syncBoth :: AllowEvents Source #

## Focus modes

type FocusMode = CInt Source #

revertToNone :: FocusMode Source #

revertToPointerRoot :: FocusMode Source #

revertToParent :: FocusMode Source #

## Error codes

type ErrorCode = CInt Source #

success :: ErrorCode Source #

badRequest :: ErrorCode Source #

badValue :: ErrorCode Source #

badWindow :: ErrorCode Source #

badPixmap :: ErrorCode Source #

badAtom :: ErrorCode Source #

badCursor :: ErrorCode Source #

badFont :: ErrorCode Source #

badMatch :: ErrorCode Source #

badDrawable :: ErrorCode Source #

badAccess :: ErrorCode Source #

badAlloc :: ErrorCode Source #

badColor :: ErrorCode Source #

badGC :: ErrorCode Source #

Xlib functions with return values of type `Status` return zero on failure and nonzero on success.

badIDChoice :: ErrorCode Source #

badName :: ErrorCode Source #

badLength :: ErrorCode Source #

badImplementation :: ErrorCode Source #

firstExtensionError :: ErrorCode Source #

lastExtensionError :: ErrorCode Source #

## Return status

type Status = CInt Source #

throwIfZero :: String -> IO Status -> IO () Source #

## WindowClass

type WindowClass = CInt Source #

copyFromParent :: WindowClass Source #

inputOutput :: WindowClass Source #

inputOnly :: WindowClass Source #

## Attribute masks

type AttributeMask = Mask Source #

cWBackPixmap :: AttributeMask Source #

cWBackPixel :: AttributeMask Source #

cWBorderPixmap :: AttributeMask Source #

cWBorderPixel :: AttributeMask Source #

cWBitGravity :: AttributeMask Source #

cWWinGravity :: AttributeMask Source #

cWBackingStore :: AttributeMask Source #

cWBackingPlanes :: AttributeMask Source #

cWBackingPixel :: AttributeMask Source #

cWOverrideRedirect :: AttributeMask Source #

cWSaveUnder :: AttributeMask Source #

cWEventMask :: AttributeMask Source #

cWDontPropagate :: AttributeMask Source #

cWColormap :: AttributeMask Source #

cWCursor :: AttributeMask Source #

## Close down modes

type CloseDownMode = CInt Source #

destroyAll :: CloseDownMode Source #

retainPermanent :: CloseDownMode Source #

retainTemporary :: CloseDownMode Source #

## QueryBestSize classes

type QueryBestSizeClass = CInt Source #

cursorShape :: QueryBestSizeClass Source #

tileShape :: QueryBestSizeClass Source #

stippleShape :: QueryBestSizeClass Source #

## Graphics functions

type GXFunction = CInt Source #

gXclear :: GXFunction Source #

gXand :: GXFunction Source #

gXandReverse :: GXFunction Source #

gXcopy :: GXFunction Source #

gXandInverted :: GXFunction Source #

gXnoop :: GXFunction Source #

gXxor :: GXFunction Source #

gXor :: GXFunction Source #

gXnor :: GXFunction Source #

gXequiv :: GXFunction Source #

gXinvert :: GXFunction Source #

gXorReverse :: GXFunction Source #

gXcopyInverted :: GXFunction Source #

gXorInverted :: GXFunction Source #

gXnand :: GXFunction Source #

gXset :: GXFunction Source #

## Line styles

type LineStyle = CInt Source #

lineSolid :: LineStyle Source #

lineOnOffDash :: LineStyle Source #

lineDoubleDash :: LineStyle Source #

## Cap styles

type CapStyle = CInt Source #

capNotLast :: CapStyle Source #

capButt :: CapStyle Source #

capRound :: CapStyle Source #

capProjecting :: CapStyle Source #

## Join styles

type JoinStyle = CInt Source #

joinMiter :: JoinStyle Source #

joinRound :: JoinStyle Source #

joinBevel :: JoinStyle Source #

## Fill styles

type FillStyle = CInt Source #

fillSolid :: FillStyle Source #

fillTiled :: FillStyle Source #

fillStippled :: FillStyle Source #

fillOpaqueStippled :: FillStyle Source #

## Fill rules

type FillRule = CInt Source #

evenOddRule :: FillRule Source #

windingRule :: FillRule Source #

## Subwindow modes

type SubWindowMode = CInt Source #

clipByChildren :: SubWindowMode Source #

includeInferiors :: SubWindowMode Source #

## Coordinate modes

type CoordinateMode = CInt Source #

coordModeOrigin :: CoordinateMode Source #

coordModePrevious :: CoordinateMode Source #

## Polygon shapes

type PolygonShape = CInt Source #

complex :: PolygonShape Source #

nonconvex :: PolygonShape Source #

convex :: PolygonShape Source #

## Arc modes

type ArcMode = CInt Source #

arcChord :: ArcMode Source #

arcPieSlice :: ArcMode Source #

## GC masks

type GCMask = CInt Source #

gCFunction :: GCMask Source #

gCPlaneMask :: GCMask Source #

gCForeground :: GCMask Source #

gCBackground :: GCMask Source #

gCLineWidth :: GCMask Source #

gCLineStyle :: GCMask Source #

gCCapStyle :: GCMask Source #

gCJoinStyle :: GCMask Source #

gCFillStyle :: GCMask Source #

gCFillRule :: GCMask Source #

gCTile :: GCMask Source #

gCStipple :: GCMask Source #

gCTileStipXOrigin :: GCMask Source #

gCTileStipYOrigin :: GCMask Source #

gCFont :: GCMask Source #

gCSubwindowMode :: GCMask Source #

gCGraphicsExposures :: GCMask Source #

gCClipXOrigin :: GCMask Source #

gCClipYOrigin :: GCMask Source #

gCClipMask :: GCMask Source #

gCDashOffset :: GCMask Source #

gCDashList :: GCMask Source #

gCArcMode :: GCMask Source #

gCLastBit :: GCMask Source #

## Circulation direction

type CirculationDirection = CInt Source #

raiseLowest :: CirculationDirection Source #

lowerHighest :: CirculationDirection Source #

## Byte order

type ByteOrder = CInt Source #

lSBFirst :: ByteOrder Source #

mSBFirst :: ByteOrder Source #

## ColormapAlloc

type ColormapAlloc = CInt Source #

allocNone :: ColormapAlloc Source #

allocAll :: ColormapAlloc Source #

## Mapping requests

type MappingRequest = CInt Source #

mappingModifier :: MappingRequest Source #

mappingKeyboard :: MappingRequest Source #

mappingPointer :: MappingRequest Source #

## ChangeSaveSetMode

type ChangeSaveSetMode = CInt Source #

setModeInsert :: ChangeSaveSetMode Source #

setModeDelete :: ChangeSaveSetMode Source #

## Bit gravity

type BitGravity = CInt Source #

forgetGravity :: BitGravity Source #

northWestGravity :: BitGravity Source #

northGravity :: BitGravity Source #

northEastGravity :: BitGravity Source #

westGravity :: BitGravity Source #

centerGravity :: BitGravity Source #

eastGravity :: BitGravity Source #

southWestGravity :: BitGravity Source #

southGravity :: BitGravity Source #

southEastGravity :: BitGravity Source #

staticGravity :: BitGravity Source #

## Window gravity

type WindowGravity = CInt Source #

unmapGravity :: WindowGravity Source #

## Backing store

type BackingStore = CInt Source #

notUseful :: BackingStore Source #

whenMapped :: BackingStore Source #

always :: BackingStore Source #

doRed :: Word8 Source #

doGreen :: Word8 Source #

doBlue :: Word8 Source #

## Font direction

type FontDirection = CInt Source #

fontLeftToRight :: FontDirection Source #

fontRightToLeft :: FontDirection Source #

## Image format

type ImageFormat = CInt Source #

xyBitmap :: ImageFormat Source #

xyPixmap :: ImageFormat Source #

zPixmap :: ImageFormat Source #

## Reflection and Rotation

type Rotation = Word16 Source #

type Reflection = Word16 Source #

xRR_Rotate_0 :: Rotation Source #

xRR_Rotate_90 :: Rotation Source #

xRR_Rotate_180 :: Rotation Source #

xRR_Rotate_270 :: Rotation Source #

xRR_Reflect_X :: Reflection Source #

xRR_Reflect_Y :: Reflection Source #

xRR_Connected :: Connection Source #

xRR_Disconnected :: Connection Source #

xRR_UnknownConnection :: Connection Source #