2005/10/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> I tryied also to retrieve the rgb value but without success.
> Eveytime i try, it return me 0 as value.
you can connet the color-set signal to the button:
button.connect("color-set", select_color_cb)
retrieve the gtk.gdk.color in the select_color_cb function:
color = button.get_color()
and then retreive the rgb colors with:
red, green, blue = color.red, color.green, color.blue
cheers
--
Gian Mario Tagliaretti
PyGTK GUI programming
http://www.parafernalia.org/pygtk/
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/