[Mono-list] gtk color parsing problem

Chris Howie cdhowie at gmail.com
Wed Oct 28 16:14:17 EDT 2009


On Wed, Oct 28, 2009 at 8:26 AM, Sharique uddin Ahmed Farooqui
<safknw at gmail.com> wrote:
> I have a color buttons on my application, I want to pass web color
> codes ("#fffccc" or just "fffccc") to button. I tried Gdk.Color.parse
> but it does not support it.

It should not be too hard to manually parse this format.  A simple
regular expression would do it.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list