GC.getColormap

Warning gdk_gc_get_colormap has been deprecated since version 2.22 and should not be used in newly-written code. There is no replacement. Cairo handles colormaps automatically, so there is no need to care about them. Retrieves the colormap for a given GC, if it exists. A GC will have a colormap if the drawable for which it was created has a colormap, or if a colormap was set explicitely with gdk_gc_set_colormap.

class GC
getColormap
()

Return Value

Type: Colormap

the colormap of gc, or NULL if gc doesn't have one.

Meta