ยค BackingStore, WindowAttributes, et al

Window configuration

Types

data BackingStore = NotUseful | WhenMapped | Always
instance Bounded BackingStore
instance Enum BackingStore
instance Eq BackingStore
instance Ord BackingStore
instance Read BackingStore
instance Show BackingStore

data WindowAttributes = CWEventMask [EventMask]
                      | CWBackingStore BackingStore
                      | CWSaveUnder Bool
                      | CWDontPropagate [EventMask]
                      | CWOverrideRedirect Bool
                      | CWBackPixel Pixel
                      | CWCursor CursorId
                      | CWBitGravity Gravity
                      | CWWinGravity Gravity
                      | CWBackPixmap PixmapId
                      | CWBorderPixmap PixmapId
                      | CWBorderPixel Pixel
instance Eq WindowAttributes
instance Ord WindowAttributes
instance Read WindowAttributes
instance Show WindowAttributes

data WindowChanges = CWX Int
                   | CWY Int
                   | CWWidth Int
                   | CWHeight Int
                   | CWBorderWidth Int
                   | CWStackMode StackMode
instance Eq WindowChanges
instance Ord WindowChanges
instance Read WindowChanges
instance Show WindowChanges

data StackMode = StackAbove | StackBelow | TopIf | BottomIf | Opposite
instance Bounded StackMode
instance Enum StackMode
instance Eq StackMode
instance Ord StackMode
instance Read StackMode
instance Show StackMode

data Gravity = ForgetGravity
             | NorthWestGravity
             | NorthGravity
             | NorthEastGravity
             | WestGravity
             | CenterGravity
             | EastGravity
             | SouthWestGravity
             | SouthGravity
             | SouthEastGravity
             | StaticGravity
instance Bounded Gravity
instance Enum Gravity
instance Eq Gravity
instance Ord Gravity
instance Read Gravity
instance Show Gravity

data ShapeKind = ShapeBounding | ShapeClip
instance Bounded ShapeKind
instance Enum ShapeKind
instance Eq ShapeKind
instance Ord ShapeKind
instance Read ShapeKind
instance Show ShapeKind

data ShapeOperation = ShapeSet | ShapeUnion | ShapeIntersect | ShapeSubtract | ShapeInvert
instance Bounded ShapeOperation
instance Enum ShapeOperation
instance Eq ShapeOperation
instance Ord ShapeOperation
instance Read ShapeOperation
instance Show ShapeOperation

Description

These types correspond more or less directly to definitions found in the Xlib library.

See Also

The Xlib Programming Manual .