Re: color in string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tim
>
> This is untested, but should work:
>
> GdkColor c;
> char s[8];
> sprintf( s, "#%02x%02x%02x", c.red>>8, c.green>>8, c.blue>>8 );
thanks  for the help

[]´s
Luiz


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux