gdk-sharp0.0.0.0neutralGtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.A structure that contains different colors.None.GLib.ObjectGLib.IWrapperSystem.IDisposableMethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of Colormap, wrapping 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.
The new 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 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.