RGtk2 (version 2.20.31)

gdkGCGetColormap: gdkGCGetColormap

Description

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.

Usage

gdkGCGetColormap(object)

Arguments

object

Value

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