Copyright | (c) Don Stewart |
---|---|
License | BSD3 |
Maintainer | Don Stewart <dons@galois.com> |
Stability | provisional |
Portability | |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
XMonad
Description
Synopsis
- module XMonad.Main
- module XMonad.Core
- module XMonad.Config
- module XMonad.Layout
- module XMonad.ManageHook
- module XMonad.Operations
- type XRRModeFlags = Word64
- type RRMode = Word64
- type RRCrtc = Word64
- type RROutput = Word64
- type Connection = Word16
- type SubpixelOrder = Word16
- type SizeID = Word16
- type Reflection = Word16
- type Rotation = Word16
- type ImageFormat = CInt
- type FontDirection = CInt
- type BackingStore = CInt
- type WindowGravity = CInt
- type BitGravity = CInt
- type ChangeSaveSetMode = CInt
- type MappingRequest = CInt
- type ColormapAlloc = CInt
- type ByteOrder = CInt
- type CirculationDirection = CInt
- type GCMask = CInt
- type ArcMode = CInt
- type PolygonShape = CInt
- type CoordinateMode = CInt
- type SubWindowMode = CInt
- type FillRule = CInt
- type FillStyle = CInt
- type JoinStyle = CInt
- type CapStyle = CInt
- type LineStyle = CInt
- type GXFunction = CInt
- type QueryBestSizeClass = CInt
- type CloseDownMode = CInt
- type AttributeMask = Mask
- type WindowClass = CInt
- type Status = CInt
- type ErrorCode = CInt
- type FocusMode = CInt
- type AllowEvents = CInt
- type GrabStatus = CInt
- type GrabMode = CInt
- type ColormapNotification = CInt
- type PropertyNotification = CInt
- type Protocol = CInt
- type Place = CInt
- type Visibility = CInt
- type NotifyDetail = CInt
- type NotifyMode = CInt
- type Button = Word32
- type ButtonMask = Modifier
- type KeyMask = Modifier
- type Modifier = CUInt
- type EventType = Word32
- type EventMask = Mask
- type KeySym = XID
- type KeyCode = Word8
- type GContext = XID
- type Colormap = XID
- type Cursor = XID
- type Pixmap = XID
- type Font = XID
- type Drawable = XID
- type Window = XID
- type Time = Word64
- type VisualID = Word64
- type Atom = Word64
- type Mask = Word64
- type XID = Word64
- data Color = Color {
- color_pixel :: Pixel
- color_red :: Word16
- color_green :: Word16
- color_blue :: Word16
- color_flags :: Word8
- data Segment = Segment {}
- data Arc = Arc {
- arc_x :: Position
- arc_y :: Position
- arc_width :: Dimension
- arc_height :: Dimension
- arc_angle1 :: Angle
- arc_angle2 :: Angle
- data Rectangle = Rectangle {
- rect_x :: !Position
- rect_y :: !Position
- rect_width :: !Dimension
- rect_height :: !Dimension
- data Point = Point {}
- type Buffer = CInt
- type ScreenNumber = Word32
- type Angle = CInt
- type Dimension = Word32
- type Position = Int32
- type Pixel = Word64
- data Image
- data VisualInfo = VisualInfo {}
- data SetWindowAttributes
- data GC
- data Visual
- data Screen
- newtype Display = Display (Ptr Display)
- type RectInRegionResult = CInt
- data Region
- type CharStruct = (CInt, CInt, CInt, CInt, CInt)
- data FontStruct
- type Glyph = Word16
- type XConfigureEvent = (Position, Position, Dimension, Dimension)
- type XMappingEvent = (MappingRequest, KeyCode, CInt)
- type XExposeEvent = (Position, Position, Dimension, Dimension, CInt)
- type XMotionEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, NotifyMode, Bool)
- type XButtonEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, Button, Bool)
- type XKeyEventPtr = Ptr XKeyEvent
- type XKeyEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, KeyCode, Bool)
- type XEventPtr = Ptr XEvent
- newtype XEvent = XEvent XEventPtr
- type QueuedMode = CInt
- type VisualInfoMask = CLong
- type ScreenSaverMode = CInt
- type PreferBlankingMode = CInt
- type AllowExposuresMode = CInt
- 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
- 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
- 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
- shiftMapIndex :: Modifier
- lockMapIndex :: Modifier
- controlMapIndex :: Modifier
- mod1MapIndex :: Modifier
- mod2MapIndex :: Modifier
- mod3MapIndex :: Modifier
- mod4MapIndex :: Modifier
- mod5MapIndex :: Modifier
- anyModifier :: Modifier
- noModMask :: KeyMask
- shiftMask :: KeyMask
- lockMask :: KeyMask
- controlMask :: KeyMask
- mod1Mask :: KeyMask
- mod2Mask :: KeyMask
- mod3Mask :: KeyMask
- mod4Mask :: KeyMask
- mod5Mask :: KeyMask
- button1Mask :: ButtonMask
- button2Mask :: ButtonMask
- button3Mask :: ButtonMask
- button4Mask :: ButtonMask
- button5Mask :: ButtonMask
- button1 :: Button
- button2 :: Button
- button3 :: Button
- button4 :: Button
- button5 :: Button
- notifyNormal :: NotifyMode
- notifyGrab :: NotifyMode
- notifyUngrab :: NotifyMode
- notifyWhileGrabbed :: NotifyMode
- notifyHint :: NotifyMode
- notifyAncestor :: NotifyDetail
- notifyVirtual :: NotifyDetail
- notifyInferior :: NotifyDetail
- notifyNonlinear :: NotifyDetail
- notifyNonlinearVirtual :: NotifyDetail
- notifyPointer :: NotifyDetail
- notifyPointerRoot :: NotifyDetail
- notifyDetailNone :: NotifyDetail
- visibilityUnobscured :: Visibility
- visibilityPartiallyObscured :: Visibility
- visibilityFullyObscured :: Visibility
- placeOnTop :: Place
- placeOnBottom :: Place
- familyInternet :: Protocol
- familyDECnet :: Protocol
- familyChaos :: Protocol
- propertyNewValue :: PropertyNotification
- propertyDelete :: PropertyNotification
- colormapUninstalled :: ColormapNotification
- colormapInstalled :: ColormapNotification
- grabModeSync :: GrabMode
- grabModeAsync :: GrabMode
- grabSuccess :: GrabStatus
- alreadyGrabbed :: GrabStatus
- grabInvalidTime :: GrabStatus
- grabNotViewable :: GrabStatus
- grabFrozen :: GrabStatus
- asyncPointer :: AllowEvents
- syncPointer :: AllowEvents
- replayPointer :: AllowEvents
- asyncKeyboard :: AllowEvents
- syncKeyboard :: AllowEvents
- replayKeyboard :: AllowEvents
- asyncBoth :: AllowEvents
- syncBoth :: AllowEvents
- revertToNone :: FocusMode
- revertToPointerRoot :: FocusMode
- revertToParent :: FocusMode
- 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
- throwIfZero :: String -> IO Status -> IO ()
- copyFromParent :: WindowClass
- inputOutput :: WindowClass
- inputOnly :: WindowClass
- 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
- cWX :: AttributeMask
- cWY :: AttributeMask
- cWWidth :: AttributeMask
- cWHeight :: AttributeMask
- destroyAll :: CloseDownMode
- retainPermanent :: CloseDownMode
- retainTemporary :: CloseDownMode
- cursorShape :: QueryBestSizeClass
- tileShape :: QueryBestSizeClass
- stippleShape :: QueryBestSizeClass
- 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
- lineSolid :: LineStyle
- lineOnOffDash :: LineStyle
- lineDoubleDash :: LineStyle
- capNotLast :: CapStyle
- capButt :: CapStyle
- capRound :: CapStyle
- capProjecting :: CapStyle
- joinMiter :: JoinStyle
- joinRound :: JoinStyle
- joinBevel :: JoinStyle
- fillSolid :: FillStyle
- fillTiled :: FillStyle
- fillStippled :: FillStyle
- fillOpaqueStippled :: FillStyle
- evenOddRule :: FillRule
- windingRule :: FillRule
- clipByChildren :: SubWindowMode
- includeInferiors :: SubWindowMode
- coordModeOrigin :: CoordinateMode
- coordModePrevious :: CoordinateMode
- complex :: PolygonShape
- nonconvex :: PolygonShape
- convex :: PolygonShape
- arcChord :: ArcMode
- arcPieSlice :: ArcMode
- 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
- raiseLowest :: CirculationDirection
- lowerHighest :: CirculationDirection
- lSBFirst :: ByteOrder
- mSBFirst :: ByteOrder
- allocNone :: ColormapAlloc
- allocAll :: ColormapAlloc
- mappingModifier :: MappingRequest
- mappingKeyboard :: MappingRequest
- mappingPointer :: MappingRequest
- setModeInsert :: ChangeSaveSetMode
- setModeDelete :: ChangeSaveSetMode
- forgetGravity :: BitGravity
- northWestGravity :: BitGravity
- northGravity :: BitGravity
- northEastGravity :: BitGravity
- westGravity :: BitGravity
- centerGravity :: BitGravity
- eastGravity :: BitGravity
- southWestGravity :: BitGravity
- southGravity :: BitGravity
- southEastGravity :: BitGravity
- staticGravity :: BitGravity
- unmapGravity :: WindowGravity
- notUseful :: BackingStore
- whenMapped :: BackingStore
- always :: BackingStore
- doRed :: Word8
- doGreen :: Word8
- doBlue :: Word8
- fontLeftToRight :: FontDirection
- fontRightToLeft :: FontDirection
- xyBitmap :: ImageFormat
- xyPixmap :: ImageFormat
- zPixmap :: ImageFormat
- 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
- screenNumberOfScreen :: Screen -> ScreenNumber
- planesOfScreen :: Screen -> CInt
- heightMMOfScreen :: Screen -> Dimension
- heightOfScreen :: Screen -> Dimension
- widthMMOfScreen :: Screen -> Dimension
- widthOfScreen :: Screen -> Dimension
- rootWindowOfScreen :: Screen -> Window
- maxCmapsOfScreen :: Screen -> CInt
- minCmapsOfScreen :: Screen -> CInt
- eventMaskOfScreen :: Screen -> EventMask
- displayOfScreen :: Screen -> Display
- doesSaveUnders :: Screen -> Bool
- doesBackingStore :: Screen -> Bool
- defaultVisualOfScreen :: Screen -> Visual
- defaultGCOfScreen :: Screen -> GC
- defaultDepthOfScreen :: Screen -> CInt
- defaultColormapOfScreen :: Screen -> Colormap
- cellsOfScreen :: Screen -> CInt
- whitePixelOfScreen :: Screen -> Pixel
- blackPixelOfScreen :: Screen -> Pixel
- rectangleOut :: RectInRegionResult
- rectangleIn :: RectInRegionResult
- rectanglePart :: RectInRegionResult
- createRegion :: IO Region
- polygonRegion :: [Point] -> FillRule -> IO Region
- intersectRegion :: Region -> Region -> Region -> IO CInt
- subtractRegion :: Region -> Region -> Region -> IO CInt
- unionRectWithRegion :: Rectangle -> Region -> Region -> IO CInt
- unionRegion :: Region -> Region -> Region -> IO CInt
- xorRegion :: Region -> Region -> Region -> IO CInt
- emptyRegion :: Region -> IO Bool
- equalRegion :: Region -> Region -> IO Bool
- pointInRegion :: Region -> Point -> IO Bool
- rectInRegion :: Region -> Rectangle -> IO RectInRegionResult
- clipBox :: Region -> IO (Rectangle, CInt)
- offsetRegion :: Region -> Point -> IO CInt
- shrinkRegion :: Region -> Point -> IO CInt
- setRegion :: Display -> GC -> Region -> IO CInt
- xGetPixel :: Image -> CInt -> CInt -> IO CULong
- destroyImage :: Image -> IO ()
- putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO ()
- createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image
- getImage :: Display -> Drawable -> CInt -> CInt -> CUInt -> CUInt -> CULong -> ImageFormat -> IO Image
- getPixel :: Image -> CInt -> CInt -> CULong
- freeFont :: Display -> FontStruct -> IO ()
- queryFont :: Display -> Font -> IO FontStruct
- fontFromGC :: Display -> GC -> IO Font
- loadQueryFont :: Display -> String -> IO FontStruct
- fontFromFontStruct :: FontStruct -> Font
- ascentFromFontStruct :: FontStruct -> Int32
- descentFromFontStruct :: FontStruct -> Int32
- textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct)
- textWidth :: FontStruct -> String -> Int32
- xC_X_cursor :: Glyph
- xC_arrow :: Glyph
- xC_based_arrow_down :: Glyph
- xC_based_arrow_up :: Glyph
- xC_boat :: Glyph
- xC_bogosity :: Glyph
- xC_bottom_left_corner :: Glyph
- xC_bottom_right_corner :: Glyph
- xC_bottom_side :: Glyph
- xC_bottom_tee :: Glyph
- xC_box_spiral :: Glyph
- xC_center_ptr :: Glyph
- xC_circle :: Glyph
- xC_clock :: Glyph
- xC_coffee_mug :: Glyph
- xC_cross :: Glyph
- xC_cross_reverse :: Glyph
- xC_crosshair :: Glyph
- xC_diamond_cross :: Glyph
- xC_dot :: Glyph
- xC_dotbox :: Glyph
- xC_double_arrow :: Glyph
- xC_draft_large :: Glyph
- xC_draft_small :: Glyph
- xC_draped_box :: Glyph
- xC_exchange :: Glyph
- xC_fleur :: Glyph
- xC_gobbler :: Glyph
- xC_gumby :: Glyph
- xC_hand1 :: Glyph
- xC_hand2 :: Glyph
- xC_heart :: Glyph
- xC_icon :: Glyph
- xC_iron_cross :: Glyph
- xC_left_ptr :: Glyph
- xC_left_side :: Glyph
- xC_left_tee :: Glyph
- xC_leftbutton :: Glyph
- xC_ll_angle :: Glyph
- xC_lr_angle :: Glyph
- xC_man :: Glyph
- xC_mouse :: Glyph
- xC_pencil :: Glyph
- xC_pirate :: Glyph
- xC_plus :: Glyph
- xC_question_arrow :: Glyph
- xC_right_ptr :: Glyph
- xC_right_side :: Glyph
- xC_right_tee :: Glyph
- xC_rightbutton :: Glyph
- xC_rtl_logo :: Glyph
- xC_sailboat :: Glyph
- xC_sb_down_arrow :: Glyph
- xC_sb_h_double_arrow :: Glyph
- xC_sb_left_arrow :: Glyph
- xC_sb_right_arrow :: Glyph
- xC_sb_up_arrow :: Glyph
- xC_sb_v_double_arrow :: Glyph
- xC_shuttle :: Glyph
- xC_sizing :: Glyph
- xC_spider :: Glyph
- xC_spraycan :: Glyph
- xC_star :: Glyph
- xC_target :: Glyph
- xC_tcross :: Glyph
- xC_top_left_arrow :: Glyph
- xC_top_left_corner :: Glyph
- xC_top_right_corner :: Glyph
- xC_top_side :: Glyph
- xC_top_tee :: Glyph
- xC_trek :: Glyph
- xC_ul_angle :: Glyph
- xC_umbrella :: Glyph
- xC_ur_angle :: Glyph
- xC_watch :: Glyph
- xC_xterm :: Glyph
- closeDisplay :: Display -> IO ()
- noOp :: Display -> IO ()
- qLength :: Display -> IO CInt
- rootWindow :: Display -> ScreenNumber -> IO Window
- defaultRootWindow :: Display -> Window
- screenOfDisplay :: Display -> ScreenNumber -> Screen
- displayPlanes :: Display -> ScreenNumber -> CInt
- displayCells :: Display -> ScreenNumber -> CInt
- defaultVisual :: Display -> ScreenNumber -> Visual
- screenCount :: Display -> CInt
- protocolVersion :: Display -> CInt
- protocolRevision :: Display -> CInt
- imageByteOrder :: Display -> CInt
- displayMotionBufferSize :: Display -> CInt
- maxRequestSize :: Display -> CInt
- displayWidthMM :: Display -> ScreenNumber -> CInt
- displayWidth :: Display -> ScreenNumber -> CInt
- displayHeightMM :: Display -> ScreenNumber -> CInt
- displayHeight :: Display -> ScreenNumber -> CInt
- defaultScreenOfDisplay :: Display -> Screen
- defaultScreen :: Display -> ScreenNumber
- defaultDepth :: Display -> ScreenNumber -> CInt
- defaultGC :: Display -> ScreenNumber -> GC
- defaultColormap :: Display -> ScreenNumber -> Colormap
- connectionNumber :: Display -> CInt
- whitePixel :: Display -> ScreenNumber -> Pixel
- blackPixel :: Display -> ScreenNumber -> Pixel
- allPlanes_aux :: Pixel
- resourceManagerString :: Display -> String
- screenResourceString :: Screen -> String
- displayString :: Display -> String
- serverVendor :: Display -> String
- openDisplay :: String -> IO Display
- peekEvent :: Display -> XEventPtr -> IO ()
- putBackEvent :: Display -> XEventPtr -> IO ()
- checkTypedWindowEvent :: Display -> Window -> EventType -> XEventPtr -> IO Bool
- checkTypedEvent :: Display -> EventType -> XEventPtr -> IO Bool
- checkMaskEvent :: Display -> EventMask -> XEventPtr -> IO Bool
- maskEvent :: Display -> EventMask -> XEventPtr -> IO ()
- checkWindowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO Bool
- windowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO ()
- selectInput :: Display -> Window -> EventMask -> IO ()
- allowEvents :: Display -> AllowEvents -> Time -> IO ()
- nextEvent :: Display -> XEventPtr -> IO ()
- eventsQueued :: Display -> QueuedMode -> IO CInt
- pending :: Display -> IO CInt
- sync :: Display -> Bool -> IO ()
- flush :: Display -> IO ()
- queuedAlready :: QueuedMode
- queuedAfterFlush :: QueuedMode
- queuedAfterReading :: QueuedMode
- allocaXEvent :: (XEventPtr -> IO a) -> IO a
- get_EventType :: XEventPtr -> IO EventType
- get_Window :: XEventPtr -> IO Window
- get_KeyEvent :: XEventPtr -> IO XKeyEvent
- asKeyEvent :: XEventPtr -> XKeyEventPtr
- get_ButtonEvent :: XEventPtr -> IO XButtonEvent
- get_MotionEvent :: XEventPtr -> IO XMotionEvent
- get_ExposeEvent :: XEventPtr -> IO XExposeEvent
- get_ConfigureEvent :: XEventPtr -> IO XConfigureEvent
- waitForEvent :: Display -> Word32 -> IO Bool
- gettimeofday_in_milliseconds :: IO Integer
- sendEvent :: Display -> Window -> Bool -> EventMask -> XEventPtr -> IO ()
- copyGC :: Display -> GC -> Mask -> GC -> IO ()
- flushGC :: Display -> GC -> IO ()
- freeGC :: Display -> GC -> IO ()
- gContextFromGC :: GC -> GContext
- setTile :: Display -> GC -> Pixmap -> IO ()
- setTSOrigin :: Display -> GC -> Position -> Position -> IO ()
- setSubwindowMode :: Display -> GC -> SubWindowMode -> IO ()
- setStipple :: Display -> GC -> Pixmap -> IO ()
- setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO ()
- setPlaneMask :: Display -> GC -> Pixel -> IO ()
- setLineAttributes :: Display -> GC -> CInt -> LineStyle -> CapStyle -> JoinStyle -> IO ()
- setFont :: Display -> GC -> Font -> IO ()
- setFillStyle :: Display -> GC -> FillStyle -> IO ()
- setFillRule :: Display -> GC -> FillRule -> IO ()
- setClipOrigin :: Display -> GC -> Position -> Position -> IO ()
- setClipMask :: Display -> GC -> Pixmap -> IO ()
- setGraphicsExposures :: Display -> GC -> Bool -> IO ()
- setFunction :: Display -> GC -> GXFunction -> IO ()
- setForeground :: Display -> GC -> Pixel -> IO ()
- setBackground :: Display -> GC -> Pixel -> IO ()
- setArcMode :: Display -> GC -> ArcMode -> IO ()
- setDashes :: Display -> GC -> CInt -> String -> CInt -> IO ()
- createGC :: Display -> Drawable -> IO GC
- freeColormap :: Display -> Colormap -> IO ()
- createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap
- copyColormapAndFree :: Display -> Colormap -> IO Colormap
- uninstallColormap :: Display -> Colormap -> IO ()
- installColormap :: Display -> Colormap -> IO ()
- lookupColor :: Display -> Colormap -> String -> IO (Color, Color)
- allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color)
- allocColor :: Display -> Colormap -> Color -> IO Color
- parseColor :: Display -> Colormap -> String -> IO Color
- freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO ()
- storeColor :: Display -> Colormap -> Color -> IO ()
- queryColor :: Display -> Colormap -> Color -> IO Color
- queryColors :: Display -> Colormap -> [Color] -> IO [Color]
- internAtom :: Display -> String -> Bool -> IO Atom
- getAtomName :: Display -> Atom -> IO (Maybe String)
- getAtomNames :: Display -> [Atom] -> IO [String]
- pRIMARY :: Atom
- sECONDARY :: Atom
- aRC :: Atom
- aTOM :: Atom
- bITMAP :: Atom
- cARDINAL :: Atom
- cOLORMAP :: Atom
- cURSOR :: Atom
- cUT_BUFFER0 :: Atom
- cUT_BUFFER1 :: Atom
- cUT_BUFFER2 :: Atom
- cUT_BUFFER3 :: Atom
- cUT_BUFFER4 :: Atom
- cUT_BUFFER5 :: Atom
- cUT_BUFFER6 :: Atom
- cUT_BUFFER7 :: Atom
- dRAWABLE :: Atom
- fONT :: Atom
- iNTEGER :: Atom
- pIXMAP :: Atom
- pOINT :: Atom
- rECTANGLE :: Atom
- rESOURCE_MANAGER :: Atom
- rGB_COLOR_MAP :: Atom
- rGB_BEST_MAP :: Atom
- rGB_BLUE_MAP :: Atom
- rGB_DEFAULT_MAP :: Atom
- rGB_GRAY_MAP :: Atom
- rGB_GREEN_MAP :: Atom
- rGB_RED_MAP :: Atom
- sTRING :: Atom
- vISUALID :: Atom
- wINDOW :: Atom
- wM_COMMAND :: Atom
- wM_HINTS :: Atom
- wM_CLIENT_MACHINE :: Atom
- wM_ICON_NAME :: Atom
- wM_ICON_SIZE :: Atom
- wM_NAME :: Atom
- wM_NORMAL_HINTS :: Atom
- wM_SIZE_HINTS :: Atom
- wM_ZOOM_HINTS :: Atom
- mIN_SPACE :: Atom
- nORM_SPACE :: Atom
- mAX_SPACE :: Atom
- eND_SPACE :: Atom
- sUPERSCRIPT_X :: Atom
- sUPERSCRIPT_Y :: Atom
- sUBSCRIPT_X :: Atom
- sUBSCRIPT_Y :: Atom
- uNDERLINE_POSITION :: Atom
- uNDERLINE_THICKNESS :: Atom
- sTRIKEOUT_ASCENT :: Atom
- sTRIKEOUT_DESCENT :: Atom
- iTALIC_ANGLE :: Atom
- x_HEIGHT :: Atom
- qUAD_WIDTH :: Atom
- wEIGHT :: Atom
- pOINT_SIZE :: Atom
- rESOLUTION :: Atom
- cOPYRIGHT :: Atom
- nOTICE :: Atom
- fONT_NAME :: Atom
- fAMILY_NAME :: Atom
- fULL_NAME :: Atom
- cAP_HEIGHT :: Atom
- wM_CLASS :: Atom
- wM_TRANSIENT_FOR :: Atom
- lAST_PREDEFINED :: Atom
- copyPlane :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> Pixel -> IO ()
- copyArea :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO ()
- fillArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO ()
- fillRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO ()
- drawArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO ()
- drawRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO ()
- drawLine :: Display -> Drawable -> GC -> Position -> Position -> Position -> Position -> IO ()
- drawPoint :: Display -> Drawable -> GC -> Position -> Position -> IO ()
- freeCursor :: Display -> Font -> IO ()
- createFontCursor :: Display -> Glyph -> IO Cursor
- undefineCursor :: Display -> Window -> IO ()
- defineCursor :: Display -> Window -> Cursor -> IO ()
- keysymToKeycode :: Display -> KeySym -> IO KeyCode
- keycodeToKeysym :: Display -> KeyCode -> CInt -> IO KeySym
- lookupKeysym :: XKeyEventPtr -> CInt -> IO KeySym
- bitmapPad :: Display -> CInt
- bitmapUnit :: Display -> CInt
- bitmapBitOrder :: Display -> ByteOrder
- freePixmap :: Display -> Pixmap -> IO ()
- createPixmap :: Display -> Drawable -> Dimension -> Dimension -> CInt -> IO Pixmap
- unlockDisplay :: Display -> IO ()
- lockDisplay :: Display -> IO ()
- initThreads :: IO Status
- visualIDFromVisual :: Visual -> IO VisualID
- warpPointer :: Display -> Window -> Window -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO ()
- forceScreenSaver :: Display -> ScreenSaverMode -> IO ()
- resetScreenSaver :: Display -> IO ()
- activateScreenSaver :: Display -> IO ()
- setScreenSaver :: Display -> CInt -> CInt -> PreferBlankingMode -> AllowExposuresMode -> IO ()
- supportsLocale :: IO Bool
- ungrabServer :: Display -> IO ()
- grabServer :: Display -> IO ()
- ungrabKeyboard :: Display -> Time -> IO ()
- grabKeyboard :: Display -> Window -> Bool -> GrabMode -> GrabMode -> Time -> IO GrabStatus
- ungrabKey :: Display -> KeyCode -> KeyMask -> Window -> IO ()
- grabKey :: Display -> KeyCode -> KeyMask -> Window -> Bool -> GrabMode -> GrabMode -> IO ()
- ungrabPointer :: Display -> Time -> IO ()
- grabPointer :: Display -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> Time -> IO GrabStatus
- ungrabButton :: Display -> Button -> ButtonMask -> Window -> IO ()
- grabButton :: Display -> Button -> ButtonMask -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> IO ()
- setInputFocus :: Display -> Window -> FocusMode -> Time -> IO ()
- lastKnownRequestProcessed :: Display -> IO CInt
- setCloseDownMode :: Display -> CloseDownMode -> IO ()
- bell :: Display -> CInt -> IO ()
- autoRepeatOn :: Display -> IO ()
- autoRepeatOff :: Display -> IO ()
- rmInitialize :: IO ()
- getInputFocus :: Display -> IO (Window, FocusMode)
- queryBestTile :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryBestStipple :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryBestCursor :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryBestSize :: Display -> QueryBestSizeClass -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryPointer :: Display -> Window -> IO (Bool, Window, Window, CInt, CInt, CInt, CInt, Modifier)
- displayName :: String -> String
- setDefaultErrorHandler :: IO ()
- geometry :: Display -> CInt -> String -> String -> Dimension -> Dimension -> Dimension -> CInt -> CInt -> IO (CInt, Position, Position, Dimension, Dimension)
- getGeometry :: Display -> Drawable -> IO (Window, Position, Position, Dimension, Dimension, Dimension, CInt)
- setLocaleModifiers :: String -> IO String
- dontAllowExposures :: AllowExposuresMode
- allowExposures :: AllowExposuresMode
- defaultExposures :: AllowExposuresMode
- dontPreferBlanking :: PreferBlankingMode
- preferBlanking :: PreferBlankingMode
- defaultBlanking :: PreferBlankingMode
- screenSaverActive :: ScreenSaverMode
- screenSaverReset :: ScreenSaverMode
- getScreenSaver :: Display -> IO (CInt, CInt, PreferBlankingMode, AllowExposuresMode)
- getPointerControl :: Display -> IO (CInt, CInt, CInt)
- visualNoMask :: VisualInfoMask
- visualIDMask :: VisualInfoMask
- visualScreenMask :: VisualInfoMask
- visualDepthMask :: VisualInfoMask
- visualClassMask :: VisualInfoMask
- visualRedMaskMask :: VisualInfoMask
- visualGreenMaskMask :: VisualInfoMask
- visualBlueMaskMask :: VisualInfoMask
- visualColormapSizeMask :: VisualInfoMask
- visualBitsPerRGBMask :: VisualInfoMask
- visualAllMask :: VisualInfoMask
- getVisualInfo :: Display -> VisualInfoMask -> VisualInfo -> IO [VisualInfo]
- matchVisualInfo :: Display -> ScreenNumber -> CInt -> CInt -> IO (Maybe VisualInfo)
- readBitmapFile :: Display -> Drawable -> String -> IO (Either String (Dimension, Dimension, Pixmap, Maybe CInt, Maybe CInt))
- displayKeycodes :: Display -> (CInt, CInt)
- keysymToString :: KeySym -> String
- stringToKeysym :: String -> KeySym
- noSymbol :: KeySym
- lookupString :: XKeyEventPtr -> IO (Maybe KeySym, String)
- getIconName :: Display -> Window -> IO String
- setIconName :: Display -> Window -> String -> IO ()
- createPixmapCursor :: Display -> Pixmap -> Pixmap -> Color -> Color -> Dimension -> Dimension -> IO Cursor
- createGlyphCursor :: Display -> Font -> Font -> Glyph -> Glyph -> Color -> Color -> IO Cursor
- recolorCursor :: Display -> Cursor -> Color -> Color -> IO ()
- setWMProtocols :: Display -> Window -> [Atom] -> IO ()
- allocaSetWindowAttributes :: (Ptr SetWindowAttributes -> IO a) -> IO a
- set_background_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO ()
- set_background_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_border_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO ()
- set_border_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_bit_gravity :: Ptr SetWindowAttributes -> BitGravity -> IO ()
- set_win_gravity :: Ptr SetWindowAttributes -> WindowGravity -> IO ()
- set_backing_store :: Ptr SetWindowAttributes -> BackingStore -> IO ()
- set_backing_planes :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_backing_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_save_under :: Ptr SetWindowAttributes -> Bool -> IO ()
- set_event_mask :: Ptr SetWindowAttributes -> EventMask -> IO ()
- set_do_not_propagate_mask :: Ptr SetWindowAttributes -> EventMask -> IO ()
- set_override_redirect :: Ptr SetWindowAttributes -> Bool -> IO ()
- set_colormap :: Ptr SetWindowAttributes -> Colormap -> IO ()
- set_cursor :: Ptr SetWindowAttributes -> Cursor -> IO ()
- drawPoints :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO ()
- drawLines :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO ()
- drawSegments :: Display -> Drawable -> GC -> [Segment] -> IO ()
- drawRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO ()
- drawArcs :: Display -> Drawable -> GC -> [Arc] -> IO ()
- fillRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO ()
- fillPolygon :: Display -> Drawable -> GC -> [Point] -> PolygonShape -> CoordinateMode -> IO ()
- fillArcs :: Display -> Drawable -> GC -> [Arc] -> IO ()
- drawString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO ()
- drawImageString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO ()
- storeBuffer :: Display -> String -> CInt -> IO ()
- storeBytes :: Display -> String -> IO ()
- fetchBuffer :: Display -> CInt -> IO String
- fetchBytes :: Display -> IO String
- rotateBuffers :: Display -> CInt -> IO ()
- setTextProperty :: Display -> Window -> String -> Atom -> IO ()
- clearArea :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> Bool -> IO ()
- clearWindow :: Display -> Window -> IO ()
- changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO ()
- removeFromSaveSet :: Display -> Window -> IO ()
- addToSaveSet :: Display -> Window -> IO ()
- setWindowColormap :: Display -> Window -> Colormap -> IO ()
- setWindowBackgroundPixmap :: Display -> Window -> Pixmap -> IO ()
- setWindowBackground :: Display -> Window -> Pixel -> IO ()
- setWindowBorderWidth :: Display -> Window -> Dimension -> IO ()
- setWindowBorderPixmap :: Display -> Window -> Pixmap -> IO ()
- setWindowBorder :: Display -> Window -> Pixel -> IO ()
- destroySubwindows :: Display -> Window -> IO ()
- destroyWindow :: Display -> Window -> IO ()
- circulateSubwindows :: Display -> Window -> CirculationDirection -> IO ()
- circulateSubwindowsUp :: Display -> Window -> IO ()
- circulateSubwindowsDown :: Display -> Window -> IO ()
- raiseWindow :: Display -> Window -> IO ()
- lowerWindow :: Display -> Window -> IO ()
- mapWindow :: Display -> Window -> IO ()
- unmapSubwindows :: Display -> Window -> IO ()
- mapSubwindows :: Display -> Window -> IO ()
- reparentWindow :: Display -> Window -> Window -> Position -> Position -> IO ()
- moveWindow :: Display -> Window -> Position -> Position -> IO ()
- resizeWindow :: Display -> Window -> Dimension -> Dimension -> IO ()
- moveResizeWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> IO ()
- createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window
- createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window
- storeName :: Display -> Window -> String -> IO ()
- translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window)
- iconifyWindow :: Display -> Window -> ScreenNumber -> IO ()
- withdrawWindow :: Display -> Window -> ScreenNumber -> IO ()
- restackWindows :: Display -> [Window] -> IO ()
- module Graphics.X11.Xlib.Extras
- (.|.) :: Bits a => a -> a -> a
- class Monad m => MonadState s (m :: Type -> Type) | m -> s where
- gets :: MonadState s m => (s -> a) -> m a
- modify :: MonadState s m => (s -> s) -> m ()
- class Monad m => MonadReader r (m :: Type -> Type) | m -> r where
- asks :: MonadReader r m => (r -> a) -> m a
- class Monad m => MonadIO (m :: Type -> Type) where
Documentation
module XMonad.Main
module XMonad.Core
module XMonad.Config
module XMonad.Layout
module XMonad.ManageHook
module XMonad.Operations
type XRRModeFlags = Word64 Source #
type Connection = Word16 Source #
type SubpixelOrder = Word16 Source #
type Reflection = Word16 Source #
type ImageFormat = CInt Source #
type FontDirection = CInt Source #
type BackingStore = CInt Source #
type WindowGravity = CInt Source #
type BitGravity = CInt Source #
type ChangeSaveSetMode = CInt Source #
type MappingRequest = CInt Source #
type ColormapAlloc = CInt Source #
type CirculationDirection = CInt Source #
type PolygonShape = CInt Source #
type CoordinateMode = CInt Source #
type SubWindowMode = CInt Source #
type GXFunction = CInt Source #
type QueryBestSizeClass = CInt Source #
type CloseDownMode = CInt Source #
type AttributeMask = Mask Source #
type WindowClass = CInt Source #
type AllowEvents = CInt Source #
type GrabStatus = CInt Source #
type ColormapNotification = CInt Source #
type PropertyNotification = CInt Source #
Place of window relative to siblings (used in Circulation requests or events)
type Visibility = CInt Source #
type NotifyDetail = CInt Source #
type NotifyMode = CInt Source #
type ButtonMask = Modifier Source #
counterpart of an X11 XColor
structure
Constructors
Color | |
Fields
|
Instances
Data Color | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Color -> c Color Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Color Source # toConstr :: Color -> Constr Source # dataTypeOf :: Color -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Color) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Color) Source # gmapT :: (forall b. Data b => b -> b) -> Color -> Color Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Color -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Color -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Color -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Color -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Color -> m Color Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Color -> m Color Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Color -> m Color Source # | |
Storable Color | |
Defined in Graphics.X11.Xlib.Types Methods sizeOf :: Color -> Int Source # alignment :: Color -> Int Source # peekElemOff :: Ptr Color -> Int -> IO Color Source # pokeElemOff :: Ptr Color -> Int -> Color -> IO () Source # peekByteOff :: Ptr b -> Int -> IO Color Source # pokeByteOff :: Ptr b -> Int -> Color -> IO () Source # | |
Show Color | |
Eq Color | |
counterpart of an X11 XSegment
structure
Constructors
Segment | |
Instances
Data Segment | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Segment -> c Segment Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Segment Source # toConstr :: Segment -> Constr Source # dataTypeOf :: Segment -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Segment) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Segment) Source # gmapT :: (forall b. Data b => b -> b) -> Segment -> Segment Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Segment -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Segment -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Segment -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Segment -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Segment -> m Segment Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Segment -> m Segment Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Segment -> m Segment Source # | |
Storable Segment | |
Defined in Graphics.X11.Xlib.Types Methods sizeOf :: Segment -> Int Source # alignment :: Segment -> Int Source # peekElemOff :: Ptr Segment -> Int -> IO Segment Source # pokeElemOff :: Ptr Segment -> Int -> Segment -> IO () Source # peekByteOff :: Ptr b -> Int -> IO Segment Source # pokeByteOff :: Ptr b -> Int -> Segment -> IO () Source # | |
Show Segment | |
Eq Segment | |
counterpart of an X11 XArc
structure
Constructors
Arc | |
Fields
|
Instances
Storable Arc | |
Defined in Graphics.X11.Xlib.Types | |
Show Arc | |
Eq Arc | |
counterpart of an X11 XRectangle
structure
Constructors
Rectangle | |
Fields
|
Instances
Data Rectangle | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Rectangle -> c Rectangle Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Rectangle Source # toConstr :: Rectangle -> Constr Source # dataTypeOf :: Rectangle -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Rectangle) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Rectangle) Source # gmapT :: (forall b. Data b => b -> b) -> Rectangle -> Rectangle Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Rectangle -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Rectangle -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Rectangle -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Rectangle -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle Source # | |
Storable Rectangle | |
Defined in Graphics.X11.Xlib.Types Methods sizeOf :: Rectangle -> Int Source # alignment :: Rectangle -> Int Source # peekElemOff :: Ptr Rectangle -> Int -> IO Rectangle Source # pokeElemOff :: Ptr Rectangle -> Int -> Rectangle -> IO () Source # peekByteOff :: Ptr b -> Int -> IO Rectangle Source # pokeByteOff :: Ptr b -> Int -> Rectangle -> IO () Source # | |
Read Rectangle | |
Show Rectangle | |
Eq Rectangle | |
counterpart of an X11 XPoint
structure
Instances
Data Point | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Point -> c Point Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Point Source # toConstr :: Point -> Constr Source # dataTypeOf :: Point -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Point) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Point) Source # gmapT :: (forall b. Data b => b -> b) -> Point -> Point Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Point -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Point -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Point -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Point -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Point -> m Point Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Point -> m Point Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Point -> m Point Source # | |
Storable Point | |
Defined in Graphics.X11.Xlib.Types Methods sizeOf :: Point -> Int Source # alignment :: Point -> Int Source # peekElemOff :: Ptr Point -> Int -> IO Point Source # pokeElemOff :: Ptr Point -> Int -> Point -> IO () Source # peekByteOff :: Ptr b -> Int -> IO Point Source # pokeByteOff :: Ptr b -> Int -> Point -> IO () Source # | |
Show Point | |
Eq Point | |
type ScreenNumber = Word32 Source #
pointer to an X11 XImage
structure
Instances
Data Image | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Image -> c Image Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Image Source # toConstr :: Image -> Constr Source # dataTypeOf :: Image -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Image) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Image) Source # gmapT :: (forall b. Data b => b -> b) -> Image -> Image Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Image -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Image -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Image -> m Image Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image Source # | |
Show Image | |
Eq Image | |
Ord Image | |
Defined in Graphics.X11.Xlib.Types |
data VisualInfo Source #
counterpart of an X11 XVisualInfo
structure
Constructors
VisualInfo | |
Fields |
Instances
Storable VisualInfo | |
Defined in Graphics.X11.Xlib.Types Methods sizeOf :: VisualInfo -> Int Source # alignment :: VisualInfo -> Int Source # peekElemOff :: Ptr VisualInfo -> Int -> IO VisualInfo Source # pokeElemOff :: Ptr VisualInfo -> Int -> VisualInfo -> IO () Source # peekByteOff :: Ptr b -> Int -> IO VisualInfo Source # pokeByteOff :: Ptr b -> Int -> VisualInfo -> IO () Source # peek :: Ptr VisualInfo -> IO VisualInfo Source # poke :: Ptr VisualInfo -> VisualInfo -> IO () Source # | |
Show VisualInfo | |
Defined in Graphics.X11.Xlib.Types | |
Default VisualInfo | |
Defined in Graphics.X11.Xlib.Types Methods def :: VisualInfo Source # | |
Eq VisualInfo | |
Defined in Graphics.X11.Xlib.Types Methods (==) :: VisualInfo -> VisualInfo -> Bool Source # (/=) :: VisualInfo -> VisualInfo -> Bool Source # |
data SetWindowAttributes Source #
pointer to an X11 XSetWindowAttributes
structure
Instances
pointer to an X11 GC
structure
Instances
Data GC | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GC -> c GC Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GC Source # toConstr :: GC -> Constr Source # dataTypeOf :: GC -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GC) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GC) Source # gmapT :: (forall b. Data b => b -> b) -> GC -> GC Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GC -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GC -> r Source # gmapQ :: (forall d. Data d => d -> u) -> GC -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> GC -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> GC -> m GC Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GC -> m GC Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GC -> m GC Source # | |
Show GC | |
Eq GC | |
Ord GC | |
pointer to an X11 Visual
structure
Instances
Data Visual | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Visual -> c Visual Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Visual Source # toConstr :: Visual -> Constr Source # dataTypeOf :: Visual -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Visual) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Visual) Source # gmapT :: (forall b. Data b => b -> b) -> Visual -> Visual Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Visual -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Visual -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Visual -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Visual -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Visual -> m Visual Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Visual -> m Visual Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Visual -> m Visual Source # | |
Show Visual | |
Eq Visual | |
Ord Visual | |
pointer to an X11 Screen
structure
Instances
Data Screen | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Screen -> c Screen Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Screen Source # toConstr :: Screen -> Constr Source # dataTypeOf :: Screen -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Screen) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Screen) Source # gmapT :: (forall b. Data b => b -> b) -> Screen -> Screen Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Screen -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Screen -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Screen -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Screen -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Screen -> m Screen Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Screen -> m Screen Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Screen -> m Screen Source # | |
Show Screen | |
Eq Screen | |
Ord Screen | |
pointer to an X11 Display
structure
Instances
Data Display | |
Defined in Graphics.X11.Xlib.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Display -> c Display Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Display Source # toConstr :: Display -> Constr Source # dataTypeOf :: Display -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Display) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Display) Source # gmapT :: (forall b. Data b => b -> b) -> Display -> Display Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Display -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Display -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Display -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Display -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Display -> m Display Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Display -> m Display Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Display -> m Display Source # | |
Show Display | |
Eq Display | |
Ord Display | |
Defined in Graphics.X11.Xlib.Types |
type RectInRegionResult = CInt Source #
Instances
Data Region | |
Defined in Graphics.X11.Xlib.Region Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Region -> c Region Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Region Source # toConstr :: Region -> Constr Source # dataTypeOf :: Region -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Region) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Region) Source # gmapT :: (forall b. Data b => b -> b) -> Region -> Region Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Region -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Region -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Region -> m Region Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region Source # | |
Show Region | |
Eq Region | |
Ord Region | |
data FontStruct Source #
pointer to an X11 XFontStruct
structure
Instances
type XMappingEvent = (MappingRequest, KeyCode, CInt) Source #
type XMotionEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, NotifyMode, Bool) Source #
type XKeyEventPtr = Ptr XKeyEvent Source #
Instances
Data XEvent | |
Defined in Graphics.X11.Xlib.Event Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> XEvent -> c XEvent Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c XEvent Source # toConstr :: XEvent -> Constr Source # dataTypeOf :: XEvent -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c XEvent) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c XEvent) Source # gmapT :: (forall b. Data b => b -> b) -> XEvent -> XEvent Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> XEvent -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> XEvent -> r Source # gmapQ :: (forall d. Data d => d -> u) -> XEvent -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> XEvent -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> XEvent -> m XEvent Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> XEvent -> m XEvent Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> XEvent -> m XEvent Source # | |
Show XEvent | |
Eq XEvent | |
Ord XEvent | |
type QueuedMode = CInt Source #
type VisualInfoMask = CLong Source #
type ScreenSaverMode = CInt Source #
type PreferBlankingMode = CInt Source #
type AllowExposuresMode = CInt Source #
xK_Linefeed :: KeySym Source #
xK_Sys_Req :: KeySym Source #
xK_Page_Up :: KeySym Source #
xK_Execute :: KeySym Source #
xK_Num_Lock :: KeySym Source #
xK_KP_Space :: KeySym Source #
xK_KP_Enter :: KeySym Source #
xK_KP_Home :: KeySym Source #
xK_KP_Left :: KeySym Source #
xK_KP_Right :: KeySym Source #
xK_KP_Down :: KeySym Source #
xK_KP_Prior :: KeySym Source #
xK_KP_Next :: KeySym Source #
xK_KP_Begin :: KeySym Source #
xK_KP_Equal :: KeySym Source #
xK_Shift_L :: KeySym Source #
xK_Shift_R :: KeySym Source #
xK_Super_L :: KeySym Source #
xK_Super_R :: KeySym Source #
xK_Hyper_L :: KeySym Source #
xK_Hyper_R :: KeySym Source #
xK_quotedbl :: KeySym Source #
xK_percent :: KeySym Source #
xK_asterisk :: KeySym Source #
xK_greater :: KeySym Source #
xK_question :: KeySym Source #
xK_sterling :: KeySym Source #
xK_currency :: KeySym Source #
xK_section :: KeySym Source #
xK_notsign :: KeySym Source #
xK_cedilla :: KeySym Source #
xK_onehalf :: KeySym Source #
xK_Ccedilla :: KeySym Source #
xK_multiply :: KeySym Source #
xK_Ooblique :: KeySym Source #
xK_ccedilla :: KeySym Source #
xK_division :: KeySym Source #
placeOnTop :: Place Source #
Xlib functions with return values of type Status
return zero on
failure and nonzero on success.
cWX :: AttributeMask Source #
cWY :: AttributeMask Source #
gXclear :: GXFunction Source #
gXand :: GXFunction Source #
gXcopy :: GXFunction Source #
gXnoop :: GXFunction Source #
gXxor :: GXFunction Source #
gXor :: GXFunction Source #
gXnor :: GXFunction Source #
gXequiv :: GXFunction Source #
gXnand :: GXFunction Source #
gXset :: GXFunction Source #
gCFunction :: GCMask Source #
gCPlaneMask :: GCMask Source #
gCLineWidth :: GCMask Source #
gCLineStyle :: GCMask Source #
gCCapStyle :: GCMask Source #
gCJoinStyle :: GCMask Source #
gCFillStyle :: GCMask Source #
gCFillRule :: GCMask Source #
gCClipMask :: GCMask Source #
gCDashList :: GCMask Source #
screenNumberOfScreen :: Screen -> ScreenNumber Source #
interface to the X11 library function XScreenNumberOfScreen()
.
planesOfScreen :: Screen -> CInt Source #
interface to the X11 library function XPlanesOfScreen()
.
heightMMOfScreen :: Screen -> Dimension Source #
interface to the X11 library function XHeightMMOfScreen()
.
heightOfScreen :: Screen -> Dimension Source #
interface to the X11 library function XHeightOfScreen()
.
widthMMOfScreen :: Screen -> Dimension Source #
interface to the X11 library function XWidthMMOfScreen()
.
widthOfScreen :: Screen -> Dimension Source #
interface to the X11 library function XWidthOfScreen()
.
rootWindowOfScreen :: Screen -> Window Source #
interface to the X11 library function XRootWindowOfScreen()
.
maxCmapsOfScreen :: Screen -> CInt Source #
interface to the X11 library function XMaxCmapsOfScreen()
.
minCmapsOfScreen :: Screen -> CInt Source #
interface to the X11 library function XMinCmapsOfScreen()
.
eventMaskOfScreen :: Screen -> EventMask Source #
interface to the X11 library function XEventMaskOfScreen()
.
Event mask at connection setup time - not current event mask!
displayOfScreen :: Screen -> Display Source #
interface to the X11 library function XDisplayOfScreen()
.
doesSaveUnders :: Screen -> Bool Source #
interface to the X11 library function XDoesSaveUnders()
.
doesBackingStore :: Screen -> Bool Source #
interface to the X11 library function XDoesBackingStore()
.
defaultVisualOfScreen :: Screen -> Visual Source #
interface to the X11 library function XDefaultVisualOfScreen()
.
defaultGCOfScreen :: Screen -> GC Source #
interface to the X11 library function XDefaultGCOfScreen()
.
defaultDepthOfScreen :: Screen -> CInt Source #
interface to the X11 library function XDefaultDepthOfScreen()
.
defaultColormapOfScreen :: Screen -> Colormap Source #
interface to the X11 library function XDefaultColormapOfScreen()
.
cellsOfScreen :: Screen -> CInt Source #
interface to the X11 library function XCellsOfScreen()
.
whitePixelOfScreen :: Screen -> Pixel Source #
interface to the X11 library function XWhitePixelOfScreen()
.
blackPixelOfScreen :: Screen -> Pixel Source #
interface to the X11 library function XBlackPixelOfScreen()
.
createRegion :: IO Region Source #
interface to the X11 library function XCreateRegion()
.
polygonRegion :: [Point] -> FillRule -> IO Region Source #
interface to the X11 library function XPolygonRegion()
.
intersectRegion :: Region -> Region -> Region -> IO CInt Source #
interface to the X11 library function XIntersectRegion()
.
subtractRegion :: Region -> Region -> Region -> IO CInt Source #
interface to the X11 library function XSubtractRegion()
.
unionRectWithRegion :: Rectangle -> Region -> Region -> IO CInt Source #
interface to the X11 library function XUnionRectWithRegion()
.
unionRegion :: Region -> Region -> Region -> IO CInt Source #
interface to the X11 library function XUnionRegion()
.
xorRegion :: Region -> Region -> Region -> IO CInt Source #
interface to the X11 library function XXorRegion()
.
equalRegion :: Region -> Region -> IO Bool Source #
interface to the X11 library function XEqualRegion()
.
pointInRegion :: Region -> Point -> IO Bool Source #
interface to the X11 library function XPointInRegion()
.
rectInRegion :: Region -> Rectangle -> IO RectInRegionResult Source #
interface to the X11 library function XRectInRegion()
.
offsetRegion :: Region -> Point -> IO CInt Source #
interface to the X11 library function XOffsetRegion()
.
shrinkRegion :: Region -> Point -> IO CInt Source #
interface to the X11 library function XShrinkRegion()
.
setRegion :: Display -> GC -> Region -> IO CInt Source #
interface to the X11 library function XSetRegion()
.
destroyImage :: Image -> IO () Source #
interface to the X11 library function XDestroyImage()
.
putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO () Source #
interface to the X11 library function XPutImage()
.
createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image Source #
interface to the X11 library function XCreateImage()
.
getImage :: Display -> Drawable -> CInt -> CInt -> CUInt -> CUInt -> CULong -> ImageFormat -> IO Image Source #
interface to the X11 library function XGetImage()
.
getPixel :: Image -> CInt -> CInt -> CULong Source #
interface to the X11 library function XGetPixel()
.
freeFont :: Display -> FontStruct -> IO () Source #
interface to the X11 library function XFreeFont()
.
queryFont :: Display -> Font -> IO FontStruct Source #
interface to the X11 library function XQueryFont()
.
fontFromGC :: Display -> GC -> IO Font Source #
interface to the X11 library function XGetGCValues()
.
loadQueryFont :: Display -> String -> IO FontStruct Source #
interface to the X11 library function XLoadQueryFont()
.
fontFromFontStruct :: FontStruct -> Font Source #
textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct) Source #
interface to the X11 library function XTextExtents()
.
textWidth :: FontStruct -> String -> Int32 Source #
interface to the X11 library function XTextWidth()
.
xC_X_cursor :: Glyph Source #
xC_bogosity :: Glyph Source #
xC_crosshair :: Glyph Source #
xC_exchange :: Glyph Source #
xC_gobbler :: Glyph Source #
xC_left_ptr :: Glyph Source #
xC_left_side :: Glyph Source #
xC_left_tee :: Glyph Source #
xC_ll_angle :: Glyph Source #
xC_lr_angle :: Glyph Source #
xC_right_ptr :: Glyph Source #
xC_right_tee :: Glyph Source #
xC_rtl_logo :: Glyph Source #
xC_sailboat :: Glyph Source #
xC_shuttle :: Glyph Source #
xC_spraycan :: Glyph Source #
xC_top_side :: Glyph Source #
xC_top_tee :: Glyph Source #
xC_ul_angle :: Glyph Source #
xC_umbrella :: Glyph Source #
xC_ur_angle :: Glyph Source #
closeDisplay :: Display -> IO () Source #
interface to the X11 library function XCloseDisplay()
.
rootWindow :: Display -> ScreenNumber -> IO Window Source #
interface to the X11 library function XRootWindow()
.
defaultRootWindow :: Display -> Window Source #
interface to the X11 library function XDefaultRootWindow()
.
screenOfDisplay :: Display -> ScreenNumber -> Screen Source #
interface to the X11 library function XScreenOfDisplay()
.
displayPlanes :: Display -> ScreenNumber -> CInt Source #
interface to the X11 library function XDisplayPlanes()
.
displayCells :: Display -> ScreenNumber -> CInt Source #
interface to the X11 library function XDisplayCells()
.
defaultVisual :: Display -> ScreenNumber -> Visual Source #
interface to the X11 library function XDefaultVisual()
.
screenCount :: Display -> CInt Source #
interface to the X11 library function XScreenCount()
.
protocolVersion :: Display -> CInt Source #
interface to the X11 library function XProtocolVersion()
.
protocolRevision :: Display -> CInt Source #
interface to the X11 library function XProtocolRevision()
.
imageByteOrder :: Display -> CInt Source #
interface to the X11 library function XImageByteOrder()
.
displayMotionBufferSize :: Display -> CInt Source #
interface to the X11 library function XDisplayMotionBufferSize()
.
maxRequestSize :: Display -> CInt Source #
interface to the X11 library function XMaxRequestSize()
.
displayWidthMM :: Display -> ScreenNumber -> CInt Source #
interface to the X11 library function XDisplayWidthMM()
.
displayWidth :: Display -> ScreenNumber -> CInt Source #
interface to the X11 library function XDisplayWidth()
.
displayHeightMM :: Display -> ScreenNumber -> CInt Source #
interface to the X11 library function XDisplayHeightMM()
.
displayHeight :: Display -> ScreenNumber -> CInt Source #
interface to the X11 library function XDisplayHeight()
.
defaultScreenOfDisplay :: Display -> Screen Source #
interface to the X11 library function XDefaultScreenOfDisplay()
.
defaultScreen :: Display -> ScreenNumber Source #
interface to the X11 library function XDefaultScreen()
.
defaultDepth :: Display -> ScreenNumber -> CInt Source #
interface to the X11 library function XDefaultDepth()
.
defaultGC :: Display -> ScreenNumber -> GC Source #
interface to the X11 library function XDefaultGC()
.
defaultColormap :: Display -> ScreenNumber -> Colormap Source #
interface to the X11 library function XDefaultColormap()
.
connectionNumber :: Display -> CInt Source #
interface to the X11 library function XConnectionNumber()
.
whitePixel :: Display -> ScreenNumber -> Pixel Source #
interface to the X11 library function XWhitePixel()
.
blackPixel :: Display -> ScreenNumber -> Pixel Source #
interface to the X11 library function XBlackPixel()
.
allPlanes_aux :: Pixel Source #
interface to the X11 library function XAllPlanes()
.
resourceManagerString :: Display -> String Source #
interface to the X11 library function XResourceManagerString()
.
screenResourceString :: Screen -> String Source #
interface to the X11 library function XScreenResourceString()
.
displayString :: Display -> String Source #
interface to the X11 library function XDisplayString()
.
serverVendor :: Display -> String Source #
interface to the X11 library function XServerVendor()
.
peekEvent :: Display -> XEventPtr -> IO () Source #
interface to the X11 library function XPeekEvent()
.
putBackEvent :: Display -> XEventPtr -> IO () Source #
interface to the X11 library function XPutBackEvent()
.
checkTypedWindowEvent :: Display -> Window -> EventType -> XEventPtr -> IO Bool Source #
interface to the X11 library function XCheckTypedWindowEvent()
.
checkTypedEvent :: Display -> EventType -> XEventPtr -> IO Bool Source #
interface to the X11 library function XCheckTypedEvent()
.
checkMaskEvent :: Display -> EventMask -> XEventPtr -> IO Bool Source #
interface to the X11 library function XCheckMaskEvent()
.
maskEvent :: Display -> EventMask -> XEventPtr -> IO () Source #
interface to the X11 library function XMaskEvent()
.
checkWindowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO Bool Source #
interface to the X11 library function XCheckWindowEvent()
.
windowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO () Source #
interface to the X11 library function XWindowEvent()
.
selectInput :: Display -> Window -> EventMask -> IO () Source #
interface to the X11 library function XSelectInput()
.
allowEvents :: Display -> AllowEvents -> Time -> IO () Source #
interface to the X11 library function XAllowEvents()
.
nextEvent :: Display -> XEventPtr -> IO () Source #
interface to the X11 library function XNextEvent()
.
eventsQueued :: Display -> QueuedMode -> IO CInt Source #
interface to the X11 library function XEventsQueued()
.
asKeyEvent :: XEventPtr -> XKeyEventPtr Source #
waitForEvent :: Display -> Word32 -> IO Bool Source #
Reads an event with a timeout (in microseconds). Returns True if timeout occurs.
gettimeofday_in_milliseconds :: IO Integer Source #
This function is somewhat compatible with Win32's TimeGetTime()
sendEvent :: Display -> Window -> Bool -> EventMask -> XEventPtr -> IO () Source #
interface to the X11 library function XSendEvent()
.
copyGC :: Display -> GC -> Mask -> GC -> IO () Source #
interface to the X11 library function XCopyGC()
.
gContextFromGC :: GC -> GContext Source #
interface to the X11 library function XGContextFromGC()
.
setTile :: Display -> GC -> Pixmap -> IO () Source #
interface to the X11 library function XSetTile()
.
setTSOrigin :: Display -> GC -> Position -> Position -> IO () Source #
interface to the X11 library function XSetTSOrigin()
.
setSubwindowMode :: Display -> GC -> SubWindowMode -> IO () Source #
interface to the X11 library function XSetSubwindowMode()
.
setStipple :: Display -> GC -> Pixmap -> IO () Source #
interface to the X11 library function XSetStipple()
.
setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO () Source #
interface to the X11 library function XSetState()
.
setPlaneMask :: Display -> GC -> Pixel -> IO () Source #
interface to the X11 library function XSetPlaneMask()
.
setLineAttributes :: Display -> GC -> CInt -> LineStyle -> CapStyle -> JoinStyle -> IO () Source #
interface to the X11 library function XSetLineAttributes()
.
setFillStyle :: Display -> GC -> FillStyle -> IO () Source #
interface to the X11 library function XSetFillStyle()
.
setFillRule :: Display -> GC -> FillRule -> IO () Source #
interface to the X11 library function XSetFillRule()
.
setClipOrigin :: Display -> GC -> Position -> Position -> IO () Source #
interface to the X11 library function XSetClipOrigin()
.
setClipMask :: Display -> GC -> Pixmap -> IO () Source #
interface to the X11 library function XSetClipMask()
.
setGraphicsExposures :: Display -> GC -> Bool -> IO () Source #
interface to the X11 library function XSetGraphicsExposures()
.
setFunction :: Display -> GC -> GXFunction -> IO () Source #
interface to the X11 library function XSetFunction()
.
setForeground :: Display -> GC -> Pixel -> IO () Source #
interface to the X11 library function XSetForeground()
.
setBackground :: Display -> GC -> Pixel -> IO () Source #
interface to the X11 library function XSetBackground()
.
setArcMode :: Display -> GC -> ArcMode -> IO () Source #
interface to the X11 library function XSetArcMode()
.
setDashes :: Display -> GC -> CInt -> String -> CInt -> IO () Source #
interface to the X11 library function XSetDashes()
.
createGC :: Display -> Drawable -> IO GC Source #
partial interface to the X11 library function XCreateGC()
.
freeColormap :: Display -> Colormap -> IO () Source #
interface to the X11 library function XFreeColormap()
.
createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap Source #
interface to the X11 library function XCreateColormap()
.
copyColormapAndFree :: Display -> Colormap -> IO Colormap Source #
interface to the X11 library function XCopyColormapAndFree()
.
uninstallColormap :: Display -> Colormap -> IO () Source #
interface to the X11 library function XUninstallColormap()
.
installColormap :: Display -> Colormap -> IO () Source #
interface to the X11 library function XInstallColormap()
.
lookupColor :: Display -> Colormap -> String -> IO (Color, Color) Source #
interface to the X11 library function XLookupColor()
.
allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color) Source #
interface to the X11 library function XAllocNamedColor()
.
allocColor :: Display -> Colormap -> Color -> IO Color Source #
interface to the X11 library function XAllocColor()
.
parseColor :: Display -> Colormap -> String -> IO Color Source #
interface to the X11 library function XParseColor()
.
freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO () Source #
interface to the X11 library function XFreeColors()
.
storeColor :: Display -> Colormap -> Color -> IO () Source #
interface to the X11 library function XStoreColor()
.
queryColor :: Display -> Colormap -> Color -> IO Color Source #
interface to the X11 library function XQueryColor()
.
queryColors :: Display -> Colormap -> [Color] -> IO [Color] Source #
interface to the X11 library function XQueryColors()
.
internAtom :: Display -> String -> Bool -> IO Atom Source #
interface to the X11 library function XInternAtom()
.
cUT_BUFFER0 :: Atom Source #
cUT_BUFFER1 :: Atom Source #
cUT_BUFFER2 :: Atom Source #
cUT_BUFFER3 :: Atom Source #
cUT_BUFFER4 :: Atom Source #
cUT_BUFFER5 :: Atom Source #
cUT_BUFFER6 :: Atom Source #
cUT_BUFFER7 :: Atom Source #
rGB_COLOR_MAP :: Atom Source #
rGB_BEST_MAP :: Atom Source #
rGB_BLUE_MAP :: Atom Source #
rGB_GRAY_MAP :: Atom Source #
rGB_GREEN_MAP :: Atom Source #
rGB_RED_MAP :: Atom Source #
wM_COMMAND :: Atom Source #
wM_ICON_NAME :: Atom Source #
wM_ICON_SIZE :: Atom Source #
wM_SIZE_HINTS :: Atom Source #
wM_ZOOM_HINTS :: Atom Source #
nORM_SPACE :: Atom Source #
sUPERSCRIPT_X :: Atom Source #
sUPERSCRIPT_Y :: Atom Source #
sUBSCRIPT_X :: Atom Source #
sUBSCRIPT_Y :: Atom Source #
iTALIC_ANGLE :: Atom Source #
qUAD_WIDTH :: Atom Source #
pOINT_SIZE :: Atom Source #
rESOLUTION :: Atom Source #
fAMILY_NAME :: Atom Source #
cAP_HEIGHT :: Atom Source #
copyPlane :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> Pixel -> IO () Source #
interface to the X11 library function XCopyPlane()
.
copyArea :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO () Source #
interface to the X11 library function XCopyArea()
.
fillArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO () Source #
interface to the X11 library function XFillArc()
.
fillRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO () Source #
interface to the X11 library function XFillRectangle()
.
drawArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO () Source #
interface to the X11 library function XDrawArc()
.
drawRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO () Source #
interface to the X11 library function XDrawRectangle()
.
drawLine :: Display -> Drawable -> GC -> Position -> Position -> Position -> Position -> IO () Source #
interface to the X11 library function XDrawLine()
.
drawPoint :: Display -> Drawable -> GC -> Position -> Position -> IO () Source #
interface to the X11 library function XDrawPoint()
.
createFontCursor :: Display -> Glyph -> IO Cursor Source #
interface to the X11 library function XCreateFontCursor()
.
undefineCursor :: Display -> Window -> IO () Source #
interface to the X11 library function XUndefineCursor()
.
defineCursor :: Display -> Window -> Cursor -> IO () Source #
interface to the X11 library function XDefineCursor()
.
keysymToKeycode :: Display -> KeySym -> IO KeyCode Source #
interface to the X11 library function XKeysymToKeycode()
.
keycodeToKeysym :: Display -> KeyCode -> CInt -> IO KeySym Source #
interface to the X11 library function XKeycodeToKeysym()
.
lookupKeysym :: XKeyEventPtr -> CInt -> IO KeySym Source #
interface to the X11 library function XLookupKeysym()
.
bitmapUnit :: Display -> CInt Source #
interface to the X11 library function XBitmapUnit()
.
bitmapBitOrder :: Display -> ByteOrder Source #
interface to the X11 library function XBitmapBitOrder()
.
freePixmap :: Display -> Pixmap -> IO () Source #
interface to the X11 library function XFreePixmap()
.
createPixmap :: Display -> Drawable -> Dimension -> Dimension -> CInt -> IO Pixmap Source #
interface to the X11 library function XCreatePixmap()
.
unlockDisplay :: Display -> IO () Source #
lockDisplay :: Display -> IO () Source #
initThreads :: IO Status Source #
warpPointer :: Display -> Window -> Window -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO () Source #
interface to the X11 library function XWarpPointer()
.
forceScreenSaver :: Display -> ScreenSaverMode -> IO () Source #
interface to the X11 library function XForceScreenSaver()
.
resetScreenSaver :: Display -> IO () Source #
interface to the X11 library function XResetScreenSaver()
.
activateScreenSaver :: Display -> IO () Source #
interface to the X11 library function XActivateScreenSaver()
.
setScreenSaver :: Display -> CInt -> CInt -> PreferBlankingMode -> AllowExposuresMode -> IO () Source #
interface to the X11 library function XSetScreenSaver()
.
supportsLocale :: IO Bool Source #
interface to the X11 library function XSupportsLocale()
.
ungrabServer :: Display -> IO () Source #
interface to the X11 library function XUngrabServer()
.
grabServer :: Display -> IO () Source #
interface to the X11 library function XGrabServer()
.
ungrabKeyboard :: Display -> Time -> IO () Source #
interface to the X11 library function XUngrabKeyboard()
.
grabKeyboard :: Display -> Window -> Bool -> GrabMode -> GrabMode -> Time -> IO GrabStatus Source #
interface to the X11 library function XGrabKeyboard()
.
ungrabKey :: Display -> KeyCode -> KeyMask -> Window -> IO () Source #
interface to the X11 library function XUngrabKey()
.
grabKey :: Display -> KeyCode -> KeyMask -> Window -> Bool -> GrabMode -> GrabMode -> IO () Source #
interface to the X11 library function XGrabKey()
.
ungrabPointer :: Display -> Time -> IO () Source #
interface to the X11 library function XUngrabPointer()
.
grabPointer :: Display -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> Time -> IO GrabStatus Source #
interface to the X11 library function XGrabPointer()
.
ungrabButton :: Display -> Button -> ButtonMask -> Window -> IO () Source #
interface to the X11 library function XUngrabButton()
.
grabButton :: Display -> Button -> ButtonMask -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> IO () Source #
interface to the X11 library function XGrabButton()
.
setInputFocus :: Display -> Window -> FocusMode -> Time -> IO () Source #
interface to the X11 library function XSetInputFocus()
.
lastKnownRequestProcessed :: Display -> IO CInt Source #
interface to the X11 library function XLastKnownRequestProcessed()
.
setCloseDownMode :: Display -> CloseDownMode -> IO () Source #
interface to the X11 library function XSetCloseDownMode()
.
autoRepeatOn :: Display -> IO () Source #
interface to the X11 library function XAutoRepeatOn()
.
autoRepeatOff :: Display -> IO () Source #
interface to the X11 library function XAutoRepeatOff()
.
rmInitialize :: IO () Source #
interface to the X11 library function XrmInitialize()
.
getInputFocus :: Display -> IO (Window, FocusMode) Source #
interface to the X11 library function XGetInputFocus()
.
queryBestTile :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) Source #
interface to the X11 library function XQueryBestTile()
.
queryBestStipple :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) Source #
interface to the X11 library function XQueryBestStipple()
.
queryBestCursor :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) Source #
interface to the X11 library function XQueryBestCursor()
.
queryBestSize :: Display -> QueryBestSizeClass -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) Source #
interface to the X11 library function XQueryBestSize()
.
queryPointer :: Display -> Window -> IO (Bool, Window, Window, CInt, CInt, CInt, CInt, Modifier) Source #
interface to the X11 library function XQueryPointer()
.
displayName :: String -> String Source #
interface to the X11 library function XDisplayName()
.
setDefaultErrorHandler :: IO () Source #
The Xlib library reports most errors by invoking a user-provided error handler. This function installs an error handler that prints a textual representation of the error.
geometry :: Display -> CInt -> String -> String -> Dimension -> Dimension -> Dimension -> CInt -> CInt -> IO (CInt, Position, Position, Dimension, Dimension) Source #
interface to the X11 library function XGeometry()
.
getGeometry :: Display -> Drawable -> IO (Window, Position, Position, Dimension, Dimension, Dimension, CInt) Source #
interface to the X11 library function XGetGeometry()
.
setLocaleModifiers :: String -> IO String Source #
interface to the X11 library function XSetLocaleModifiers()
.
getScreenSaver :: Display -> IO (CInt, CInt, PreferBlankingMode, AllowExposuresMode) Source #
getPointerControl :: Display -> IO (CInt, CInt, CInt) Source #
interface to the X11 library function XGetPointerControl()
.
visualBlueMaskMask :: VisualInfoMask Source #
interface to the X11 library function XGetVisualInfo()
getVisualInfo :: Display -> VisualInfoMask -> VisualInfo -> IO [VisualInfo] Source #
matchVisualInfo :: Display -> ScreenNumber -> CInt -> CInt -> IO (Maybe VisualInfo) Source #
interface to the X11 library function XMatchVisualInfo()
readBitmapFile :: Display -> Drawable -> String -> IO (Either String (Dimension, Dimension, Pixmap, Maybe CInt, Maybe CInt)) Source #
interface to the X11 library function XReadBitmapFile
.
displayKeycodes :: Display -> (CInt, CInt) Source #
interface to the X11 library function XDisplayKeycodes()
.
keysymToString :: KeySym -> String Source #
interface to the X11 library function XKeysymToString()
.
stringToKeysym :: String -> KeySym Source #
interface to the X11 library function XStringToKeysym()
.
lookupString :: XKeyEventPtr -> IO (Maybe KeySym, String) Source #
interface to the X11 library function XLookupString()
.
getIconName :: Display -> Window -> IO String Source #
interface to the X11 library function XGetIconName()
.
setIconName :: Display -> Window -> String -> IO () Source #
interface to the X11 library function XSetIconName()
.
createPixmapCursor :: Display -> Pixmap -> Pixmap -> Color -> Color -> Dimension -> Dimension -> IO Cursor Source #
interface to the X11 library function XCreatePixmapCursor()
.
createGlyphCursor :: Display -> Font -> Font -> Glyph -> Glyph -> Color -> Color -> IO Cursor Source #
interface to the X11 library function XCreateGlyphCursor()
.
recolorCursor :: Display -> Cursor -> Color -> Color -> IO () Source #
interface to the X11 library function XRecolorCursor()
.
setWMProtocols :: Display -> Window -> [Atom] -> IO () Source #
interface to the X11 library function XSetWMProtocols()
.
allocaSetWindowAttributes :: (Ptr SetWindowAttributes -> IO a) -> IO a Source #
set_background_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO () Source #
set_background_pixel :: Ptr SetWindowAttributes -> Pixel -> IO () Source #
set_border_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO () Source #
set_border_pixel :: Ptr SetWindowAttributes -> Pixel -> IO () Source #
set_bit_gravity :: Ptr SetWindowAttributes -> BitGravity -> IO () Source #
set_win_gravity :: Ptr SetWindowAttributes -> WindowGravity -> IO () Source #
set_backing_store :: Ptr SetWindowAttributes -> BackingStore -> IO () Source #
set_backing_planes :: Ptr SetWindowAttributes -> Pixel -> IO () Source #
set_backing_pixel :: Ptr SetWindowAttributes -> Pixel -> IO () Source #
set_save_under :: Ptr SetWindowAttributes -> Bool -> IO () Source #
set_event_mask :: Ptr SetWindowAttributes -> EventMask -> IO () Source #
set_do_not_propagate_mask :: Ptr SetWindowAttributes -> EventMask -> IO () Source #
set_override_redirect :: Ptr SetWindowAttributes -> Bool -> IO () Source #
set_colormap :: Ptr SetWindowAttributes -> Colormap -> IO () Source #
set_cursor :: Ptr SetWindowAttributes -> Cursor -> IO () Source #
drawPoints :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO () Source #
interface to the X11 library function XDrawPoints()
.
drawLines :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO () Source #
interface to the X11 library function XDrawLines()
.
drawSegments :: Display -> Drawable -> GC -> [Segment] -> IO () Source #
interface to the X11 library function XDrawSegments()
.
drawRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO () Source #
interface to the X11 library function XDrawRectangles()
.
drawArcs :: Display -> Drawable -> GC -> [Arc] -> IO () Source #
interface to the X11 library function XDrawArcs()
.
fillRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO () Source #
interface to the X11 library function XFillRectangles()
.
fillPolygon :: Display -> Drawable -> GC -> [Point] -> PolygonShape -> CoordinateMode -> IO () Source #
interface to the X11 library function XFillPolygon()
.
fillArcs :: Display -> Drawable -> GC -> [Arc] -> IO () Source #
interface to the X11 library function XFillArcs()
.
drawString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO () Source #
interface to the X11 library function XDrawString()
.
drawImageString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO () Source #
interface to the X11 library function XDrawImageString()
.
storeBuffer :: Display -> String -> CInt -> IO () Source #
interface to the X11 library function XStoreBuffer()
.
storeBytes :: Display -> String -> IO () Source #
interface to the X11 library function XStoreBytes()
.
fetchBuffer :: Display -> CInt -> IO String Source #
interface to the X11 library function XFetchBuffer()
.
rotateBuffers :: Display -> CInt -> IO () Source #
interface to the X11 library function XRotateBuffers()
.
setTextProperty :: Display -> Window -> String -> Atom -> IO () Source #
interface to the X11 library function XSetTextProperty()
.
clearArea :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> Bool -> IO () Source #
interface to the X11 library function XClearArea()
.
clearWindow :: Display -> Window -> IO () Source #
interface to the X11 library function XClearWindow()
.
changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO () Source #
interface to the X11 library function XChangeSaveSet()
.
removeFromSaveSet :: Display -> Window -> IO () Source #
interface to the X11 library function XRemoveFromSaveSet()
.
addToSaveSet :: Display -> Window -> IO () Source #
interface to the X11 library function XAddToSaveSet()
.
setWindowColormap :: Display -> Window -> Colormap -> IO () Source #
interface to the X11 library function XSetWindowColormap()
.
setWindowBackgroundPixmap :: Display -> Window -> Pixmap -> IO () Source #
interface to the X11 library function XSetWindowBackgroundPixmap()
.
setWindowBackground :: Display -> Window -> Pixel -> IO () Source #
interface to the X11 library function XSetWindowBackground()
.
setWindowBorderWidth :: Display -> Window -> Dimension -> IO () Source #
interface to the X11 library function XSetWindowBorderWidth()
.
setWindowBorderPixmap :: Display -> Window -> Pixmap -> IO () Source #
interface to the X11 library function XSetWindowBorderPixmap()
.
setWindowBorder :: Display -> Window -> Pixel -> IO () Source #
interface to the X11 library function XSetWindowBorder()
.
destroySubwindows :: Display -> Window -> IO () Source #
interface to the X11 library function XDestroySubwindows()
.
destroyWindow :: Display -> Window -> IO () Source #
interface to the X11 library function XDestroyWindow()
.
circulateSubwindows :: Display -> Window -> CirculationDirection -> IO () Source #
interface to the X11 library function XCirculateSubwindows()
.
circulateSubwindowsUp :: Display -> Window -> IO () Source #
interface to the X11 library function XCirculateSubwindowsUp()
.
circulateSubwindowsDown :: Display -> Window -> IO () Source #
interface to the X11 library function XCirculateSubwindowsDown()
.
raiseWindow :: Display -> Window -> IO () Source #
interface to the X11 library function XRaiseWindow()
.
lowerWindow :: Display -> Window -> IO () Source #
interface to the X11 library function XLowerWindow()
.
unmapSubwindows :: Display -> Window -> IO () Source #
interface to the X11 library function XUnmapSubwindows()
.
mapSubwindows :: Display -> Window -> IO () Source #
interface to the X11 library function XMapSubwindows()
.
reparentWindow :: Display -> Window -> Window -> Position -> Position -> IO () Source #
interface to the X11 library function XReparentWindow()
.
moveWindow :: Display -> Window -> Position -> Position -> IO () Source #
interface to the X11 library function XMoveWindow()
.
resizeWindow :: Display -> Window -> Dimension -> Dimension -> IO () Source #
interface to the X11 library function XResizeWindow()
.
moveResizeWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> IO () Source #
interface to the X11 library function XMoveResizeWindow()
.
createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window Source #
interface to the X11 library function XCreateWindow()
.
createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window Source #
interface to the X11 library function XCreateSimpleWindow()
.
storeName :: Display -> Window -> String -> IO () Source #
interface to the X11 library function XStoreName()
.
translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window) Source #
interface to the X11 library function XTranslateCoordinates()
.
iconifyWindow :: Display -> Window -> ScreenNumber -> IO () Source #
interface to the X11 library function XIconifyWindow()
.
withdrawWindow :: Display -> Window -> ScreenNumber -> IO () Source #
interface to the X11 library function XWithdrawWindow()
.
restackWindows :: Display -> [Window] -> IO () Source #
interface to the X11 library function XRestackWindows()
.
module Graphics.X11.Xlib.Extras
class Monad m => MonadState s (m :: Type -> Type) | m -> s where Source #
Minimal definition is either both of get
and put
or just state
Methods
Return the state from the internals of the monad.
Replace the state inside the monad.
state :: (s -> (a, s)) -> m a Source #
Embed a simple state action into the monad.
Instances
MonadState XState X Source # | |
MonadState s m => MonadState s (MaybeT m) | |
(Monoid w, MonadState s m) => MonadState s (AccumT w m) | Since: mtl-2.3 |
MonadState s m => MonadState s (ExceptT e m) | Since: mtl-2.2 |
MonadState s m => MonadState s (IdentityT m) | |
MonadState s m => MonadState s (ReaderT r m) | |
MonadState s m => MonadState s (SelectT r m) | Since: mtl-2.3 |
Monad m => MonadState s (StateT s m) | |
Monad m => MonadState s (StateT s m) | |
(Monoid w, MonadState s m) => MonadState s (WriterT w m) | Since: mtl-2.3 |
(Monoid w, MonadState s m) => MonadState s (WriterT w m) | |
(Monoid w, MonadState s m) => MonadState s (WriterT w m) | |
MonadState s m => MonadState s (ContT r m) | |
(Monad m, Monoid w) => MonadState s (RWST r w s m) | Since: mtl-2.3 |
(Monad m, Monoid w) => MonadState s (RWST r w s m) | |
(Monad m, Monoid w) => MonadState s (RWST r w s m) | |
gets :: MonadState s m => (s -> a) -> m a Source #
Gets specific component of the state, using a projection function supplied.
modify :: MonadState s m => (s -> s) -> m () Source #
Monadic state transformer.
Maps an old state to a new state inside a state monad. The old state is thrown away.
Main> :t modify ((+1) :: Int -> Int) modify (...) :: (MonadState Int a) => a ()
This says that modify (+1)
acts over any
Monad that is a member of the MonadState
class,
with an Int
state.
class Monad m => MonadReader r (m :: Type -> Type) | m -> r where Source #
See examples in Control.Monad.Reader.
Note, the partially applied function type (->) r
is a simple reader monad.
See the instance
declaration below.
Methods
Retrieves the monad environment.
Arguments
:: (r -> r) | The function to modify the environment. |
-> m a |
|
-> m a |
Executes a computation in a modified environment.
Arguments
:: (r -> a) | The selector function to apply to the environment. |
-> m a |
Retrieves a function of the current environment.
Instances
MonadReader Window Query Source # | |
MonadReader XConf X Source # | |
MonadReader r m => MonadReader r (MaybeT m) | |
(Monoid w, MonadReader r m) => MonadReader r (AccumT w m) | Since: mtl-2.3 |
MonadReader r m => MonadReader r (ExceptT e m) | Since: mtl-2.2 |
MonadReader r m => MonadReader r (IdentityT m) | |
Monad m => MonadReader r (ReaderT r m) | |
MonadReader r m => MonadReader r (StateT s m) | |
MonadReader r m => MonadReader r (StateT s m) | |
(Monoid w, MonadReader r m) => MonadReader r (WriterT w m) | Since: mtl-2.3 |
(Monoid w, MonadReader r m) => MonadReader r (WriterT w m) | |
(Monoid w, MonadReader r m) => MonadReader r (WriterT w m) | |
MonadReader r' m => MonadReader r' (SelectT r m) | Since: mtl-2.3 |
MonadReader r ((->) r) | |
MonadReader r' m => MonadReader r' (ContT r m) | |
(Monad m, Monoid w) => MonadReader r (RWST r w s m) | Since: mtl-2.3 |
(Monad m, Monoid w) => MonadReader r (RWST r w s m) | |
(Monad m, Monoid w) => MonadReader r (RWST r w s m) | |
Arguments
:: MonadReader r m | |
=> (r -> a) | The selector function to apply to the environment. |
-> m a |
Retrieves a function of the current environment.
class Monad m => MonadIO (m :: Type -> Type) where Source #
Monads in which IO
computations may be embedded.
Any monad built by applying a sequence of monad transformers to the
IO
monad will be an instance of this class.
Instances should satisfy the following laws, which state that liftIO
is a transformer of monads:
Methods
liftIO :: IO a -> m a Source #
Lift a computation from the IO
monad.
This allows us to run IO computations in any monadic stack, so long as it supports these kinds of operations
(i.e. IO
is the base monad for the stack).
Example
import Control.Monad.Trans.State -- from the "transformers" library printState :: Show s => StateT s IO () printState = do state <- get liftIO $ print state
Had we omitted
, we would have ended up with this error:liftIO
• Couldn't match type ‘IO’ with ‘StateT s IO’ Expected type: StateT s IO () Actual type: IO ()
The important part here is the mismatch between StateT s IO ()
and
.IO
()
Luckily, we know of a function that takes an
and returns an IO
a(m a)
:
,
enabling us to run the program and see the expected results:liftIO
> evalStateT printState "hello" "hello" > evalStateT printState 3 3
Instances
MonadIO IO | Since: base-4.9.0.0 |
MonadIO Q | |
MonadIO Query Source # | |
MonadIO X Source # | |
MonadIO m => MonadIO (MaybeT m) | |
(Monoid w, Functor m, MonadIO m) => MonadIO (AccumT w m) | |
MonadIO m => MonadIO (ExceptT e m) | |
MonadIO m => MonadIO (IdentityT m) | |
MonadIO m => MonadIO (ReaderT r m) | |
MonadIO m => MonadIO (SelectT r m) | |
MonadIO m => MonadIO (StateT s m) | |
MonadIO m => MonadIO (StateT s m) | |
MonadIO m => MonadIO (WriterT w m) | |
(Monoid w, MonadIO m) => MonadIO (WriterT w m) | |
(Monoid w, MonadIO m) => MonadIO (WriterT w m) | |
MonadIO m => MonadIO (ContT r m) | |
MonadIO m => MonadIO (RWST r w s m) | |
(Monoid w, MonadIO m) => MonadIO (RWST r w s m) | |
(Monoid w, MonadIO m) => MonadIO (RWST r w s m) | |