cColormap (Class)

In:

Methods

new   new  

Public Class methods

Get the default X11 Colormap on the specified Display and screen. Raises a RunTimeError exception if the colormap could not be allocated.

Note: This method is not available unless Imlib2-Ruby was compiled with X11 support. You can check the constant Imlib2::X11_SUPPORT to see if X11 support is available.

Examples:

  cmap = Imlib2::X11::Colormap.new display, screen_num

Constructor for Imlib2::X11::Colormap object.

Note: This method is not available unless Imlib2-Ruby was compiled with X11 support. You can check the constant Imlib2::X11_SUPPORT to see if X11 support is available.

This method is currently just a placeholder.

[Validate]