On Wednesday 05 March 2003 16:31, Johan Dahlin wrote:
> Use widget.modify_bg(state, color), eg:
>
> button.modify_bg(gtk.STATE_ACTIVE, gtk.gdk.color_parse("#00ff00"))

Actually, I had tried that, but there is yet another tricky bit.  The 
toggle gets re-drawn with the new color, but then get immediately drawn 
again in "prelight" mode.

Is there anything that defines the color conventions for the drawing 
modes?  For example, "prelight" is normally lighter than "normal", but 
how do "active" and "selected" relate?

-Dan
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to