GC.setColormap

Warning gdk_gc_set_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. Sets the colormap for the GC to the given colormap. The depth of the colormap's visual must match the depth of the drawable for which the GC was created.

class GC
void
setColormap

Parameters

colormap Colormap

a GdkColormap

Meta