Widget.setColormap

Sets the colormap for the widget to the given value. Widget must not have been previously realized. This probably should only be used from an init() function (i.e. from the constructor for the widget).

class Widget
void
setColormap

Parameters

colormap Colormap

a colormap

Meta