[Gtk-sharp-list] Gdk.Color Parse function

Abdul Rauf raufbutt at gmail.com
Sat May 14 06:54:17 EDT 2011


>
> Hello,
>
> I am working with Gdk.Color structure. When I use the function
> "Gdk.Color.Parse(string , ref Gtk.Color)" with a color name like "red" and
> "green", it changes the value of the Color structure in the second argument.
> However, when I pass the RGB string - for example, "RGB:ff/ff/00", it does
> not change the Color structure.
>
> I found in a book that original GNOME GDK Parse function does accept RGB
> strings as well..Ref: (
> http://openbooks.sourceforge.net/books/wga/graphics-gdk.html)
>
> Could anyone please tell me about Gdk# behavior in this regard?
>
> Thanks
> Rauf
>


> GSoC 2011
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20110514/7637cb08/attachment.html 


More information about the Gtk-sharp-list mailing list