ยค PixmapId, FontId, et al

Resource identifiers

Types

newtype PixmapId = PixmapId XID
instance Eq PixmapId
instance Ord PixmapId
instance Read PixmapId
instance Show PixmapId
instance XHB PixmapId Pixmap

newtype FontId = FontId XID
instance Eq FontId
instance Ord FontId
instance Read FontId
instance Show FontId
instance XHB FontId Font

newtype GCId = GCId Int
instance Eq GCId
instance Ord GCId
instance Read GCId
instance Show GCId
instance XHB GCId GC

rootGC :: GCId
newtype CursorId = CursorId XID
instance Eq CursorId
instance Ord CursorId
instance Read CursorId
instance Show CursorId

newtype ColormapId = ColormapId XID
instance Eq ColormapId
instance Ord ColormapId
instance Read ColormapId
instance Show ColormapId
instance XHB ColormapId Colormap

defaultColormap :: ColormapId
newtype Atom = Atom Int
instance Eq Atom
instance Ord Atom
instance Read Atom
instance Show Atom
instance FromX Atom
instance XHB Atom Atom

type Window = WindowId
instance Eq Window
instance Ord Window
instance Show Window
instance FromX Window
instance Drawable Window
instance XHB Window WindowId

newtype WindowId = WindowId XID
instance Eq WindowId
instance Ord WindowId
instance Read WindowId
instance Show WindowId
instance XHB WindowId Window

newtype VisualID = VisualID Int
instance Eq VisualID
instance Read VisualID
instance Show VisualID
instance FromX VisualID
instance Put VisualID

Description

Values of these types are references to objects stored in the X server. Their meaning is not defined within the Fudget library.

See Also

The Xlib Programming Manual .

Bugs

These should really be abstract types.