[pygtk] set color to a combobox (its background)

awalter1 alain.walter at thalesgroup.com
Mon Oct 22 17:03:26 WST 2007


Hello, 

I know how to change the color of the text in a combobox: 

combobox = gtk.combo_box_new_text() 
combobox.child.modify_text(gtk.STATE_NORMAL,gtk.gdk.color_parse("#DE0004")) 

But how to modify the background of this combobox ? It should be evident,
but the reality is somewhat different.

Thanks a lot for all suggestions or examples
-- 
View this message in context: http://www.nabble.com/set-color-to-a-combobox-%28its-background%29-tf4669612.html#a13339274
Sent from the Gtk+ - Python mailing list archive at Nabble.com.



More information about the pygtk mailing list