On Wed, 2005-08-17 at 20:21 +1000, Nick Watts wrote:
Easiest way to convert a GdkColor to its hexadecimal equivalent?
If you mean an #RRGGBB string for web use:
gchar* // please free me when you're done
gdk_color_to_rgb_hex_string(GdkColor* color)
{
gchar* rgb;
gfloat r, g, b;
On Wed, Aug 17, 2005 at 12:40:13PM +0200, Iago Rubio wrote:
On Wed, 2005-08-17 at 20:21 +1000, Nick Watts wrote:
Easiest way to convert a GdkColor to its hexadecimal equivalent?
If you mean an #RRGGBB string for web use:
gchar* // please free me when you're done