[Gtk-sharp-list] Gdk.Color, further comments.

Řyvind Hvamstad oyvind@hvamstad.net
01 Mar 2003 05:55:37 +0100

On Fri, 2003-02-28 at 21:51, Miguel de Icaza wrote:
> Hey guys,
>    Further comments on Gdk.Color.  I do not feel strongly about some of
> these, but I would like to have a discussion on them:
> 	* Equals: The implementation for gdk_color_equals only compares 	  the
> red/green and blue values.  Maybe we could implement this
> 	  entirely in C#, and avoid a P/Invoke into C land.
> 	* Gdk.Color.Parse returns an int indicating whether it succeeded
> 	  or not.  Can we map the return value to bool?

Exception is the right way to go.... object wise, that is..

> Miguel
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
Řyvind Hvamstad <oyvind@hvamstad.net>