Copyright | (c) Don Stewart |
---|---|
License | BSD3 |
Maintainer | Don Stewart <dons@galois.com> |
Stability | provisional |
Portability | |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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
- 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)
- 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
- type RectInRegionResult = CInt
- data Region
- 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
- type CharStruct = (CInt, CInt, CInt, CInt, CInt)
- data FontStruct
- type Glyph = Word16
- 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
- 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
- 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
- type VisualInfoMask = CLong
- type ScreenSaverMode = CInt
- type PreferBlankingMode = CInt
- type AllowExposuresMode = CInt
- 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 #
type Connection = Word16 #
type SubpixelOrder = Word16 #
type Reflection = 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 CirculationDirection = CInt #
type PolygonShape = CInt #
type CoordinateMode = CInt #
type SubWindowMode = CInt #
type GXFunction = CInt #
type QueryBestSizeClass = CInt #
type CloseDownMode = CInt #
type AttributeMask = Mask #
type WindowClass = CInt #
type AllowEvents = CInt #
type GrabStatus = CInt #
type ColormapNotification = CInt #
type PropertyNotification = CInt #
type Visibility = CInt #
type NotifyDetail = CInt #
type NotifyMode = CInt #
type ButtonMask = Modifier #
xK_VoidSymbol :: KeySym #
xK_BackSpace :: KeySym #
xK_Linefeed :: KeySym #
xK_Sys_Req :: KeySym #
xK_Multi_key :: KeySym #
xK_Codeinput :: KeySym #
xK_Page_Up :: KeySym #
xK_Page_Down :: KeySym #
xK_Execute :: KeySym #
xK_Num_Lock :: KeySym #
xK_KP_Space :: KeySym #
xK_KP_Enter :: KeySym #
xK_KP_Home :: KeySym #
xK_KP_Left :: KeySym #
xK_KP_Right :: KeySym #
xK_KP_Down :: KeySym #
xK_KP_Prior :: KeySym #
xK_KP_Page_Up :: KeySym #
xK_KP_Next :: KeySym #
xK_KP_Begin :: KeySym #
xK_KP_Insert :: KeySym #
xK_KP_Delete :: KeySym #
xK_KP_Equal :: KeySym #
xK_KP_Decimal :: KeySym #
xK_KP_Divide :: 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_Super_L :: KeySym #
xK_Super_R :: KeySym #
xK_Hyper_L :: KeySym #
xK_Hyper_R :: KeySym #
xK_quotedbl :: KeySym #
xK_numbersign :: KeySym #
xK_percent :: KeySym #
xK_ampersand :: KeySym #
xK_apostrophe :: KeySym #
xK_quoteright :: KeySym #
xK_parenleft :: KeySym #
xK_parenright :: KeySym #
xK_asterisk :: KeySym #
xK_semicolon :: KeySym #
xK_greater :: KeySym #
xK_question :: KeySym #
xK_backslash :: KeySym #
xK_underscore :: KeySym #
xK_quoteleft :: KeySym #
xK_braceleft :: KeySym #
xK_braceright :: KeySym #
xK_asciitilde :: KeySym #
xK_exclamdown :: KeySym #
xK_sterling :: KeySym #
xK_currency :: KeySym #
xK_brokenbar :: KeySym #
xK_section :: KeySym #
xK_diaeresis :: KeySym #
xK_copyright :: KeySym #
xK_notsign :: KeySym #
xK_registered :: KeySym #
xK_plusminus :: KeySym #
xK_paragraph :: KeySym #
xK_cedilla :: KeySym #
xK_masculine :: KeySym #
xK_onequarter :: KeySym #
xK_onehalf :: KeySym #
xK_Adiaeresis :: KeySym #
xK_Ccedilla :: KeySym #
xK_Ediaeresis :: KeySym #
xK_Idiaeresis :: KeySym #
xK_Odiaeresis :: KeySym #
xK_multiply :: KeySym #
xK_Ooblique :: KeySym #
xK_Udiaeresis :: KeySym #
xK_adiaeresis :: KeySym #
xK_ccedilla :: KeySym #
xK_ediaeresis :: KeySym #
xK_idiaeresis :: KeySym #
xK_odiaeresis :: KeySym #
xK_division :: KeySym #
xK_udiaeresis :: KeySym #
xK_ydiaeresis :: KeySym #
keyRelease :: EventType #
mapRequest :: EventType #
anyModifier :: Modifier #
controlMask :: KeyMask #
placeOnTop :: Place #
placeOnBottom :: Place #
familyChaos :: Protocol #
syncBoth :: AllowEvents #
badRequest :: ErrorCode #
Xlib functions with return values of type Status
return zero on
failure and nonzero on success.
cWX :: AttributeMask #
cWY :: AttributeMask #
gXclear :: GXFunction #
gXand :: GXFunction #
gXcopy :: GXFunction #
gXnoop :: GXFunction #
gXxor :: GXFunction #
gXor :: GXFunction #
gXnor :: GXFunction #
gXequiv :: GXFunction #
gXinvert :: GXFunction #
gXnand :: GXFunction #
gXset :: GXFunction #
capNotLast :: CapStyle #
evenOddRule :: FillRule #
windingRule :: FillRule #
complex :: PolygonShape #
convex :: PolygonShape #
arcPieSlice :: ArcMode #
gCFunction :: GCMask #
gCPlaneMask :: GCMask #
gCForeground :: GCMask #
gCBackground :: GCMask #
gCLineWidth :: GCMask #
gCLineStyle :: GCMask #
gCCapStyle :: GCMask #
gCJoinStyle :: GCMask #
gCFillStyle :: GCMask #
gCFillRule :: GCMask #
gCClipXOrigin :: GCMask #
gCClipYOrigin :: GCMask #
gCClipMask :: GCMask #
gCDashOffset :: GCMask #
gCDashList :: GCMask #
always :: BackingStore #
xyBitmap :: ImageFormat #
xyPixmap :: ImageFormat #
zPixmap :: ImageFormat #
counterpart of an X11 XColor
structure
Color | |
|
Instances
Data Color | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Color -> c Color # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Color # dataTypeOf :: Color -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Color) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Color) # gmapT :: (forall b. Data b => b -> b) -> Color -> Color # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Color -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Color -> r # gmapQ :: (forall d. Data d => d -> u) -> Color -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Color -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Color -> m Color # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Color -> m Color # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Color -> m Color # | |
Storable Color | |
Show Color | |
Eq Color | |
counterpart of an X11 XSegment
structure
Instances
Data Segment | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Segment -> c Segment # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Segment # toConstr :: Segment -> Constr # dataTypeOf :: Segment -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Segment) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Segment) # gmapT :: (forall b. Data b => b -> b) -> Segment -> Segment # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Segment -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Segment -> r # gmapQ :: (forall d. Data d => d -> u) -> Segment -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Segment -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Segment -> m Segment # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Segment -> m Segment # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Segment -> m Segment # | |
Storable Segment | |
Show Segment | |
Eq Segment | |
counterpart of an X11 XArc
structure
Arc | |
|
counterpart of an X11 XRectangle
structure
Rectangle | |
|
Instances
Data Rectangle | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Rectangle -> c Rectangle # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Rectangle # toConstr :: Rectangle -> Constr # dataTypeOf :: Rectangle -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Rectangle) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Rectangle) # gmapT :: (forall b. Data b => b -> b) -> Rectangle -> Rectangle # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Rectangle -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Rectangle -> r # gmapQ :: (forall d. Data d => d -> u) -> Rectangle -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Rectangle -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Rectangle -> m Rectangle # | |
Storable Rectangle | |
Defined in Graphics.X11.Xlib.Types | |
Read Rectangle | |
Show Rectangle | |
Eq Rectangle | |
counterpart of an X11 XPoint
structure
Instances
Data Point | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Point -> c Point # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Point # dataTypeOf :: Point -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Point) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Point) # gmapT :: (forall b. Data b => b -> b) -> Point -> Point # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Point -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Point -> r # gmapQ :: (forall d. Data d => d -> u) -> Point -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Point -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Point -> m Point # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Point -> m Point # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Point -> m Point # | |
Storable Point | |
Show Point | |
Eq Point | |
type ScreenNumber = Word32 #
pointer to an X11 XImage
structure
Instances
Data Image | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Image -> c Image # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Image # dataTypeOf :: Image -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Image) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Image) # gmapT :: (forall b. Data b => b -> b) -> Image -> Image # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Image -> r # gmapQ :: (forall d. Data d => d -> u) -> Image -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Image -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Image -> m Image # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Image -> m Image # | |
Show Image | |
Eq Image | |
Ord Image | |
data VisualInfo #
counterpart of an X11 XVisualInfo
structure
Instances
Storable VisualInfo | |
Defined in Graphics.X11.Xlib.Types sizeOf :: VisualInfo -> Int # alignment :: VisualInfo -> Int # peekElemOff :: Ptr VisualInfo -> Int -> IO VisualInfo # pokeElemOff :: Ptr VisualInfo -> Int -> VisualInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO VisualInfo # pokeByteOff :: Ptr b -> Int -> VisualInfo -> IO () # peek :: Ptr VisualInfo -> IO VisualInfo # poke :: Ptr VisualInfo -> VisualInfo -> IO () # | |
Show VisualInfo | |
Defined in Graphics.X11.Xlib.Types showsPrec :: Int -> VisualInfo -> ShowS # show :: VisualInfo -> String # showList :: [VisualInfo] -> ShowS # | |
Default VisualInfo | |
Defined in Graphics.X11.Xlib.Types def :: VisualInfo # | |
Eq VisualInfo | |
Defined in Graphics.X11.Xlib.Types (==) :: VisualInfo -> VisualInfo -> Bool # (/=) :: VisualInfo -> VisualInfo -> Bool # |
data SetWindowAttributes #
pointer to an X11 XSetWindowAttributes
structure
Instances
pointer to an X11 GC
structure
Instances
Data GC | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GC -> c GC # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GC # dataTypeOf :: GC -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GC) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GC) # gmapT :: (forall b. Data b => b -> b) -> GC -> GC # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GC -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GC -> r # gmapQ :: (forall d. Data d => d -> u) -> GC -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> GC -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> GC -> m GC # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GC -> m GC # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GC -> m GC # | |
Show GC | |
Eq GC | |
Ord GC | |
pointer to an X11 Visual
structure
Instances
Data Visual | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Visual -> c Visual # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Visual # toConstr :: Visual -> Constr # dataTypeOf :: Visual -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Visual) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Visual) # gmapT :: (forall b. Data b => b -> b) -> Visual -> Visual # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Visual -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Visual -> r # gmapQ :: (forall d. Data d => d -> u) -> Visual -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Visual -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Visual -> m Visual # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Visual -> m Visual # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Visual -> m Visual # | |
Show Visual | |
Eq Visual | |
Ord Visual | |
pointer to an X11 Screen
structure
Instances
Data Screen | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Screen -> c Screen # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Screen # toConstr :: Screen -> Constr # dataTypeOf :: Screen -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Screen) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Screen) # gmapT :: (forall b. Data b => b -> b) -> Screen -> Screen # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Screen -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Screen -> r # gmapQ :: (forall d. Data d => d -> u) -> Screen -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Screen -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Screen -> m Screen # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Screen -> m Screen # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Screen -> m Screen # | |
Show Screen | |
Eq Screen | |
Ord Screen | |
pointer to an X11 Display
structure
Instances
Data Display | |
Defined in Graphics.X11.Xlib.Types gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Display -> c Display # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Display # toConstr :: Display -> Constr # dataTypeOf :: Display -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Display) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Display) # gmapT :: (forall b. Data b => b -> b) -> Display -> Display # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Display -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Display -> r # gmapQ :: (forall d. Data d => d -> u) -> Display -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Display -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Display -> m Display # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Display -> m Display # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Display -> m Display # | |
Show Display | |
Eq Display | |
Ord Display | |
screenNumberOfScreen :: Screen -> ScreenNumber #
interface to the X11 library function XScreenNumberOfScreen()
.
planesOfScreen :: Screen -> CInt #
interface to the X11 library function XPlanesOfScreen()
.
heightMMOfScreen :: Screen -> Dimension #
interface to the X11 library function XHeightMMOfScreen()
.
heightOfScreen :: Screen -> Dimension #
interface to the X11 library function XHeightOfScreen()
.
widthMMOfScreen :: Screen -> Dimension #
interface to the X11 library function XWidthMMOfScreen()
.
widthOfScreen :: Screen -> Dimension #
interface to the X11 library function XWidthOfScreen()
.
rootWindowOfScreen :: Screen -> Window #
interface to the X11 library function XRootWindowOfScreen()
.
maxCmapsOfScreen :: Screen -> CInt #
interface to the X11 library function XMaxCmapsOfScreen()
.
minCmapsOfScreen :: Screen -> CInt #
interface to the X11 library function XMinCmapsOfScreen()
.
eventMaskOfScreen :: Screen -> EventMask #
interface to the X11 library function XEventMaskOfScreen()
.
Event mask at connection setup time - not current event mask!
displayOfScreen :: Screen -> Display #
interface to the X11 library function XDisplayOfScreen()
.
doesSaveUnders :: Screen -> Bool #
interface to the X11 library function XDoesSaveUnders()
.
doesBackingStore :: Screen -> Bool #
interface to the X11 library function XDoesBackingStore()
.
defaultVisualOfScreen :: Screen -> Visual #
interface to the X11 library function XDefaultVisualOfScreen()
.
defaultGCOfScreen :: Screen -> GC #
interface to the X11 library function XDefaultGCOfScreen()
.
defaultDepthOfScreen :: Screen -> CInt #
interface to the X11 library function XDefaultDepthOfScreen()
.
defaultColormapOfScreen :: Screen -> Colormap #
interface to the X11 library function XDefaultColormapOfScreen()
.
cellsOfScreen :: Screen -> CInt #
interface to the X11 library function XCellsOfScreen()
.
whitePixelOfScreen :: Screen -> Pixel #
interface to the X11 library function XWhitePixelOfScreen()
.
blackPixelOfScreen :: Screen -> Pixel #
interface to the X11 library function XBlackPixelOfScreen()
.
type RectInRegionResult = CInt #
Instances
Data Region | |
Defined in Graphics.X11.Xlib.Region gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Region -> c Region # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Region # toConstr :: Region -> Constr # dataTypeOf :: Region -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Region) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Region) # gmapT :: (forall b. Data b => b -> b) -> Region -> Region # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r # gmapQ :: (forall d. Data d => d -> u) -> Region -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Region -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Region -> m Region # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region # | |
Show Region | |
Eq Region | |
Ord Region | |
createRegion :: IO Region #
interface to the X11 library function XCreateRegion()
.
polygonRegion :: [Point] -> FillRule -> IO Region #
interface to the X11 library function XPolygonRegion()
.
intersectRegion :: Region -> Region -> Region -> IO CInt #
interface to the X11 library function XIntersectRegion()
.
subtractRegion :: Region -> Region -> Region -> IO CInt #
interface to the X11 library function XSubtractRegion()
.
unionRectWithRegion :: Rectangle -> Region -> Region -> IO CInt #
interface to the X11 library function XUnionRectWithRegion()
.
unionRegion :: Region -> Region -> Region -> IO CInt #
interface to the X11 library function XUnionRegion()
.
xorRegion :: Region -> Region -> Region -> IO CInt #
interface to the X11 library function XXorRegion()
.
emptyRegion :: Region -> IO Bool #
interface to the X11 library function XEmptyRegion()
.
pointInRegion :: Region -> Point -> IO Bool #
interface to the X11 library function XPointInRegion()
.
rectInRegion :: Region -> Rectangle -> IO RectInRegionResult #
interface to the X11 library function XRectInRegion()
.
setRegion :: Display -> GC -> Region -> IO CInt #
interface to the X11 library function XSetRegion()
.
destroyImage :: Image -> IO () #
interface to the X11 library function XDestroyImage()
.
putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO () #
interface to the X11 library function XPutImage()
.
createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image #
interface to the X11 library function XCreateImage()
.
getImage :: Display -> Drawable -> CInt -> CInt -> CUInt -> CUInt -> CULong -> ImageFormat -> IO Image #
interface to the X11 library function XGetImage()
.
data FontStruct #
pointer to an X11 XFontStruct
structure
Instances
freeFont :: Display -> FontStruct -> IO () #
interface to the X11 library function XFreeFont()
.
loadQueryFont :: Display -> String -> IO FontStruct #
interface to the X11 library function XLoadQueryFont()
.
fontFromFontStruct :: FontStruct -> Font #
ascentFromFontStruct :: FontStruct -> Int32 #
textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct) #
interface to the X11 library function XTextExtents()
.
textWidth :: FontStruct -> String -> Int32 #
interface to the X11 library function XTextWidth()
.
xC_X_cursor :: Glyph #
xC_bogosity :: Glyph #
xC_bottom_side :: Glyph #
xC_bottom_tee :: Glyph #
xC_box_spiral :: Glyph #
xC_center_ptr :: Glyph #
xC_coffee_mug :: Glyph #
xC_crosshair :: Glyph #
xC_draft_large :: Glyph #
xC_draft_small :: Glyph #
xC_draped_box :: Glyph #
xC_exchange :: Glyph #
xC_gobbler :: 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_right_ptr :: Glyph #
xC_right_side :: Glyph #
xC_right_tee :: Glyph #
xC_rightbutton :: Glyph #
xC_rtl_logo :: Glyph #
xC_sailboat :: Glyph #
xC_sb_up_arrow :: Glyph #
xC_shuttle :: Glyph #
xC_spraycan :: Glyph #
xC_top_side :: Glyph #
xC_top_tee :: Glyph #
xC_ul_angle :: Glyph #
xC_umbrella :: Glyph #
xC_ur_angle :: Glyph #
closeDisplay :: Display -> IO () #
interface to the X11 library function XCloseDisplay()
.
rootWindow :: Display -> ScreenNumber -> IO Window #
interface to the X11 library function XRootWindow()
.
defaultRootWindow :: Display -> Window #
interface to the X11 library function XDefaultRootWindow()
.
screenOfDisplay :: Display -> ScreenNumber -> Screen #
interface to the X11 library function XScreenOfDisplay()
.
displayPlanes :: Display -> ScreenNumber -> CInt #
interface to the X11 library function XDisplayPlanes()
.
displayCells :: Display -> ScreenNumber -> CInt #
interface to the X11 library function XDisplayCells()
.
defaultVisual :: Display -> ScreenNumber -> Visual #
interface to the X11 library function XDefaultVisual()
.
screenCount :: Display -> CInt #
interface to the X11 library function XScreenCount()
.
protocolVersion :: Display -> CInt #
interface to the X11 library function XProtocolVersion()
.
protocolRevision :: Display -> CInt #
interface to the X11 library function XProtocolRevision()
.
imageByteOrder :: Display -> CInt #
interface to the X11 library function XImageByteOrder()
.
displayMotionBufferSize :: Display -> CInt #
interface to the X11 library function XDisplayMotionBufferSize()
.
maxRequestSize :: Display -> CInt #
interface to the X11 library function XMaxRequestSize()
.
displayWidthMM :: Display -> ScreenNumber -> CInt #
interface to the X11 library function XDisplayWidthMM()
.
displayWidth :: Display -> ScreenNumber -> CInt #
interface to the X11 library function XDisplayWidth()
.
displayHeightMM :: Display -> ScreenNumber -> CInt #
interface to the X11 library function XDisplayHeightMM()
.
displayHeight :: Display -> ScreenNumber -> CInt #
interface to the X11 library function XDisplayHeight()
.
defaultScreenOfDisplay :: Display -> Screen #
interface to the X11 library function XDefaultScreenOfDisplay()
.
defaultScreen :: Display -> ScreenNumber #
interface to the X11 library function XDefaultScreen()
.
defaultDepth :: Display -> ScreenNumber -> CInt #
interface to the X11 library function XDefaultDepth()
.
defaultGC :: Display -> ScreenNumber -> GC #
interface to the X11 library function XDefaultGC()
.
defaultColormap :: Display -> ScreenNumber -> Colormap #
interface to the X11 library function XDefaultColormap()
.
connectionNumber :: Display -> CInt #
interface to the X11 library function XConnectionNumber()
.
whitePixel :: Display -> ScreenNumber -> Pixel #
interface to the X11 library function XWhitePixel()
.
blackPixel :: Display -> ScreenNumber -> Pixel #
interface to the X11 library function XBlackPixel()
.
allPlanes_aux :: Pixel #
interface to the X11 library function XAllPlanes()
.
resourceManagerString :: Display -> String #
interface to the X11 library function XResourceManagerString()
.
screenResourceString :: Screen -> String #
interface to the X11 library function XScreenResourceString()
.
displayString :: Display -> String #
interface to the X11 library function XDisplayString()
.
serverVendor :: Display -> String #
interface to the X11 library function XServerVendor()
.
openDisplay :: String -> IO Display #
interface to the X11 library function XOpenDisplay()
.
type XMappingEvent = (MappingRequest, KeyCode, CInt) #
type XKeyEventPtr = Ptr XKeyEvent #
Instances
Data XEvent | |
Defined in Graphics.X11.Xlib.Event gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> XEvent -> c XEvent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c XEvent # toConstr :: XEvent -> Constr # dataTypeOf :: XEvent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c XEvent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c XEvent) # gmapT :: (forall b. Data b => b -> b) -> XEvent -> XEvent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> XEvent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> XEvent -> r # gmapQ :: (forall d. Data d => d -> u) -> XEvent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> XEvent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> XEvent -> m XEvent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> XEvent -> m XEvent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> XEvent -> m XEvent # | |
Show XEvent | |
Eq XEvent | |
Ord XEvent | |
type QueuedMode = CInt #
putBackEvent :: Display -> XEventPtr -> IO () #
interface to the X11 library function XPutBackEvent()
.
checkTypedWindowEvent :: Display -> Window -> EventType -> XEventPtr -> IO Bool #
interface to the X11 library function XCheckTypedWindowEvent()
.
checkTypedEvent :: Display -> EventType -> XEventPtr -> IO Bool #
interface to the X11 library function XCheckTypedEvent()
.
checkMaskEvent :: Display -> EventMask -> XEventPtr -> IO Bool #
interface to the X11 library function XCheckMaskEvent()
.
maskEvent :: Display -> EventMask -> XEventPtr -> IO () #
interface to the X11 library function XMaskEvent()
.
checkWindowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO Bool #
interface to the X11 library function XCheckWindowEvent()
.
windowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO () #
interface to the X11 library function XWindowEvent()
.
selectInput :: Display -> Window -> EventMask -> IO () #
interface to the X11 library function XSelectInput()
.
allowEvents :: Display -> AllowEvents -> Time -> IO () #
interface to the X11 library function XAllowEvents()
.
eventsQueued :: Display -> QueuedMode -> IO CInt #
interface to the X11 library function XEventsQueued()
.
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 #
waitForEvent :: Display -> Word32 -> IO Bool #
Reads an event with a timeout (in microseconds). Returns True if timeout occurs.
gettimeofday_in_milliseconds :: IO Integer #
This function is somewhat compatible with Win32's TimeGetTime()
sendEvent :: Display -> Window -> Bool -> EventMask -> XEventPtr -> IO () #
interface to the X11 library function XSendEvent()
.
gContextFromGC :: GC -> GContext #
interface to the X11 library function XGContextFromGC()
.
setTSOrigin :: Display -> GC -> Position -> Position -> IO () #
interface to the X11 library function XSetTSOrigin()
.
setSubwindowMode :: Display -> GC -> SubWindowMode -> IO () #
interface to the X11 library function XSetSubwindowMode()
.
setStipple :: Display -> GC -> Pixmap -> IO () #
interface to the X11 library function XSetStipple()
.
setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO () #
interface to the X11 library function XSetState()
.
setPlaneMask :: Display -> GC -> Pixel -> IO () #
interface to the X11 library function XSetPlaneMask()
.
setLineAttributes :: Display -> GC -> CInt -> LineStyle -> CapStyle -> JoinStyle -> IO () #
interface to the X11 library function XSetLineAttributes()
.
setFillStyle :: Display -> GC -> FillStyle -> IO () #
interface to the X11 library function XSetFillStyle()
.
setFillRule :: Display -> GC -> FillRule -> IO () #
interface to the X11 library function XSetFillRule()
.
setClipOrigin :: Display -> GC -> Position -> Position -> IO () #
interface to the X11 library function XSetClipOrigin()
.
setClipMask :: Display -> GC -> Pixmap -> IO () #
interface to the X11 library function XSetClipMask()
.
setGraphicsExposures :: Display -> GC -> Bool -> IO () #
interface to the X11 library function XSetGraphicsExposures()
.
setFunction :: Display -> GC -> GXFunction -> IO () #
interface to the X11 library function XSetFunction()
.
setForeground :: Display -> GC -> Pixel -> IO () #
interface to the X11 library function XSetForeground()
.
setBackground :: Display -> GC -> Pixel -> IO () #
interface to the X11 library function XSetBackground()
.
setArcMode :: Display -> GC -> ArcMode -> IO () #
interface to the X11 library function XSetArcMode()
.
setDashes :: Display -> GC -> CInt -> String -> CInt -> IO () #
interface to the X11 library function XSetDashes()
.
createGC :: Display -> Drawable -> IO GC #
partial interface to the X11 library function XCreateGC()
.
freeColormap :: Display -> Colormap -> IO () #
interface to the X11 library function XFreeColormap()
.
createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap #
interface to the X11 library function XCreateColormap()
.
copyColormapAndFree :: Display -> Colormap -> IO Colormap #
interface to the X11 library function XCopyColormapAndFree()
.
uninstallColormap :: Display -> Colormap -> IO () #
interface to the X11 library function XUninstallColormap()
.
installColormap :: Display -> Colormap -> IO () #
interface to the X11 library function XInstallColormap()
.
lookupColor :: Display -> Colormap -> String -> IO (Color, Color) #
interface to the X11 library function XLookupColor()
.
allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color) #
interface to the X11 library function XAllocNamedColor()
.
allocColor :: Display -> Colormap -> Color -> IO Color #
interface to the X11 library function XAllocColor()
.
parseColor :: Display -> Colormap -> String -> IO Color #
interface to the X11 library function XParseColor()
.
freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO () #
interface to the X11 library function XFreeColors()
.
storeColor :: Display -> Colormap -> Color -> IO () #
interface to the X11 library function XStoreColor()
.
queryColor :: Display -> Colormap -> Color -> IO Color #
interface to the X11 library function XQueryColor()
.
queryColors :: Display -> Colormap -> [Color] -> IO [Color] #
interface to the X11 library function XQueryColors()
.
internAtom :: Display -> String -> Bool -> IO Atom #
interface to the X11 library function XInternAtom()
.
cUT_BUFFER0 :: Atom #
cUT_BUFFER1 :: Atom #
cUT_BUFFER2 :: Atom #
cUT_BUFFER3 :: Atom #
cUT_BUFFER4 :: Atom #
cUT_BUFFER5 :: Atom #
cUT_BUFFER6 :: Atom #
cUT_BUFFER7 :: 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 #
wM_COMMAND :: Atom #
wM_ICON_NAME :: Atom #
wM_ICON_SIZE :: Atom #
wM_NORMAL_HINTS :: Atom #
wM_SIZE_HINTS :: Atom #
wM_ZOOM_HINTS :: Atom #
nORM_SPACE :: Atom #
sUPERSCRIPT_X :: Atom #
sUPERSCRIPT_Y :: Atom #
sUBSCRIPT_X :: Atom #
sUBSCRIPT_Y :: Atom #
iTALIC_ANGLE :: Atom #
qUAD_WIDTH :: Atom #
pOINT_SIZE :: Atom #
rESOLUTION :: Atom #
fAMILY_NAME :: Atom #
cAP_HEIGHT :: Atom #
lAST_PREDEFINED :: Atom #
type VisualInfoMask = CLong #
type ScreenSaverMode = CInt #
type PreferBlankingMode = CInt #
type AllowExposuresMode = CInt #
copyPlane :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> Pixel -> IO () #
interface to the X11 library function XCopyPlane()
.
copyArea :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO () #
interface to the X11 library function XCopyArea()
.
fillArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO () #
interface to the X11 library function XFillArc()
.
fillRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO () #
interface to the X11 library function XFillRectangle()
.
drawArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO () #
interface to the X11 library function XDrawArc()
.
drawRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO () #
interface to the X11 library function XDrawRectangle()
.
drawLine :: Display -> Drawable -> GC -> Position -> Position -> Position -> Position -> IO () #
interface to the X11 library function XDrawLine()
.
drawPoint :: Display -> Drawable -> GC -> Position -> Position -> IO () #
interface to the X11 library function XDrawPoint()
.
freeCursor :: Display -> Font -> IO () #
interface to the X11 library function XFreeCursor()
.
createFontCursor :: Display -> Glyph -> IO Cursor #
interface to the X11 library function XCreateFontCursor()
.
undefineCursor :: Display -> Window -> IO () #
interface to the X11 library function XUndefineCursor()
.
defineCursor :: Display -> Window -> Cursor -> IO () #
interface to the X11 library function XDefineCursor()
.
keysymToKeycode :: Display -> KeySym -> IO KeyCode #
interface to the X11 library function XKeysymToKeycode()
.
keycodeToKeysym :: Display -> KeyCode -> CInt -> IO KeySym #
interface to the X11 library function XKeycodeToKeysym()
.
lookupKeysym :: XKeyEventPtr -> CInt -> IO KeySym #
interface to the X11 library function XLookupKeysym()
.
bitmapUnit :: Display -> CInt #
interface to the X11 library function XBitmapUnit()
.
bitmapBitOrder :: Display -> ByteOrder #
interface to the X11 library function XBitmapBitOrder()
.
freePixmap :: Display -> Pixmap -> IO () #
interface to the X11 library function XFreePixmap()
.
createPixmap :: Display -> Drawable -> Dimension -> Dimension -> CInt -> IO Pixmap #
interface to the X11 library function XCreatePixmap()
.
unlockDisplay :: Display -> IO () #
lockDisplay :: Display -> IO () #
initThreads :: IO Status #
visualIDFromVisual :: Visual -> IO VisualID #
see XVisualIDFromVisual()
warpPointer :: Display -> Window -> Window -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO () #
interface to the X11 library function XWarpPointer()
.
forceScreenSaver :: Display -> ScreenSaverMode -> IO () #
interface to the X11 library function XForceScreenSaver()
.
resetScreenSaver :: Display -> IO () #
interface to the X11 library function XResetScreenSaver()
.
activateScreenSaver :: Display -> IO () #
interface to the X11 library function XActivateScreenSaver()
.
setScreenSaver :: Display -> CInt -> CInt -> PreferBlankingMode -> AllowExposuresMode -> IO () #
interface to the X11 library function XSetScreenSaver()
.
supportsLocale :: IO Bool #
interface to the X11 library function XSupportsLocale()
.
ungrabServer :: Display -> IO () #
interface to the X11 library function XUngrabServer()
.
grabServer :: Display -> IO () #
interface to the X11 library function XGrabServer()
.
ungrabKeyboard :: Display -> Time -> IO () #
interface to the X11 library function XUngrabKeyboard()
.
grabKeyboard :: Display -> Window -> Bool -> GrabMode -> GrabMode -> Time -> IO GrabStatus #
interface to the X11 library function XGrabKeyboard()
.
ungrabKey :: Display -> KeyCode -> KeyMask -> Window -> IO () #
interface to the X11 library function XUngrabKey()
.
grabKey :: Display -> KeyCode -> KeyMask -> Window -> Bool -> GrabMode -> GrabMode -> IO () #
interface to the X11 library function XGrabKey()
.
ungrabPointer :: Display -> Time -> IO () #
interface to the X11 library function XUngrabPointer()
.
grabPointer :: Display -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> Time -> IO GrabStatus #
interface to the X11 library function XGrabPointer()
.
ungrabButton :: Display -> Button -> ButtonMask -> Window -> IO () #
interface to the X11 library function XUngrabButton()
.
grabButton :: Display -> Button -> ButtonMask -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> IO () #
interface to the X11 library function XGrabButton()
.
setInputFocus :: Display -> Window -> FocusMode -> Time -> IO () #
interface to the X11 library function XSetInputFocus()
.
lastKnownRequestProcessed :: Display -> IO CInt #
interface to the X11 library function XLastKnownRequestProcessed()
.
setCloseDownMode :: Display -> CloseDownMode -> IO () #
interface to the X11 library function XSetCloseDownMode()
.
autoRepeatOn :: Display -> IO () #
interface to the X11 library function XAutoRepeatOn()
.
autoRepeatOff :: Display -> IO () #
interface to the X11 library function XAutoRepeatOff()
.
rmInitialize :: IO () #
interface to the X11 library function XrmInitialize()
.
getInputFocus :: Display -> IO (Window, FocusMode) #
interface to the X11 library function XGetInputFocus()
.
queryBestTile :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) #
interface to the X11 library function XQueryBestTile()
.
queryBestStipple :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) #
interface to the X11 library function XQueryBestStipple()
.
queryBestCursor :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) #
interface to the X11 library function XQueryBestCursor()
.
queryBestSize :: Display -> QueryBestSizeClass -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) #
interface to the X11 library function XQueryBestSize()
.
queryPointer :: Display -> Window -> IO (Bool, Window, Window, CInt, CInt, CInt, CInt, Modifier) #
interface to the X11 library function XQueryPointer()
.
displayName :: String -> String #
interface to the X11 library function XDisplayName()
.
setDefaultErrorHandler :: IO () #
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) #
interface to the X11 library function XGeometry()
.
getGeometry :: Display -> Drawable -> IO (Window, Position, Position, Dimension, Dimension, Dimension, CInt) #
interface to the X11 library function XGetGeometry()
.
setLocaleModifiers :: String -> IO String #
interface to the X11 library function XSetLocaleModifiers()
.
getScreenSaver :: Display -> IO (CInt, CInt, PreferBlankingMode, AllowExposuresMode) #
getPointerControl :: Display -> IO (CInt, CInt, CInt) #
interface to the X11 library function XGetPointerControl()
.
visualBlueMaskMask :: VisualInfoMask #
interface to the X11 library function XGetVisualInfo()
getVisualInfo :: Display -> VisualInfoMask -> VisualInfo -> IO [VisualInfo] #
matchVisualInfo :: Display -> ScreenNumber -> CInt -> CInt -> IO (Maybe VisualInfo) #
interface to the X11 library function XMatchVisualInfo()
readBitmapFile :: Display -> Drawable -> String -> IO (Either String (Dimension, Dimension, Pixmap, Maybe CInt, Maybe CInt)) #
interface to the X11 library function XReadBitmapFile
.
displayKeycodes :: Display -> (CInt, CInt) #
interface to the X11 library function XDisplayKeycodes()
.
keysymToString :: KeySym -> String #
interface to the X11 library function XKeysymToString()
.
stringToKeysym :: String -> KeySym #
interface to the X11 library function XStringToKeysym()
.
lookupString :: XKeyEventPtr -> IO (Maybe KeySym, String) #
interface to the X11 library function XLookupString()
.
getIconName :: Display -> Window -> IO String #
interface to the X11 library function XGetIconName()
.
setIconName :: Display -> Window -> String -> IO () #
interface to the X11 library function XSetIconName()
.
createPixmapCursor :: Display -> Pixmap -> Pixmap -> Color -> Color -> Dimension -> Dimension -> IO Cursor #
interface to the X11 library function XCreatePixmapCursor()
.
createGlyphCursor :: Display -> Font -> Font -> Glyph -> Glyph -> Color -> Color -> IO Cursor #
interface to the X11 library function XCreateGlyphCursor()
.
recolorCursor :: Display -> Cursor -> Color -> Color -> IO () #
interface to the X11 library function XRecolorCursor()
.
setWMProtocols :: Display -> Window -> [Atom] -> IO () #
interface to the X11 library function XSetWMProtocols()
.
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 () #
interface to the X11 library function XDrawPoints()
.
drawLines :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO () #
interface to the X11 library function XDrawLines()
.
drawSegments :: Display -> Drawable -> GC -> [Segment] -> IO () #
interface to the X11 library function XDrawSegments()
.
drawRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO () #
interface to the X11 library function XDrawRectangles()
.
drawArcs :: Display -> Drawable -> GC -> [Arc] -> IO () #
interface to the X11 library function XDrawArcs()
.
fillRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO () #
interface to the X11 library function XFillRectangles()
.
fillPolygon :: Display -> Drawable -> GC -> [Point] -> PolygonShape -> CoordinateMode -> IO () #
interface to the X11 library function XFillPolygon()
.
fillArcs :: Display -> Drawable -> GC -> [Arc] -> IO () #
interface to the X11 library function XFillArcs()
.
drawString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO () #
interface to the X11 library function XDrawString()
.
drawImageString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO () #
interface to the X11 library function XDrawImageString()
.
storeBuffer :: Display -> String -> CInt -> IO () #
interface to the X11 library function XStoreBuffer()
.
storeBytes :: Display -> String -> IO () #
interface to the X11 library function XStoreBytes()
.
fetchBytes :: Display -> IO String #
interface to the X11 library function XFetchBytes()
.
rotateBuffers :: Display -> CInt -> IO () #
interface to the X11 library function XRotateBuffers()
.
setTextProperty :: Display -> Window -> String -> Atom -> IO () #
interface to the X11 library function XSetTextProperty()
.
clearArea :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> Bool -> IO () #
interface to the X11 library function XClearArea()
.
clearWindow :: Display -> Window -> IO () #
interface to the X11 library function XClearWindow()
.
changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO () #
interface to the X11 library function XChangeSaveSet()
.
removeFromSaveSet :: Display -> Window -> IO () #
interface to the X11 library function XRemoveFromSaveSet()
.
addToSaveSet :: Display -> Window -> IO () #
interface to the X11 library function XAddToSaveSet()
.
setWindowColormap :: Display -> Window -> Colormap -> IO () #
interface to the X11 library function XSetWindowColormap()
.
setWindowBackgroundPixmap :: Display -> Window -> Pixmap -> IO () #
interface to the X11 library function XSetWindowBackgroundPixmap()
.
setWindowBackground :: Display -> Window -> Pixel -> IO () #
interface to the X11 library function XSetWindowBackground()
.
setWindowBorderWidth :: Display -> Window -> Dimension -> IO () #
interface to the X11 library function XSetWindowBorderWidth()
.
setWindowBorderPixmap :: Display -> Window -> Pixmap -> IO () #
interface to the X11 library function XSetWindowBorderPixmap()
.
setWindowBorder :: Display -> Window -> Pixel -> IO () #
interface to the X11 library function XSetWindowBorder()
.
destroySubwindows :: Display -> Window -> IO () #
interface to the X11 library function XDestroySubwindows()
.
destroyWindow :: Display -> Window -> IO () #
interface to the X11 library function XDestroyWindow()
.
circulateSubwindows :: Display -> Window -> CirculationDirection -> IO () #
interface to the X11 library function XCirculateSubwindows()
.
circulateSubwindowsUp :: Display -> Window -> IO () #
interface to the X11 library function XCirculateSubwindowsUp()
.
circulateSubwindowsDown :: Display -> Window -> IO () #
interface to the X11 library function XCirculateSubwindowsDown()
.
raiseWindow :: Display -> Window -> IO () #
interface to the X11 library function XRaiseWindow()
.
lowerWindow :: Display -> Window -> IO () #
interface to the X11 library function XLowerWindow()
.
unmapSubwindows :: Display -> Window -> IO () #
interface to the X11 library function XUnmapSubwindows()
.
mapSubwindows :: Display -> Window -> IO () #
interface to the X11 library function XMapSubwindows()
.
reparentWindow :: Display -> Window -> Window -> Position -> Position -> IO () #
interface to the X11 library function XReparentWindow()
.
moveWindow :: Display -> Window -> Position -> Position -> IO () #
interface to the X11 library function XMoveWindow()
.
resizeWindow :: Display -> Window -> Dimension -> Dimension -> IO () #
interface to the X11 library function XResizeWindow()
.
moveResizeWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> IO () #
interface to the X11 library function XMoveResizeWindow()
.
createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window #
interface to the X11 library function XCreateWindow()
.
createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window #
interface to the X11 library function XCreateSimpleWindow()
.
storeName :: Display -> Window -> String -> IO () #
interface to the X11 library function XStoreName()
.
translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window) #
interface to the X11 library function XTranslateCoordinates()
.
iconifyWindow :: Display -> Window -> ScreenNumber -> IO () #
interface to the X11 library function XIconifyWindow()
.
withdrawWindow :: Display -> Window -> ScreenNumber -> IO () #
interface to the X11 library function XWithdrawWindow()
.
restackWindows :: Display -> [Window] -> IO () #
interface to the X11 library function XRestackWindows()
.
module Graphics.X11.Xlib.Extras
class Monad m => MonadState s (m :: Type -> Type) | m -> s where #
Minimal definition is either both of get
and put
or just state
Return the state from the internals of the monad.
Replace the state inside the monad.
state :: (s -> (a, s)) -> m a #
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 #
Gets specific component of the state, using a projection function supplied.
modify :: MonadState s m => (s -> s) -> m () #
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 #
See examples in Control.Monad.Reader.
Note, the partially applied function type (->) r
is a simple reader monad.
See the instance
declaration below.
Retrieves the monad environment.
:: (r -> r) | The function to modify the environment. |
-> m a |
|
-> m a |
Executes a computation in a modified environment.
:: (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) | |
:: 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 #
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:
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