[pygtk] set color to a combobox

awalter1 alain.walter at thalesgroup.com
Wed Oct 17 17:34:36 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 ?

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



More information about the pygtk mailing list