GtkSharp/gdk/Colormap.custom
Gonzalo Paniagua Javier 5fa688fb04 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
	* sources/Gdk.metadata: hide GdkColormap.AllocColor.

	* gdk/Colormap.custom: AllocColor is here.

	* gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri.

svn path=/trunk/gtk-sharp/; revision=12055
2003-02-28 07:41:59 +00:00

19 lines
546 B
Plaintext

// Gdk.Color.custom - Gdk Color class customizations
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (c) 2003 Ximian, Inc. (gonzalo@ximian.com)
//
// This code is inserted after the automatically generated code.
[DllImport("libgdk-win32-2.0-0.dll")]
static extern bool gdk_colormap_alloc_color(IntPtr raw, ref Gdk.Color color, bool writeable, bool best_match);
public bool AllocColor (ref Gdk.Color color, bool writeable, bool best_match)
{
return gdk_colormap_alloc_color (Handle, ref color, writeable, best_match);
}