ยค createGC, wCreateGC, et al

Types

createGC :: FudgetIO f =>
            Drawable -> GCId -> GCAttributeList -> (GCId -> f hi ho) -> f hi ho
wCreateGC :: FudgetIO f => GCId -> GCAttributeList -> (GCId -> f hi ho) -> f hi ho
pmCreateGC :: FudgetIO f =>
              PixmapId -> GCId -> GCAttributeList -> (GCId -> f hi ho) -> f hi ho
createGCF :: Drawable -> GCId -> GCAttributeList -> (GCId -> F a b) -> F a b
wCreateGCF :: GCId -> GCAttributeList -> (GCId -> F a b) -> F a b
pmCreateGCF :: PixmapId -> GCId -> GCAttributeList -> (GCId -> F a b) -> F a b

Synopsis

createGC drawable templgc gcattrs

type GCAttributeList = [GCAttributes Pixel FontId]

Description

createGC is used to create a GC (graphic context) to be used in subsequent drawing commands.

wCreateGC and pmCreateGC are shorthands for creating GCs for drawing in windows and pixmaps, respectively.

Arguments

drawable :: Drawable
The drawable with which the GC will be used. The GC can be used with any drawable with the same root window and pixel depth.
templgc :: GCId
a template GC.
gcattrs :: GCAttributeList
GC attributes in which the newly created GC differ from the template.

See Also

xrequestK, GCAttributes, XCreateGC in the Xlib Programming Manual .