Colormap.this

Creates a new colormap for the given visual.

  1. this(GdkColormap* gdkColormap)
  2. this(Visual visual, int allocate)
    class Colormap

Parameters

visual Visual

a GdkVisual.

allocate int

if TRUE, the newly created colormap will be a private colormap, and all colors in it will be allocated for the applications use.

Throws

ConstructionException GTK+ fails to create the object.

Meta