[Gtk-sharp-list] Gdk.Color ctr

Jaime Anguiano Olarra jaime@gnome.org
21 Mar 2003 18:57:02 +0100

Hi all!,

I would like to know if you would agree if I add another constructor to
create a Gdk.Color as:

public Color (string spec)

so we can do the same as with Gdk.Color.Parse (string spec, ref
Gdk.Color color)

Then we could just use it for other stuff as:

using (Gdk.Color c = new Gdk.Color ("#33ff33") 
	// do something interesting with c here.


textview1.ModifyBase (StateType.Normal, new Gdk.Color ("#33ff33"));

Tell me what do you think.



http://www.go-mono.org -- The Mono Project, .net + freedom.