gdk-sharp2.12.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A structure that contains different colors.None.GLib.ObjectConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.ConstructorCreates a new colormap for the given visual.
A
if true, the newly created colormap will be a private colormap, and all colors in it will be allocated for the applications use.
None.PropertyGdk.ColormapGets the system's default colormap for the default screen.The system's default colormap for the default screen.None.PropertyGdk.VisualReturns the visual for which a given colormap was created.The of the colormap.None.MethodSystem.BooleanAllocates a single color from a colormap.
The color to allocate. On return the pixel field will be filled in if allocation succeeds.
If true, the color is allocated writeable (their values can later be changed using ). Writeable colors cannot be shared between applications.
If true, GDK will attempt to do matching against existing colors if the color cannot be allocated as requested.
True if the allocation succeeded.None.PropertyGdk.ScreenGets the screen for which this colormap was created.The screen for which this colormap was created.None.PropertyGLib.GTypeGType Property.a Returns the native value for .MethodSystem.VoidLocates the RGB color in the colormap corresponding to the given hardware pixel.
Pixel value in hardware display format.
with red, green, blue fields initialized.
Pixel must be a valid pixel in the colormap; it's a programmer error to call his function with a pixel which is not in the colormap. Hardware pixels are normally obtained from , or from a . (A contains image data in hardware format, a contains image data in a canonical 24-bit RGB format.)MethodSystem.VoidFrees previously allocated colors.
The colors to free.
The number of colors in colors.
None.MethodSystem.Int32Allocates colors from a colormap.
The color values to allocate. On return, the pixel values for allocated colors will be filled in.
The number of colors in colors.
If true, the colors are allocated writeable (their values can later be changed using ). Writeable colors cannot be shared between applications.
If true, GDK will attempt to do matching against existing colors if the colors cannot be allocated as requested.
An array of length ncolors. On return, this indicates whether the corresponding color in colors was sucessfully allocated or not.
The number of colors that were not successfully allocated.None.ConstructorInternal constructor
a This is a constructor used by derivative types of that would have their own GLib.GType assigned to it. This is not typically used by C# code.System.ObsoletePropertySystem.Int32To be addeda To be addedSystem.ObsoleteMethodGdk.ColormapTo be addeda To be addedMethodSystem.VoidTo be addedTo be addedMethodSystem.VoidTo be added
a To be addedPropertySystem.Int32The size of the The size of the